1.0.3.16: experimental x86-64/darwin suport
[sbcl.git] / src / compiler / x86 / parms.lisp
index f55cf9c..6e34325 100644 (file)
 ;;; 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)
 
 
 #!+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)
   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)