- Implement KeArmInstructionFaultStatusRegisterGet
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sun, 13 Jul 2008 23:31:46 +0000 (23:31 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sun, 13 Jul 2008 23:31:46 +0000 (23:31 +0000)
svn path=/trunk/; revision=34477

reactos/ntoskrnl/include/internal/arm/intrin_i.h

index 873d6a9..ccd3302 100644 (file)
@@ -38,6 +38,15 @@ KeArmFaultStatusRegisterGet(VOID)
     return Value;
 }
 
+FORCEINLINE
+ULONG
+KeArmInstructionFaultStatusRegisterGet(VOID)
+{
+    ULONG Value;
+    __asm__ __volatile__ ("mrc p15, 0, %0, c5, c0, 1" : "=r"(Value) : : "cc");
+    return Value;
+}
+
 FORCEINLINE
 ULONG
 KeArmFaultAddressRegisterGet(VOID)