|
|
@ -565,7 +565,7 @@ struct _sim_cpu { |
|
|
#define NUM_VU_REGS 153 |
|
|
#define NUM_VU_REGS 153 |
|
|
#define NUM_VU_INTEGER_REGS 16 |
|
|
#define NUM_VU_INTEGER_REGS 16 |
|
|
|
|
|
|
|
|
#define NUM_VIF_REGS 25 |
|
|
#define NUM_VIF_REGS 26 |
|
|
|
|
|
|
|
|
#define FIRST_VEC_REG 25 |
|
|
#define FIRST_VEC_REG 25 |
|
|
#define NUM_R5900_REGS 128 |
|
|
#define NUM_R5900_REGS 128 |
|
|
@ -991,6 +991,13 @@ char* pr_uword64 PARAMS ((uword64 addr)); |
|
|
void sky_sim_engine_halt PARAMS ((SIM_DESC sd, sim_cpu *last, sim_cia cia)); |
|
|
void sky_sim_engine_halt PARAMS ((SIM_DESC sd, sim_cpu *last, sim_cia cia)); |
|
|
#define SIM_ENGINE_HALT_HOOK(sd, last, cia) sky_sim_engine_halt(sd, last, cia); |
|
|
#define SIM_ENGINE_HALT_HOOK(sd, last, cia) sky_sim_engine_halt(sd, last, cia); |
|
|
|
|
|
|
|
|
|
|
|
#ifdef SIM_ENGINE_RESTART_HOOK |
|
|
|
|
|
#undef SIM_ENGINE_RESTART_HOOK |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
void sky_sim_engine_restart PARAMS ((SIM_DESC sd, sim_cpu *last, sim_cia cia)); |
|
|
|
|
|
#define SIM_ENGINE_RESTART_HOOK(sd, L, pc) sky_sim_engine_restart(sd, L, pc); |
|
|
|
|
|
|
|
|
#ifndef TM_TXVU_H /* In case GDB hasn't been configured yet */ |
|
|
#ifndef TM_TXVU_H /* In case GDB hasn't been configured yet */ |
|
|
enum txvu_cpu_context |
|
|
enum txvu_cpu_context |
|
|
{ |
|
|
{ |
|
|
@ -1010,7 +1017,13 @@ enum txvu_cpu_context |
|
|
/* Memory address containing last device to execute */ |
|
|
/* Memory address containing last device to execute */ |
|
|
#define LAST_DEVICE GDB_COMM_AREA |
|
|
#define LAST_DEVICE GDB_COMM_AREA |
|
|
|
|
|
|
|
|
#define BREAK_MASK 0x02 /* Breakpoint bit is #57 */ |
|
|
/* The FIFO breakpoint count and table */ |
|
|
|
|
|
#define FIFO_BPT_CNT (GDB_COMM_AREA + 4) |
|
|
|
|
|
#define FIFO_BPT_TBL (GDB_COMM_AREA + 8) |
|
|
|
|
|
|
|
|
|
|
|
#define TXVU_VU_BRK_MASK 0x02 /* Breakpoint bit is #57 for VU insns */ |
|
|
|
|
|
#define TXVU_VIF_BRK_MASK 0x0f /* Breakpoint opcode for VIF insns */ |
|
|
|
|
|
|
|
|
#endif /* !TM_TXVU_H */ |
|
|
#endif /* !TM_TXVU_H */ |
|
|
#endif /* TARGET_SKY */ |
|
|
#endif /* TARGET_SKY */ |
|
|
/* end-sanitize-sky */ |
|
|
/* end-sanitize-sky */ |
|
|
|