8a98234dcc6584f0db2e0e708cc233f87d64f70e
[charm.git] / src / arch / multicore-darwin-x86_64 / conv-mach.h
1 /*****************************************************************************
2  * $Source$
3  * $Author$
4  * $Date$
5  * $Revision$
6  *****************************************************************************/
7
8 #ifndef _CONV_MACH_H
9 #define _CONV_MACH_H
10
11 #define CMK_SMP                                            1
12 #define CMK_MULTICORE                                      1
13
14 #define CMK_ASYNC_NOT_NEEDED                               0
15 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
16 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
17 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
18 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 1
19
20 #define CMK_GETPAGESIZE_AVAILABLE                          0
21
22 #define CMK_MALLOC_USE_GNU_MALLOC                          0
23 #define CMK_MALLOC_USE_OS_BUILTIN                          1
24 #define CMK_MALLOC_USE_GNUOLD_MALLOC                       0
25
26 #define CMK_MEMORY_PAGESIZE                                4096
27 #define CMK_MEMORY_PROTECTABLE                             0
28
29 #define CMK_NODE_QUEUE_AVAILABLE                           0
30
31 #define CMK_RSH_IS_A_COMMAND                               1
32 #define CMK_RSH_NOT_NEEDED                                 0
33 #define CMK_RSH_USE_REMSH                                  0
34
35 #define CMK_SHARED_VARS_EXEMPLAR                           0
36 #define CMK_SHARED_VARS_UNAVAILABLE                        0
37 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
38 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
39
40 #define CMK_THREADS_USE_JCONTEXT                           1
41 #define CMK_THREADS_USE_PTHREADS                           0
42 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
43
44 #define CMK_SIGNAL_NOT_NEEDED                              0
45 #define CMK_SIGNAL_USE_SIGACTION                           1
46 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
47
48 #define CMK_NETPOLL                                        1
49
50 #define CMK_THREADS_REQUIRE_NO_CPV                         0
51 #define CMK_THREADS_COPY_STACK                             0
52
53 #define CMK_TIMER_USE_GETRUSAGE                            1
54 #define CMK_TIMER_USE_SPECIAL                              0
55 #define CMK_TIMER_USE_TIMES                                0
56
57 #define CMK_TYPEDEF_INT2 short
58 #define CMK_TYPEDEF_INT4 int
59 #define CMK_TYPEDEF_INT8 long long
60 #define CMK_TYPEDEF_UINT2 unsigned short
61 #define CMK_TYPEDEF_UINT4 unsigned int
62 #define CMK_TYPEDEF_UINT8 unsigned long long
63 #define CMK_TYPEDEF_FLOAT4 float
64 #define CMK_TYPEDEF_FLOAT8 double
65
66 #define CMK_64BIT                                          1
67
68
69 #define CMK_DEBUG_MODE                                     0 
70 #define CMK_WEB_MODE                                       1
71
72 #define CMK_LBDB_ON                                        1
73
74 #define CMK_STACKSIZE_DEFAULT                              65536
75 /*
76 #define CMK_NO_ISO_MALLOC                                  1
77 */
78 #define CMK_USE_KQUEUE                                     1
79
80 #if !CMK_GCC_X86_ASM || !CMK_GCC_X86_ASM_ATOMICINCREMENT
81 #define CMK_PCQUEUE_LOCK                                   1
82 #endif
83
84 #endif
85