TEMU
4.4
The Terma Emulator
|
#include </builds/termade/temu/temu/include/temu-c/Models/Machine.h>
Data Fields | |
void(* | reset )(void *Obj, int ResetType) |
Send reset to all processors in the machine. More... | |
temu_CpuExitReason(* | run )(void *Obj, uint64_t NanoSecs) |
Run the machine for the given time. More... | |
temu_CpuExitReason(* | step )(void *Obj, int CpuId, uint64_t Steps) |
Step the given process a number of steps. More... | |
temu_CpuIfaceRef(* | getCurrentCpu )(void *Obj) |
Get current processor. More... | |
temu_CpuIfaceRef(* | getCpu )(void *Obj, unsigned Idx) |
Get processor by index. More... | |
int64_t(* | getTime )(void *Machine) |
Get machine time in nanoseconds. More... | |
unsigned(* | getCurrentCpuId )(void *Obj) |
Return the current CPU number. More... | |
void(* | asyncStop )(void *Obj) |
Standard machine interface
void(* temu_MachineIface::asyncStop) (void *Obj) |
Async stop must be async safe, it can be used to tell the emulator to stop in an async safe way, e.g. from a signal handler.
temu_CpuIfaceRef(* temu_MachineIface::getCpu) (void *Obj, unsigned Idx) |
Get processor by index.
temu_CpuIfaceRef(* temu_MachineIface::getCurrentCpu) (void *Obj) |
Get current processor.
unsigned(* temu_MachineIface::getCurrentCpuId) (void *Obj) |
Return the current CPU number.
int64_t(* temu_MachineIface::getTime) (void *Machine) |
Get machine time in nanoseconds.
void(* temu_MachineIface::reset) (void *Obj, int ResetType) |
Send reset to all processors in the machine.
temu_CpuExitReason(* temu_MachineIface::run) (void *Obj, uint64_t NanoSecs) |
Run the machine for the given time.
temu_CpuExitReason(* temu_MachineIface::step) (void *Obj, int CpuId, uint64_t Steps) |
Step the given process a number of steps.