Author: tkreuzer
Date: Fri Aug 26 15:06:25 2011
New Revision: 53455
URL:
http://svn.reactos.org/svn/reactos?rev=53455&view=rev
Log:
[NTOSKRNL]
Fix amd64 build
Modified:
trunk/reactos/ntoskrnl/ke/amd64/cpu.c
trunk/reactos/ntoskrnl/ntoskrnl.spec
Modified: trunk/reactos/ntoskrnl/ke/amd64/cpu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/amd64/cpu.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/amd64/cpu.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/amd64/cpu.c [iso-8859-1] Fri Aug 26 15:06:25 2011
@@ -481,11 +481,11 @@
__sidt(&ProcessorState->SpecialRegisters.Idtr.Limit);
// __stmxcsr(&ProcessorState->SpecialRegisters.MxCsr);
-// ProcessorState->SpecialRegisters.DebugControl =
-// ProcessorState->SpecialRegisters.LastBranchToRip =
-// ProcessorState->SpecialRegisters.LastBranchFromRip =
-// ProcessorState->SpecialRegisters.LastExceptionToRip =
-// ProcessorState->SpecialRegisters.LastExceptionFromRip =
+// ProcessorState->SpecialRegisters.DebugControl =
+// ProcessorState->SpecialRegisters.LastBranchToRip =
+// ProcessorState->SpecialRegisters.LastBranchFromRip =
+// ProcessorState->SpecialRegisters.LastExceptionToRip =
+// ProcessorState->SpecialRegisters.LastExceptionFromRip =
/* Save MSRs */
ProcessorState->SpecialRegisters.MsrGsBase = __readmsr(X86_MSR_GSBASE);
@@ -528,18 +528,18 @@
NTSTATUS
NTAPI
-KeSaveFloatingPointState(OUT PKFLOATING_SAVE Save)
-{
- UNIMPLEMENTED;
- return STATUS_UNSUCCESSFUL;
+KxSaveFloatingPointState(OUT PKFLOATING_SAVE FloatingState)
+{
+ UNREFERENCED_PARAMETER(FloatingState);
+ return STATUS_SUCCESS;
}
NTSTATUS
NTAPI
-KeRestoreFloatingPointState(IN PKFLOATING_SAVE Save)
-{
- UNIMPLEMENTED;
- return STATUS_UNSUCCESSFUL;
+KxRestoreFloatingPointState(IN PKFLOATING_SAVE FloatingState)
+{
+ UNREFERENCED_PARAMETER(FloatingState);
+ return STATUS_SUCCESS;
}
BOOLEAN
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] Fri Aug 26 15:06:25 2011
@@ -672,10 +672,12 @@
@ stdcall KeRemoveQueueDpc(ptr)
@ stdcall KeRemoveSystemServiceTable(long)
@ stdcall KeResetEvent(ptr)
-@ stdcall KeRestoreFloatingPointState(ptr)
+@ stdcall -arch=i386 KeRestoreFloatingPointState(ptr)
+@ stdcall -arch=x86_64 KeRestoreFloatingPointState(ptr) KxRestoreFloatingPointState
@ stdcall KeRevertToUserAffinityThread()
@ stdcall KeRundownQueue(ptr)
-@ stdcall KeSaveFloatingPointState(ptr)
+@ stdcall -arch=i386 KeSaveFloatingPointState(ptr)
+@ stdcall -arch=x86_64 KeSaveFloatingPointState(ptr) KxSaveFloatingPointState
@ cdecl KeSaveStateForHibernate(ptr)
@ extern KeServiceDescriptorTable
@ stdcall KeSetAffinityThread(ptr long)