Author: ros-arm-bringup
Date: Sun Jul 13 18:31:46 2008
New Revision: 34477
URL:
http://svn.reactos.org/svn/reactos?rev=34477&view=rev
Log:
- Implement KeArmInstructionFaultStatusRegisterGet
Modified:
trunk/reactos/ntoskrnl/include/internal/arm/intrin_i.h
Modified: trunk/reactos/ntoskrnl/include/internal/arm/intrin_i.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/arm/intrin_i.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/arm/intrin_i.h [iso-8859-1] Sun Jul 13
18:31:46 2008
@@ -35,6 +35,15 @@
{
ULONG Value;
__asm__ __volatile__ ("mrc p15, 0, %0, c5, c0, 0" : "=r"(Value) :
: "cc");
+ return Value;
+}
+
+FORCEINLINE
+ULONG
+KeArmInstructionFaultStatusRegisterGet(VOID)
+{
+ ULONG Value;
+ __asm__ __volatile__ ("mrc p15, 0, %0, c5, c0, 1" : "=r"(Value) :
: "cc");
return Value;
}