source: trunk/source/level-0/l0-init.lisp @ 13067

Last change on this file since 13067 was 13067, checked in by rme, 10 years ago

Update copyright notices.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.5 KB
Line 
1;;;-*-Mode: LISP; Package: CCL -*-
2;;;
3;;;   Copyright (C) 2009 Clozure Associates
4;;;   Copyright (C) 1994-2001 Digitool, Inc
5;;;   This file is part of Clozure CL. 
6;;;
7;;;   Clozure CL is licensed under the terms of the Lisp Lesser GNU Public
8;;;   License , known as the LLGPL and distributed with Clozure CL as the
9;;;   file "LICENSE".  The LLGPL consists of a preamble and the LGPL,
10;;;   which is distributed with Clozure CL as the file "LGPL".  Where these
11;;;   conflict, the preamble takes precedence. 
12;;;
13;;;   Clozure CL is referenced in the preamble as the "LIBRARY."
14;;;
15;;;   The LLGPL is also available online at
16;;;   http://opensource.franz.com/preamble.html
17
18(in-package "CCL")
19
20(defconstant array-total-size-limit
21  #.(expt 2 (- target::nbits-in-word target::num-subtag-bits))
22  "the exclusive upper bound on the total number of elements in an array")
23
24
25;Features for #+/- conditionalization:
26(defparameter *features*
27  '(:common-lisp
28    :openmcl
29    :ccl
30    :ccl-1.2
31    :ccl-1.3
32    :ccl-1.4
33    :clozure
34    :clozure-common-lisp
35    :ansi-cl
36    #-windows-target :unix
37    :openmcl-unicode-strings
38    ;; Threads and MOP stuff is pretty redundant.
39    :openmcl-native-threads
40    :openmcl-partial-mop
41    :mcl-common-mop-subset
42    :openmcl-mop-2
43    ;; Thread-private hash-tables were introduced in version 1.0
44    :openmcl-private-hash-tables
45    ;; Hash-consing support (special primitives for allocating
46    ;; and managing statically allocated CONS cells) will be
47    ;; added in 1.1
48    ;; Was dropped in 1.2
49    ;; :openmcl-hash-consing
50    #+eabi-target :eabi-target
51    #+ppc-target :powerpc
52    #+ppc-target :ppc-target
53    #+ppc-target :ppc-clos              ; used in encapsulate
54    #+ppc32-target :ppc32-target
55    #+ppc32-target :ppc32-host
56    #+ppc64-target :ppc64-target
57    #+ppc64-target :ppc64-host
58    #+x8632-target :x8632-target
59    #+x8632-target :x8632-host
60    #+x8664-target :x86-64
61    #+x8664-target :x86_64
62    #+x8632-target :x86
63    #+x86-target :x86-target
64    #+x86-target :x86-host
65    #+x8664-target :x8664-target
66    #+x8664-target :x8664-host
67    #+linux-target :linux-host
68    #+linux-target :linux-target
69    #+linuxppc-target :linuxppc-target
70    #+linuxppc-target :linuxppc-host
71    #+linuxx86-target :linuxx86-target
72    #+linuxx8664-target :linuxx8664-target
73    #+linuxx8664-target :linuxx8664-host
74    #+linuxx8632-target :linuxx8632-target
75    #+linuxx8632-target :linuxx8632-host
76    #+darwinppc-target :darwinppc-target
77    #+darwinppc-target :darwinppc-host
78    #+darwinppc-target :darwin-target
79    #+freebsd-target :freebsd-host
80    #+freebsd-target :freebsd-target
81    #+freebsdx86-target :freebsdx86-target
82    #+freebsdx8664-target :freebsdx8664-target
83    #+freebsdx8664-target :freebsdx8664-host
84    #+freebsdx8632-target :freebsdx8632-target
85    #+freebsdx8632-target :freebsdx8632-host
86    #+darwin-target :darwin-host
87    #+darwin-target :darwin-target
88    #+darwinx86-target :darwinx86-target
89    #+darwinx8632-target :darwinx8632-target
90    #+darwinx8632-target :darwinx8632-host
91    #+darwinx8664-target :darwinx8664-target
92    #+darwinx8664-target :darwinx8664-host
93    #+windows-target :windows-host
94    #+windows-target :windows-target
95    #+win64-target :win64-target
96    #+win64-target :win64-host
97    #+win32-target :win32-target
98    #+win32-target :win32-host
99    #+solaris-target :solaris-host
100    #+solaris-target :solaris-target
101    #+solarisx86-target :solarisx86-target
102    #+solarisx8664-target :solarisx8664-target
103    #+solarisx8664-target :solarisx8664-host
104    #+solarisx8632-target :solarisx8632-target
105    #+solarisx8632-target :solarisx8632-host
106    #+(and ppc-target poweropen-target) :poweropen-target
107    #+64-bit-target :64-bit-target
108    #+64-bit-target :64-bit-host
109    #+32-bit-target :32-bit-target
110    #+32-bit-target :32-bit-host
111    #+ppc-target :big-endian-target
112    #+ppc-target :big-endian-host
113    #+x86-target :little-endian-target
114    #+x86-target :little-endian-host
115    #+darwin-target :darwin
116    #+linux-target :linux
117    #+freebsd-target :freebsd
118    #+solaris-target :solaris
119    #+windows-target :windows
120    )
121  "a list of symbols that describe features provided by the
122   implementation")
123
124(defparameter *optional-features* () "Set by build process")
125
126(defparameter *load-verbose* nil
127  "the default for the :VERBOSE argument to LOAD")
128
129;All Lisp package variables... Dunno if this still matters, but it
130;used to happen in the kernel...
131(dolist (x '(* ** *** *APPLYHOOK* *DEBUG-IO*
132             *DEFAULT-PATHNAME-DEFAULTS* *ERROR-OUTPUT* *EVALHOOK*
133             *FEATURES* *LOAD-VERBOSE* *MACROEXPAND-HOOK* *MODULES*
134             *PACKAGE* *PRINT-ARRAY* *PRINT-BASE* *PRINT-CASE* *PRINT-CIRCLE*
135             *PRINT-ESCAPE* *PRINT-GENSYM* *PRINT-LENGTH* *PRINT-LEVEL*
136             *PRINT-PRETTY* *PRINT-RADIX* *QUERY-IO* *RANDOM-STATE* *READ-BASE*
137             *READ-DEFAULT-FLOAT-FORMAT* *READ-SUPPRESS* *READTABLE*
138             *STANDARD-INPUT* *STANDARD-OUTPUT* *TERMINAL-IO* *TRACE-OUTPUT*
139             + ++ +++ - / // /// ARRAY-DIMENSION-LIMIT ARRAY-RANK-LIMIT
140             ARRAY-TOTAL-SIZE-LIMIT BOOLE-1 BOOLE-2 BOOLE-AND BOOLE-ANDC1
141             BOOLE-ANDC2 BOOLE-C1 BOOLE-C2 BOOLE-CLR BOOLE-EQV BOOLE-IOR
142             BOOLE-NAND BOOLE-NOR BOOLE-ORC1 BOOLE-ORC2 BOOLE-SET BOOLE-XOR
143             CALL-ARGUMENTS-LIMIT CHAR-CODE-LIMIT
144             DOUBLE-FLOAT-EPSILON DOUBLE-FLOAT-NEGATIVE-EPSILON
145             INTERNAL-TIME-UNITS-PER-SECOND LAMBDA-LIST-KEYWORDS
146             LAMBDA-PARAMETERS-LIMIT LEAST-NEGATIVE-DOUBLE-FLOAT
147             LEAST-NEGATIVE-LONG-FLOAT LEAST-NEGATIVE-SHORT-FLOAT
148             LEAST-NEGATIVE-SINGLE-FLOAT LEAST-POSITIVE-DOUBLE-FLOAT
149             LEAST-POSITIVE-LONG-FLOAT LEAST-POSITIVE-SHORT-FLOAT
150             LEAST-POSITIVE-SINGLE-FLOAT LONG-FLOAT-EPSILON
151             LONG-FLOAT-NEGATIVE-EPSILON MOST-NEGATIVE-DOUBLE-FLOAT
152             MOST-NEGATIVE-FIXNUM MOST-NEGATIVE-LONG-FLOAT
153             MOST-NEGATIVE-SHORT-FLOAT MOST-NEGATIVE-SINGLE-FLOAT
154             MOST-POSITIVE-DOUBLE-FLOAT MOST-POSITIVE-FIXNUM
155             MOST-POSITIVE-LONG-FLOAT MOST-POSITIVE-SHORT-FLOAT
156             MOST-POSITIVE-SINGLE-FLOAT MULTIPLE-VALUES-LIMIT PI
157             SHORT-FLOAT-EPSILON SHORT-FLOAT-NEGATIVE-EPSILON
158             SINGLE-FLOAT-EPSILON SINGLE-FLOAT-NEGATIVE-EPSILON))
159  (%symbol-bits x (%ilogior2 (%symbol-bits x) (ash 1 $sym_bit_special))))
160
161(defparameter *loading-file-source-file* nil)
162(defparameter *loading-toplevel-location* nil)
163
164(defvar *nx-speed* 1)
165(defvar *nx-space* 1)
166(defvar *nx-safety* 1)
167(defvar *nx-cspeed* 1)
168(defvar *nx-debug* 1)
169
170(defparameter *case-sensitive-filesystem* t)
171
172;;; end
Note: See TracBrowser for help on using the repository browser.