-
- Downloads
Fix board init code to respect the C runtime environment
board_init_f_mem() alters the C runtime environment's stack it is actually already using. This is not a valid behaviour within a C runtime environment. Split board_init_f_mem into C functions which do not alter their own stack and always behave properly with respect to their C runtime environment. Signed-off-by:Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by:
Thomas Chou <thomas@wytron.com.tw>
Showing
- arch/arc/lib/start.S 7 additions, 5 deletionsarch/arc/lib/start.S
- arch/arm/lib/crt0.S 2 additions, 1 deletionarch/arm/lib/crt0.S
- arch/arm/lib/crt0_64.S 3 additions, 1 deletionarch/arm/lib/crt0_64.S
- arch/microblaze/cpu/start.S 2 additions, 2 deletionsarch/microblaze/cpu/start.S
- arch/nios2/cpu/start.S 9 additions, 5 deletionsarch/nios2/cpu/start.S
- arch/powerpc/cpu/ppc4xx/start.S 4 additions, 2 deletionsarch/powerpc/cpu/ppc4xx/start.S
- arch/x86/cpu/start.S 2 additions, 1 deletionarch/x86/cpu/start.S
- arch/x86/lib/fsp/fsp_common.c 2 additions, 2 deletionsarch/x86/lib/fsp/fsp_common.c
- common/init/board_init.c 99 additions, 10 deletionscommon/init/board_init.c
- include/common.h 14 additions, 20 deletionsinclude/common.h
Loading
Please register or sign in to comment