Changeset 13617
- Timestamp:
- Apr 11, 2010, 11:25:51 PM (11 years ago)
- Location:
- trunk/source/lisp-kernel
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/area.h
r13431 r13617 124 124 #define MIN_VSTACK_SIZE (1<<16) 125 125 #define VSTACK_HARDPROT (1<<12) 126 126 127 #ifdef PPC 127 128 #define VSTACK_SOFTPROT (1<<16) … … 129 130 #define VSTACK_SOFTPROT CSTACK_SOFTPROT 130 131 #endif 132 131 133 #define MIN_TSTACK_SIZE (1<<18) 132 134 #define TSTACK_HARDPROT 0 133 135 #define TSTACK_SOFTPROT (1<<16) 136 134 137 #ifdef PPC 135 138 #define CS_OVERFLOW_FORCE_LIMIT ((natural)(-(sizeof(lisp_frame)))) … … 141 144 142 145 143 #ifdef PPC144 #ifdef LINUX145 #ifdef PPC64146 #define IMAGE_BASE_ADDRESS 0x50000000000L147 #else148 #define IMAGE_BASE_ADDRESS 0x31000000149 #endif150 #endif151 #ifdef DARWIN152 #ifdef PPC64153 #define IMAGE_BASE_ADDRESS 0x300000000000L154 #else155 #define IMAGE_BASE_ADDRESS 0x04000000156 #endif157 #endif158 #endif159 146 160 #ifdef X86161 #ifdef LINUX162 #ifdef X8664163 #define IMAGE_BASE_ADDRESS 0x300000000000L164 #else165 #define IMAGE_BASE_ADDRESS 0x10000000166 #endif167 #endif168 #ifdef FREEBSD169 #ifdef X8664170 #define IMAGE_BASE_ADDRESS 0x300000000000L /* 0x100000000L */171 #else172 #define IMAGE_BASE_ADDRESS 0x30000000173 #endif174 #endif175 #ifdef SOLARIS176 #ifdef X8664177 #define IMAGE_BASE_ADDRESS 0x300000000000L178 #else179 #define IMAGE_BASE_ADDRESS 0x10000000180 #endif181 #endif182 #ifdef DARWIN183 #ifdef X8664184 #define IMAGE_BASE_ADDRESS 0x300000000000L185 #else186 #define IMAGE_BASE_ADDRESS 0x04000000187 #endif188 #endif189 #endif190 #ifdef WINDOWS191 #ifdef X8664192 #define IMAGE_BASE_ADDRESS 0x100000000LL193 #else194 #define IMAGE_BASE_ADDRESS 0x04000000195 #endif196 #endif197 147 198 148 #if (WORD_SIZE==64) … … 206 156 #define STATIC_RESERVE heap_segment_size 207 157 208 #ifndef X86209 #define STATIC_BASE_ADDRESS (0x00002000+(LOWMEM_BIAS))210 #else211 #define STATIC_BASE_ADDRESS (0x00012000+(LOWMEM_BIAS))212 #endif213 158 214 159 #define SPJUMP_TARGET_ADDRESS (STATIC_BASE_ADDRESS+0x3000) -
trunk/source/lisp-kernel/platform-darwinppc.h
r13608 r13617 30 30 31 31 #include "standard-inttypes.h" 32 33 #define MAXIMUM_MAPPABLE_MEMORY ((1U<<31)-2*heap_segment_size) 34 #define IMAGE_BASE_ADDRESS 0x04000000 35 -
trunk/source/lisp-kernel/platform-darwinppc64.h
r13608 r13617 30 30 31 31 #include "standard-inttypes.h" 32 33 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L) 34 #define IMAGE_BASE_ADDRESS 0x300000000000L 35 -
trunk/source/lisp-kernel/platform-darwinx8632.h
r13608 r13617 31 31 #include "standard-inttypes.h" 32 32 33 #define MAXIMUM_MAPPABLE_MEMORY ((1U<<31)-2*heap_segment_size) 34 #define IMAGE_BASE_ADDRESS 0x04000000 35 -
trunk/source/lisp-kernel/platform-darwinx8664.h
r13608 r13617 31 31 32 32 #include "standard-inttypes.h" 33 34 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L) 35 #define IMAGE_BASE_ADDRESS 0x300000000000L 36 -
trunk/source/lisp-kernel/platform-freebsdx8632.h
r13608 r13617 26 26 27 27 28 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30) 29 #define IMAGE_BASE_ADDRESS 0x30000000 28 30 -
trunk/source/lisp-kernel/platform-freebsdx8664.h
r13608 r13617 25 25 #include "standard-inttypes.h" 26 26 27 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L) 28 #define IMAGE_BASE_ADDRESS 0x300000000000L 27 29 28 -
trunk/source/lisp-kernel/platform-linuxppc.h
r13608 r13617 26 26 27 27 28 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30) 29 #define IMAGE_BASE_ADDRESS 0x31000000 28 30 -
trunk/source/lisp-kernel/platform-linuxppc64.h
r13608 r13617 25 25 #include "standard-inttypes.h" 26 26 27 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L) 28 #define IMAGE_BASE_ADDRESS 0x50000000000L 27 29 28 -
trunk/source/lisp-kernel/platform-linuxx8632.h
r13608 r13617 26 26 27 27 28 #define MAXIMUM_MAPPABLE_MEMORY (9U<<28) 29 #define IMAGE_BASE_ADDRESS 0x10000000 28 30 -
trunk/source/lisp-kernel/platform-linuxx8664.h
r13608 r13617 25 25 #include "standard-inttypes.h" 26 26 27 28 27 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L) 28 #define IMAGE_BASE_ADDRESS 0x300000000000L -
trunk/source/lisp-kernel/platform-solarisx64.h
r13608 r13617 25 25 #include "solaris-inttypes.h" 26 26 27 28 27 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L) 28 #define IMAGE_BASE_ADDRESS 0x300000000000L -
trunk/source/lisp-kernel/platform-solarisx86.h
r13608 r13617 25 25 #include "solaris-inttypes.h" 26 26 27 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30) 28 #define IMAGE_BASE_ADDRESS 0x10000000 27 29 28 -
trunk/source/lisp-kernel/platform-win32.h
r13610 r13617 27 27 28 28 29 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30) 30 #define IMAGE_BASE_ADDRESS 0x04000000 29 31 -
trunk/source/lisp-kernel/platform-win64.h
r13611 r13617 26 26 27 27 #include "windows-inttypes.h" 28 29 /* Supposedly, the high-end version of Vista allow 128GB of pageable memory */ 30 #define MAXIMUM_MAPPABLE_MEMORY (512LL<<30LL) 31 #define IMAGE_BASE_ADDRESS 0x100000000LL 32 33 -
trunk/source/lisp-kernel/pmcl-kernel.c
r13592 r13617 363 363 } 364 364 } 365 366 #if WORD_SIZE == 64367 #ifdef DARWIN368 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L)369 #endif370 #ifdef FREEBSD371 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L)372 #endif373 #ifdef SOLARIS374 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L)375 #endif376 #ifdef LINUX377 #ifdef X8664378 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L)379 #endif380 #ifdef PPC381 #define MAXIMUM_MAPPABLE_MEMORY (512L<<30L)382 #endif383 #endif384 #ifdef WINDOWS385 /* Supposedly, the high-end version of Vista allow 128GB of pageable memory */386 #define MAXIMUM_MAPPABLE_MEMORY (512LL<<30LL)387 #endif388 #else389 #ifdef DARWIN390 #define MAXIMUM_MAPPABLE_MEMORY ((1U<<31)-2*heap_segment_size)391 #endif392 #ifdef LINUX393 #ifdef X86394 #define MAXIMUM_MAPPABLE_MEMORY (9U<<28)395 #else396 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30)397 #endif398 #endif399 #ifdef WINDOWS400 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30)401 #endif402 #ifdef FREEBSD403 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30)404 #endif405 #ifdef SOLARIS406 #define MAXIMUM_MAPPABLE_MEMORY (1U<<30)407 #endif408 #endif409 365 410 366 natural -
trunk/source/lisp-kernel/ppc-constants.h
r13067 r13617 87 87 88 88 #define INTERRUPT_LEVEL_BINDING_INDEX (1) 89 #define STATIC_BASE_ADDRESS 0x00002000 89 90 90 91 #endif /* __ppc_constants__ */ -
trunk/source/lisp-kernel/x86-constants.h
r13067 r13617 59 59 #define X86_OVERFLOW_FLAG_BIT (11) 60 60 61 #define STATIC_BASE_ADDRESS 0x00012000 62 61 63 62 64 #endif /* __x86_constants__ */
Note: See TracChangeset
for help on using the changeset viewer.