Changeset 6272
- Timestamp:
- Apr 15, 2007, 11:38:19 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lisp-kernel/x86-exceptions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/x86-exceptions.c
r6264 r6272 552 552 553 553 Boolean 554 is_write_fault(ExceptionInformation *xp, siginfo_t *info) 555 { 556 #ifdef DARWIN 557 return (UC_MCONTEXT(xp)->__es.__err & 0x2) != 0; 558 #endif 559 } 560 561 Boolean 554 562 handle_fault(TCR *tcr, ExceptionInformation *xp, siginfo_t *info) 555 563 { … … 572 580 return handler(xp, a, addr); 573 581 } 582 } 583 { 584 LispObj xcf = create_exception_callback_frame(xp), 585 cmain = nrs_CMAIN.vcell; 586 callback_to_lisp(tcr, cmain, xp, xcf, SIGBUS, is_write_fault(xp,info), (natural)addr, 0); 574 587 } 575 588 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
