mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 23:25:09 +00:00
- More MSVC fixes.
svn path=/trunk/; revision=25948
This commit is contained in:
parent
9efff39376
commit
794a97e498
|
@ -168,28 +168,28 @@ Ke386HaltProcessor(VOID)
|
|||
|
||||
VOID
|
||||
FORCEINLINE
|
||||
Ke386GetInterruptDescriptorTable(OUT USHORT Descriptor)
|
||||
Ke386GetInterruptDescriptorTable(OUT KDESCRIPTOR Descriptor)
|
||||
{
|
||||
__asm sidt Descriptor;
|
||||
}
|
||||
|
||||
VOID
|
||||
FORCEINLINE
|
||||
Ke386SetInterruptDescriptorTable(IN USHORT Descriptor)
|
||||
Ke386SetInterruptDescriptorTable(IN KDESCRIPTOR Descriptor)
|
||||
{
|
||||
__asm lidt Descriptor;
|
||||
}
|
||||
|
||||
VOID
|
||||
FORCEINLINE
|
||||
Ke386GetGlobalDescriptorTable(OUT USHORT Descriptor)
|
||||
Ke386GetGlobalDescriptorTable(OUT KDESCRIPTOR Descriptor)
|
||||
{
|
||||
__asm sgdt Descriptor;
|
||||
}
|
||||
|
||||
VOID
|
||||
FORCEINLINE
|
||||
Ke386SetGlobalDescriptorTable(IN USHORT Descriptor)
|
||||
Ke386SetGlobalDescriptorTable(IN KDESCRIPTOR Descriptor)
|
||||
{
|
||||
__asm lgdt Descriptor;
|
||||
}
|
||||
|
|
|
@ -697,8 +697,8 @@ KiRestoreProcessorControlState(PKPROCESSOR_STATE ProcessorState)
|
|||
//
|
||||
// Restore GDT, IDT, LDT and TSS
|
||||
//
|
||||
Ke386SetGlobalDescriptorTable(ProcessorState->SpecialRegisters.Gdtr.Base);
|
||||
Ke386SetInterruptDescriptorTable(ProcessorState->SpecialRegisters.Idtr.Base);
|
||||
Ke386SetGlobalDescriptorTable(ProcessorState->SpecialRegisters.Gdtr);
|
||||
Ke386SetInterruptDescriptorTable(ProcessorState->SpecialRegisters.Idtr);
|
||||
Ke386SetTr(ProcessorState->SpecialRegisters.Tr);
|
||||
Ke386SetLocalDescriptorTable(ProcessorState->SpecialRegisters.Ldtr);
|
||||
}
|
||||
|
@ -724,8 +724,8 @@ KiSaveProcessorControlState(OUT PKPROCESSOR_STATE ProcessorState)
|
|||
Ke386SetDr7(0);
|
||||
|
||||
/* Save GDT, IDT, LDT and TSS */
|
||||
Ke386GetGlobalDescriptorTable(ProcessorState->SpecialRegisters.Gdtr.Base);
|
||||
Ke386GetInterruptDescriptorTable(ProcessorState->SpecialRegisters.Idtr.Base);
|
||||
Ke386GetGlobalDescriptorTable(ProcessorState->SpecialRegisters.Gdtr);
|
||||
Ke386GetInterruptDescriptorTable(ProcessorState->SpecialRegisters.Idtr);
|
||||
Ke386GetTr(ProcessorState->SpecialRegisters.Tr);
|
||||
Ke386GetLocalDescriptorTable(ProcessorState->SpecialRegisters.Ldtr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue