From 031f52ce0f4caf843476b76482672fd3c5f83d56 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 1 Nov 2011 23:42:29 +0000 Subject: 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 --- ArmPlatformPkg/PrePi/ModuleEntryPoint.S | 2 +- ArmPlatformPkg/PrePi/ModuleEntryPoint.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ArmPlatformPkg/PrePi') 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 -- cgit v1.2.3