C# 클래스 Emul8.Peripherals.Memory.MappedMemory

상속: IBytePeripheral, IWordPeripheral, IDoubleWordPeripheral, IMapped, IDisposable, IKnownSize, ISpeciallySerializable, IMemory, IMultibyteWritePeripheral
파일 보기 프로젝트 열기: emul8/emul8 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetSegment ( int segmentNo ) : IntPtr
IsTouched ( int segmentNo ) : bool
Load ( Antmicro.Migrant.PrimitiveReader reader ) : void
MappedMemory ( uint size, int segmentSize = null ) : System
ReadByte ( long offset ) : byte
ReadBytes ( long offset, int count ) : byte[]
ReadBytes ( long offset, int count, byte destination, int startIndex ) : void
ReadDoubleWord ( long offset ) : uint
ReadWord ( long offset ) : ushort
Reset ( ) : void
Save ( Antmicro.Migrant.PrimitiveWriter writer ) : void
TouchAllSegments ( ) : void
TouchSegment ( int segmentNo ) : void
WriteByte ( long offset, byte value ) : void
WriteBytes ( long offset, byte value ) : void
WriteBytes ( long offset, byte value, int count ) : void
WriteBytes ( long offset, byte array, int startingIndex, int count ) : void
WriteDoubleWord ( long offset, uint value ) : void
WriteString ( long offset, string value ) : void
WriteWord ( long offset, ushort value ) : void
ZeroAll ( ) : void

비공개 메소드들

메소드 설명
AllocateSegment ( ) : IntPtr
CheckAlignment ( IntPtr segment ) : void
CheckSegmentNo ( int segmentNo ) : void
Free ( ) : void
GetLocalOffset ( uint offset ) : int
GetSegmentNo ( uint offset ) : int
Init ( ) : void
MappedMemory ( ) : System
MemSet ( IntPtr pointer, byte value, int length ) : IntPtr
MemSet ( IntPtr pointer, byte value, int length ) : void
PrepareSegments ( ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetSegment() 공개 메소드

public GetSegment ( int segmentNo ) : IntPtr
segmentNo int
리턴 System.IntPtr

IsTouched() 공개 메소드

public IsTouched ( int segmentNo ) : bool
segmentNo int
리턴 bool

Load() 공개 메소드

public Load ( Antmicro.Migrant.PrimitiveReader reader ) : void
reader Antmicro.Migrant.PrimitiveReader
리턴 void

MappedMemory() 공개 메소드

public MappedMemory ( uint size, int segmentSize = null ) : System
size uint
segmentSize int
리턴 System

ReadByte() 공개 메소드

public ReadByte ( long offset ) : byte
offset long
리턴 byte

ReadBytes() 공개 메소드

public ReadBytes ( long offset, int count ) : byte[]
offset long
count int
리턴 byte[]

ReadBytes() 공개 메소드

public ReadBytes ( long offset, int count, byte destination, int startIndex ) : void
offset long
count int
destination byte
startIndex int
리턴 void

ReadDoubleWord() 공개 메소드

public ReadDoubleWord ( long offset ) : uint
offset long
리턴 uint

ReadWord() 공개 메소드

public ReadWord ( long offset ) : ushort
offset long
리턴 ushort

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Save() 공개 메소드

public Save ( Antmicro.Migrant.PrimitiveWriter writer ) : void
writer Antmicro.Migrant.PrimitiveWriter
리턴 void

TouchAllSegments() 공개 메소드

public TouchAllSegments ( ) : void
리턴 void

TouchSegment() 공개 메소드

public TouchSegment ( int segmentNo ) : void
segmentNo int
리턴 void

WriteByte() 공개 메소드

public WriteByte ( long offset, byte value ) : void
offset long
value byte
리턴 void

WriteBytes() 공개 메소드

public WriteBytes ( long offset, byte value ) : void
offset long
value byte
리턴 void

WriteBytes() 공개 메소드

public WriteBytes ( long offset, byte value, int count ) : void
offset long
value byte
count int
리턴 void

WriteBytes() 공개 메소드

public WriteBytes ( long offset, byte array, int startingIndex, int count ) : void
offset long
array byte
startingIndex int
count int
리턴 void

WriteDoubleWord() 공개 메소드

public WriteDoubleWord ( long offset, uint value ) : void
offset long
value uint
리턴 void

WriteString() 공개 메소드

public WriteString ( long offset, string value ) : void
offset long
value string
리턴 void

WriteWord() 공개 메소드

public WriteWord ( long offset, ushort value ) : void
offset long
value ushort
리턴 void

ZeroAll() 공개 메소드

public ZeroAll ( ) : void
리턴 void