Fix Trac ticket:46.
Make the size of all spaces configurable from the command line. code/commandline.lisp: o Define the switches so lisp doesn't complain. general-info/lisp.1: o Document new switches. general-info/release-20c.txt: o Update lisp/Darwin-os.c lisp/FreeBSD-os.c lisp/Linux-os.c lisp/NetBSD-os.c lisp/backtrace.c lisp/cgc.c lisp/gencgc.c lisp/os-common.c lisp/ppc-validate.h lisp/purify.c lisp/solaris-os.c lisp/sparc-arch.c lisp/sparc-validate.h lisp/x86-validate.h: lisp/validate.c o Basically rename CONTROL_STACK_SIZE, BINDING_STACK_SIZE, READ_ONLY_SPACE_SIZE, and STATIC_SPACE_SIZE to control_stack_size, binding_stack_size, read_only_space_size, and static_space_size, respectively. lisp/coreparse.c o Check the space size in the core file against the allocated size. If the allocated space is too small, print an error message and exit. lisp/globals.c o Define new variables for the allocated size of spaces. lisp/globals.h o Declare the new variables for the size of the spaces. lisp/lisp.c o Set the default values of the spaces. o Parse the new command-line flags and set the space sizes. lisp/sunos-os.c: o Added os_init0 (that we forgot last time). lisp/x86-assem.S: o Change $CONTROL_STACK_END to GNAME(control_stack_end) to get the correct end of the stack.
Showing
- code/commandline.lisp 29 additions, 1 deletioncode/commandline.lisp
- general-info/lisp.1 23 additions, 1 deletiongeneral-info/lisp.1
- general-info/release-20c.txt 5 additions, 0 deletionsgeneral-info/release-20c.txt
- lisp/Darwin-os.c 4 additions, 4 deletionslisp/Darwin-os.c
- lisp/FreeBSD-os.c 4 additions, 4 deletionslisp/FreeBSD-os.c
- lisp/Linux-os.c 14 additions, 6 deletionslisp/Linux-os.c
- lisp/NetBSD-os.c 4 additions, 4 deletionslisp/NetBSD-os.c
- lisp/backtrace.c 1 addition, 1 deletionlisp/backtrace.c
- lisp/cgc.c 1 addition, 1 deletionlisp/cgc.c
- lisp/coreparse.c 10 additions, 0 deletionslisp/coreparse.c
- lisp/gencgc.c 9 additions, 9 deletionslisp/gencgc.c
- lisp/globals.c 7 additions, 0 deletionslisp/globals.c
- lisp/globals.h 6 additions, 0 deletionslisp/globals.h
- lisp/lisp.c 89 additions, 0 deletionslisp/lisp.c
- lisp/os-common.c 2 additions, 2 deletionslisp/os-common.c
- lisp/ppc-validate.h 1 addition, 1 deletionlisp/ppc-validate.h
- lisp/purify.c 3 additions, 3 deletionslisp/purify.c
- lisp/solaris-os.c 8 additions, 8 deletionslisp/solaris-os.c
- lisp/sparc-arch.c 1 addition, 1 deletionlisp/sparc-arch.c
- lisp/sparc-validate.h 1 addition, 1 deletionlisp/sparc-validate.h
Loading
Please register or sign in to comment