rockbox/firmware/include
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
..
_ansi.h 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
adler32.h
ap_int.h
assert.h
bitarray.h
buflib.h
buflib_malloc.h
buflib_mempool.h
checksum.h
chunk_alloc.h
core_alloc.h firmware: add copyright headers to core_alloc.c/h 2026-03-09 10:26:18 +00:00
crc32-rkw.h
crc32.h
dbgcheck.h
diacritic.h unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
dir.h 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
dircache.h dircache: increase stack size to avoid stack overflows 2026-04-22 22:07:28 +01:00
dircache_redirect.h
disk_cache.h
elf-target.h firmware: add simple ELF loader for static binaries 2026-01-25 18:19:51 -05:00
elf.h firmware: add simple ELF loader for static binaries 2026-01-25 18:19:51 -05:00
elf_loader.h elf_loader: add elf_loadmem() to load file from memory 2026-01-25 19:51:07 -05:00
file.h 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
file_internal.h
fileobj_mgr.h
filesystem-native.h
font_cache.h unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
fs_attr.h
fs_defines.h
gcc_extensions.h
inflate.h
linked_list.h
loader_strerror.h
lru.h unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
memset16.h
rb-loader.h
rb_namespace.h
rbendian.h 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
rbunicode.h unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
strcasecmp.h
strcasestr.h
string-extra.h
strlcat.h
strlcpy.h
strmemccpy.h
strnatcmp.h
strptokspn_r.h
strtok_r.h
timefuncs.h
version.h
vuprintf.h
zip.h