fix in infi_CmiFree the case in standalone mode for SMP.
[charm.git] / src / arch / sim-linux / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_OPTIMIZE 1
5
6 #define CMK_CCS_AVAILABLE                                  0
7
8 #define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
9 #define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
10
11 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
12
13 #define CMK_GETPAGESIZE_AVAILABLE                          0
14
15 #define CMK_HANDLE_SIGUSR                                  1
16
17 #define CMK_IS_HETERO                                      0
18
19
20 #define CMK_MALLOC_USE_GNU_MALLOC                          0
21 #define CMK_MALLOC_USE_OS_BUILTIN                          1
22
23 #define CMK_MEMORY_PAGESIZE                                8192
24 #define CMK_MEMORY_PROTECTABLE                             1
25
26 #define CMK_MSG_HEADER_BASIC  CMK_MSG_HEADER_EXT
27 #define CMK_MSG_HEADER_EXT    { CmiUInt2 hdl,xhdl,info,stratid,root,redID,padding2,padding3; }
28
29 #define CMK_MULTICAST_GROUP_TYPE                struct { unsigned pe, id; }
30 #define CMK_MULTICAST_DEF_USE_COMMON_CODE                  1
31 #define CMK_MULTICAST_LIST_USE_COMMON_CODE                 1
32 #define CMK_MULTICAST_GROUP_USE_COMMON_CODE                1
33
34 #define CMK_NODE_QUEUE_AVAILABLE                           0
35
36 #define CMK_RSH_IS_A_COMMAND                               1
37 #define CMK_RSH_NOT_NEEDED                                 0
38 #define CMK_RSH_USE_REMSH                                  0
39
40 #define CMK_SHARED_VARS_UNAVAILABLE                        0
41 #define CMK_SHARED_VARS_UNIPROCESSOR                       1
42
43 #define CMK_SIGNAL_NOT_NEEDED                              1
44 #define CMK_SIGNAL_USE_SIGACTION                           0
45 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
46
47 #define CMK_SPANTREE_MAXSPAN                               4
48 #define CMK_SPANTREE_USE_COMMON_CODE                       1
49
50 #define CMK_THREADS_REQUIRE_NO_CPV                         0
51 #define CMK_THREADS_COPY_STACK                             0
52
53 #define CMK_TIMER_USE_GETRUSAGE                            0
54 #define CMK_TIMER_USE_SPECIAL                              0
55 #define CMK_TIMER_USE_TIMES                                0
56 #define CMK_TIMER_SIM_USE_GETRUSAGE                        1
57 #define CMK_TIMER_SIM_USE_TIMES                            0
58
59 #define CMK_TYPEDEF_INT2 short
60 #define CMK_TYPEDEF_INT4 int
61 #define CMK_TYPEDEF_INT8 long long
62 #define CMK_TYPEDEF_UINT2 unsigned short
63 #define CMK_TYPEDEF_UINT4 unsigned int
64 #define CMK_TYPEDEF_UINT8 unsigned long long
65 #define CMK_TYPEDEF_FLOAT4 float
66 #define CMK_TYPEDEF_FLOAT8 double
67
68 #define CMK_VECTOR_SEND_USES_COMMON_CODE                   1
69
70 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
71 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
72
73
74
75 #define CMK_LBDB_ON                                        0
76
77 #endif
78