0.9.10.39:
[sbcl.git] / src / compiler / generic / parms.lisp
1 ;;;; This file contains some parameterizations of various VM
2 ;;;; attributes common to all architectures.
3
4 ;;;; This software is part of the SBCL system. See the README file for
5 ;;;; more information.
6 ;;;;
7 ;;;; This software is derived from the CMU CL system, which was
8 ;;;; written at Carnegie Mellon University and released into the
9 ;;;; public domain. The software is in the public domain and is
10 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
11 ;;;; files for more information.
12
13 (in-package "SB!VM")
14
15 (defparameter *c-callable-static-symbols*
16   '(sub-gc
17     sb!kernel::internal-error
18     sb!kernel::control-stack-exhausted-error
19     sb!kernel::undefined-alien-variable-error
20     sb!kernel::undefined-alien-function-error
21     sb!kernel::memory-fault-error
22     sb!di::handle-breakpoint
23     fdefinition-object
24     #!+sb-thread sb!thread::run-interruption
25     #!+win32 sb!kernel::handle-win32-exception))
26
27 (defparameter *common-static-symbols*
28   '(t
29
30     ;; filled in by the C code to propagate to Lisp
31     *posix-argv* *core-string*
32
33     ;; free pointers.  Note that these are FIXNUM word counts, not (as
34     ;; one might expect) byte counts or SAPs. The reason seems to be
35     ;; that by representing them this way, we can avoid consing
36     ;; bignums.  -- WHN 2000-10-02
37     *read-only-space-free-pointer*
38     *static-space-free-pointer*
39     *initial-dynamic-space-free-pointer*
40
41     ;; things needed for non-local-exit
42     *current-catch-block*
43     *current-unwind-protect-block*
44
45     ;; stack pointers
46     *binding-stack-start*
47     *control-stack-start*
48     *control-stack-end*
49
50     ;; interrupt handling
51     *free-interrupt-context-index*
52     sb!unix::*interrupts-enabled*
53     sb!unix::*interrupt-pending*
54     *gc-inhibit*
55     *gc-pending*))