Adding an elan-linux architecture. This architecture passes megatest on a Xeon/Elan...
[charm.git] / src / arch / elan-linux / conv-mach.h
1 /*****************************************************************************
2  * $Source$
3  * $Author: Isaac Dooley
4  * $Date$
5  * $Revision$
6  *****************************************************************************/
7
8 #ifndef _CONV_MACH_H
9 #define _CONV_MACH_H
10
11 #define CMK_DLL_CC  "g++ -shared -O3 -o "
12
13 #define CMK_GETPAGESIZE_AVAILABLE                          0
14
15 #define CMK_MALLOC_USE_GNU_MALLOC                          1
16 #define CMK_MALLOC_USE_OS_BUILTIN                          0
17
18 #define CMK_MEMORY_PAGESIZE                                8192
19 #define CMK_MEMORY_PROTECTABLE                             1
20
21 #define CMK_NODE_QUEUE_AVAILABLE                           0
22
23 #define CMK_SHARED_VARS_UNAVAILABLE                        1
24 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
25
26 #define CMK_THREADS_USE_CONTEXT                            0
27 #define CMK_THREADS_USE_PTHREADS                           0
28 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
29
30 #define CMK_SIGNAL_NOT_NEEDED                              0
31 #define CMK_SIGNAL_USE_SIGACTION                           1
32 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
33
34 #define CMK_THREADS_REQUIRE_NO_CPV                         0
35 #define CMK_THREADS_COPY_STACK                             0
36
37 #define CMK_TIMER_USE_RDTSC                                1
38 #define CMK_TIMER_USE_GETRUSAGE                            0
39 #define CMK_TIMER_USE_SPECIAL                              0
40 #define CMK_TIMER_USE_TIMES                                0
41
42 #define CMK_TYPEDEF_INT2 short
43 #define CMK_TYPEDEF_INT4 int
44 #define CMK_TYPEDEF_INT8 long long
45 #define CMK_TYPEDEF_UINT2 unsigned short
46 #define CMK_TYPEDEF_UINT4 unsigned int
47 #define CMK_TYPEDEF_UINT8 unsigned long long
48 #define CMK_TYPEDEF_FLOAT4 float
49 #define CMK_TYPEDEF_FLOAT8 double
50
51 #define CMK_NETPOLL                                        1
52
53 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
54 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
55
56 #define CMK_DEBUG_MODE                                     0 
57 #define CMK_WEB_MODE                                       1
58
59 #define CMK_LBDB_ON                                        1
60
61 #endif
62