f593f08efeed74a41cea1c3c18a3b69822c9d5be
[charm.git] / src / arch / origin2000 / 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.6  1997-12-22 21:58:06  jyelon
12  * Changed LDB initialization scheme.
13  *
14  * Revision 1.5  1997/08/06 20:35:58  jyelon
15  * Fixed bugs.
16  *
17  * Revision 1.4  1997/07/28 19:01:08  jyelon
18  * *** empty log message ***
19  *
20  * Revision 1.3  1997/07/26 16:42:03  jyelon
21  * *** empty log message ***
22  *
23  * Revision 1.2  1997/07/07 22:13:50  milind
24  * Made threads to work.
25  *
26  * Revision 1.1  1997/03/28 17:38:23  milind
27  * Added Origin2000 version.
28  *
29  * Revision 1.2  1997/03/25 23:09:09  milind
30  * Got threads to work on 64-bit irix. Had to add JB_TWEAKING_ORIGIN flag to
31  * all the conv-mach.h files. Also, _PAGESZ was undefined on irix. Added
32  * code to memory.c to make it a static variable.
33  *
34  * Revision 1.1  1997/03/19 21:45:27  milind
35  * net-irix-64 bit bersion. Not tested yet.
36  *
37  * Revision 1.3  1997/02/13 09:31:45  jyelon
38  * Updated for new main/ConverseInit structure.
39  *
40  * Revision 1.2  1997/02/08 14:10:19  jyelon
41  * Correcting bugs in network version.
42  *
43  * Revision 1.1  1997/01/28 16:26:42  milind
44  * Added net-irix version. Had to fix the charm++ translator for that.
45  * Also, threads are currently not supported on net-irix.
46  * Added a test program to measure scheduling overhead for both
47  * normal as well as threaded entry methods.
48  *
49  * Revision 2.28  1997/01/17 15:50:26  jyelon
50  * Minor adjustments to deal with recent changes to Common code.
51  *
52  * Revision 2.27  1996/11/23 02:25:39  milind
53  * Fixed several subtle bugs in the converse runtime for convex
54  * exemplar.
55  *
56  * Revision 2.26  1996/11/08 22:22:59  brunner
57  * Put _main in for HP-UX CC compilation.  It is ignored according to the
58  * CMK_USE_HP_MAIN_FIX flag.
59  *
60  * Revision 2.25  1996/10/24 19:40:26  milind
61  * Added CMK_IS_HETERO to all the net-all versions.
62  *
63  * Revision 2.24  1996/08/08 20:16:53  jyelon
64  * *** empty log message ***
65  *
66  * Revision 2.23  1996/07/16 17:23:37  jyelon
67  * Renamed a flag.
68  *
69  * Revision 2.22  1996/07/16 05:20:41  milind
70  * Added CMK_VECTOR_SEND
71  *
72  * Revision 2.21  1996/07/15  20:58:27  jyelon
73  * Flags now use #if, not #ifdef.  Also cleaned up a lot.
74  *
75  *
76  **************************************************************************/
77
78 #ifndef _CONV_MACH_H
79 #define _CONV_MACH_H
80
81 #define CMK_ASYNC_NOT_NEEDED                               1
82 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
83 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
84 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
85 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
86
87 #define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
88 #define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
89
90 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
91 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
92
93 #define CMK_COMMHANDLE_IS_AN_INTEGER                       0
94 #define CMK_COMMHANDLE_IS_A_POINTER                        1
95
96 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
97 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
98
99 #define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
100
101 #define CMK_FIX_HP_CONNECT_BUG                             0
102
103 #define CMK_GETPAGESIZE_AVAILABLE                          1
104
105 #define CMK_IS_HETERO                                      0
106
107 #define CMK_MACHINE_NAME                                   "origin2000"
108
109 #define CMK_MALLOC_USE_GNU_MALLOC                          1
110 #define CMK_MALLOC_USE_OS_BUILTIN                          0
111
112 #define CMK_MEMORY_PAGESIZE                                8192
113 #define CMK_MEMORY_PROTECTABLE                             0
114
115 #define CMK_MSG_HEADER_SIZE_BYTES                          4
116 #define CMK_MSG_HEADER_BLANK_SPACE                         0
117
118 #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
119 #define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
120
121 #define CMK_PROTOTYPES_FAIL                                0
122 #define CMK_PROTOTYPES_WORK                                1
123
124 #define CMK_RSH_IS_A_COMMAND                               0
125 #define CMK_RSH_NOT_NEEDED                                 1
126 #define CMK_RSH_USE_REMSH                                  0
127
128 #define CMK_SHARED_VARS_EXEMPLAR                           0
129 #define CMK_SHARED_VARS_UNAVAILABLE                        1
130 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
131 #define CMK_SHARED_VARS_SUN_THREADS                        0
132
133 #define CMK_SIGHOLD_IS_A_BUILTIN                           0
134 #define CMK_SIGHOLD_NOT_NEEDED                             1
135 #define CMK_SIGHOLD_USE_SIGMASK                            0
136
137 #define CMK_SIGNAL_NOT_NEEDED                              1
138 #define CMK_SIGNAL_USE_SIGACTION                           0
139 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
140
141 #define CMK_SIZE_T                                         unsigned long
142
143 #define CMK_STATIC_PROTO_FAILS                             0
144 #define CMK_STATIC_PROTO_WORKS                             1
145
146 #define CMK_STRERROR_IS_A_BUILTIN                          1
147 #define CMK_STRERROR_USE_SYS_ERRLIST                       0
148
149 #define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
150 #define CMK_STRINGS_USE_STRINGS_H                          0
151 #define CMK_STRINGS_USE_STRING_H                           1
152
153 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
154
155 #define CMK_THREADS_REQUIRE_NO_CPV                         0
156
157 #define CMK_THREADS_UNAVAILABLE                            0
158 #define CMK_THREADS_USE_ALLOCA                             0
159 #define CMK_THREADS_USE_JB_TWEAKING                        0
160 #define CMK_THREADS_USE_JB_TWEAKING_EXEMPLAR               0
161 #define CMK_THREADS_USE_JB_TWEAKING_ORIGIN                 1
162
163 #define CMK_TIMER_USE_GETRUSAGE                            0
164 #define CMK_TIMER_USE_SPECIAL                              0
165 #define CMK_TIMER_USE_TIMES                                1
166
167 #define CMK_VECTOR_SEND_USES_COMMON_CODE                   1
168 #define CMK_VECTOR_SEND_USES_SPECIAL_CODE                  0
169
170 #define CMK_WAIT_NOT_NEEDED                                0
171 #define CMK_WAIT_USES_SYS_WAIT_H                           1
172 #define CMK_WAIT_USES_WAITFLAGS_H                          0
173
174 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
175 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
176
177 #define CMK_USE_HP_MAIN_FIX                                0
178 #define CMK_DONT_USE_HP_MAIN_FIX                           1
179
180 #endif
181