1 ;;;; This file contains some parameterizations of various VM
2 ;;;; attributes for the ARM. This file is separate from other stuff so
3 ;;;; that it can be compiled and loaded earlier.
5 ;;;; This software is part of the SBCL system. See the README file for
8 ;;;; This software is derived from the CMU CL system, which was
9 ;;;; written at Carnegie Mellon University and released into the
10 ;;;; public domain. The software is in the public domain and is
11 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
12 ;;;; files for more information.
16 ;;; number of bits per word where a word holds one lisp descriptor
17 (def!constant n-word-bits
32)
19 ;;; the natural width of a machine word (as seen in e.g. register width,
21 (def!constant n-machine-word-bits
32)
23 ;;; number of bits per byte where a byte is the smallest addressable
25 (def!constant n-byte-bits
8)
28 ;;;; Where to put the different spaces.
30 ;;; On non-gencgc we need large dynamic and static spaces for PURIFY
33 (def!constant read-only-space-start
#x04000000
)
34 (def!constant read-only-space-end
#x07ff8000
)
35 (def!constant static-space-start
#x08000000
)
36 (def!constant static-space-end
#x097fff00
)
38 (def!constant linkage-table-space-start
#x0a000000
)
39 (def!constant linkage-table-space-end
#x0b000000
))
41 (def!constant linkage-table-entry-size
16)
47 (def!constant dynamic-0-space-start
#x4f000000
)
48 (def!constant dynamic-0-space-end
#x66fff000
)
49 (def!constant dynamic-1-space-start
#x67000000
)
50 (def!constant dynamic-1-space-end
#x7efff000
)))
52 ;;;; other miscellaneous constants
56 pending-interrupt-trap
60 fun-end-breakpoint-trap
)
64 ;;; These symbols are loaded into static space directly after NIL so
65 ;;; that the system can compute their address by adding a constant
68 ;;; The fdefn objects for the static functions are loaded into static
69 ;;; space directly after the static symbols. That way, the raw-addr
70 ;;; can be loaded directly out of them by indirecting relative to NIL.
72 (defparameter *static-symbols
*
74 *common-static-symbols
*
75 *c-callable-static-symbols
*
76 '(*allocation-pointer
*
78 *binding-stack-pointer
*
79 *number-stack-pointer
*
82 *pseudo-atomic-atomic
*
83 *pseudo-atomic-interrupted
*)))
85 (defparameter *static-funs
*
89 ;;;; Assembler parameters:
91 ;;; The number of bits per element in the assemblers code vector.
93 (defparameter *assembly-unit-length
* 8)