Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Only increase sigalthreads stack size for simulator or aarch64 builds.

The 12K-per-thread necessary on arm64 linux systems caused an
unnecessary 180K increase in RAM usage on the hibyos hosted ports. So
back off to the old size unless we know it was needed.

Change-Id: I1e25417433052027ae02a51903b0f5245819db44

+5 -1
+5 -1
firmware/asm/thread.h
··· 50 50 #ifndef MINSIGSTKSZ 51 51 #define MINSIGSTKSZ 16384 52 52 #endif 53 - /* MINSIGSTKSZ for the OS to deliver the signal + 0x6000 for us */ 53 + /* MINSIGSTKSZ for the OS to deliver the signal, plus more for us */ 54 + #if defined(SIMULATOR) || defined(__aarch64__) 54 55 #define DEFAULT_STACK_SIZE (MINSIGSTKSZ+0x6000) /* Bytes */ 56 + #else 57 + #define DEFAULT_STACK_SIZE (MINSIGSTKSZ+0x3000) /* Bytes */ 58 + #endif 55 59 #elif defined(HAVE_WIN32_FIBER_THREADS) 56 60 #define DEFAULT_STACK_SIZE 0x1000 /* Bytes */ 57 61 #endif