Fixed gatherflat problem.
[charm.git] / src / arch / sim-sun / conv-mach.h
1 /***************************************************************************
2  * RCS INFORMATION:
3  *
4  *   $RCSfile$
5  *   $Author$       $Locker$        $State$
6  *   $Revision$     $Date$
7  *
8  ***************************************************************************
9  *
10  * $Log$
11  * Revision 1.23  1997-07-28 19:01:21  jyelon
12  * *** empty log message ***
13  *
14  * Revision 1.22  1997/07/26 16:42:15  jyelon
15  * *** empty log message ***
16  *
17  * Revision 1.21  1997/05/05 13:56:05  jyelon
18  * Updated for quickthreads
19  *
20  * Revision 1.20  1997/04/01 08:10:37  jyelon
21  * Added CMK_GETPAGESIZE_AVAILABLE
22  *
23  * Revision 1.19  1997/03/25 23:09:21  milind
24  * Got threads to work on 64-bit irix. Had to add JB_TWEAKING_ORIGIN flag to
25  * all the conv-mach.h files. Also, _PAGESZ was undefined on irix. Added
26  * code to memory.c to make it a static variable.
27  *
28  * Revision 1.18  1997/03/19 04:58:16  jyelon
29  * Removed the CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE flag.
30  *
31  * Revision 1.17  1997/02/13 09:31:54  jyelon
32  * Updated for new main/ConverseInit structure.
33  *
34  * Revision 1.16  1997/02/08 14:10:27  jyelon
35  * Correcting bugs in network version.
36  *
37  * Revision 1.15  1997/02/06 20:21:02  jyelon
38  * Added BLANK_SPACE bla bla.
39  *
40  * Revision 1.14  1997/01/17 15:50:34  jyelon
41  * Minor adjustments to deal with recent changes to Common code.
42  *
43  * Revision 1.13  1996/11/23 02:25:42  milind
44  * Fixed several subtle bugs in the converse runtime for convex
45  * exemplar.
46  *
47  * Revision 1.12  1996/11/08 22:23:07  brunner
48  * Put _main in for HP-UX CC compilation.  It is ignored according to the
49  * CMK_USE_HP_MAIN_FIX flag.
50  *
51  * Revision 1.11  1996/10/24 19:40:30  milind
52  * Added CMK_IS_HETERO to all the net-all versions.
53  *
54  * Revision 1.10  1996/08/08 20:16:53  jyelon
55  * *** empty log message ***
56  *
57  * Revision 1.9  1996/07/24 21:31:34  gursoy
58  * added new timer flags for simulator
59  *
60  * Revision 1.8  1996/07/16  17:23:37  jyelon
61  * Renamed a flag.
62  *
63  * Revision 1.7  1996/07/16 05:20:41  milind
64  * Added CMK_VECTOR_SEND
65  *
66  * Revision 1.6  1996/07/15  20:58:27  jyelon
67  * Flags now use #if, not #ifdef.  Also cleaned up a lot.
68  *
69  *
70  **************************************************************************/
71
72 #ifndef _CONV_MACH_H
73 #define _CONV_MACH_H
74
75 #define CMK_ASYNC_NOT_NEEDED                               1
76 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
77 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
78 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
79 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
80
81 #define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
82 #define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
83
84 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
85 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
86
87 #define CMK_COMMHANDLE_IS_AN_INTEGER                       0
88 #define CMK_COMMHANDLE_IS_A_POINTER                        1
89
90 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 1
91 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               0
92
93 #define CMK_FIX_HP_CONNECT_BUG                             0
94
95 #define CMK_GETPAGESIZE_AVAILABLE                          0
96
97 #define CMK_IS_HETERO                                      0
98
99 #define CMK_MACHINE_NAME                                   "uth-sun"
100
101 #define CMK_MALLOC_USE_GNU_MALLOC                          0
102 #define CMK_MALLOC_USE_OS_BUILTIN                          1
103
104 #define CMK_MSG_HEADER_SIZE_BYTES                          4
105 #define CMK_MSG_HEADER_BLANK_SPACE                         0
106
107 #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
108 #define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
109
110 #define CMK_PROTOTYPES_FAIL                                0
111 #define CMK_PROTOTYPES_WORK                                1
112
113 #define CMK_RSH_IS_A_COMMAND                               1
114 #define CMK_RSH_NOT_NEEDED                                 0
115 #define CMK_RSH_USE_REMSH                                  0
116
117 #define CMK_SHARED_VARS_EXEMPLAR                           0
118 #define CMK_SHARED_VARS_UNAVAILABLE                        0
119 #define CMK_SHARED_VARS_SUN_THREADS                            0
120 #define CMK_SHARED_VARS_UNIPROCESSOR                       1
121
122 #define CMK_SIGHOLD_IS_A_BUILTIN                           0
123 #define CMK_SIGHOLD_NOT_NEEDED                             0
124 #define CMK_SIGHOLD_USE_SIGMASK                            1
125
126 #define CMK_SIGNAL_NOT_NEEDED                              0
127 #define CMK_SIGNAL_USE_SIGACTION                           1
128 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
129
130 #define CMK_SIZE_T                                         long
131
132 #define CMK_STATIC_PROTO_FAILS                             0
133 #define CMK_STATIC_PROTO_WORKS                             1
134
135 #define CMK_STRERROR_IS_A_BUILTIN                          0
136 #define CMK_STRERROR_USE_SYS_ERRLIST                       1
137
138 #define CMK_STRINGS_USE_OWN_DECLARATIONS                   1
139 #define CMK_STRINGS_USE_STRINGS_H                          0
140 #define CMK_STRINGS_USE_STRING_H                           0
141
142 #define CMK_THREADS_REQUIRE_NO_CPV                         0
143
144 #define CMK_TIMER_USE_GETRUSAGE                            0
145 #define CMK_TIMER_USE_SPECIAL                              0
146 #define CMK_TIMER_USE_TIMES                                0
147 #define CMK_TIMER_SIM_USE_GETRUSAGE                        1
148 #define CMK_TIMER_SIM_USE_TIMES                            0
149
150 #define CMK_VECTOR_SEND_USES_COMMON_CODE                        1
151 #define CMK_VECTOR_SEND_USES_SPECIAL_CODE                        0
152
153 #define CMK_WAIT_NOT_NEEDED                                0
154 #define CMK_WAIT_USES_SYS_WAIT_H                           1
155 #define CMK_WAIT_USES_WAITFLAGS_H                          0
156
157 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
158 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
159
160 #define CMK_USE_HP_MAIN_FIX                                0
161 #define CMK_DONT_USE_HP_MAIN_FIX                           1
162
163 #endif
164