rockbox/firmware
Aidan MacDonald e661c35b29 dircache: increase stack size to avoid stack overflows
On FS#13821, a test build with -fstack-protector-all
(which adds 4 bytes of stack to each function, roughly)
overflowed the dircache stack on the Hifiwalker H2.
In my own testing, the dircache thread hit 94% stack
use on the Fiio M3K using the same settings.

That seems a bit too close to the limit, especially
since the dircache uses recursion and might consume
more stack space for deeply nested directories.

Adding 768 bytes should provide enough of a safety
margin. This increases the stack size from 1.25k to
2k on most targets, including all X1000 targets.

Change-Id: I900c19da9fb33f539d02b00830aedeb15c7449e2
2026-04-22 22:07:28 +01:00
..
asm Add support for -fstack-protector in native builds 2026-04-21 21:16:28 -04:00
common Fix yellow in c72ffa7a9a ("diacritic: Critical bugfixes") 2026-03-10 10:14:42 +00:00
drivers sdmmc_host: mark tCardInfo initialized at end of card init 2026-03-02 17:11:33 -05:00
export Work around a false positive compiler warning in pcm_switch_sink() 2026-04-17 21:56:38 -04:00
include dircache: increase stack size to avoid stack overflows 2026-04-22 22:07:28 +01:00
kernel 3ds: Various fixes, mostly for compiler warnings 2026-03-13 10:24:36 -04:00
libc
reggen echoplayer: implement ADC to read battery voltage 2026-03-18 12:51:51 +00:00
target hiby: ability to add/remove input device 2026-04-16 08:03:06 -04:00
usbstack pcm_mixer: introduce mixer_play_cbs 2026-04-14 06:47:36 -04:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c
bidi.c
buflib_malloc.c
buflib_mempool.c
chunk_alloc.c
COPYING
core_alloc.c firmware: add copyright headers to core_alloc.c/h 2026-03-09 10:26:18 +00:00
debug.c
eeprom_settings.c
elf_loader.c
enc_base.c
events.c
firmware.make
font.c
font_cache.c
general.c
hangul.c
lc-rock.c
linuxboot.c
logf.c
lru.c
panic.c
pcm.c Work around a false positive compiler warning in pcm_switch_sink() 2026-04-17 21:56:38 -04:00
pcm_mixer.c pcm_mixer: implement mixer_switch_sink 2026-04-17 20:54:10 -04:00
pcm_sampr.c
pcm_sw_volume.c pcm: introduce pcm_sink 2026-03-02 10:09:11 +09:00
powermgmt.c
profile.c
README
rolo.c
rom.lds
screendump.c
scroll_engine.c
sdmmc.c
sound.c Fix red in 36f34089d6 2026-03-28 12:41:43 -04:00
SOURCES bootloader: Don't compile sound.c in bootloader builds 2026-03-28 12:43:59 -04:00
storage.c
system.c
timer.c
tuner.c
usb.c

See docs/README