Author: aandrejevic Date: Wed May 13 23:26:25 2015 New Revision: 67708
URL: http://svn.reactos.org/svn/reactos?rev=67708&view=rev Log: [FAST486] - Make Fast486ReadMemory and Fast486WriteMemory FASTCALL. - Fix build when FAST486_NO_FPU is defined.
Modified: trunk/reactos/lib/fast486/common.c trunk/reactos/lib/fast486/common.h trunk/reactos/lib/fast486/fpu.c
Modified: trunk/reactos/lib/fast486/common.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.c?rev=67... ============================================================================== --- trunk/reactos/lib/fast486/common.c [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/common.c [iso-8859-1] Wed May 13 23:26:25 2015 @@ -32,6 +32,7 @@ /* PUBLIC FUNCTIONS ***********************************************************/
BOOLEAN +FASTCALL Fast486ReadMemory(PFAST486_STATE State, FAST486_SEG_REGS SegmentReg, ULONG Offset, @@ -156,6 +157,7 @@ }
BOOLEAN +FASTCALL Fast486WriteMemory(PFAST486_STATE State, FAST486_SEG_REGS SegmentReg, ULONG Offset,
Modified: trunk/reactos/lib/fast486/common.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.h?rev=67... ============================================================================== --- trunk/reactos/lib/fast486/common.h [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/common.h [iso-8859-1] Wed May 13 23:26:25 2015 @@ -137,6 +137,7 @@ /* FUNCTIONS ******************************************************************/
BOOLEAN +FASTCALL Fast486ReadMemory ( PFAST486_STATE State, @@ -148,6 +149,7 @@ );
BOOLEAN +FASTCALL Fast486WriteMemory ( PFAST486_STATE State,
Modified: trunk/reactos/lib/fast486/fpu.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/fpu.c?rev=67708... ============================================================================== --- trunk/reactos/lib/fast486/fpu.c [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/fpu.c [iso-8859-1] Wed May 13 23:26:25 2015 @@ -1044,8 +1044,10 @@ { FAST486_MOD_REG_RM ModRegRm; BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size; +#ifndef FAST486_NO_FPU PFAST486_FPU_DATA_REG SourceOperand, DestOperand; FAST486_FPU_DATA_REG MemoryData; +#endif
TOGGLE_ADSIZE(AddressSize);
@@ -1692,9 +1694,11 @@ { FAST486_MOD_REG_RM ModRegRm; BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size; +#ifndef FAST486_NO_FPU PFAST486_FPU_DATA_REG SourceOperand, DestOperand; LONG Value; FAST486_FPU_DATA_REG MemoryData; +#endif
TOGGLE_ADSIZE(AddressSize);
@@ -2013,8 +2017,10 @@ { FAST486_MOD_REG_RM ModRegRm; BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size; +#ifndef FAST486_NO_FPU PFAST486_FPU_DATA_REG SourceOperand, DestOperand; FAST486_FPU_DATA_REG MemoryData; +#endif
TOGGLE_ADSIZE(AddressSize);
@@ -2389,7 +2395,9 @@ { FAST486_MOD_REG_RM ModRegRm; BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size; +#ifndef FAST486_NO_FPU PFAST486_FPU_DATA_REG SourceOperand, DestOperand; +#endif
TOGGLE_ADSIZE(AddressSize);