summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/PrePi
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-01 23:42:29 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-01 23:42:29 +0000
commit031f52ce0f4caf843476b76482672fd3c5f83d56 (patch)
tree8b3c359af3d7c892aa009cc60154954902e7811a /ArmPlatformPkg/PrePi
parent99565b88c1bdeae4836aab78db9c08e9511e4adc (diff)
downloadedk2-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
Diffstat (limited to 'ArmPlatformPkg/PrePi')
-rwxr-xr-xArmPlatformPkg/PrePi/ModuleEntryPoint.S2
-rw-r--r--ArmPlatformPkg/PrePi/ModuleEntryPoint.asm2
2 files changed, 2 insertions, 2 deletions
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