summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-05-29 07:18:35 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-05-29 07:18:35 +0000
commiteeb821032e7556896ad4c4d26c79bddd9882a022 (patch)
tree7158cb382e055d636a685b8cbe5b2eb01d718c9e /src/emu/debug/debugcpu.h
parent9438e76f1fb759f0b4bbcae22231c3e75296179f (diff)
Several miscellaneous changes:
1. In the MIPS core: - renamed struct mips3_config -> mips3_config - updated all drivers to the new names - removed MIPS3DRC_STRICT_COP0 flag, which is no longer used - a few minor cleanups 2. In the CPU interface: - added new 'intention' parameter to the translate callback to indicate read/write/fetch access, user/supervisor mode, and a flag for debugging - updated all call sites to pass an appropriate value - updated all CPU cores to the new prototype 3. In the UML: - added new opcode SETC to set the carry flag from a source bit - added new opcode BSWAP to swap bytes within a value - updated C, x86, x64 back-ends to support the new opcodes - updated disassembler to support the new opcodes 4. In the DRC frontend: - fixed bug in handling edge case with the PC near the 0 or ~0
Diffstat (limited to 'src/emu/debug/debugcpu.h')
-rw-r--r--src/emu/debug/debugcpu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h
index 8f52c75b2fa..91b8f1e03d7 100644
--- a/src/emu/debug/debugcpu.h
+++ b/src/emu/debug/debugcpu.h
@@ -122,10 +122,10 @@ struct _debug_cpu_info
UINT32 pc_history_index; /* current history index */
int hotspot_count; /* number of hotspots */
int hotspot_threshhold; /* threshhold for the number of hits to print */
- int (*translate)(int space, offs_t *address);/* address translation routine */
- int (*read)(int space, UINT32 offset, int size, UINT64 *value); /* memory read routine */
- int (*write)(int space, UINT32 offset, int size, UINT64 value); /* memory write routine */
- int (*readop)(UINT32 offset, int size, UINT64 *value); /* opcode read routine */
+ cpu_translate_func translate; /* address translation routine */
+ cpu_read_func read; /* memory read routine */
+ cpu_write_func write; /* memory write routine */
+ cpu_readop_func readop; /* opcode read routine */
int (*instrhook)(offs_t pc); /* per-instruction callback hook */
};