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

Diff of /src/lisp/x86-validate.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by rtoy, Fri Mar 18 17:56:56 2005 UTC revision 1.25 by rtoy, Thu Sep 15 18:26:53 2005 UTC
# Line 67  Line 67 
67    
68  #ifdef __FreeBSD__  #ifdef __FreeBSD__
69  #define READ_ONLY_SPACE_START   (0x10000000)  #define READ_ONLY_SPACE_START   (0x10000000)
70  #define READ_ONLY_SPACE_SIZE    (0x0ffff000) /* 256MB - 1 page */  #define READ_ONLY_SPACE_SIZE    (0x0ffff000)    /* 256MB - 1 page */
71    
72  #define STATIC_SPACE_START      (0x28f00000)  #define STATIC_SPACE_START      (0x28f00000)
73  #define STATIC_SPACE_SIZE       (0x0f0ff000) /* 241MB - 1 page */  #define STATIC_SPACE_SIZE       (0x0f0ff000)    /* 241MB - 1 page */
74    
75  #define BINDING_STACK_START     (0x38000000)  #define BINDING_STACK_START     (0x38000000)
76  #define BINDING_STACK_SIZE      (0x07fff000) /* 128MB - 1 page */  #define BINDING_STACK_SIZE      (0x07fff000)    /* 128MB - 1 page */
77    
78  #define CONTROL_STACK_START     0x40000000  #define CONTROL_STACK_START     0x40000000
79  #define CONTROL_STACK_SIZE      0x07fd8000   /* 128MB - SIGSTKSZ */  #define CONTROL_STACK_SIZE      0x07fd8000      /* 128MB - SIGSTKSZ */
80  #define SIGNAL_STACK_START      0x47fd8000  #define SIGNAL_STACK_START      0x47fd8000
81  #define SIGNAL_STACK_SIZE       SIGSTKSZ  #define SIGNAL_STACK_SIZE       SIGSTKSZ
82    
83  #define DYNAMIC_0_SPACE_START   (0x48000000)  #define DYNAMIC_0_SPACE_START   (0x48000000)
84  #ifdef GENCGC  #ifdef GENCGC
85  #define DYNAMIC_SPACE_SIZE      (0x40000000) /* May be up to 2GB */  #define DYNAMIC_SPACE_SIZE      (0x40000000)    /* May be up to 2GB */
86  #else  #else
87  #define DYNAMIC_SPACE_SIZE      (0x04000000) /* 64MB */  #define DYNAMIC_SPACE_SIZE      (0x04000000)    /* 64MB */
88  #endif  #endif
89  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000) /* 512MB */  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000)    /* 512MB */
90  #ifdef LINKAGE_TABLE  #ifdef LINKAGE_TABLE
91  #define FOREIGN_LINKAGE_SPACE_START ((unsigned long) LinkageSpaceStart)  #define FOREIGN_LINKAGE_SPACE_START ((unsigned long) LinkageSpaceStart)
92  #define FOREIGN_LINKAGE_SPACE_SIZE (0x100000) /* 1MB */  #define FOREIGN_LINKAGE_SPACE_SIZE (0x100000)   /* 1MB */
93  #endif  #endif
94  #endif /* __FreeBSD__ */  #endif /* __FreeBSD__ */
95    
96    
97  #ifdef __OpenBSD__  #ifdef __OpenBSD__
98  #define READ_ONLY_SPACE_START   (0x10000000)  #define READ_ONLY_SPACE_START   (0x10000000)
99  #define READ_ONLY_SPACE_SIZE    (0x0ffff000) /* 256MB - 1 page */  #define READ_ONLY_SPACE_SIZE    (0x0ffff000)    /* 256MB - 1 page */
100    
101  #define STATIC_SPACE_START      (0x28000000)  #define STATIC_SPACE_START      (0x28000000)
102  #define STATIC_SPACE_SIZE       (0x0ffff000) /* 256MB - 1 page */  #define STATIC_SPACE_SIZE       (0x0ffff000)    /* 256MB - 1 page */
103    
104  #define BINDING_STACK_START     (0x38000000)  #define BINDING_STACK_START     (0x38000000)
105  #define BINDING_STACK_SIZE      (0x07fff000) /* 128MB - 1 page */  #define BINDING_STACK_SIZE      (0x07fff000)    /* 128MB - 1 page */
106    
107  #define CONTROL_STACK_START     (0x40000000)  #define CONTROL_STACK_START     (0x40000000)
108  #define CONTROL_STACK_SIZE      (0x07fd8000) /* 128MB - SIGSTKSZ */  #define CONTROL_STACK_SIZE      (0x07fd8000)    /* 128MB - SIGSTKSZ */
109    
110  #define SIGNAL_STACK_START      (0x47fd8000)  #define SIGNAL_STACK_START      (0x47fd8000)
111  #define SIGNAL_STACK_SIZE       SIGSTKSZ  #define SIGNAL_STACK_SIZE       SIGSTKSZ
112    
113  #define DYNAMIC_0_SPACE_START   (0x48000000)  #define DYNAMIC_0_SPACE_START   (0x48000000)
114  #ifdef GENCGC  #ifdef GENCGC
115  #define DYNAMIC_SPACE_SIZE      (0x68000000) /* 1.625GB */  #define DYNAMIC_SPACE_SIZE      (0x68000000)    /* 1.625GB */
116  #else  #else
117  #define DYNAMIC_SPACE_SIZE      (0x04000000) /* 64MB */  #define DYNAMIC_SPACE_SIZE      (0x04000000)    /* 64MB */
118  #endif  #endif
119  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000) /* 512MB */  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000)    /* 512MB */
120  #endif  #endif
121    
122  #ifdef __NetBSD__  #ifdef __NetBSD__
123  #define READ_ONLY_SPACE_START   (0x10000000)  #define READ_ONLY_SPACE_START   (0x10000000)
124  #define READ_ONLY_SPACE_SIZE    (0x0ffff000) /* 256MB - 1 page */  #define READ_ONLY_SPACE_SIZE    (0x0ffff000)    /* 256MB - 1 page */
125    
126  #define STATIC_SPACE_START      (0x28000000)  #define STATIC_SPACE_START      (0x28000000)
127  #define STATIC_SPACE_SIZE       (0x0ffff000) /* 256MB - 1 page */  #define STATIC_SPACE_SIZE       (0x0ffff000)    /* 256MB - 1 page */
128    
129  #define BINDING_STACK_START     (0x38000000)  #define BINDING_STACK_START     (0x38000000)
130  #define BINDING_STACK_SIZE      (0x07fff000) /* 128MB - 1 page */  #define BINDING_STACK_SIZE      (0x07fff000)    /* 128MB - 1 page */
131    
132  #define CONTROL_STACK_START     (0x40000000)  #define CONTROL_STACK_START     (0x40000000)
133  #define CONTROL_STACK_SIZE      (0x07fd8000) /* 128MB - SIGSTKSZ */  #define CONTROL_STACK_SIZE      (0x07fd8000)    /* 128MB - SIGSTKSZ */
134    
135  #define SIGNAL_STACK_START      (0x47fd8000)  #define SIGNAL_STACK_START      (0x47fd8000)
136  #define SIGNAL_STACK_SIZE       SIGSTKSZ  #define SIGNAL_STACK_SIZE       SIGSTKSZ
137    
138  #define DYNAMIC_0_SPACE_START   (0x48800000)  #define DYNAMIC_0_SPACE_START   (0x48800000)
139  #ifdef GENCGC  #ifdef GENCGC
140  #define DYNAMIC_SPACE_SIZE      (0x67800000) /* 1.656GB */  #define DYNAMIC_SPACE_SIZE      (0x67800000)    /* 1.656GB */
141  #else  #else
142  #define DYNAMIC_SPACE_SIZE      (0x04000000) /* 64MB */  #define DYNAMIC_SPACE_SIZE      (0x04000000)    /* 64MB */
143  #endif  #endif
144  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000) /* 512MB */  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000)    /* 512MB */
145  #ifdef LINKAGE_TABLE  #ifdef LINKAGE_TABLE
146  #define FOREIGN_LINKAGE_SPACE_START (0xb0000000)  #define FOREIGN_LINKAGE_SPACE_START (0xb0000000)
147  #define FOREIGN_LINKAGE_SPACE_SIZE (0x100000) /* 1MB */  #define FOREIGN_LINKAGE_SPACE_SIZE (0x100000)   /* 1MB */
148  #endif  #endif
149  #endif  #endif
150    
151  #ifdef __linux__  #ifdef __linux__
152  #define READ_ONLY_SPACE_START   (SpaceStart_TargetReadOnly)  #define READ_ONLY_SPACE_START   (SpaceStart_TargetReadOnly)
153  #define READ_ONLY_SPACE_SIZE    (0x0ffff000) /* 256MB - 1 page */  #define READ_ONLY_SPACE_SIZE    (0x0ffff000)    /* 256MB - 1 page */
154    
155  #define STATIC_SPACE_START      (SpaceStart_TargetStatic)  #define STATIC_SPACE_START      (SpaceStart_TargetStatic)
156  #define STATIC_SPACE_SIZE       (0x0ffff000) /* 256MB - 1 page */  #define STATIC_SPACE_SIZE       (0x0ffff000)    /* 256MB - 1 page */
157    
158  #define BINDING_STACK_START     (0x20000000)  #define BINDING_STACK_START     (0x20000000)
159  #define BINDING_STACK_SIZE      (0x07fff000) /* 128MB - 1 page */  #define BINDING_STACK_SIZE      (0x07fff000)    /* 128MB - 1 page */
160    
161  #define CONTROL_STACK_START     0x38000000  #define CONTROL_STACK_START     0x38000000
162  #define CONTROL_STACK_SIZE      (0x07fff000 - 8192)  #define CONTROL_STACK_SIZE      (0x07fff000 - 8192)
163  #define SIGNAL_STACK_START      CONTROL_STACK_END  #define SIGNAL_STACK_START      CONTROL_STACK_END
164  #define SIGNAL_STACK_SIZE       8192  #define SIGNAL_STACK_SIZE       8192
165    
166  #define DYNAMIC_0_SPACE_START   (SpaceStart_TargetDynamic)  #define DYNAMIC_0_SPACE_START   (SpaceStart_TargetDynamic)
167    
168  #ifdef GENCGC  #ifdef GENCGC
169  #define DYNAMIC_SPACE_SIZE      (0x66000000) /* 1.632GB */  #define DYNAMIC_SPACE_SIZE      (0x66000000)    /* 1.632GB */
170  #else  #else
171  #define DYNAMIC_SPACE_SIZE      (0x04000000) /* 64MB */  #define DYNAMIC_SPACE_SIZE      (0x04000000)    /* 64MB */
172  #endif  #endif
173  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000) /* 512MB */  #define DEFAULT_DYNAMIC_SPACE_SIZE      (0x20000000)    /* 512MB */
174  #ifdef LINKAGE_TABLE  #ifdef LINKAGE_TABLE
175  #define FOREIGN_LINKAGE_SPACE_START (LinkageSpaceStart)  #define FOREIGN_LINKAGE_SPACE_START (LinkageSpaceStart)
176  #define FOREIGN_LINKAGE_SPACE_SIZE (0x100000) /* 1MB */  #define FOREIGN_LINKAGE_SPACE_SIZE (0x100000)   /* 1MB */
177  #endif  #endif
178  #endif  #endif
179    

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.5