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