dioscuri.module.cpu32
Class SegmentFactory.GateSegment
java.lang.Object
dioscuri.module.cpu32.Segment
dioscuri.module.cpu32.SegmentFactory.GateSegment
- All Implemented Interfaces:
- Hibernatable
- Direct Known Subclasses:
- SegmentFactory.CallGate16Bit, SegmentFactory.CallGate32Bit
- Enclosing class:
- SegmentFactory
public static class SegmentFactory.GateSegment
- extends Segment
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentFactory.GateSegment
public SegmentFactory.GateSegment(Memory memory,
int selector,
long descriptor)
- Parameters:
memory
- selector
- descriptor
-
getTargetSegment
public int getTargetSegment()
- Returns:
- -
getTargetOffset
public int getTargetOffset()
- 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:
- -
getByte
public byte getByte(int offset)
- Specified by:
getByte
in class Segment
- Returns:
- -
getWord
public short getWord(int offset)
- Specified by:
getWord
in class Segment
- Returns:
- -
getDoubleWord
public int getDoubleWord(int offset)
- Specified by:
getDoubleWord
in class Segment
- Returns:
- -
getQuadWord
public long getQuadWord(int offset)
- Specified by:
getQuadWord
in class Segment
- Returns:
- -