mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +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 **********************************************************/
|
/* PRIVATE FUNCTIONS **********************************************************/
|
||||||
|
|
||||||
|
#ifndef FAST486_NO_FPU
|
||||||
|
|
||||||
static ULONGLONG
|
static ULONGLONG
|
||||||
UnsignedMult128(ULONGLONG Multiplicand,
|
UnsignedMult128(ULONGLONG Multiplicand,
|
||||||
ULONGLONG Multiplier,
|
ULONGLONG Multiplier,
|
||||||
|
@ -303,6 +305,8 @@ Fast486FpuDivide(PFAST486_STATE State,
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||||
|
|
||||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8DC)
|
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8DC)
|
||||||
|
|
|
@ -39,6 +39,7 @@ getIntelRegistersPointer(VOID)
|
||||||
IntelRegPtr.Dr7 = EmulatorContext.DebugRegisters[FAST486_REG_DR7];
|
IntelRegPtr.Dr7 = EmulatorContext.DebugRegisters[FAST486_REG_DR7];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef FAST486_NO_FPU
|
||||||
if (IntelRegPtr.ContextFlags & CONTEXT_FLOATING_POINT)
|
if (IntelRegPtr.ContextFlags & CONTEXT_FLOATING_POINT)
|
||||||
{
|
{
|
||||||
// IntelRegPtr.FloatSave = ;
|
// 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.RegisterArea = ; // This is a region of size SIZE_OF_80387_REGISTERS == 80 bytes
|
||||||
// IntelRegPtr.FloatSave.Cr0NpxState = ;
|
// IntelRegPtr.FloatSave.Cr0NpxState = ;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (IntelRegPtr.ContextFlags & CONTEXT_SEGMENTS)
|
if (IntelRegPtr.ContextFlags & CONTEXT_SEGMENTS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue