mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg: Fix initialization of the Global Variable when stack pointer higher than 0x7FFFFFFF
Fixed signed comparison error. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12639 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
99565b88c1
commit
031f52ce0f
|
@ -72,7 +72,7 @@ _SetupPrimaryCoreStack:
|
|||
_InitGlobals:
|
||||
str r1, [r3], #4
|
||||
cmp r3, r2
|
||||
blt _InitGlobals
|
||||
bne _InitGlobals
|
||||
|
||||
_PrepareArguments:
|
||||
// The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector
|
||||
|
|
|
@ -74,7 +74,7 @@ _SetupPrimaryCoreStack
|
|||
_InitGlobals
|
||||
str r1, [r3], #4
|
||||
cmp r3, r2
|
||||
blt _InitGlobals
|
||||
bne _InitGlobals
|
||||
|
||||
_PrepareArguments
|
||||
// The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector
|
||||
|
|
|
@ -129,7 +129,7 @@ _SetGlobals:
|
|||
_InitGlobals:
|
||||
str r2, [r3], #4
|
||||
cmp r3, r1
|
||||
blt _InitGlobals
|
||||
bne _InitGlobals
|
||||
|
||||
|
||||
_PrepareArguments:
|
||||
|
|
|
@ -130,7 +130,7 @@ _SetGlobals
|
|||
_InitGlobals
|
||||
str r2, [r3], #4
|
||||
cmp r3, r1
|
||||
blt _InitGlobals
|
||||
bne _InitGlobals
|
||||
|
||||
|
||||
_PrepareArguments
|
||||
|
|
|
@ -88,7 +88,7 @@ _SetupPrimaryCoreStack:
|
|||
_InitGlobals:
|
||||
str r1, [r3], #4
|
||||
cmp r3, r2
|
||||
blt _InitGlobals
|
||||
bne _InitGlobals
|
||||
|
||||
b _PrepareArguments
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ _SetupPrimaryCoreStack
|
|||
_InitGlobals
|
||||
str r1, [r3], #4
|
||||
cmp r3, r2
|
||||
blt _InitGlobals
|
||||
bne _InitGlobals
|
||||
|
||||
b _PrepareArguments
|
||||
|
||||
|
|
Loading…
Reference in New Issue