//------------------------------------------------------------------------------ \r
//\r
// Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
-// Copyright (c) 2011, ARM Limited. All rights reserved.\r
+// Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
//\r
// This program and the accompanying materials\r
// are licensed and made available under the terms and conditions of the BSD License\r
EXPORT ArmDisableInterrupts\r
EXPORT ReadCCSIDR\r
EXPORT ReadCLIDR\r
- \r
+ EXPORT ArmReadNsacr\r
+ EXPORT ArmWriteNsacr\r
+\r
AREA ArmLibSupportV7, CODE, READONLY\r
\r
\r
ReadCLIDR\r
mrc p15,1,r0,c0,c0,1 ; Read CP15 Cache Level ID Register\r
bx lr\r
- \r
+\r
+ArmReadNsacr\r
+ mrc p15, 0, r0, c1, c1, 2\r
+ bx lr\r
+\r
+ArmWriteNsacr\r
+ mcr p15, 0, r0, c1, c1, 2\r
+ bx lr\r
+\r
END\r