Author: sginsberg
Date: Thu Sep 4 07:13:20 2008
New Revision: 35934
URL:
http://svn.reactos.org/svn/reactos?rev=35934&view=rev
Log:
- Fix kernel exports ARM
- Add KeSaveFloatingPointState/KeRestoreFloatingPointState stubs to ARM kernel as is done
for other architectures (like AMD64). They have nothing to do on ARM, so they just return
success.
Modified:
trunk/reactos/ntoskrnl/ke/arm/cpu.c
trunk/reactos/ntoskrnl/ntoskrnl.spec
Modified: trunk/reactos/ntoskrnl/ke/arm/cpu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/cpu.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/cpu.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/arm/cpu.c [iso-8859-1] Thu Sep 4 07:13:20 2008
@@ -261,6 +261,32 @@
KiSaveProcessorControlState(State);
}
+/*
+ * @implemented
+ */
+NTSTATUS
+NTAPI
+KeSaveFloatingPointState(OUT PKFLOATING_SAVE Save)
+{
+ //
+ // Nothing to do on ARM
+ //
+ return STATUS_SUCCESS;
+}
+
+/*
+ * @implemented
+ */
+NTSTATUS
+NTAPI
+KeRestoreFloatingPointState(IN PKFLOATING_SAVE Save)
+{
+ //
+ // Nothing to do on ARM
+ //
+ return STATUS_SUCCESS;
+}
+
/* SYSTEM CALLS NOT VALID ON THIS CPU *****************************************/
/*
Modified: trunk/reactos/ntoskrnl/ntoskrnl.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl.spec?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl.spec [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl.spec [iso-8859-1] Thu Sep 4 07:13:20 2008
@@ -559,9 +559,6 @@
@ stdcall KeCapturePersistentThreadState(ptr long long long long long ptr)
@ stdcall KeClearEvent(ptr)
@ stdcall KeConnectInterrupt(ptr)
-#ifdef _M_ARM
-@ extern KeDcacheFlushCount
-#endif
@ stdcall KeDelayExecutionThread(long long ptr)
@ stdcall KeDeregisterBugCheckCallback(ptr)
@ stdcall KeDeregisterBugCheckReasonCallback(ptr)
@@ -590,9 +587,6 @@
@ stdcall KeI386ReleaseGdtSelectors(ptr long)
;KeI386ReleaseLid
;KeI386SetGdtSelector
-#endif
-#ifdef _M_ARM
-@ extern KeIcacheFlushCount
#endif
@ stdcall KeInitializeApc(ptr ptr long ptr ptr ptr long ptr)
@ stdcall KeInitializeCrashDumpHeader(long long ptr long ptr)
@@ -711,15 +705,16 @@
@ fastcall KiAcquireSpinLock(ptr)
@ extern KiBugCheckData
@ stdcall KiCheckForKernelApcDelivery()
+#ifdef _M_IX86
@ stdcall KiCoprocessorError()
+#endif
@ stdcall KiDeliverApc(long ptr ptr)
+#ifdef _M_IX86
@ stdcall KiDispatchInterrupt()
+#endif
@ extern KiEnableTimerWatchdog
@ stdcall KiIpiServiceRoutine(ptr ptr)
@ fastcall KiReleaseSpinLock(ptr)
-#ifdef _M_ARM
-@ extern KiRawTicks
-#endif
@ cdecl KiUnexpectedInterrupt()
#ifdef _M_IX86
;Kii386SpinOnSpinLock
@@ -1521,6 +1516,7 @@
;_CIsin
;_CIsqrt
@ cdecl _abnormal_termination()
+#ifdef _M_IX86
@ cdecl _alldiv()
@ cdecl _alldvrm()
@ cdecl _allmul()
@@ -1532,6 +1528,7 @@
@ cdecl _aulldvrm()
@ cdecl _aullrem()
@ cdecl _aullshr()
+#endif
@ cdecl _except_handler2()
@ cdecl _except_handler3()
@ cdecl _global_unwind2()