Lines 34-40
Link Here
|
34 |
extern size_t os_vm_page_size; |
34 |
extern size_t os_vm_page_size; |
35 |
#define BREAKPOINT_INST 0x80 |
35 |
#define BREAKPOINT_INST 0x80 |
36 |
|
36 |
|
37 |
void arch_handle_single_step_trap(os_context_t *context, int trap){}; |
|
|
38 |
|
37 |
|
39 |
void |
38 |
void |
40 |
arch_init(void) |
39 |
arch_init(void) |
Lines 88-94
Link Here
|
88 |
/* This may be complete rubbish, as (at least for traps) pc points |
87 |
/* This may be complete rubbish, as (at least for traps) pc points |
89 |
* _after_ the instruction that caused us to be here anyway. |
88 |
* _after_ the instruction that caused us to be here anyway. |
90 |
*/ |
89 |
*/ |
91 |
*os_context_pc_addr(context) +=4; } |
90 |
((char*)*os_context_pc_addr(context)) +=4; } |
92 |
|
91 |
|
93 |
unsigned char * |
92 |
unsigned char * |
94 |
arch_internal_error_arguments(os_context_t *context) |
93 |
arch_internal_error_arguments(os_context_t *context) |