]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: Fix initialization of the Global Variable when stack pointer higher...
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 1 Nov 2011 23:42:29 +0000 (23:42 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 1 Nov 2011 23:42:29 +0000 (23:42 +0000)
Fixed signed comparison error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12639 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.S
ArmPlatformPkg/PrePeiCore/PrePeiCoreEntryPoint.asm
ArmPlatformPkg/PrePi/ModuleEntryPoint.S
ArmPlatformPkg/PrePi/ModuleEntryPoint.asm
ArmPlatformPkg/Sec/SecEntryPoint.S
ArmPlatformPkg/Sec/SecEntryPoint.asm

index 0ec4e0c6e1bfd93c251c3e50f8d1499fc714aee6..0edcee2f14e9dd35022f26aa52b519c3494d2554 100644 (file)
@@ -72,7 +72,7 @@ _SetupPrimaryCoreStack:
 _InitGlobals:\r
   str   r1, [r3], #4\r
   cmp   r3, r2\r
-  blt   _InitGlobals\r
+  bne   _InitGlobals\r
 \r
 _PrepareArguments:\r
   // The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector\r
index 1694b905d0873568462ee4e7b9611724840fc4f1..f6d84b5f26e9cda2bccab9e6e59580dfa1f1cbc1 100644 (file)
@@ -74,7 +74,7 @@ _SetupPrimaryCoreStack
 _InitGlobals\r
   str   r1, [r3], #4\r
   cmp   r3, r2\r
-  blt   _InitGlobals\r
+  bne   _InitGlobals\r
 \r
 _PrepareArguments\r
   // The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector\r
index 4b7ef1be3e9d8aee04db36d1b701180c83a69118..ed44710a60e8ab12e1d3b8f6cd6df5882e7f8ead 100755 (executable)
@@ -129,7 +129,7 @@ _SetGlobals:
 _InitGlobals:\r
   str   r2, [r3], #4\r
   cmp   r3, r1\r
-  blt   _InitGlobals\r
+  bne   _InitGlobals\r
 \r
 \r
 _PrepareArguments:\r
index 1e3560eb30bfa28db92459f20b0a19088ff04598..0f14d498d78d406f33f27326cc71f4809ec8bc66 100644 (file)
@@ -130,7 +130,7 @@ _SetGlobals
 _InitGlobals\r
   str   r2, [r3], #4\r
   cmp   r3, r1\r
-  blt   _InitGlobals\r
+  bne   _InitGlobals\r
 \r
 \r
 _PrepareArguments\r
index 87de96e916dc44962dfd583d99fa8963d83abf55..4a8e9d68d434acace740bd5dcfdd536942720d43 100644 (file)
@@ -88,7 +88,7 @@ _SetupPrimaryCoreStack:
 _InitGlobals:\r
   str     r1, [r3], #4\r
   cmp     r3, r2\r
-  blt     _InitGlobals\r
+  bne     _InitGlobals\r
 \r
   b     _PrepareArguments\r
 \r
index e4ceb697f8515a62cdfd7212326f72e577cd75f7..c3566f065e621f27f174a767ce2936e9435767bb 100644 (file)
@@ -90,7 +90,7 @@ _SetupPrimaryCoreStack
 _InitGlobals\r
   str     r1, [r3], #4\r
   cmp     r3, r2\r
-  blt     _InitGlobals\r
+  bne     _InitGlobals\r
 \r
   b     _PrepareArguments\r
 \r