1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target
Aidan MacDonald 39439f6909 Add INIT_ATTR to system_init()
On single-core targets, system_init() is only called from init()
in main.c, which is also INIT_ATTR, so this is safe.

Multi-core targets additionally call system_init() from cop_main(),
which isn't marked INIT_ATTR. I'm fairly certain that it would be
safe to add INIT_ATTR to cop_main() with a bit of refactoring, but
I don't have a way of testing it. So for now, leave INIT_ATTR off
for multi-core targets.

Change-Id: I8fe4358f975880ca317d46bda01d7d9db529d3e3
2023-01-12 06:05:55 -05:00
..
arm Add INIT_ATTR to system_init() 2023-01-12 06:05:55 -05:00
coldfire Revert "Remove YUV blitting functions and LCD modes" 2022-10-13 11:08:06 -04:00
hosted Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
mips x1000: Add INIT_ATTR to various target specific functions 2022-12-31 08:10:41 -05:00