/[cmucl]/src/lisp/ppc-validate.h
ViewVC logotype

Contents of /src/lisp/ppc-validate.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations)
Thu Nov 30 02:34:24 2006 UTC (7 years, 4 months ago) by rtoy
Branch: MAIN
CVS Tags: sparc-tramp-assem-base, post-merge-intl-branch, merged-unicode-utf16-extfmt-2009-06-11, unicode-utf16-extfmt-2009-03-27, snapshot-2007-09, snapshot-2007-08, snapshot-2008-08, snapshot-2008-09, sse2-packed-2008-11-12, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2007-05, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, intl-branch-working-2010-02-19-1000, snapshot-2006-12, unicode-string-buffer-impl-base, sse2-base, release-20b-pre1, release-20b-pre2, unicode-string-buffer-base, sse2-packed-base, sparc-tramp-assem-2010-07-19, amd64-dd-start, release-19f-pre1, snapshot-2008-12, snapshot-2008-11, intl-2-branch-base, snapshot-2007-01, snapshot-2007-02, release-19e, GIT-CONVERSION, unicode-utf16-sync-2008-12, cross-sol-x86-merged, label-2009-03-16, release-19f-base, merge-sse2-packed, merge-with-19f, intl-branch-working-2010-02-11-1000, unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-extfmts-sync-2008-12, RELEASE_20b, snapshot-2008-04, unicode-utf16-sync-label-2009-03-16, RELEASE_19f, snapshot-2007-03, release-20a-base, cross-sol-x86-base, unicode-utf16-char-support-2009-03-26, unicode-utf16-char-support-2009-03-25, unicode-utf16-extfmts-pre-sync-2008-11, snapshot-2008-10, snapshot-2007-04, snapshot-2010-12, snapshot-2010-11, unicode-utf16-sync-2008-11, snapshot-2007-07, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2007-06, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, pre-merge-intl-branch, release-19e-pre1, release-19e-pre2, snapshot-2010-05, snapshot-2010-04, snapshot-2010-07, snapshot-2010-06, snapshot-2010-01, snapshot-2010-03, snapshot-2010-02, snapshot-2010-08, label-2009-03-25, cross-sol-x86-2010-12-20, sse2-checkpoint-2008-10-01, intl-branch-2010-03-18-1300, sse2-merge-with-2008-11, sse2-merge-with-2008-10, RELEASE_20a, release-20a-pre1, snapshot-2009-11, snapshot-2009-12, unicode-utf16-extfmt-2009-06-11, portable-clx-import-2009-06-16, unicode-utf16-string-support, cross-sparc-branch-base, release-19e-base, intl-branch-base, unicode-utf16-base, portable-clx-base, snapshot-2009-08, snapshot-2007-12, snapshot-2007-10, snapshot-2007-11, snapshot-2009-02, snapshot-2009-01, snapshot-2009-07, snapshot-2009-05, snapshot-2009-04, pre-telent-clx, HEAD
Branch point for: RELEASE-19F-BRANCH, portable-clx-branch, cross-sparc-branch, RELEASE-20B-BRANCH, unicode-string-buffer-branch, sparc-tramp-assem-branch, sse2-packed-branch, RELEASE-20A-BRANCH, amd64-dd-branch, unicode-string-buffer-impl-branch, intl-branch, unicode-utf16-branch, cross-sol-x86-branch, release-19e-branch, sse2-branch, intl-2-branch, unicode-utf16-extfmt-branch
Changes since 1.8: +2 -2 lines
File MIME type: text/plain
Change default dynamic space size to 256 MB.
1 /*
2
3 $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/ppc-validate.h,v 1.9 2006/11/30 02:34:24 rtoy Rel $
4
5 This code was written as part of the CMU Common Lisp project at
6 Carnegie Mellon University, and has been placed in the public domain.
7
8 */
9
10 #ifndef _PPC_VALIDATE_H_
11 #define _PPC_VALIDATE_H_
12
13 #ifdef LINKAGE_TABLE
14 /*
15 * This space start better match the value of
16 * target-foreign-linkage-space-start defined in sparc/parms.lisp!
17 *
18 * See the notes there!
19 */
20
21 #ifdef LinkageSpaceStart
22 #define FOREIGN_LINKAGE_SPACE_START (LinkageSpaceStart)
23 #else
24 #define FOREIGN_LINKAGE_SPACE_START (0x17000000)
25 #endif
26 /*
27 * This allows for about 510K symbols (assuming each entry is 16 bytes
28 * long). Hope that's enough! Make sure this doesn't overlap the
29 * READ_ONLY_SPACE_START!
30 */
31 #define FOREIGN_LINKAGE_SPACE_SIZE (0x00800000) /* 8 MB */
32 #endif
33
34 /*
35 * The read-only space must be in low memory because the BA
36 * instruction only has 26-bits to specify the address. When this is
37 * fixed, the read-only space can be moved. (The BA instruction is
38 * used to jump to assembly routines.)
39 */
40 #define READ_ONLY_SPACE_START (0x04000000)
41 #define READ_ONLY_SPACE_SIZE (0x07ff8000) /* 128 MB, almost */
42
43 #define STATIC_SPACE_START (0x10000000)
44 #define STATIC_SPACE_SIZE (0x07ff8000) /* 128 MB, almost */
45
46 #define CONTROL_STACK_START (0x30000000)
47 #define CONTROL_STACK_SIZE (0x07ff8000) /* 128 MB, almost */
48 #define CONTROL_STACK_END (CONTROL_STACK_START + CONTROL_STACK_SIZE)
49
50 #define BINDING_STACK_START (0x38000000)
51 #define BINDING_STACK_SIZE (0x07ff8000) /* 128 MB, almost */
52
53 #if 0
54 #define DYNAMIC_0_SPACE_START (0x40000000)
55 #define DYNAMIC_1_SPACE_START (0x48000000)
56 #define DYNAMIC_SPACE_SIZE (0x07fff000)
57
58 #define CONTROL_STACK_START (0x57000000)
59 #define CONTROL_STACK_SIZE (0x00ff0000)
60
61 #define BINDING_STACK_START (0x56000000)
62 #define BINDING_STACK_SIZE (0x00ff0000)
63 #endif
64
65 #define DEFAULT_DYNAMIC_SPACE_SIZE (0x10000000) /* 256 MB */
66 #define DYNAMIC_0_SPACE_START (0x40000000)
67 /* This isn't used with GENCGC */
68 #define DYNAMIC_1_SPACE_START (0x60000000)
69
70 /* The maximum dynamic space we can allocate */
71 #ifndef GENCGC
72 #define DYNAMIC_SPACE_SIZE (0x1fff0000) /* 512 MB, almost */
73 #else
74 /*
75 * For GENCGC, we can use both dynamic spaces (because they are
76 * contiguous) so we get double the heap size.
77 */
78 #define DYNAMIC_SPACE_SIZE (0x3fff0000) /* 1GB, almost */
79 #endif
80
81 #if 0
82 #define HOLES {0x04ff8000, 0x06ff8000, 0x0aff8000, 0x1fff8000}
83 #define HOLE_SIZE 0x2000
84 #endif
85
86 #endif /* _PPC_VALIDATE_H_ */

  ViewVC Help
Powered by ViewVC 1.1.5