This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit c8d5e923 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

boot-hack: make sure our relocation buffer is 32-bit aligned

(it usually is, unless compiler decides otherwise)

--HG--
branch : lua_fix
parent 39156e3fb85f
......@@ -59,7 +59,7 @@ static void my_bzero( uint8_t * base, uint32_t size );
/** This just goes into the bss */
#define RELOCSIZE 0x3000 // look in HIJACK macros for the highest address, and subtract ROMBASEADDR
static uint8_t _reloc[ RELOCSIZE ];
static uint32_t _reloc[ RELOCSIZE / 4 ];
#define RELOCADDR ((uintptr_t) _reloc)
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment