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:
oliviermartin 2011-11-01 23:42:29 +00:00
parent 99565b88c1
commit 031f52ce0f
6 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ _SetupPrimaryCoreStack:
_InitGlobals: _InitGlobals:
str r1, [r3], #4 str r1, [r3], #4
cmp r3, r2 cmp r3, r2
blt _InitGlobals bne _InitGlobals
_PrepareArguments: _PrepareArguments:
// The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector // The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector

View File

@ -74,7 +74,7 @@ _SetupPrimaryCoreStack
_InitGlobals _InitGlobals
str r1, [r3], #4 str r1, [r3], #4
cmp r3, r2 cmp r3, r2
blt _InitGlobals bne _InitGlobals
_PrepareArguments _PrepareArguments
// The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector // The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector

View File

@ -129,7 +129,7 @@ _SetGlobals:
_InitGlobals: _InitGlobals:
str r2, [r3], #4 str r2, [r3], #4
cmp r3, r1 cmp r3, r1
blt _InitGlobals bne _InitGlobals
_PrepareArguments: _PrepareArguments:

View File

@ -130,7 +130,7 @@ _SetGlobals
_InitGlobals _InitGlobals
str r2, [r3], #4 str r2, [r3], #4
cmp r3, r1 cmp r3, r1
blt _InitGlobals bne _InitGlobals
_PrepareArguments _PrepareArguments

View File

@ -88,7 +88,7 @@ _SetupPrimaryCoreStack:
_InitGlobals: _InitGlobals:
str r1, [r3], #4 str r1, [r3], #4
cmp r3, r2 cmp r3, r2
blt _InitGlobals bne _InitGlobals
b _PrepareArguments b _PrepareArguments

View File

@ -90,7 +90,7 @@ _SetupPrimaryCoreStack
_InitGlobals _InitGlobals
str r1, [r3], #4 str r1, [r3], #4
cmp r3, r2 cmp r3, r2
blt _InitGlobals bne _InitGlobals
b _PrepareArguments b _PrepareArguments