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