0.8.18.8:
[sbcl.git] / src / runtime / osf1-os.c
index 05fd248..8a61667 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <sys/param.h>
 #include <sys/file.h>
+#include "sbcl.h"
 #include "./signal.h"
 #include "os.h"
 #include "arch.h"
@@ -31,7 +32,6 @@
 #include "interrupt.h"
 #include "interr.h"
 #include "lispregs.h"
-#include "sbcl.h"
 #include <sys/socket.h>
 #include <sys/utsname.h>
 #include <errno.h>
@@ -49,9 +49,6 @@
 #include "validate.h"
 size_t os_vm_page_size;
 
-#if defined GENCGC
-#include "gencgc.h"
-#endif
 \f
 
 void os_init(void)
@@ -135,14 +132,8 @@ sigsegv_handler(int signal, siginfo_t *info, void* void_context)
        /* this is lifted from linux-os.c, so violates OOAO */
        *os_context_register_addr(context,reg_ALLOC) -= (1L<<63);
        interrupt_handle_pending(context);
-    } else if(((addr>=DYNAMIC_0_SPACE_END) && (addr<DYNAMIC_1_SPACE_START)) ||
-             ((addr>=DYNAMIC_1_SPACE_END) && (addr<CONTROL_STACK_START))){
-       /* there's empty gap between these spaces.  This clause needs
-          review if the spaces are ever juggled to make this untrue */
-       fprintf(stderr, "bad address 0x%p\n",addr);
-       lose("ran off end of dynamic space");
     } else if (!interrupt_maybe_gc(signal, info, context)) {
-       if(!handle_control_stack_guard_triggered(context,addr))
+       if(!handle_guard_page_triggered(context,addr))
            interrupt_handle_now(signal, info, context);
     }
 }