sim.arch
Class NullArchitecture
java.lang.Object
sim.arch.Architecture
sim.arch.NullArchitecture
public class NullArchitecture
- extends Architecture
An architecture that doesn't support exceptions,
the MIPS coprocessors, or most anything else.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullArchitecture
public NullArchitecture(DebuggableMachine mach)
initialize
public void initialize()
- Specified by:
initialize in class Architecture
dumpState
public void dumpState(java.io.PrintStream out)
- Specified by:
dumpState in class Architecture
shortState
public java.lang.String shortState()
- Specified by:
shortState in class Architecture
raiseException
public void raiseException(int type)
throws DebuggableMachineException
- Specified by:
raiseException in class Architecture
- Throws:
DebuggableMachineException
rfe
public void rfe()
throws DebuggableMachineException
- Specified by:
rfe in class Architecture
- Throws:
DebuggableMachineException
userMode
public boolean userMode()
- Specified by:
userMode in class Architecture
readMemBase
public PhysicalAddress readMemBase()
- Specified by:
readMemBase in class Architecture
readMemLength
public int readMemLength()
- Specified by:
readMemLength in class Architecture
translateAddress
public PhysicalAddress translateAddress(VirtualAddress vaddr)
throws DebuggableMachineException
- Throws:
DebuggableMachineException
type
public int type()
- Description copied from class:
Architecture
- Returns one of the architecture types defined as static final int's.
- Specified by:
type in class Architecture