#include "copyright.h"#include "utility.h"#include "translate.h"#include "disk.h"Go to the source code of this file.
Classes | |
| class | Instruction |
| class | Machine |
Defines | |
| #define | PageSize SectorSize |
| #define | NumPhysPages 32 |
| #define | MemorySize (NumPhysPages * PageSize) |
| #define | TLBSize 4 |
| #define | StackReg 29 |
| #define | RetAddrReg 31 |
| #define | NumGPRegs 32 |
| #define | HiReg 32 |
| #define | LoReg 33 |
| #define | PCReg 34 |
| #define | NextPCReg 35 |
| #define | PrevPCReg 36 |
| #define | LoadReg 37 |
| #define | LoadValueReg 38 |
| #define | BadVAddrReg 39 |
| #define | NumTotalRegs 40 |
Enumerations | |
| enum | ExceptionType { NoException, SyscallException, PageFaultException, ReadOnlyException, BusErrorException, AddressErrorException, OverflowException, IllegalInstrException, NumExceptionTypes } |
Functions | |
| void | ExceptionHandler (ExceptionType which) |
| unsigned int | WordToHost (unsigned int word) |
| unsigned short | ShortToHost (unsigned short shortword) |
| unsigned int | WordToMachine (unsigned int word) |
| unsigned short | ShortToMachine (unsigned short shortword) |
|
|
Definition at line 70 of file machine.h. Referenced by Machine::RaiseException(). |
|
|
Definition at line 63 of file machine.h. Referenced by Machine::DumpState(), and Machine::OneInstruction(). |
|
|
Definition at line 68 of file machine.h. Referenced by Machine::DelayedLoad(), Machine::DumpState(), and Machine::OneInstruction(). |
|
|
Definition at line 69 of file machine.h. Referenced by Machine::DelayedLoad(), Machine::DumpState(), and Machine::OneInstruction(). |
|
|
Definition at line 64 of file machine.h. Referenced by Machine::DumpState(), and Machine::OneInstruction(). |
|
|
Definition at line 36 of file machine.h. Referenced by Machine::Machine(), and Machine::Translate(). |
|
|
Definition at line 66 of file machine.h. Referenced by Machine::DumpState(), and Machine::OneInstruction(). |
|
|
Definition at line 62 of file machine.h. Referenced by Machine::DumpState(). |
|
|
Definition at line 35 of file machine.h. Referenced by Machine::Translate(). |
|
|
Definition at line 72 of file machine.h. Referenced by Machine::Machine(), Machine::ReadRegister(), and Machine::WriteRegister(). |
|
|
Definition at line 31 of file machine.h. Referenced by Machine::Translate(). |
|
|
Definition at line 65 of file machine.h. Referenced by Machine::DumpState(), and Machine::OneInstruction(). |
|
|
Definition at line 67 of file machine.h. Referenced by Machine::DumpState(), and Machine::OneInstruction(). |
|
|
Definition at line 61 of file machine.h. Referenced by Machine::DumpState(). |
|
|
Definition at line 60 of file machine.h. Referenced by Machine::DumpState(). |
|
|
Definition at line 37 of file machine.h. Referenced by Machine::Machine(), and Machine::Translate(). |
|
|
Referenced by Machine::ReadMem(), and Machine::WriteMem().
|
|
|
Referenced by Machine::RaiseException(). |
|
|
Definition at line 56 of file translate.cc. Referenced by Machine::ReadMem(), and ShortToMachine().
|
|
|
Definition at line 71 of file translate.cc. References ShortToHost(). Referenced by Machine::WriteMem().
|
|
|
Definition at line 42 of file translate.cc. Referenced by Machine::ReadMem(), and WordToMachine().
|
|
|
Definition at line 68 of file translate.cc. References WordToHost(). Referenced by Machine::WriteMem().
|
1.3.8