X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fsparc%2Fparms.lisp;h=10dae3f1e580e8ec8e05609715fb5a02ae216c52;hb=1b650be8b800cf96e2c268ae317fb26d0bf36827;hp=f66386a4f0c6866c8899cb545d67771b1a5b9f47;hpb=dc5e3163fe667e2629c7769aa8cf2e501eeeefa6;p=sbcl.git diff --git a/src/compiler/sparc/parms.lisp b/src/compiler/sparc/parms.lisp index f66386a..10dae3f 100644 --- a/src/compiler/sparc/parms.lisp +++ b/src/compiler/sparc/parms.lisp @@ -16,6 +16,10 @@ #!+sb-doc "Number of bits per word where a word holds one lisp descriptor.") +;;; the natural width of a machine word (as seen in e.g. register width, +;;; address space) +(def!constant n-machine-word-bits 32) + (def!constant n-byte-bits 8 #!+sb-doc "Number of bits per byte where a byte is the smallest addressable object.") @@ -136,13 +140,7 @@ (def!constant dynamic-0-space-end #x38000000) (def!constant dynamic-1-space-start #x40000000) - (def!constant dynamic-1-space-end #x48000000) - - (def!constant control-stack-start #x50000000) - (def!constant control-stack-end #x51000000) - - (def!constant binding-stack-start #x60000000) - (def!constant binding-stack-end #x61000000)) + (def!constant dynamic-1-space-end #x48000000)) #!+sunos ; might as well start by trying the same numbers (progn @@ -159,13 +157,7 @@ (def!constant dynamic-0-space-end #x38000000) (def!constant dynamic-1-space-start #x40000000) - (def!constant dynamic-1-space-end #x48000000) - - (def!constant control-stack-start #x50000000) - (def!constant control-stack-end #x51000000) - - (def!constant binding-stack-start #x60000000) - (def!constant binding-stack-end #x61000000)) + (def!constant dynamic-1-space-end #x48000000)) ;;;; other random constants. @@ -207,7 +199,7 @@ sb!impl::*!initial-fdefn-objects* ;; functions that the C code needs to call - maybe-gc + sub-gc sb!kernel::internal-error sb!kernel::control-stack-exhausted-error sb!di::handle-breakpoint @@ -222,6 +214,10 @@ *current-catch-block* *current-unwind-protect-block* + *binding-stack-start* + *control-stack-start* + *control-stack-end* + ;; interrupt handling *free-interrupt-context-index* sb!unix::*interrupts-enabled*