Author: aandrejevic
Date: Sat Oct 19 18:28:27 2013
New Revision: 60710
URL:
http://svn.reactos.org/svn/reactos?rev=60710&view=rev
Log:
[FAST486]
The 80486 doesn't have any time stamp counter (TSC) at all.
Modified:
branches/ntvdm/include/reactos/libs/fast486/fast486.h
branches/ntvdm/lib/fast486/extraops.c
branches/ntvdm/lib/fast486/fast486.c
Modified: branches/ntvdm/include/reactos/libs/fast486/fast486.h
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/include/reactos/libs/fast…
==============================================================================
--- branches/ntvdm/include/reactos/libs/fast486/fast486.h [iso-8859-1] (original)
+++ branches/ntvdm/include/reactos/libs/fast486/fast486.h [iso-8859-1] Sat Oct 19 18:28:27
2013
@@ -335,7 +335,6 @@
FAST486_REG InstPtr, SavedInstPtr;
FAST486_FLAGS_REG Flags;
FAST486_TABLE_REG Gdtr, Idtr, Ldtr, Tss;
- ULONGLONG TimeStampCounter;
ULONG ControlRegisters[FAST486_NUM_CTRL_REGS];
ULONG DebugRegisters[FAST486_NUM_DBG_REGS];
ULONG ExceptionCount;
Modified: branches/ntvdm/lib/fast486/extraops.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/extraops.c?re…
==============================================================================
--- branches/ntvdm/lib/fast486/extraops.c [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/extraops.c [iso-8859-1] Sat Oct 19 18:28:27 2013
@@ -86,9 +86,9 @@
NULL, // Invalid
NULL, // Invalid
NULL, // Invalid
- NULL, // TODO: OPCODE 0x30 NOT IMPLEMENTED
- NULL, // TODO: OPCODE 0x31 NOT IMPLEMENTED
- NULL, // TODO: OPCODE 0x32 NOT IMPLEMENTED
+ NULL, // Invalid
+ NULL, // Invalid
+ NULL, // Invalid
NULL, // Invalid
NULL, // Invalid
NULL, // Invalid
Modified: branches/ntvdm/lib/fast486/fast486.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/fast486.c?rev…
==============================================================================
--- branches/ntvdm/lib/fast486/fast486.c [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/fast486.c [iso-8859-1] Sat Oct 19 18:28:27 2013
@@ -107,9 +107,6 @@
/* This is a prefix, go to the next instruction immediately */
continue;
}
-
- /* Increment the time stamp counter */
- State->TimeStampCounter++;
}
while ((Command == FAST486_CONTINUE)
|| (Command == FAST486_STEP_OVER && ProcedureCallCount > 0)
@@ -155,12 +152,10 @@
NTAPI
Fast486DumpState(PFAST486_STATE State)
{
- DPRINT1("\nCPU currently executing in %s mode at %04X:%08X\n"
- "Time Stamp Counter = %016X\n",
+ DPRINT1("\nCPU currently executing in %s mode at %04X:%08X\n",
(State->ControlRegisters[0] & FAST486_CR0_PE) ? "protected"
: "real",
State->SegmentRegs[FAST486_REG_CS].Selector,
- State->InstPtr.Long,
- State->TimeStampCounter);
+ State->InstPtr.Long);
DPRINT1("\nGeneral purpose registers:\n"
"EAX = %08X\tECX = %08X\tEDX = %08X\tEBX = %08X\n"
"ESP = %08X\tEBP = %08X\tESI = %08X\tEDI = %08X\n",