1.0.24.21: call stub needed to switch between hpux heap-spaces
[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::heap-exhausted-error
20     sb!kernel::undefined-alien-variable-error
21     sb!kernel::undefined-alien-function-error
22     sb!kernel::memory-fault-error
23     sb!kernel::unhandled-trap-error
24     sb!di::handle-breakpoint
25     sb!di::handle-single-step-trap
26     fdefinition-object
27     #!+sb-thread sb!thread::run-interruption
28     #!+win32 sb!kernel::handle-win32-exception))
29
30 (defparameter *common-static-symbols*
31   '(t
32
33     ;; filled in by the C code to propagate to Lisp
34     *posix-argv* *core-string*
35
36     ;; free pointers.  Note that these are FIXNUM word counts, not (as
37     ;; one might expect) byte counts or SAPs. The reason seems to be
38     ;; that by representing them this way, we can avoid consing
39     ;; bignums.  -- WHN 2000-10-02
40     *read-only-space-free-pointer*
41     *static-space-free-pointer*
42
43     ;; things needed for non-local-exit
44     *current-catch-block*
45     *current-unwind-protect-block*
46
47     #!+hpux *c-lra*
48
49     ;; stack pointers
50     *binding-stack-start*
51     *control-stack-start*
52     *control-stack-end*
53
54     ;; interrupt handling
55     *alloc-signal*
56     *free-interrupt-context-index*
57     sb!unix::*allow-with-interrupts*
58     sb!unix::*interrupts-enabled*
59     sb!unix::*interrupt-pending*
60     *gc-inhibit*
61     *gc-pending*
62     #!-sb-thread
63     *stepping*
64
65     ;; Dispatch tables for generic array access
66     sb!impl::*data-vector-reffers*
67     sb!impl::*data-vector-setters*
68     sb!impl::*data-vector-reffers/check-bounds*
69     sb!impl::*data-vector-setters/check-bounds*
70
71     ;; hash table weaknesses
72     :key
73     :value
74     :key-and-value
75     :key-or-value))
76
77 ;;; Number of entries in the thread local storage. Limits the number
78 ;;; of symbols with thread local bindings.
79 (def!constant tls-size 4096)