From 300a3dec37f057201ff66c043e28353350b5b853 Mon Sep 17 00:00:00 2001 From: dtc <dtc> Date: Thu, 16 Sep 1999 15:40:11 +0000 Subject: [PATCH] Move Linux over to the new address map, giving 256M for the static and read-only spaces; all the code branches work fine with this map on recent Linux systems. --- lisp/x86-validate.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lisp/x86-validate.h b/lisp/x86-validate.h index 922bac7c8..a20df02aa 100644 --- a/lisp/x86-validate.h +++ b/lisp/x86-validate.h @@ -3,7 +3,7 @@ * This code was written as part of the CMU Common Lisp project at * Carnegie Mellon University, and has been placed in the public domain. * - * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-validate.h,v 1.10 1998/11/13 04:39:42 dtc Exp $ + * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-validate.h,v 1.11 1999/09/16 15:40:11 dtc Exp $ * */ @@ -21,8 +21,7 @@ * 0x48000000->0xC8000000 2GB Dynamic Space. * 0xE0000000-> 256M C stack - Alien stack. * - * Linux: Note that this map has some problems and requires some further - * development so is not implemented below. + * Linux: * 0x00000000->0x08000000 128M Unused. * 0x08000000->0x10000000 128M C program and memory allocation. * 0x10000000->0x20000000 256M Read-Only Space. @@ -57,11 +56,11 @@ #ifdef __linux__ -#define READ_ONLY_SPACE_START (0x01000000) -#define READ_ONLY_SPACE_SIZE (0x02800000) /* 40MB */ +#define READ_ONLY_SPACE_START (0x10000000) +#define READ_ONLY_SPACE_SIZE (0x0ffff000) /* 256MB - 1 page */ -#define STATIC_SPACE_START (0x05000000) -#define STATIC_SPACE_SIZE (0x02fff000) /* 48MB - 1 page */ +#define STATIC_SPACE_START (0x28000000) +#define STATIC_SPACE_SIZE (0x0ffff000) /* 256MB - 1 page */ #define BINDING_STACK_START (0x20000000) #define BINDING_STACK_SIZE (0x07fff000) /* 128MB - 1 page */ -- GitLab