diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-03-03 23:20:32 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-03-03 23:20:32 +0000 |
commit | f8edc325896c9c24d7f32f4861a0b0d2a8b9f4cd (patch) | |
tree | b2682307d01fffb54dd68e54b8f2e2986fe6bcc6 /apps/tagcache.h | |
parent | e479853f1542616dab56817c8f5326364b663c7c (diff) | |
download | rockbox-f8edc325896c9c24d7f32f4861a0b0d2a8b9f4cd.tar.gz rockbox-f8edc325896c9c24d7f32f4861a0b0d2a8b9f4cd.zip |
FS#10756 - Free unused init code
Introduce a new .init section for initialisation code, so that it can be copied to an area which is later overwritten before calling. The stack/bss can then overwrite that code, effectively freeing the code size that the initialisation routines need. Gives a few kB ram usage back.
Only implemented for PP and as3525 so far. More targets could be added, as well as more functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25013 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r-- | apps/tagcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h index f238bc0902..1488c3bd39 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h @@ -239,7 +239,7 @@ bool tagcache_is_ramcache(void); bool tagcache_fill_tags(struct mp3entry *id3, const char *filename); void tagcache_unload_ramcache(void); #endif -void tagcache_init(void); +void tagcache_init(void) INIT_ATTR; bool tagcache_is_initialized(void); bool tagcache_is_usable(void); void tagcache_start_scan(void); |