From: NIIMI Satoshi Date: Tue, 8 May 2007 10:44:01 +0000 (+0000) Subject: 1.0.5.43: change memory layout on FreeBSD X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=01da8de70d00fe984d3e8be2a56baa3633126644;p=sbcl.git 1.0.5.43: change memory layout on FreeBSD * Move read-only-space and neighbours to lower space to avoid potential conflicts with runtime user space. * Move dynamic-space to higher space so that kern.maxdsiz can be increased at least 1GB. Brief memory layout of FreeBSD: +------------+ -- 0x00000000 | free | +------------+ -- 0x08000000 | user space | +------------+ -- brk (grows downward) ~ ~ +------------+ -- 0x28000000 (0x08000000 + maxdsiz) | mmap,shlib | ~ ~ +----------- + -- stack top (grows upward) | stack space| +------------+ -- 0xC0000000 | kernel | +------------+ -- 0xFFFFFFFF --- diff --git a/src/compiler/x86/parms.lisp b/src/compiler/x86/parms.lisp index 33b2d4a..ac5c666 100644 --- a/src/compiler/x86/parms.lisp +++ b/src/compiler/x86/parms.lisp @@ -198,17 +198,17 @@ #!+freebsd (progn - (def!constant read-only-space-start #x10000000) - (def!constant read-only-space-end #x100ff000) + (def!constant read-only-space-start #x01000000) + (def!constant read-only-space-end #x010ff000) - (def!constant static-space-start #x10100000) - (def!constant static-space-end #x101ff000) + (def!constant static-space-start #x01100000) + (def!constant static-space-end #x011ff000) - (def!constant dynamic-space-start #x48000000) - (def!constant dynamic-space-end #x88000000) + (def!constant dynamic-space-start #x60000000) + (def!constant dynamic-space-end #xA0000000) - (def!constant linkage-table-space-start #x10200000) - (def!constant linkage-table-space-end #x102ff000)) + (def!constant linkage-table-space-start #x01200000) + (def!constant linkage-table-space-end #x012ff000)) #!+openbsd (progn diff --git a/version.lisp-expr b/version.lisp-expr index 01665d5..eaca8ad 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.5.42" +"1.0.5.43"