Revision 2e719ba3 vl.h

b/vl.h
1147 1147
#ifdef TARGET_PPC
1148 1148
/* PowerPC hardware exceptions management helpers */
1149 1149
ppc_tb_t *cpu_ppc_tb_init (CPUState *env, uint32_t freq);
1150
/* Embedded PowerPC DCR management */
1151
typedef target_ulong (*dcr_read_cb)(void *opaque, int dcrn);
1152
typedef void (*dcr_write_cb)(void *opaque, int dcrn, target_ulong val);
1153
int ppc_dcr_init (CPUState *env, int (*dcr_read_error)(int dcrn),
1154
                  int (*dcr_write_error)(int dcrn));
1155
int ppc_dcr_register (CPUState *env, int dcrn, void *opaque,
1156
                      dcr_read_cb drc_read, dcr_write_cb dcr_write);
1150 1157
#endif
1151 1158
void PREP_debug_write (void *opaque, uint32_t addr, uint32_t val);
1152 1159

  

Also available in: Unified diff