mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[FAST486][NTVDM]: Do not compile some FPU functions when FAST486_NO_FPU is defined (fixes build).
svn path=/trunk/; revision=65009
This commit is contained in:
parent
41f5ac7550
commit
0de95c0f94
2 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,8 @@
|
|||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
|
||||
static ULONGLONG
|
||||
UnsignedMult128(ULONGLONG Multiplicand,
|
||||
ULONGLONG Multiplier,
|
||||
|
@ -303,6 +305,8 @@ Fast486FpuDivide(PFAST486_STATE State,
|
|||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8DC)
|
||||
|
|
|
@ -39,6 +39,7 @@ getIntelRegistersPointer(VOID)
|
|||
IntelRegPtr.Dr7 = EmulatorContext.DebugRegisters[FAST486_REG_DR7];
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
if (IntelRegPtr.ContextFlags & CONTEXT_FLOATING_POINT)
|
||||
{
|
||||
// IntelRegPtr.FloatSave = ;
|
||||
|
@ -52,6 +53,7 @@ getIntelRegistersPointer(VOID)
|
|||
// IntelRegPtr.FloatSave.RegisterArea = ; // This is a region of size SIZE_OF_80387_REGISTERS == 80 bytes
|
||||
// IntelRegPtr.FloatSave.Cr0NpxState = ;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (IntelRegPtr.ContextFlags & CONTEXT_SEGMENTS)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue