Flags now use #if, not #ifdef. Also cleaned up a lot.
authorJosh Yelon <jyelon@uiuc.edu>
Mon, 15 Jul 1996 20:58:27 +0000 (20:58 +0000)
committerJosh Yelon <jyelon@uiuc.edu>
Mon, 15 Jul 1996 20:58:27 +0000 (20:58 +0000)
22 files changed:
src/arch/cm5/conv-mach.h
src/arch/exemplar/conv-mach.h
src/arch/ncube2/conv-mach.h
src/arch/net-aix-ppc/conv-mach.h
src/arch/net-hp-cc/conv-mach.h
src/arch/net-hp/conv-mach.h
src/arch/net-sol/conv-mach.h
src/arch/net-sun/conv-mach.h
src/arch/paragon-osf/conv-mach.h
src/arch/paragon-sunmos/conv-mach.h
src/arch/sim-hp/conv-mach.h
src/arch/sim-rs6k/conv-mach.h
src/arch/sim-sol/conv-mach.h
src/arch/sim-sun/conv-mach.h
src/arch/sp1/conv-mach.h
src/arch/t3d/conv-mach.h
src/arch/tcp-hp/conv-mach.h
src/arch/tcp-sol/conv-mach.h
src/arch/uth-hp/conv-mach.h
src/arch/uth-rs6k/conv-mach.h
src/arch/uth-sol/conv-mach.h
src/arch/uth-sun/conv-mach.h

index 610f190c19d2009bbde261c4e1aa934e7987d8a9..68d645ebc2b2c27cce0696014725f20e8b28833a 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 2.16  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 2.15  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 2.14  1996/04/18 22:40:35  sanjeev
- * CmiFreeSendFn uses CMMD_send_async
- *
- * Revision 2.13  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 2.12  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 2.11  1995/10/23  22:37:48  jyelon
- * Enabled alloca-based threads.
- *
- * Revision 2.10  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 2.9  1995/10/18  22:20:57  jyelon
- * enabled eatstack-threads.
- *
- * Revision 2.8  1995/10/13  18:17:44  jyelon
- * I can't even remember.
- *
- * Revision 2.7  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
+ * Revision 2.17  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 2.6  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
  *
- * Revision 2.5  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 2.4  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
- *
- * Revision 2.3  1995/09/20  13:22:30  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 2.2  1995/09/19  18:55:43  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 2.1  1995/06/21  15:16:49  sanjeev
- * added CMK_COMPILER_LIKES_STATIC_PROTO
- *
- * Revision 2.0  1995/06/15  20:15:00  sanjeev
- * *** empty log message ***
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "cm5"
-
-#define CmiMsgHeaderSizeBytes 4
-
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-/* #define CMK_USE_GNU_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
-/* #define CMK_USE_OS_MALLOC */
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_COMMHANDLE_IS_A_POINTER */
-#define CMK_COMMHANDLE_IS_AN_INTEGER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       1
+#define CMK_COMMHANDLE_IS_A_POINTER                        0
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_MACHINE_NAME                                   "cm5"
 
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_SIGHOLD_USE_SIGMASK */
-#define CMK_SIGHOLD_IS_A_BUILTIN 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           1
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_SIGNAL_IS_A_BUILTIN                            1
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_SIZE_T                                         long
 
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
-#define CMK_SIGNAL_IS_A_BUILTIN
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
-#define CMK_HAVE_STRING_H
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-
-#define CMK_SIZE_T long unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 3a7c5e0365fcea644ce0ce8c269dc3a5c9ee4c1e..62905cc7a6db0a514329b10e0393c3368a2d359c 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 2.16  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "exemplar"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
+
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
+
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
+
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_MACHINE_NAME                                   "exemplar"
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_SHARED_VARS_EXEMPLAR
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
-/* #define CMK_COMPILER_LIKES_STATIC_PROTO */
-#define CMK_COMPILER_HATES_STATIC_PROTO
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 1
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_SHARED_VARS_EXEMPLAR                           1
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             1
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_EATSTACK
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_SIZE_T                                         unsigned
 
+#define CMK_STATIC_PROTO_FAILS                             1
+#define CMK_STATIC_PROTO_WORKS                             0
 
-#define CMK_SIZE_T unsigned int
+#define CMK_STRERROR_IS_A_BUILTIN                          1
+#define CMK_STRERROR_USE_SYS_ERRLIST                       0
+
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              1
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_WAIT_NOT_NEEDED                                1
+#define CMK_WAIT_USES_SYS_WAIT_H                           0
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 436af88a15e9d3e648fc0c1b542f23ea521365cc..3eb148e85f0bfe420a09741c7ad65b2585ef3eba 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 2.17  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "ncube2"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
+
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
+
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
+
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_MACHINE_NAME                                   "ncube2"
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 1
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             1
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_SIZE_T                                         unsigned
 
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_SIZE_T unsigned int
+#define CMK_STRERROR_IS_A_BUILTIN                          1
+#define CMK_STRERROR_USE_SYS_ERRLIST                       0
+
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              1
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_WAIT_NOT_NEEDED                                1
+#define CMK_WAIT_USES_SYS_WAIT_H                           0
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 6c539b1d03a87c96870fb12d1669de91ff74725b..a9c82466dae593d095c5c4101447a40428c746f0 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 1.16  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 1.15  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 1.14  1996/01/30 20:22:22  kale
- * moved defs of WINDOW_SIZE and DGRAM_BUF_SIZE here from machine.h
- *
- * Revision 1.13  1996/01/17  08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 1.12  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 1.11  1995/10/25  20:00:43  jyelon
- * *** empty log message ***
- *
- * Revision 1.10  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 1.9  1995/10/18  22:20:57  jyelon
- * minor cleanup.
- *
- * Revision 1.8  1995/10/18  03:07:37  jyelon
- * added machine_name
- *
- * Revision 1.7  1995/10/13  18:17:44  jyelon
- * I can't even remember.
+ * Revision 1.17  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 1.6  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
  *
- * Revision 1.5  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
- *
- * Revision 1.4  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 1.3  1995/09/20  13:22:53  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 1.2  1995/09/19  18:56:19  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 1.1  1995/09/14  21:25:37  jyelon
- * Initial revision
- *
- * Revision 2.3  1995/07/05  21:33:36  brunner
- * Took spaces out from before #defines
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "net-rs6k"
-
-#define CmiMsgHeaderSizeBytes 4
-
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 1
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_OS_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_DGRAM_BUF_SIZE                                 52000
+#define CMK_DGRAM_MAX_SIZE                                 2048
+#define CMK_DGRAM_WINDOW_SIZE                              24
 
-/* #define CMK_CMIPRINTF_IS_JUST_PRINTF */
-#define CMK_CMIPRINTF_IS_A_BUILTIN
+#define CMK_MACHINE_NAME                                   "net-rs6k"
 
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-#define CMK_RSH_IS_A_COMMAND
-/* #define CMK_RSH_USE_REMSH */
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-#define CMK_TIMER_USE_GETRUSAGE
-/* #define CMK_TIMER_USE_TIMES */
+#define CMK_SIGNAL_IS_A_BUILTIN                            1
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD */
-#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN
-/* #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN */
+#define CMK_SIZE_T                                         long
 
-#define CMK_SIGNAL_IS_A_BUILTIN
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_HAVE_STRING_H */
-#define CMK_JUST_DECLARE_STRING_FNS
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   1
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           0
 
-#define CMK_HAVE_SYS_WAIT_H
-/* #define CMK_HAVE_WAITFLAGS_H */
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE */
-#define CMK_USLEEP_WHEN_PROCESSOR_IDLE
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_SIZE_T long unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
 
 #endif
 
-#define CMK_MAX_DGRAM_SIZE 2048
-#define DGRAM_BUF_SIZE 52000
-#define WINDOW_SIZE 24          /* size of sliding window : set to
-                                  (DGRAM_BUF_SIZE/CMK_MAX_DGRAM_SIZE)-1 */
-
-
index 50f568e34e16334cd06f1ff0cb262c2aac4f8d78..e49f549351dc96396bde0299736008debb7b3d25 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 1.3  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 1.2  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
+ * Revision 1.4  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 1.1  1996/04/30 19:51:39  brunner
- * Initial revision
  *
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "net-hp-cc"
-
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         1
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_OS_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DGRAM_BUF_SIZE                                 52000
+#define CMK_DGRAM_MAX_SIZE                                 2048
+#define CMK_DGRAM_WINDOW_SIZE                              20
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MACHINE_NAME                                   "net-hp-cc"
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
-/* #define CMK_CMIPRINTF_IS_JUST_PRINTF */
-#define CMK_CMIPRINTF_IS_A_BUILTIN
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_UNAVAILABLE
-/* #define CMK_THREADS_USE_ALLOCA */
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  1
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           1
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_RSH_IS_A_COMMAND */
-#define CMK_RSH_USE_REMSH
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD */
-/* #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN */
-#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN */
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_SIGNAL_IS_A_BUILTIN */
-#define CMK_SIGNAL_USE_SIGACTION
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
+#define CMK_THREADS_UNAVAILABLE                            1
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-#define CMK_HAVE_STRING_H
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_HAVE_SYS_WAIT_H
-/* #define CMK_HAVE_WAITFLAGS_H */
-
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-
-
-#define CMK_SIZE_T unsigned int
-
-#define CMK_MAX_DGRAM_SIZE 2048
-#define DGRAM_BUF_SIZE 52000
-#define WINDOW_SIZE 20             /* size of sliding window : set to
-                                                                           (DGR\AM_BUF_SIZE/CMK_MAX_DGRAM_SIZE) -1 \*/
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 3a047537de60dc7786cd1f3603c737213038dde8..b311b314f7748244968502cdd75c9d0df72e43f6 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 2.20  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 2.19  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 2.18  1996/01/30 20:20:36  kale
- * moved defs of WINDOW_SIZE and DGRAM_BUF_SIZE here from machine.h
- *
- * Revision 2.17  1996/01/17  08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 2.16  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 2.15  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 2.14  1995/10/18  22:20:57  jyelon
- * minor cleanup.
- *
- * Revision 2.13  1995/10/18  03:07:23  jyelon
- * net-hp.
- *
- * Revision 2.12  1995/10/13  22:35:38  jyelon
- * *** empty log message ***
- *
- * Revision 2.11  1995/10/13  18:17:44  jyelon
- * I can't even remember.
- *
- * Revision 2.10  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 2.9  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
- *
- * Revision 2.8  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
+ * Revision 2.21  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 2.7  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
  *
- * Revision 2.6  1995/09/20  17:23:46  gursoy
- * threads dont use alloca, this time fixed
- *
- * Revision 2.5  1995/09/20  17:20:49  gursoy
- * threads dont use alloca
- *
- * Revision 2.4  1995/09/20  13:22:49  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 2.3  1995/09/19  18:56:15  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 2.2  1995/06/22  19:36:13  brunner
- * Added CMK_COMPILER_LIKES_STATIC_PROTO
- *
- * Revision 2.1  1995/06/15  20:28:53  brunner
- * Removed typedefs that I had added to make the HP cc compiler work.
- * It works without them with gcc.
- *
- * Revision 2.0  1995/06/14  16:27:49  brunner
- * HP/gcc port for new directory structure
- *
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "net-hp"
-
-#define CmiMsgHeaderSizeBytes 4
-
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            1
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_OS_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
 
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_DGRAM_BUF_SIZE                                 52000
+#define CMK_DGRAM_MAX_SIZE                                 2048
+#define CMK_DGRAM_WINDOW_SIZE                              20
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_MACHINE_NAME                                   "net-hp"
 
-/* #define CMK_CMIPRINTF_IS_JUST_PRINTF */
-#define CMK_CMIPRINTF_IS_A_BUILTIN
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-/* #define CMK_THREADS_UNAVAILABLE */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  1
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           1
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_RSH_IS_A_COMMAND */
-#define CMK_RSH_USE_REMSH
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD
-/* #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN */
-/* #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN */
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_SIGNAL_IS_A_BUILTIN */
-#define CMK_SIGNAL_USE_SIGACTION
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-#define CMK_HAVE_STRING_H
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-#define CMK_HAVE_SYS_WAIT_H
-/* #define CMK_HAVE_WAITFLAGS_H */
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-/* #define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE */
-#define CMK_USLEEP_WHEN_PROCESSOR_IDLE
-
-
-#define CMK_SIZE_T unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
 
 #endif
-#define CMK_MAX_DGRAM_SIZE 2048
-#define DGRAM_BUF_SIZE 52000
-#define WINDOW_SIZE 20             /* size of sliding window : set to
-                                                                           (DGR\AM_BUF_SIZE/CMK_MAX_DGRAM_SIZE) -1 \*/
+
index ac5411139515ec5b7aaef67be2a60b84c1e1687c..36af72a797dd6876b06ac6717ba905160600d8db 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 2.21  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "net-sol"
-
-#define CmiMsgHeaderSizeBytes 4
-
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-/* #define CMK_USE_OS_MALLOC */
-/* #define CMK_USE_GNU_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
 
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_DGRAM_BUF_SIZE                                 50000
+#define CMK_DGRAM_MAX_SIZE                                 2048
+#define CMK_DGRAM_WINDOW_SIZE                              24
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_MACHINE_NAME                                   "net-sol"
 
-/* #define CMK_CMIPRINTF_IS_JUST_PRINTF */
-#define CMK_CMIPRINTF_IS_A_BUILTIN
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_SIGHOLD_USE_SIGMASK */
-#define CMK_SIGHOLD_IS_A_BUILTIN 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_SIGHOLD_IS_A_BUILTIN                           1
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
 
-/* #define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD */
-/* #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN */
-/* #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP */
-#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_IS_A_BUILTIN */
-#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
-#define CMK_HAVE_STRING_H
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE */
-#define CMK_USLEEP_WHEN_PROCESSOR_IDLE
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_SIZE_T unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
 
 #endif
 
-
-#define CMK_MAX_DGRAM_SIZE 2048
-#define DGRAM_BUF_SIZE 50000
-#define WINDOW_SIZE 24             /* size of sliding window : set to 
-                                   (DGRAM_BUF_SIZE/CMK_MAX_DGRAM_SIZE) -1 */
-
index 14eccac32a773376297aedefdb5a510381d2595d..98822f30c810f5b5c678cd602bbbc83b03c369ce 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 2.17  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 2.16  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 2.15  1996/01/30 20:17:19  kale
- * moved defs of WINDOW_SIZE and DGRAM_BUF_SIZE here from machine.h
- *
- * Revision 2.14  1996/01/17  08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 2.13  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 2.12  1995/10/20  17:27:00  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 2.11  1995/10/18  22:20:57  jyelon
- * minor cleanup.
+ * Revision 2.18  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 2.10  1995/10/13  22:35:38  jyelon
- * *** empty log message ***
  *
- * Revision 2.9  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 2.8  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
- *
- * Revision 2.7  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 2.6  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
- *
- * Revision 2.5  1995/09/20  13:22:57  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 2.4  1995/09/19  18:56:26  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 2.3  1995/07/05  21:33:36  brunner
- * Took spaces out from before #defines
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "net-sun"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 1
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_USE_OS_MALLOC */
-/* #define CMK_USE_GNU_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_PREPROCESSOR_USES_K_AND_R_STANDARD_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DGRAM_BUF_SIZE                                 52000
+#define CMK_DGRAM_MAX_SIZE                                 4096
+#define CMK_DGRAM_WINDOW_SIZE                              12
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MACHINE_NAME                                   "net-sun"
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
-#define CMK_CMIPRINTF_IS_A_BUILTIN
-/* #define CMK_CMIPRINTF_IS_JUST_PRINTF */
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-/* #define CMK_TIMER_USE_TIMES */
-#define CMK_TIMER_USE_GETRUSAGE
+#define CMK_SIGNAL_IS_A_BUILTIN                            1
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD */
-#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN
-/* #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN */
+#define CMK_SIZE_T                                         long
 
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
-#define CMK_SIGNAL_IS_A_BUILTIN
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_HAVE_STRING_H */
-#define CMK_JUST_DECLARE_STRING_FNS
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   1
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           0
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE */
-#define CMK_USLEEP_WHEN_PROCESSOR_IDLE
+#define CMK_TIMER_USE_GETRUSAGE                            1
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                0
 
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_SIZE_T long unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
 
 #endif
 
-#define CMK_MAX_DGRAM_SIZE 4096
-#define DGRAM_BUF_SIZE 52000
-#define WINDOW_SIZE 12             /* size of sliding window : set to
-                                                                         (DGRAM_BUF_SIZE/CMK_MAX_DGRAM_SIZE) -1 */
-
index d4414a0a43a355c08956c51c634530458e87cb46..d505b20ee70e70281c80b23764a638f345ce5e33 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 1.4  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "paragon"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
+
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
+
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       1
+#define CMK_COMMHANDLE_IS_A_POINTER                        0
+
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
+
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_MACHINE_NAME                                   "paragon"
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_COMMHANDLE_IS_A_POINTER */
-#define CMK_COMMHANDLE_IS_AN_INTEGER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 1
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             1
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_SIZE_T unsigned long
+#define CMK_STRERROR_IS_A_BUILTIN                          1
+#define CMK_STRERROR_USE_SYS_ERRLIST                       0
+
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              1
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_WAIT_NOT_NEEDED                                1
+#define CMK_WAIT_USES_SYS_WAIT_H                           0
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index d4414a0a43a355c08956c51c634530458e87cb46..d505b20ee70e70281c80b23764a638f345ce5e33 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 1.4  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "paragon"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
+
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
+
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       1
+#define CMK_COMMHANDLE_IS_A_POINTER                        0
+
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
+
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_MACHINE_NAME                                   "paragon"
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_COMMHANDLE_IS_A_POINTER */
-#define CMK_COMMHANDLE_IS_AN_INTEGER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 1
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             1
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_SIZE_T unsigned long
+#define CMK_STRERROR_IS_A_BUILTIN                          1
+#define CMK_STRERROR_USE_SYS_ERRLIST                       0
+
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              1
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_WAIT_NOT_NEEDED                                1
+#define CMK_WAIT_USES_SYS_WAIT_H                           0
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 3698e784c153ba96ec6c95dc0f43d58f0bc06556..15457a56a1ac5c45901d014f72df1801be07d052 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 1.7  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "sim-hp"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
+
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
+
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       1
+#define CMK_COMMHANDLE_IS_A_POINTER                        0
+
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 1
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-#define CMK_USE_SIMULATOR_DEFAULT_MAIN
-/* #define CMK_USE_STANDARD_DEFAULT_MAIN */
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  0
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               1
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_MACHINE_NAME                                   "sim-hp"
 
-/* #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG */
-#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER 
-/* #define CMK_COMMHANDLE_IS_A_POINTER */
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-#define CMK_USES_SPECIAL_CMIDELIVERS
-/* #define CMK_USES_COMMON_CMIDELIVERS */
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
-/* #define CMK_PREPROCESSOR_USES_K_AND_R_STANDARD_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 1
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             1
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_UNAVAILABLE
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_STRERROR_IS_A_BUILTIN                          1
+#define CMK_STRERROR_USE_SYS_ERRLIST                       0
 
-#define CMK_SIZE_T unsigned int
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_UNAVAILABLE                            1
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
+
+#define CMK_WAIT_NOT_NEEDED                                1
+#define CMK_WAIT_USES_SYS_WAIT_H                           0
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 11bfceeda7399c3b4a4431575b70ee086bc218d2..cd7f17ecaada3bd56027b95beb1569d4703013ed 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 1.5  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 1.4  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 1.3  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 1.2  1995/11/08 00:29:30  jyelon
- * *** empty log message ***
- *
- * Revision 1.1  1995/11/07  22:58:56  jyelon
- * Initial revision
- *
- * Revision 1.7  1995/10/31  20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 1.6  1995/10/25  20:00:43  jyelon
- * *** empty log message ***
- *
- * Revision 1.5  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 1.4  1995/10/18  22:20:57  jyelon
- * minor cleanup.
- *
- * Revision 1.3  1995/10/13  20:05:13  jyelon
- * *** empty log message ***
+ * Revision 1.6  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 1.2  1995/10/13  18:17:44  jyelon
- * I can't even remember.
  *
- * Revision 1.1  1995/10/12  23:11:36  jyelon
- * Initial revision
- *
- * Revision 1.6  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 1.5  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
- *
- * Revision 1.4  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 1.3  1995/09/20  13:22:53  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 1.2  1995/09/19  18:56:19  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 1.1  1995/09/14  21:25:37  jyelon
- * Initial revision
- *
- * Revision 2.3  1995/07/05  21:33:36  brunner
- * Took spaces out from before #defines
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "uth-rs6k"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-#define CMK_USE_SIMULATOR_DEFAULT_MAIN
-/* #define CMK_USE_STANDARD_DEFAULT_MAIN */
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_CONVERSEINIT */
-#define CMK_CTHINIT_IS_IN_MAIN
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG */
-#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_COMMON_CMIDELIVERS */
-#define CMK_USES_SPECIAL_CMIDELIVERS
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 1
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               0
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     0
+#define CMK_CTHINIT_IS_IN_MAIN                             1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  0
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MACHINE_NAME                                   "uth-rs6k"
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIGNAL_IS_A_BUILTIN                            1
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-#define CMK_RSH_IS_A_COMMAND
-/* #define CMK_RSH_USE_REMSH */
+#define CMK_SIZE_T                                         long
 
-#define CMK_TIMER_USE_GETRUSAGE
-/* #define CMK_TIMER_USE_TIMES */
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_SIGNAL_IS_A_BUILTIN
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   1
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           0
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_HAVE_STRING_H */
-#define CMK_JUST_DECLARE_STRING_FNS
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-#define CMK_HAVE_SYS_WAIT_H
-/* #define CMK_HAVE_WAITFLAGS_H */
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
-
-#define CMK_SIZE_T long unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index e6c32527335f9790cbb4afb8159fe6bcd72a3495..950b1f37fa598139bd45723a3cfe0c281323992d 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 1.6  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "uth-sol"
-
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-#define CMK_USE_SIMULATOR_DEFAULT_MAIN
-/* #define CMK_USE_STANDARD_DEFAULT_MAIN */
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-/* #define CMK_USE_OS_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
 
-/* #define CMK_CTHINIT_IS_IN_CONVERSEINIT */
-#define CMK_CTHINIT_IS_IN_MAIN
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG */
-#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_COMMON_CMIDELIVERS */
-#define CMK_USES_SPECIAL_CMIDELIVERS
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 1
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               0
 
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     0
+#define CMK_CTHINIT_IS_IN_MAIN                             1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  0
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MACHINE_NAME                                   "uth-sol"
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           1
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_SIGHOLD_USE_SIGMASK */
-#define CMK_SIGHOLD_IS_A_BUILTIN 
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_IS_A_BUILTIN */
-#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
-#define CMK_HAVE_STRING_H
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_SIZE_T unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 206ccc5b9b6c6f65a88cc813b79597f8350fa554..de3ae293e97ceeffc06d1b01c4928560d9f70215 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 1.5  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 1.4  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 1.3  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 1.2  1995/11/08 00:28:52  jyelon
- * *** empty log message ***
- *
- * Revision 1.1  1995/11/07  22:58:56  jyelon
- * Initial revision
- *
- * Revision 1.7  1995/10/31  20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 1.6  1995/10/20  17:27:00  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 1.5  1995/10/18  22:20:57  jyelon
- * minor cleanup.
+ * Revision 1.6  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 1.4  1995/10/13  22:35:38  jyelon
- * *** empty log message ***
  *
- * Revision 1.3  1995/10/13  18:17:44  jyelon
- * I can't even remember.
- *
- * Revision 1.2  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 1.1  1995/09/30  14:58:49  jyelon
- * Initial revision
- *
- * Revision 2.7  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 2.6  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
- *
- * Revision 2.5  1995/09/20  13:22:57  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 2.4  1995/09/19  18:56:26  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 2.3  1995/07/05  21:33:36  brunner
- * Took spaces out from before #defines
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "uth-sun"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-#define CMK_USE_SIMULATOR_DEFAULT_MAIN
-/* #define CMK_USE_STANDARD_DEFAULT_MAIN */
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_CONVERSEINIT */
-#define CMK_CTHINIT_IS_IN_MAIN
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG */
-#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_COMMON_CMIDELIVERS */
-#define CMK_USES_SPECIAL_CMIDELIVERS
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 1
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               0
 
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     0
+#define CMK_CTHINIT_IS_IN_MAIN                             1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  0
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MACHINE_NAME                                   "uth-sun"
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_SIGNAL_IS_A_BUILTIN                            1
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_TIMER_USE_TIMES */
-#define CMK_TIMER_USE_GETRUSAGE
+#define CMK_SIZE_T                                         long
 
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
-#define CMK_SIGNAL_IS_A_BUILTIN
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   1
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           0
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_HAVE_STRING_H */
-#define CMK_JUST_DECLARE_STRING_FNS
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_TIMER_USE_GETRUSAGE                            1
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                0
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_SIZE_T long unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 601539d2fff1d2dea0da32516dbdf50f11455eca..bb8d5baec79b5f913c6afe44cbac393cd3e682ae 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 2.14  1996-06-28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 2.13  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 2.12  1995/11/01 23:14:39  knauff
- * Changed CMK_SIZE_T to unsigned long
- *
- * Revision 2.11  1995/10/31  20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 2.10  1995/10/31  19:52:44  jyelon
- * Added 'CMK_THREADS_USE_ALLOCA_WITH_PRAGMA'
- *
- * Revision 2.9  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 2.8  1995/10/18  22:20:57  jyelon
- * enabled eatstack-threads.
- *
- * Revision 2.7  1995/10/13  18:17:44  jyelon
- * I can't even remember.
- *
- * Revision 2.6  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 2.5  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
- *
- * Revision 2.4  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 2.3  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
- *
- * Revision 2.2  1995/09/20  13:22:58  jyelon
- * Added 'CMK_THREAD_' flags.
+ * Revision 2.15  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 2.1  1995/09/19  18:56:28  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
  *
- * Revision 2.0  1995/07/10  22:12:21  knauff
- * Initial revision
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "sp1"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
+
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
+
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
+
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
+
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_MACHINE_NAME                                   "sp1"
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 1
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             1
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA */
-#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_SIZE_T unsigned long
+#define CMK_STRERROR_IS_A_BUILTIN                          1
+#define CMK_STRERROR_USE_SYS_ERRLIST                       0
+
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 1
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              1
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_WAIT_NOT_NEEDED                                1
+#define CMK_WAIT_USES_SYS_WAIT_H                           0
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 9582d5812952315edb650cd431a575eda1638c51..92111835fb00a51dc369438b1c1ea17bc420a453 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 1.4  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "t3d"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
+
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
+
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       1
+#define CMK_COMMHANDLE_IS_A_POINTER                        0
+
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
+
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-#define CmiMsgHeaderSizeBytes 8
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_MACHINE_NAME                                   "t3d"
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_COMMHANDLE_IS_A_POINTER */
-#define CMK_COMMHANDLE_IS_AN_INTEGER
-#define CMK_USES_SPECIAL_CMIDELIVERS
-/* #define CMK_USES_COMMON_CMIDELIVERS */
+#define CMK_MSG_HEADER_SIZE_BYTES                          8
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 1
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             1
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_SIZE_T unsigned long
+#define CMK_STRERROR_IS_A_BUILTIN                          1
+#define CMK_STRERROR_USE_SYS_ERRLIST                       0
+
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              1
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_WAIT_NOT_NEEDED                                1
+#define CMK_WAIT_USES_SYS_WAIT_H                           0
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 9dcbbaef9f4f8aacf9a2f32e4bdf20695755f80f..844a88c96e66e522ddc35102be5598a502b555b9 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 2.20  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 2.19  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 2.18  1996/01/17 19:48:07  jyelon
- * *** empty log message ***
- *
- * Revision 2.17  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 2.16  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 2.15  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 2.14  1995/10/18  22:20:57  jyelon
- * minor cleanup.
- *
- * Revision 2.13  1995/10/18  03:07:23  jyelon
- * net-hp.
- *
- * Revision 2.12  1995/10/13  22:35:38  jyelon
- * *** empty log message ***
- *
- * Revision 2.11  1995/10/13  18:17:44  jyelon
- * I can't even remember.
- *
- * Revision 2.10  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 2.9  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
- *
- * Revision 2.8  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
+ * Revision 2.21  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 2.7  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
  *
- * Revision 2.6  1995/09/20  17:23:46  gursoy
- * threads dont use alloca, this time fixed
- *
- * Revision 2.5  1995/09/20  17:20:49  gursoy
- * threads dont use alloca
- *
- * Revision 2.4  1995/09/20  13:22:49  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 2.3  1995/09/19  18:56:15  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 2.2  1995/06/22  19:36:13  brunner
- * Added CMK_COMPILER_LIKES_STATIC_PROTO
- *
- * Revision 2.1  1995/06/15  20:28:53  brunner
- * Removed typedefs that I had added to make the HP cc compiler work.
- * It works without them with gcc.
- *
- * Revision 2.0  1995/06/14  16:27:49  brunner
- * HP/gcc port for new directory structure
- *
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "tcp-hp"
-
-#define CmiMsgHeaderSizeBytes 8
-
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
-
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_OS_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            1
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_SPECIAL_CMIDELIVERS */ 
-#define CMK_USES_COMMON_CMIDELIVERS
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_CMIPRINTF_IS_JUST_PRINTF */
-#define CMK_CMIPRINTF_IS_A_BUILTIN
+#define CMK_MACHINE_NAME                                   "tcp-hp"
 
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-/* #define CMK_THREADS_UNAVAILABLE */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
+#define CMK_MSG_HEADER_SIZE_BYTES                          8
 
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  1
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-/* #define CMK_RSH_IS_A_COMMAND */
-#define CMK_RSH_USE_REMSH
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           1
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_SIZE_T                                         unsigned
 
-#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD
-/* #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN */
-/* #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN */
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_SIGNAL_IS_A_BUILTIN */
-#define CMK_SIGNAL_USE_SIGACTION
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-#define CMK_HAVE_STRING_H
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-#define CMK_HAVE_SYS_WAIT_H
-/* #define CMK_HAVE_WAITFLAGS_H */
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-/* #define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE */
-#define CMK_USLEEP_WHEN_PROCESSOR_IDLE
-
-
-#define CMK_SIZE_T unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
 
 #endif
+
index 3acfe8cb1fd00d702a9b78e7ddea3530cdc532fa..20b6c03be8ad3a4446e3badcfe74757f693ffca5 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 2.22  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "tcp-sol"
-
-#define CmiMsgHeaderSizeBytes 8
-
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-/* #define CMK_USE_OS_MALLOC */
-/* #define CMK_USE_GNU_MALLOC */
-#define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-/* #define CMK_CTHINIT_IS_IN_MAIN */
-#define CMK_CTHINIT_IS_IN_CONVERSEINIT
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          1
+#define CMK_CMIMYPE_UNIPROCESSOR                           0
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-/* #define CMK_USES_COMMON_CMIDELIVERS */
-#define CMK_USES_SPECIAL_CMIDELIVERS
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_SHARED_VARS_UNIPROCESSOR */
-#define CMK_NO_SHARED_VARS_AT_ALL
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     1
+#define CMK_CTHINIT_IS_IN_MAIN                             0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-#define CMK_CMIMYPE_IS_A_VARIABLE
+#define CMK_MACHINE_NAME                                   "tcp-sol"
 
-/* #define CMK_CMIPRINTF_IS_JUST_PRINTF */
-#define CMK_CMIPRINTF_IS_A_BUILTIN
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
 
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_MSG_HEADER_SIZE_BYTES                          8
 
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
-/* #define CMK_SIGHOLD_USE_SIGMASK */
-#define CMK_SIGHOLD_IS_A_BUILTIN 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_SIGHOLD_IS_A_BUILTIN                           1
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
 
-/* #define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD */
-/* #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN */
-/* #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN */
-/* #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP */
-#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_IS_A_BUILTIN */
-#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
-#define CMK_HAVE_STRING_H
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-/* #define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE */
-#define CMK_USLEEP_WHEN_PROCESSOR_IDLE
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-
-#define CMK_SIZE_T unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
 
 #endif
+
index e272e7730ab54019e68d772a584518c26ec8396a..0a337840ada3dd3177cddaceef8b0700190cfebc 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 1.9  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 1.8  1996/07/02 21:22:24  jyelon
- * Many small changes.
- *
- * Revision 1.7  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 1.6  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 1.5  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 1.4  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 1.3  1995/10/18  22:20:57  jyelon
- * minor cleanup.
- *
- * Revision 1.2  1995/10/13  20:05:13  jyelon
- * *** empty log message ***
- *
- * Revision 1.1  1995/10/13  18:17:44  jyelon
- * Initial revision
- *
- * Revision 2.10  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 2.9  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
+ * Revision 1.10  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 2.8  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
  *
- * Revision 2.7  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
- *
- * Revision 2.6  1995/09/20  17:23:46  gursoy
- * threads dont use alloca, this time fixed
- *
- * Revision 2.5  1995/09/20  17:20:49  gursoy
- * threads dont use alloca
- *
- * Revision 2.4  1995/09/20  13:22:49  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 2.3  1995/09/19  18:56:15  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 2.2  1995/06/22  19:36:13  brunner
- * Added CMK_COMPILER_LIKES_STATIC_PROTO
- *
- * Revision 2.1  1995/06/15  20:28:53  brunner
- * Removed typedefs that I had added to make the HP cc compiler work.
- * It works without them with gcc.
- *
- * Revision 2.0  1995/06/14  16:27:49  brunner
- * HP/gcc port for new directory structure
- *
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "uth-hp"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_CTHINIT_IS_IN_CONVERSEINIT */
-#define CMK_CTHINIT_IS_IN_MAIN
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-#define CMK_USES_SPECIAL_CMIDELIVERS
-/* #define CMK_USES_COMMON_CMIDELIVERS */
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     0
+#define CMK_CTHINIT_IS_IN_MAIN                             1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_MACHINE_NAME                                   "uth-hp"
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-#define CMK_THREADS_USE_JB_TWEAKING
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-/* #define CMK_THREADS_USE_ALLOCA */
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               0
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  1
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           1
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_RSH_IS_A_COMMAND */
-#define CMK_RSH_USE_REMSH
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_SIGNAL_IS_A_BUILTIN */
-#define CMK_SIGNAL_USE_SIGACTION
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-#define CMK_HAVE_STRING_H
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_HAVE_SYS_WAIT_H
-/* #define CMK_HAVE_WAITFLAGS_H */
-
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
-
-#define CMK_SIZE_T unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index fb578cd805379612ed1a6ceb99c69a85ad274c81..42c711c83f419f685bb7243357630453b42f4532 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 1.11  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 1.10  1996/07/02 21:22:24  jyelon
- * Many small changes.
- *
- * Revision 1.9  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 1.8  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 1.7  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 1.6  1995/10/25  20:00:43  jyelon
- * *** empty log message ***
- *
- * Revision 1.5  1995/10/20  20:26:45  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 1.4  1995/10/18  22:20:57  jyelon
- * minor cleanup.
- *
- * Revision 1.3  1995/10/13  20:05:13  jyelon
- * *** empty log message ***
+ * Revision 1.12  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 1.2  1995/10/13  18:17:44  jyelon
- * I can't even remember.
  *
