/* -[Thu Mar 3 15:57:51 1983 by jkf]- * config.h $Locker: $ * configuration dependent info * * $Header: /na/franz/franz/h/RCS/config.h,v 1.7 83/03/04 12:29:58 jkf Exp $ * * (c) copyright 1982, Regents of the University of California */ /* * this file contains parameters which each site is likely to modify * in order to personalize the configuration of Lisp at their site. * The typical things to modifiy are: * [optionally] turn on GCSTRINGS * [optionally] provide a value for SITE */ /* * The type of machine and os this is to run on will come from * the file lconf.h. The lconf.h file is created by the shell script * 'lispconf' in the directory ../.. * lconf.h will define exactly one of these symbols: * vax_4_1c vax_4_1a vax_4_1 vax_unix_ts vax_eunice_vms * sun_4_1c sun_unisoft dual_unisoft */ #include "lconf.h" /* GCSTRINGS - define this if you want the garbage collector to reclaim * strings. It is not normally set because in typical applications the * expense of collecting strings is not worth the amount of space * retrieved */ /* #define GCSTRINGS */ /* * set up the global defines based on the choice above * the global names are * machine name: m_vax * m_68k * m_68k_sun, m_68k_dual * operating system: * os_unix * os_4_1, os_4_1a, os_4_1c, os_unix_ts * os_vms */ /* first the machine */ #if vax_4_1 || vax_4_1a || vax_4_1c || vax_unix_ts || vax_eunice_vms #define m_vax 1 #endif #if sun_4_1c || sun_unisoft #define m_68k 1 #define m_68k_sun 1 #endif #if dual_unisoft #define m_68k 1 #define m_68k_dual 1 #endif /* next the operating system */ #if vax_4_1 || vax_4_1a || vax_4_1c || vax_unix_ts || m_68k #define os_unix 1 #endif #if vax_4_1 #define os_4_1 1 #endif #if vax_4_1a #define os_4_1a 1 #endif #if vax_4_1c || sun_4_1c #define os_4_1c 1 #endif #if vax_unix_ts #define os_unix_ts 1 #endif #if vax_eunice_vms #define os_vms 1 #endif #if sun_unisoft || dual_unisoft #define os_unisoft #endif /* MACHINE - this is put on the (status features) list */ #if m_68k #define MACHINE "68k" #define PORTABLE #endif #if m_vax #define MACHINE "vax" #endif /* OFFSET - this is the offset to the users address space. */ #if m_vax #define OFFSET 0x0 #endif #if m_68k_sun #define OFFSET 0x8000 #endif #if m_68k_unisoft #define OFFSET 0x800000 #endif /* OS - this is put on the (status features) list */ #if os_unix #define OS "unix" #endif #if os_vms #define OS "vms" #endif /* DOMAIN - this is put on the (status features) list and * is the value of (status domain) */ #define DOMAIN "ucb" /* SITE - the name of the particular machine this lisp is running on * this value is available via (sys:gethostname). * On 4.1a systems it is possible to determine this dynamically cheaply */ #if ! (os_4_1a || os_4_1c) #define SITE "unknown-site" #endif /* TTSIZ is the absolute limit, in pages (both text and data), of the * size to which the lisp system may grow. * If you change this, you must recompile alloc.c and data.c. */ #ifdef HOLE #define TTSIZE 10216 #else #define TTSIZE 6120 #endif #if m_68k #undef TTSIZE #define TTSIZE 2500 #endif #if m_vms #undef TTSIZE #define TTSIZE 10216 #define FREESIZE 512 * 10000 #endif