Enumerations | |
| enum | CpuState { CPUSTATE_NORMAL, CPUSTATE_EMULATION, CPUSTATE_STEP } |
| CPU state. More... | |
| enum | { JTAG_CLKSPEED, EMUIR_SIZE = 32, EMUDAT_SIZE, EMULOOP_SIZE, EMU_STEP } |
| Tokens for Emulation Control ( emulation_config() ). More... | |
Functions | |
| int | emulation_init (CPU cpu) |
| Initialize emulation. | |
| int | emulation_exit (CPU cpu) |
| Exit emulation and turn off emulator unit (save power). | |
| int | emulation_enter (CPU cpu) |
| Enter emulation state. | |
| int | emulation_leave (CPU cpu) |
| Exit emulation state; 'go'. | |
| int | emulation_enter_singlestep (CPU cpu) |
| Enter single stepping mode. | |
| int | emulation_go (CPU cpu) |
| Return from emulation (go). | |
| int | emulation_leave_singlestep (CPU cpu) |
| Leave single step mode. | |
| int | emulation_flush (CPU cpu) |
| Flush memory changes. | |
| int | emulation_config (CPU cpu, int mode, int value) |
| Configure emulation. | |
| CpuState | emulation_state (CPU cpu) |
| Return emulation state for state debugging. | |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
This function makes sure that all cache lines on the CPU get flushed. This has only an effect if caching is turned on. |
|
|
This function does not change the CPU state (i.e. is used in single step mode) |
|
|
This must be called before anything else.
|
|
|
If an error happened, the return value is a negative error code. Always check. |
1.4.3-20050530