GCC_ASM_EXPORT(_ModuleEntryPoint)\r
ASM_GLOBAL ASM_PFX(mSystemMemoryEnd)\r
\r
-StartupAddr: .long ASM_PFX(CEntryPoint)\r
ASM_PFX(mSystemMemoryEnd): .quad 0\r
\r
__relocs:\r
mov r1, r11\r
mov r2, r9\r
\r
- // Move sec startup address into a data register\r
- // Ensure we're jumping to FV version of the code (not boot remapped alias)\r
- ldr r4, StartupAddr\r
-\r
// Jump to PrePiCore C code\r
// r0 = MpId\r
// r1 = UefiMemoryBase\r
// r2 = StacksBase\r
- blx r4\r
+ bl ASM_PFX(CEntryPoint)\r
\r
_NeverReturn:\r
b _NeverReturn\r