diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-28 18:09:09 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-28 18:09:09 +0100 |
commit | f7ddd1a356f58298d703b11e862d3d6127e67080 (patch) | |
tree | 92f681646a569dfbcdc8a4df277ee48da4e46868 /loader_stage2.c | |
parent | 6321cd922cb665ca5bfb9bc2025701b07c076894 (diff) | |
download | rpi-MMU-example-f7ddd1a356f58298d703b11e862d3d6127e67080.tar.gz rpi-MMU-example-f7ddd1a356f58298d703b11e862d3d6127e67080.zip |
rewrite the stage 1 of bootloader in a more compact and (mostly) load-addr-independent way
Diffstat (limited to 'loader_stage2.c')
-rw-r--r-- | loader_stage2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/loader_stage2.c b/loader_stage2.c index 7b5087a..65dda0a 100644 --- a/loader_stage2.c +++ b/loader_stage2.c @@ -5,8 +5,7 @@ void *const kernel_load_addr = ((void*) 0x8000); -void __attribute__((section(".text.stage2main"))) -stage2(uint32_t r0, uint32_t r1, uint32_t atags) +void _stage2_main(uint32_t r0, uint32_t r1, uint32_t atags) { // Declare as unused (void) r0; |