diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-01 23:42:29 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-01 23:42:29 +0000 |
commit | 031f52ce0f4caf843476b76482672fd3c5f83d56 (patch) | |
tree | 8b3c359af3d7c892aa009cc60154954902e7811a | |
parent | 99565b88c1bdeae4836aab78db9c08e9511e4adc (diff) | |
download | edk2-platforms-031f52ce0f4caf843476b76482672fd3c5f83d56.tar.xz |
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
-rw-r--r-- | ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.S | 2 | ||||
-rw-r--r-- | ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.asm | 2 | ||||
-rwxr-xr-x | ArmPlatformPkg/PrePi/ModuleEntryPoint.S | 2 | ||||
-rw-r--r-- | ArmPlatformPkg/PrePi/ModuleEntryPoint.asm | 2 | ||||
-rw-r--r-- | ArmPlatformPkg/Sec/SecEntryPoint.S | 2 | ||||
-rw-r--r-- | ArmPlatformPkg/Sec/SecEntryPoint.asm | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.S b/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.S index 0ec4e0c6e1..0edcee2f14 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.S +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.S @@ -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
diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.asm b/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.asm index 1694b905d0..f6d84b5f26 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.asm +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.asm @@ -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
diff --git a/ArmPlatformPkg/PrePi/ModuleEntryPoint.S b/ArmPlatformPkg/PrePi/ModuleEntryPoint.S index 4b7ef1be3e..ed44710a60 100755 --- a/ArmPlatformPkg/PrePi/ModuleEntryPoint.S +++ b/ArmPlatformPkg/PrePi/ModuleEntryPoint.S @@ -129,7 +129,7 @@ _SetGlobals: _InitGlobals:
str r2, [r3], #4
cmp r3, r1
- blt _InitGlobals
+ bne _InitGlobals
_PrepareArguments:
diff --git a/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm b/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm index 1e3560eb30..0f14d498d7 100644 --- a/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm +++ b/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm @@ -130,7 +130,7 @@ _SetGlobals _InitGlobals
str r2, [r3], #4
cmp r3, r1
- blt _InitGlobals
+ bne _InitGlobals
_PrepareArguments
diff --git a/ArmPlatformPkg/Sec/SecEntryPoint.S b/ArmPlatformPkg/Sec/SecEntryPoint.S index 87de96e916..4a8e9d68d4 100644 --- a/ArmPlatformPkg/Sec/SecEntryPoint.S +++ b/ArmPlatformPkg/Sec/SecEntryPoint.S @@ -88,7 +88,7 @@ _SetupPrimaryCoreStack: _InitGlobals:
str r1, [r3], #4
cmp r3, r2
- blt _InitGlobals
+ bne _InitGlobals
b _PrepareArguments
diff --git a/ArmPlatformPkg/Sec/SecEntryPoint.asm b/ArmPlatformPkg/Sec/SecEntryPoint.asm index e4ceb697f8..c3566f065e 100644 --- a/ArmPlatformPkg/Sec/SecEntryPoint.asm +++ b/ArmPlatformPkg/Sec/SecEntryPoint.asm @@ -90,7 +90,7 @@ _SetupPrimaryCoreStack _InitGlobals
str r1, [r3], #4
cmp r3, r2
- blt _InitGlobals
+ bne _InitGlobals
b _PrepareArguments
|