mirror of https://github.com/acidanthera/audk.git
Use same scheme as *.asm file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10623 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8b4eff76bd
commit
7668305cf4
|
@ -31,8 +31,7 @@
|
||||||
.globl ASM_PFX(StartupAddr)
|
.globl ASM_PFX(StartupAddr)
|
||||||
|
|
||||||
|
|
||||||
ASM_PFX(CEntryPointData):
|
ASM_PFX(StartupAddr): .word ASM_PFX(CEntryPoint)
|
||||||
.word ASM_PFX(StartupAddr)
|
|
||||||
|
|
||||||
ASM_PFX(_ModuleEntryPoint):
|
ASM_PFX(_ModuleEntryPoint):
|
||||||
|
|
||||||
|
@ -67,8 +66,7 @@ ASM_PFX(_ModuleEntryPoint):
|
||||||
|
|
||||||
// move sec startup address into a data register
|
// move sec startup address into a data register
|
||||||
// ensure we're jumping to FV version of the code (not boot remapped alias)
|
// ensure we're jumping to FV version of the code (not boot remapped alias)
|
||||||
ldr r5, ASM_PFX(CEntryPointData) // Extra level of indirection fixes Xcode relocation issue
|
ldr r4, ASM_PFX(StartupAddr) // Extra level of indirection fixes Xcode relocation issue
|
||||||
ldr r4, [r5]
|
|
||||||
|
|
||||||
// jump to SEC C code
|
// jump to SEC C code
|
||||||
blx r4
|
blx r4
|
||||||
|
|
Loading…
Reference in New Issue