X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fobjdef.lisp;h=ff6ae8688397f203134c6e312c74358eeea74618;hb=98a76d4426660876dec6649b1e228d2e5b47f579;hp=0e9d11e19aa3d532d364b3eb0de9231fe6c43b7d;hpb=040e4e707e4f7bc9bda2ab78774fd9205c44ee1f;p=sbcl.git diff --git a/src/compiler/generic/objdef.lisp b/src/compiler/generic/objdef.lisp index 0e9d11e..ff6ae86 100644 --- a/src/compiler/generic/objdef.lisp +++ b/src/compiler/generic/objdef.lisp @@ -370,18 +370,19 @@ ;; unbound_marker is borrowed very briefly at thread startup to ;; pass the address of initial-function into new_thread_trampoline (unbound-marker :init :unbound) ; tls[0] = UNBOUND_MARKER_WIDETAG - (binding-stack-start :c-type "lispobj *") - (binding-stack-pointer :c-type "lispobj *") - (control-stack-start :c-type "lispobj *") - (control-stack-end :c-type "lispobj *") - (alien-stack-start :c-type "lispobj *") - (alien-stack-pointer :c-type "lispobj *") - (alloc-region :c-type "struct alloc_region" :length 5) (pid :c-type "pid_t") + (binding-stack-start :c-type "lispobj *" :length #!+alpha 2 #!-alpha 1) + (binding-stack-pointer :c-type "lispobj *" :length #!+alpha 2 #!-alpha 1) + (control-stack-start :c-type "lispobj *" :length #!+alpha 2 #!-alpha 1) + (control-stack-end :c-type "lispobj *" :length #!+alpha 2 #!-alpha 1) + (alien-stack-start :c-type "lispobj *" :length #!+alpha 2 #!-alpha 1) + (alien-stack-pointer :c-type "lispobj *" :length #!+alpha 2 #!-alpha 1) + #!+gencgc (alloc-region :c-type "struct alloc_region" :length 5) (tls-cookie) ; on x86, the LDT index - (this :c-type "struct thread *") - (next :c-type "struct thread *") - (pseudo-atomic-atomic) - (pseudo-atomic-interrupted) - (interrupt-data :c-type "struct interrupt_data *") + (this :c-type "struct thread *" :length #!+alpha 2 #!-alpha 1) + (next :c-type "struct thread *" :length #!+alpha 2 #!-alpha 1) + #!+x86 (pseudo-atomic-atomic) + #!+x86 (pseudo-atomic-interrupted) + (interrupt-data :c-type "struct interrupt_data *" + :length #!+alpha 2 #!-alpha 1) (interrupt-contexts :c-type "os_context_t *" :rest-p t))