mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
e479853f15
commit
f8edc32589
33 changed files with 98 additions and 37 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue