Use safepoints for INTERRUPT-THREAD
[sbcl.git] / src / runtime / sparc-assem.S
index c856cc9..6c2af48 100644 (file)
@@ -213,6 +213,7 @@ undefined_tramp = . + 1
         .word   NIL
         .word   NIL
         .word   NIL
+        .word   NIL
 
        b       1f
         unimp   trap_Cerror
@@ -237,6 +238,7 @@ closure_tramp = . + 1
         .word   NIL
        .word   NIL
        .word   NIL
+       .word   NIL
 
        ld      [reg_FDEFN+FDEFN_FUN_OFFSET], reg_LEXENV
        ld      [reg_LEXENV+CLOSURE_FUN_OFFSET], reg_CODE
@@ -253,6 +255,7 @@ funcallable_instance_tramp = . + 1
        .word NIL
        .word NIL
        .word NIL
+       .word NIL
 
        ld      [reg_LEXENV+FUNCALLABLE_INSTANCE_FUNCTION_OFFSET], reg_LEXENV
        ld      [reg_LEXENV+CLOSURE_FUN_OFFSET], reg_CODE
@@ -262,11 +265,16 @@ funcallable_instance_tramp = . + 1
  * Function-end breakpoint magic.
  */
 
+/*
+ * For an explanation of the magic involved in function-end
+ * breakpoints, see the implementation in ppc-assem.S.
+ */
+
        .text
        .align  8
        .global fun_end_breakpoint_guts
 fun_end_breakpoint_guts:
-       .word   RETURN_PC_HEADER_WIDETAG
+       .word   RETURN_PC_HEADER_WIDETAG + 0x800
        b       1f
        nop
        mov     reg_CSP, reg_OCFP