C# Class Emul8.Peripherals.CPU.Sparc

Inheritance: TranslationCPU
Datei anzeigen Open project: emul8/emul8

Private Properties

Property Type Description
AcknowledgeInterrupt void
AfterPCSet void
FindBestInterrupt int
Init void
InitCPUId void
OnCpuHalted void
OnCpuPowerDown void

Public Methods

Method Description
GetRegisterUnsafe ( int register ) : uint
GetRegisters ( ) : int[]
OnGPIO ( int number, bool value ) : void
SetRegisterUnsafe ( int register, uint value ) : void
Sparc ( string cpuType, System.Machine machine, ELFSharp.ELF.Endianess endianness = Endianess.BigEndian ) : System
Start ( ) : void

Protected Methods

Method Description
AfterLoad ( IntPtr statePtr ) : void
BeforeSave ( IntPtr statePtr ) : void
DecodeInterrupt ( int number ) : Interrupt
InitializeRegisters ( ) : void

Private Methods

Method Description
AcknowledgeInterrupt ( int interruptNumber ) : void
AfterPCSet ( uint value ) : void
FindBestInterrupt ( ) : int
Init ( ) : void
InitCPUId ( ) : void
OnCpuHalted ( ) : void
OnCpuPowerDown ( ) : void

Method Details

AfterLoad() protected method

protected AfterLoad ( IntPtr statePtr ) : void
statePtr System.IntPtr
return void

BeforeSave() protected method

protected BeforeSave ( IntPtr statePtr ) : void
statePtr System.IntPtr
return void

DecodeInterrupt() protected method

protected DecodeInterrupt ( int number ) : Interrupt
number int
return Interrupt

GetRegisterUnsafe() public method

public GetRegisterUnsafe ( int register ) : uint
register int
return uint

GetRegisters() public method

public GetRegisters ( ) : int[]
return int[]

InitializeRegisters() protected method

protected InitializeRegisters ( ) : void
return void

OnGPIO() public method

public OnGPIO ( int number, bool value ) : void
number int
value bool
return void

SetRegisterUnsafe() public method

public SetRegisterUnsafe ( int register, uint value ) : void
register int
value uint
return void

Sparc() public method

public Sparc ( string cpuType, System.Machine machine, ELFSharp.ELF.Endianess endianness = Endianess.BigEndian ) : System
cpuType string
machine System.Machine
endianness ELFSharp.ELF.Endianess
return System

Start() public method

public Start ( ) : void
return void