- * Revision 1.1  1995/10/12  23:11:36  jyelon
- * Initial revision
- *
- * Revision 1.6  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 1.5  1995/09/30  15:04:25  jyelon
- * Added CMK_CTHINIT_IS_IN_MAIN, etc.
- *
- * Revision 1.4  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 1.3  1995/09/20  13:22:53  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 1.2  1995/09/19  18:56:19  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 1.1  1995/09/14  21:25:37  jyelon
- * Initial revision
- *
- * Revision 2.3  1995/07/05  21:33:36  brunner
- * Took spaces out from before #defines
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "uth-rs6k"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_CONVERSEINIT */
-#define CMK_CTHINIT_IS_IN_MAIN
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-#define CMK_USES_SPECIAL_CMIDELIVERS
-/* #define CMK_USES_COMMON_CMIDELIVERS */
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     0
+#define CMK_CTHINIT_IS_IN_MAIN                             1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MACHINE_NAME                                   "uth-rs6k"
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIGNAL_IS_A_BUILTIN                            1
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-#define CMK_RSH_IS_A_COMMAND
-/* #define CMK_RSH_USE_REMSH */
+#define CMK_SIZE_T                                         long
 
-#define CMK_TIMER_USE_GETRUSAGE
-/* #define CMK_TIMER_USE_TIMES */
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_SIGNAL_IS_A_BUILTIN
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   1
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           0
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             1
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_HAVE_STRING_H */
-#define CMK_JUST_DECLARE_STRING_FNS
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-#define CMK_HAVE_SYS_WAIT_H
-/* #define CMK_HAVE_WAITFLAGS_H */
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
-
-#define CMK_SIZE_T long unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index 0a76e849ea61025b06440d2311347fbac5c315cf..bde9beab565f3057452d7cc5b60974b2c9989bbc 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
  *
- ***************************************************************************
- * REVISION HISTORY:
+ * $Log$
+ * Revision 1.13  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
  *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "uth-sol"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
 
-/* #define CMK_USE_OS_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_CTHINIT_IS_IN_CONVERSEINIT */
-#define CMK_CTHINIT_IS_IN_MAIN
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-#define CMK_USES_SPECIAL_CMIDELIVERS
-/* #define CMK_USES_COMMON_CMIDELIVERS */
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     0
+#define CMK_CTHINIT_IS_IN_MAIN                             1
 
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_MACHINE_NAME                                   "uth-sol"
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-#define CMK_THREADS_USE_JB_TWEAKING
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE */
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
+#define CMK_SIGHOLD_IS_A_BUILTIN                           1
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            0
 
+#define CMK_SIGNAL_IS_A_BUILTIN                            0
+#define CMK_SIGNAL_NOT_NEEDED                              1
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_SIGHOLD_USE_SIGMASK */
-#define CMK_SIGHOLD_IS_A_BUILTIN 
+#define CMK_SIZE_T                                         unsigned
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-/* #define CMK_TIMER_USE_GETRUSAGE */
-#define CMK_TIMER_USE_TIMES
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_JUST_DECLARE_STRING_FNS */
-#define CMK_HAVE_STRING_H
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            0
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        1
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_SIZE_T unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+
index d8ef6855f0f601819c06ef0613661a6a91c97924..79f8bced04243b777e6bea18930b5161c92f8cde 100644 (file)
 /***************************************************************************
  * RCS INFORMATION:
  *
- *     $RCSfile$
- *     $Author$        $Locker$                $State$
- *     $Revision$      $Date$
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
  *
  ***************************************************************************
- * DESCRIPTION:
- *
- ***************************************************************************
- * REVISION HISTORY:
  *
  * $Log$
- * Revision 1.11  1996-07-12 18:37:46  jyelon
- * Updated CMK_ASYNC and CMK_SIGNAL stuff.
- *
- * Revision 1.10  1996/07/02 21:22:24  jyelon
- * Many small changes.
- *
- * Revision 1.9  1996/06/28 21:27:11  jyelon
- * Added CMK_USE_STANDARD_DEFAULT_MAIN and CMK_USE_SIMULATOR_DEFAULT_MAIN.
- *
- * Revision 1.8  1996/01/17 08:04:13  jyelon
- * added CmiMsgHeaderSizeBytes
- *
- * Revision 1.7  1995/10/31 20:38:39  jyelon
- * Added CMK_USLEEP_WHEN_PROCESSOR_IDLE
- *
- * Revision 1.6  1995/10/20  17:27:00  sanjeev
- * added CMK_SIZE_T
- *
- * Revision 1.5  1995/10/18  22:20:57  jyelon
- * minor cleanup.
- *
- * Revision 1.4  1995/10/13  22:35:38  jyelon
- * *** empty log message ***
+ * Revision 1.12  1996-07-15 20:58:27  jyelon
+ * Flags now use #if, not #ifdef.  Also cleaned up a lot.
  *
- * Revision 1.3  1995/10/13  18:17:44  jyelon
- * I can't even remember.
  *
- * Revision 1.2  1995/10/11  00:35:06  jyelon
- * Added MALLOC options.
- *
- * Revision 1.1  1995/09/30  14:58:49  jyelon
- * Initial revision
- *
- * Revision 2.7  1995/09/29  09:50:07  jyelon
- * CmiGet-->CmiDeliver, added protos, etc.
- *
- * Revision 2.6  1995/09/22  17:54:52  sanjeev
- * added CMK_MACHINE_NAME
- *
- * Revision 2.5  1995/09/20  13:22:57  jyelon
- * Added 'CMK_THREAD_' flags.
- *
- * Revision 2.4  1995/09/19  18:56:26  jyelon
- * added CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION and other goodies.
- *
- * Revision 2.3  1995/07/05  21:33:36  brunner
- * Took spaces out from before #defines
- *
- ***************************************************************************/
+ **************************************************************************/
 
 #ifndef _CONV_MACH_H
 #define _CONV_MACH_H
 
