mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[FAST486]
The 80486 doesn't have any time stamp counter (TSC) at all. svn path=/branches/ntvdm/; revision=60710
This commit is contained in:
parent
d3bc33ee5d
commit
ca7d21eff4
3 changed files with 5 additions and 11 deletions
|
@ -335,7 +335,6 @@ struct _FAST486_STATE
|
|||
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;
|
||||
|
|
|
@ -86,9 +86,9 @@ Fast486ExtendedHandlers[FAST486_NUM_OPCODE_HANDLERS] =
|
|||
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
|
||||
|
|
|
@ -107,9 +107,6 @@ Fast486ExecutionControl(PFAST486_STATE State, INT Command)
|
|||
/* 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 @@ VOID
|
|||
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",
|
||||
|
|
Loading…
Reference in a new issue