X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fx86-64%2Fparms.lisp;h=15276a0c17dbac15b1bb0bec43754a561ad24d71;hb=b63c4fb9b98fa8188e17ba926e150ba417a74635;hp=702b3349a1eaa5fea41a3d20bb7be27859f63259;hpb=4ebdc81b1a9c6dbed6e98b112afc8dd32b17a2dd;p=sbcl.git diff --git a/src/compiler/x86-64/parms.lisp b/src/compiler/x86-64/parms.lisp index 702b334..15276a0 100644 --- a/src/compiler/x86-64/parms.lisp +++ b/src/compiler/x86-64/parms.lisp @@ -35,12 +35,6 @@ ;;; addressable object (def!constant n-byte-bits 8) -;;; the number of bits to shift between word addresses and byte addresses -(def!constant word-shift (1- (integer-length (/ n-word-bits n-byte-bits)))) - -;;; the number of bytes in a word -(def!constant n-word-bytes (/ n-word-bits n-byte-bits)) - (def!constant float-sign-shift 31) ;;; comment from CMU CL: @@ -105,18 +99,21 @@ ;;;; description of the target address space -;;; where to put the different spaces. untested (copied from x86, in fact) +;;; where to put the different spaces. +(def!constant read-only-space-start #x20000000) +(def!constant read-only-space-end #x27ff0000) -(def!constant read-only-space-start #x01000000) -(def!constant read-only-space-end #x037ff000) +(def!constant static-space-start #x40000000) +(def!constant static-space-end #x47fff000) -(def!constant static-space-start #x05000000) -(def!constant static-space-end #x07fff000) +(def!constant dynamic-space-start #x1000000000) +(def!constant dynamic-space-end #x11ffff0000) -(def!constant dynamic-space-start #x09000000) -(def!constant dynamic-space-end #x29000000) +(def!constant linkage-table-space-start #x60000000) +(def!constant linkage-table-space-end #x63fff000) +(def!constant linkage-table-entry-size 16) ;;;; other miscellaneous constants @@ -164,6 +161,9 @@ ;;; FIXME: !COLD-INIT probably doesn't need ;;; to be in the static symbols table any more. +;;; +;;; FIXME: some of these symbols are shared by all backends, +;;; and should be factored out into a common file. (defparameter *static-symbols* '(t @@ -175,6 +175,8 @@ sub-gc sb!kernel::internal-error sb!kernel::control-stack-exhausted-error + sb!kernel::undefined-alien-variable-error + sb!kernel::undefined-alien-function-error sb!di::handle-breakpoint fdefinition-object #!+sb-thread sb!thread::handle-thread-exit