-#define CMK_MACHINE_NAME "uth-sun"
+#define CMK_ASYNC_DOESNT_WORK_USE_TIMER_INSTEAD            0
+#define CMK_ASYNC_NOT_NEEDED                               1
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
 
-#define CmiMsgHeaderSizeBytes 4
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
 
-/* #define CMK_USE_SIMULATOR_DEFAULT_MAIN */
-#define CMK_USE_STANDARD_DEFAULT_MAIN
+#define CMK_CMIMYPE_IS_A_BUILTIN                           0
+#define CMK_CMIMYPE_IS_A_VARIABLE                          0
+#define CMK_CMIMYPE_UNIPROCESSOR                           1
 
-/* #define CMK_USE_GNU_MALLOC */
-/* #define CMK_USE_GNU_MALLOC_WITH_INTERRUPT_SUPPORT */
-#define CMK_USE_OS_MALLOC
-/* #define CMK_CTHINIT_IS_IN_CONVERSEINIT */
-#define CMK_CTHINIT_IS_IN_MAIN
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-/* #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION */
-#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG
+#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
+#define CMK_COMMHANDLE_IS_A_POINTER                        1
 
-/* #define CMK_COMMHANDLE_IS_AN_INTEGER */
-#define CMK_COMMHANDLE_IS_A_POINTER
-#define CMK_USES_SPECIAL_CMIDELIVERS
-/* #define CMK_USES_COMMON_CMIDELIVERS */
+#define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
+#define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
-/* #define CMK_NO_SHARED_VARS_AT_ALL */
-/* #define CMK_SHARED_VARS_EXEMPLAR */
-#define CMK_SHARED_VARS_UNIPROCESSOR
+#define CMK_CTHINIT_IS_IN_CONVERSEINIT                     0
+#define CMK_CTHINIT_IS_IN_MAIN                             1
 
-/* #define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION */
-#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION
+#define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
 
-/* #define CMK_COMPILER_HATES_PROTOTYPES */
-#define CMK_COMPILER_LIKES_PROTOTYPES
+#define CMK_DGRAM_BUF_SIZE                                 0
+#define CMK_DGRAM_MAX_SIZE                                 0
+#define CMK_DGRAM_WINDOW_SIZE                              0
 
-/* #define CMK_COMPILER_HATES_STATIC_PROTO */
-#define CMK_COMPILER_LIKES_STATIC_PROTO
+#define CMK_MACHINE_NAME                                   "uth-sun"
 
-/* #define CMK_CMIMYPE_IS_A_BUILTIN */
-/* #define CMK_CMIMYPE_IS_A_VARIABLE */
-#define CMK_CMIMYPE_UNIPROCESSOR
+#define CMK_MALLOC_USE_GNU                                 0
+#define CMK_MALLOC_USE_GNU_WITH_INTERRUPT_SUPPORT          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
 
-/* #define CMK_CMIPRINTF_IS_A_BUILTIN */
-#define CMK_CMIPRINTF_IS_JUST_PRINTF
+#define CMK_MSG_HEADER_SIZE_BYTES                          4
 
-/* #define CMK_THREADS_UNAVAILABLE */
-/* #define CMK_THREADS_USE_EATSTACK */
-/* #define CMK_THREADS_USE_ALLOCA */
-/* #define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA */
-#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE
+#define CMK_PREPROCESSOR_CANNOT_DO_CONCATENATION           0
+#define CMK_PREPROCESSOR_USES_ANSI_STANDARD_CONCATENATION  1
 
+#define CMK_PROTOTYPES_FAIL                                0
+#define CMK_PROTOTYPES_WORK                                1
 
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
 
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
 
-/* #define CMK_SIGHOLD_IS_A_BUILTIN */
-#define CMK_SIGHOLD_USE_SIGMASK
+#define CMK_SIGHOLD_IS_A_BUILTIN                           0
+#define CMK_SIGHOLD_NOT_NEEDED                             0
+#define CMK_SIGHOLD_USE_SIGMASK                            1
 
-/* #define CMK_RSH_USE_REMSH */
-#define CMK_RSH_IS_A_COMMAND
+#define CMK_SIGNAL_IS_A_BUILTIN                            1
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
 
-/* #define CMK_TIMER_USE_TIMES */
-#define CMK_TIMER_USE_GETRUSAGE
+#define CMK_SIZE_T                                         long
 
-/* #define CMK_SIGNAL_USE_SIGACTION */
-/* #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART */
-#define CMK_SIGNAL_IS_A_BUILTIN
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
 
-#define CMK_MAX_DGRAM_SIZE 4096
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
 
-/* #define CMK_STRERROR_IS_A_BUILTIN */
-#define CMK_STRERROR_USE_SYS_ERRLIST
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   1
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           0
 
-/* #define CMK_HAVE_STRINGS_H */
-/* #define CMK_HAVE_STRING_H */
-#define CMK_JUST_DECLARE_STRING_FNS
+#define CMK_THREADS_UNAVAILABLE                            0
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_ALLOCA_WITH_HEADER_FILE            1
+#define CMK_THREADS_USE_ALLOCA_WITH_PRAGMA                 0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
 
-/* #define CMK_HAVE_WAITFLAGS_H */
-#define CMK_HAVE_SYS_WAIT_H
+#define CMK_TIMER_USE_GETRUSAGE                            1
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                0
 
-/* #define CMK_USLEEP_WHEN_PROCESSOR_IDLE */
-#define CMK_BUSYWAIT_WHEN_PROCESSOR_IDLE
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
 
-#define CMK_SIZE_T long unsigned int
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
 
 #endif
+