ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/sigsegv.h
(Generate patch)

Comparing BasiliskII/src/Unix/sigsegv.h (file contents):
Revision 1.13 by asvitkine, 2009-02-11T20:44:10Z vs.
Revision 1.15 by asvitkine, 2010-10-23T21:13:21Z

# Line 105 | Line 105 | extern "C" {
105   #define SIGSEGV_SKIP_INSTRUCTION                ix86_skip_instruction
106   #define SIGSEGV_REGISTER_FILE                   ((SIGSEGV_REGISTER_TYPE *)&SIP->thr_state.MACH_FIELD_NAME(rax)) /* RAX is the first GPR we consider */
107   #endif
108 + #ifdef __x86_64__
109 + #define SIGSEGV_FAULT_ADDRESS_FAST              (((uint64_t)code[1])|0x100000000)
110 + #else
111   #define SIGSEGV_FAULT_ADDRESS_FAST              code[1]
112 + #endif
113   #define SIGSEGV_FAULT_INSTRUCTION_FAST  SIGSEGV_INVALID_ADDRESS
114   #define SIGSEGV_FAULT_HANDLER_ARGLIST   mach_port_t thread, mach_exception_data_t code
115   #define SIGSEGV_FAULT_HANDLER_ARGS              thread, code

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines