source: branches/ia32/level-0/l0-init.lisp @ 7430

Last change on this file since 7430 was 7334, checked in by rme, 14 years ago

Add *features* symbols for Darwin/X832

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