Last change
on this file since 703 was
703,
checked in by pooh, 18 years ago
|
- Started Word implementation.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
948 bytes
|
Line | |
---|
1 | // $Source$ |
---|
2 | // $Revision: 703 $ |
---|
3 | // $Date: 2003-04-30 13:43:12 +0000 (Wed, 30 Apr 2003) $ |
---|
4 | |
---|
5 | #ifndef __rf_common_hh__ |
---|
6 | #define __rf_common_hh__ |
---|
7 | |
---|
8 | #include "pxx_common.hh" |
---|
9 | #include "pxx_heap_allocator.hh" |
---|
10 | |
---|
11 | namespace rfrt |
---|
12 | { |
---|
13 | |
---|
14 | #ifdef ALL_INLINE |
---|
15 | #define INLINE inline |
---|
16 | #else |
---|
17 | #define INLINE |
---|
18 | #endif |
---|
19 | |
---|
20 | static const uint32_t hash_size = 1024 ; |
---|
21 | static uintptr_t const default_heap_size = uintptr_t(1ULL << 28) ; |
---|
22 | static void* const heap_start = (void*)0x60000000 ; |
---|
23 | extern uintptr_t heap_size ; |
---|
24 | extern pxx::HeapAllocator& allocator ; |
---|
25 | static void* const stack_start = (void*)0x50000000 ; |
---|
26 | static uintptr_t const default_stack_size = uintptr_t(1ULL << 26) ; |
---|
27 | extern uintptr_t stack_size ; |
---|
28 | |
---|
29 | #if DEBUG |
---|
30 | extern uintptr_t empty_copy ; |
---|
31 | extern uintptr_t lt_copy ; |
---|
32 | extern uintptr_t rt_copy ; |
---|
33 | extern uintptr_t both_copy ; |
---|
34 | extern uintptr_t unifications ; |
---|
35 | extern uintptr_t identical ; |
---|
36 | #endif |
---|
37 | |
---|
38 | #ifdef TRACE_EXEC // trace of execution is wanted |
---|
39 | # define D(x) x |
---|
40 | #else |
---|
41 | # define D(x) /*empty*/ |
---|
42 | #endif |
---|
43 | |
---|
44 | } |
---|
45 | |
---|
46 | #endif // __rf_common_hh__ |
---|
Note: See
TracBrowser
for help on using the repository browser.