Revision: 17440
http://sourceforge.net/p/edk2/code/17440
Author: oliviermartin
Date: 2015-05-13 18:21:58 +0000 (Wed, 13 May 2015)
Log Message:
-----------
ArmPkg: fix ArmWriteCntkCtl simple code bug
We need to use msr instruction to write system register. It seems the
code was simply copied from ArmReadCntkCtl.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <[email protected]>
Modified Paths:
--------------
trunk/edk2/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S
Modified: trunk/edk2/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S
===================================================================
--- trunk/edk2/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S
2015-05-13 18:20:58 UTC (rev 17439)
+++ trunk/edk2/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S
2015-05-13 18:21:58 UTC (rev 17440)
@@ -58,7 +58,7 @@
ASM_PFX(ArmWriteCntkCtl):
- mrs x0, cntkctl_el1 // Write to CNTK_CTL (Timer PL1 Control
Register)
+ msr cntkctl_el1, x0 // Write to CNTK_CTL (Timer PL1 Control
Register)
ret
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits