Commit graph

14 commits

Author SHA1 Message Date
Zihao Yu
21bfbcb293 am,native,platform: avoid linking ftruncate() to RT-Thread 2023-06-04 16:45:53 +08:00
Einsam
ba5ba9838e fix(am/src/native/ioe/gpu.c): Replace SDL_WINDOW_SHOWN flag with SDL_WINDOW_OPENGL
1. SDL_WINDOW_SHOWN flag has removed after SDL2.26.1

    2. After sdl2-2.0.22-1, it causes the sdl window to randomly not appear
2023-03-17 22:49:47 +08:00
Zihao Yu
e8f6374f4b native,platform: small refactor 2022-11-09 16:45:41 +08:00
Zihao Yu
7c9b27be20 native,platform: relax the condition of checking sigal stack size 2022-07-29 16:11:02 +08:00
Zihao Yu
112799e02a native,platform: fix compile error on ubuntu 21.10
* The macro SIGSTKSZ expands to a function call in the latest version of
  glibc.
2022-03-08 11:14:38 +08:00
Zihao Yu
f9b9b390fb fix dead recursion when __NATIVE_USE_KLIB__ is defined 2021-10-20 14:17:36 +08:00
Zihao Yu
30e5cd0c7e ready for ics2021 2021-08-11 16:21:16 +08:00
Zihao Yu
a94708b3b5 2021 pre-release 2021-07-13 15:53:57 +08:00
Zihao Yu
e4e5d03fa6 native,ioe,gpu: support 800x600 mode 2021-01-10 18:25:16 +08:00
Zihao Yu
18995de269 native,platform: remove pmem protection to improve performance 2021-01-10 16:43:38 +08:00
Zihao Yu
39b2c4350d native,platform: move heap.start to 0x1000000
* This allows using some part of the heap even the user program is
  loaded to 0x3000000, where VME is disabled.
2020-12-09 13:33:56 +08:00
Zihao Yu
66dcd98e39 native,platform: clear the FPU context in uc_example
* This will fix the SIGSEGV sent by 4.19 kernel. It seems the cause is
  that a page fault is generated when restoring the FPU context with an
  fxrstor64 instruction. To work around, we just clear the FPU context
  in uc_example, so the kernel will not try to restore the FPU context.
2020-12-06 23:19:05 +08:00
Zihao Yu
76d9da0789 amdev,audio: make bufsize unconfigurable 2020-09-30 22:01:33 +08:00
Yanyan Jiang
61348e8b07 2020 release 2020-09-04 00:13:55 +08:00