dioscuri.module.cpu32
Class SegmentFactory.AbstractTSS
java.lang.Object
dioscuri.module.cpu32.Segment
dioscuri.module.cpu32.SegmentFactory.AbstractTSS
- All Implemented Interfaces:
- Hibernatable
- Enclosing class:
- SegmentFactory
public abstract static class SegmentFactory.AbstractTSS
- extends Segment
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentFactory.AbstractTSS
public SegmentFactory.AbstractTSS(Memory memory,
int selector,
long descriptor)
- Parameters:
memory
- selector
- descriptor
-
saveCPUState
public void saveCPUState(Processor cpu)
- Parameters:
cpu
-
restoreCPUState
public void restoreCPUState(Processor cpu)
- Parameters:
cpu
-
getByte
public byte getByte(int offset)
- Parameters:
offset
-
- Returns:
- -
getWord
public short getWord(int offset)
- Parameters:
offset
-
- Returns:
- -
getDoubleWord
public int getDoubleWord(int offset)
- Parameters:
offset
-
- Returns:
- -
getQuadWord
public long getQuadWord(int offset)
- Parameters:
offset
-
- Returns:
- -
setByte
public void setByte(int offset,
byte data)
setWord
public void setWord(int offset,
short data)
setDoubleWord
public void setDoubleWord(int offset,
int data)
setQuadWord
public void setQuadWord(int offset,
long data)
dumpState
public int dumpState(java.io.DataOutput output)
throws java.io.IOException
- Specified by:
dumpState
in class Segment
- Returns:
- -
- Throws:
java.io.IOException
isPresent
public boolean isPresent()
- Returns:
- -
translateAddressRead
public final int translateAddressRead(int offset)
- Returns:
- -
translateAddressWrite
public final int translateAddressWrite(int offset)
- Returns:
- -
checkAddress
public final void checkAddress(int offset)
getDefaultSizeFlag
public boolean getDefaultSizeFlag()
- Returns:
- -
getLimit
public int getLimit()
- Returns:
- -
getBase
public int getBase()
- Returns:
- -
getSelector
public int getSelector()
- Returns:
- -
getRPL
public int getRPL()
- Returns:
- -
getDPL
public int getDPL()
- Returns:
- -
setRPL
public void setRPL(int cpl)
setAddressSpace
public void setAddressSpace(AddressSpace memory)
- Specified by:
setAddressSpace
in class Segment
invalidateAddress
public void invalidateAddress(int address)
getType
public int getType()
- Specified by:
getType
in class Segment
- Returns:
- -
setSelector
public boolean setSelector(int selector)
- Specified by:
setSelector
in class Segment
- Returns:
- -