/** @file\r
\r
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
- Copyright (c) 2011 - 2012, ARM Ltd. All rights reserved.<BR>\r
+ Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
val &= ~Bits;\r
ArmWriteAuxCr(val);\r
}\r
+\r
+//\r
+// Helper functions for accessing CPUACTLR\r
+//\r
+\r
+VOID\r
+EFIAPI\r
+ArmSetCpuActlrBit (\r
+ IN UINTN Bits\r
+ )\r
+{\r
+ UINTN Value;\r
+ Value = ArmReadCpuActlr ();\r
+ Value |= Bits;\r
+ ArmWriteCpuActlr (Value);\r
+}\r
+\r
+VOID\r
+EFIAPI\r
+ArmUnsetCpuActlrBit (\r
+ IN UINTN Bits\r
+ )\r
+{\r
+ UINTN Value;\r
+ Value = ArmReadCpuActlr ();\r
+ Value &= ~Bits;\r
+ ArmWriteCpuActlr (Value);\r
+}\r