]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/ArmLib: Change comment to match code for setting of V bit in SCTLR register.
authorRoy Franz <roy.franz@linaro.org>
Mon, 2 Sep 2013 09:10:17 +0000 (09:10 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 2 Sep 2013 09:10:17 +0000 (09:10 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14616 6f19259b-4bc3-4df7-8a09-765794883524

ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S
ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.asm

index 910e50e40182b1578e6536e48adb236b9a5cb7ea..ee6eb417092222ace285fcec146c7b40187bf3a7 100644 (file)
@@ -211,7 +211,7 @@ ASM_PFX(ArmSetLowVectors):
 \r
 ASM_PFX(ArmSetHighVectors):\r
   mrc     p15, 0, r0, c1, c0, 0 @ Read SCTLR into R0 (Read control register configuration data)\r
-  orr     r0, r0, #0x00002000   @ clear V bit\r
+  orr     r0, r0, #0x00002000   @ Set V bit\r
   mcr     p15, 0, r0, c1, c0, 0 @ Write R0 into SCTLR (Write control register configuration data)\r
   isb\r
   bx      LR\r
index 80354005997c3efd4ee897ad15a02e333d20a3ad..e75438844d9c96e18e04430adb63e60d72113b12 100644 (file)
@@ -209,7 +209,7 @@ ArmSetLowVectors
 \r
 ArmSetHighVectors\r
   mrc     p15, 0, r0, c1, c0, 0 ; Read SCTLR into R0 (Read control register configuration data)\r
-  orr     r0, r0, #0x00002000   ; clear V bit\r
+  orr     r0, r0, #0x00002000   ; Set V bit\r
   mcr     p15, 0, r0, c1, c0, 0 ; Write R0 into SCTLR (Write control register configuration data)\r
   isb\r
   bx      LR\r