155 |
|
|
156 |
#define EXCP_INTERRUPT 256 /* async interruption */ |
#define EXCP_INTERRUPT 256 /* async interruption */ |
157 |
#define EXCP_HLT 257 /* hlt instruction reached */ |
#define EXCP_HLT 257 /* hlt instruction reached */ |
158 |
|
#define EXCP_DEBUG 258 /* cpu stopped after a breakpoint or singlestep */ |
159 |
|
|
160 |
|
#define MAX_BREAKPOINTS 32 |
161 |
|
|
162 |
enum { |
enum { |
163 |
CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */ |
CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */ |
273 |
uint32_t dr[8]; /* debug registers */ |
uint32_t dr[8]; /* debug registers */ |
274 |
int interrupt_request; |
int interrupt_request; |
275 |
int user_mode_only; /* user mode only simulation */ |
int user_mode_only; /* user mode only simulation */ |
276 |
|
|
277 |
|
uint32_t breakpoints[MAX_BREAKPOINTS]; |
278 |
|
int nb_breakpoints; |
279 |
|
|
280 |
/* user data */ |
/* user data */ |
281 |
void *opaque; |
void *opaque; |