Revision: 14911
          http://sourceforge.net/p/edk2/code/14911
Author:   oliviermartin
Date:     2013-11-28 21:38:56 +0000 (Thu, 28 Nov 2013)
Log Message:
-----------
ArmPkg/CpuDxe: Removed LR adjustement for SVC call

The Link Register (LR) does not need adjustement when receiving a Supervisor 
Call (SVC).
Note: SVC might be generated by debuggers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.S
    trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.asm

Modified: trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.S
===================================================================
--- trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.S   2013-11-28 
21:38:32 UTC (rev 14910)
+++ trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.S   2013-11-28 
21:38:56 UTC (rev 14911)
@@ -120,7 +120,6 @@
   bx        R1
 
 ASM_PFX(SoftwareInterruptEntry):
-  sub       LR, LR, #4                @ Only -2 for Thumb, adjust in 
CommonExceptionEntry
   srsdb     #0x13!                    @ Store return state on SVC stack
                                       @ We are already in SVC mode
   stmfd     SP!,{LR}                  @ Store the link register for the 
current mode

Modified: trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.asm
===================================================================
--- trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.asm 2013-11-28 
21:38:32 UTC (rev 14910)
+++ trunk/edk2/ArmPkg/Drivers/CpuDxe/ArmV6/ExceptionSupport.asm 2013-11-28 
21:38:56 UTC (rev 14911)
@@ -115,7 +115,6 @@
   bx        R1
 
 SoftwareInterruptEntry
-  sub       LR, LR, #4                ; Only -2 for Thumb, adjust in 
CommonExceptionEntry
   srsfd     #0x13!                    ; Store return state on SVC stack
                                       ; We are already in SVC mode
   stmfd     SP!,{LR}                  ; Store the link register for the 
current mode

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to