X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fparms.lisp;h=6e343256ad7bc1fef3fda32d0dc493853c5caf28;hb=0f234877047c56ca945fe54e9e77a9cc2c8141cb;hp=f55cf9c1ee7b45959f5a4c8aa08460ef1245998b;hpb=b66385e2031fc2cac17dd129df0af400beb48a22;p=sbcl.git diff --git a/src/compiler/x86/parms.lisp b/src/compiler/x86/parms.lisp index f55cf9c..6e34325 100644 --- a/src/compiler/x86/parms.lisp +++ b/src/compiler/x86/parms.lisp @@ -35,9 +35,11 @@ ;;; addressable object (def!constant n-byte-bits 8) -;;; The size in bytes of the GENCGC pages. Should be a multiple of the -;;; architecture code size. -(def!constant gencgc-page-size 4096) +;;; The minimum immediate offset in a memory-referencing instruction. +(def!constant minimum-immediate-offset (- (expt 2 31))) + +;;; The maximum immediate offset in a memory-referencing instruction. +(def!constant maximum-immediate-offset (1- (expt 2 31))) (def!constant float-sign-shift 31) @@ -242,8 +244,8 @@ #!+darwin (progn - (def!constant read-only-space-start #x01000000) - (def!constant read-only-space-end #x04ff8000) + (def!constant read-only-space-start #x04000000) + (def!constant read-only-space-end #x07ff8000) (def!constant static-space-start #x08000000) (def!constant static-space-end #x097fff00) @@ -271,8 +273,7 @@ breakpoint fun-end-breakpoint single-step-around - single-step-before - #!+win32 context-restore) ;; HACK: The Win32 exception handling system does wrong things with this. + single-step-before) ;;; FIXME: It'd be nice to replace all the DEFENUMs with something like ;;; (WITH-DEF-ENUM (:START 8) ;;; (DEF-ENUM HALT-TRAP)