X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fsparc%2Fparms.lisp;h=c0f3dbb4c1894f92942292652a213fdbd32e6b5d;hb=c0595e94aab165f59454a3a97f06a8bdc22f5bd3;hp=b6c6306f6705d44de62a50884858c5e804adbb49;hpb=8731c1a7c1a585d190151fa881050fb5e14c0616;p=sbcl.git diff --git a/src/compiler/sparc/parms.lisp b/src/compiler/sparc/parms.lisp index b6c6306..c0f3dbb 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. @@ -204,26 +196,29 @@ ;; The C startup code must fill these in. *posix-argv* - ;;lisp::lisp-environment-list - ;;lisp::lisp-command-line-list sb!impl::*!initial-fdefn-objects* - ;; Functions that the C code needs to call - maybe-gc + ;; functions that the C code needs to call + sub-gc sb!kernel::internal-error + sb!kernel::control-stack-exhausted-error sb!di::handle-breakpoint sb!di::handle-fun-end-breakpoint - ;; Free Pointers. + ;; free pointers *read-only-space-free-pointer* *static-space-free-pointer* *initial-dynamic-space-free-pointer* - ;; Things needed for non-local-exit. + ;; things needed for non-local exit *current-catch-block* *current-unwind-protect-block* - ;; Interrupt Handling + *binding-stack-start* + *control-stack-start* + *control-stack-end* + + ;; interrupt handling *free-interrupt-context-index* sb!unix::*interrupts-enabled* sb!unix::*interrupt-pending* @@ -233,7 +228,7 @@ '(length two-arg-+ two-arg-- two-arg-* two-arg-/ two-arg-< two-arg-> two-arg-= two-arg-<= two-arg->= two-arg-/= eql %negate - two-arg-and two-arg-ior two-arg-xor + two-arg-and two-arg-ior two-arg-xor two-arg-eqv two-arg-gcd two-arg-lcm ))