Added net-irix version. Had to fix the charm++ translator for that.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Tue, 28 Jan 1997 16:26:41 +0000 (16:26 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Tue, 28 Jan 1997 16:26:41 +0000 (16:26 +0000)
Also, threads are currently not supported on net-irix.
Added a test program to measure scheduling overhead for both
normal as well as threaded entry methods.

src/arch/net-irix/conv-mach.csh [new file with mode: 0755]
src/arch/net-irix/conv-mach.h [new file with mode: 0644]
src/arch/net/conv-host.c

diff --git a/src/arch/net-irix/conv-mach.csh b/src/arch/net-irix/conv-mach.csh
new file mode 100755 (executable)
index 0000000..533aa86
--- /dev/null
@@ -0,0 +1,47 @@
+############################################################################
+# RCS INFORMATION:
+#
+#      $RCSfile$
+#      $Author$        $Locker$                $State$
+#      $Revision$      $Date$
+#
+############################################################################
+# DESCRIPTION:
+#
+############################################################################
+# REVISION HISTORY:
+#
+#
+############################################################################
+
+set CMK_CPP_CHARM='/usr/lib/cpp '
+set CMK_CPP_C='gcc -E '
+set CMK_LDRO='ld -r -o'
+set CMK_LDRO_WORKS=0
+set CMK_CC='gcc '
+set CMK_CC_RELIABLE='gcc '
+set CMK_CC_FASTEST='gcc '
+set CMK_CXX='g++ '
+set CMK_CXXPP='g++ -x c++ -E '
+set CMK_CF77=''
+set CMK_C_DEBUG='-g'
+set CMK_C_OPTIMIZE='-O'
+set CMK_CXX_DEBUG='-g'
+set CMK_CXX_OPTIMIZE='-O'
+set CMK_LD='gcc'
+set CMK_LDXX='g++'
+set CMK_LD77=''
+set CMK_M4='m4'
+set CMK_SUF='o'
+set CMK_AR='ar cq'
+set CMK_RANLIB='true'
+set CMK_LIBS=''
+set CMK_SEQ_LIBS=''
+set CMK_SEQ_CC='gcc'
+set CMK_SEQ_LD='gcc'
+set CMK_SEQ_CXX='g++'
+set CMK_SEQ_LDXX='g++'
+set CMK_NM='nm'
+set CMK_NM_FILTER='grep "|Label" | sed -e "s@.*|@@" | grep :F16 | sed -e "s/:F16//" | sed -e "s/^ //"'
+set CMK_CPP_SUFFIX="ii"
+set CMK_XLATPP='charmxlat++ '
diff --git a/src/arch/net-irix/conv-mach.h b/src/arch/net-irix/conv-mach.h
new file mode 100644 (file)
index 0000000..ca8f4c2
--- /dev/null
@@ -0,0 +1,152 @@
+/***************************************************************************
+ * RCS INFORMATION:
+ *
+ *   $RCSfile$
+ *   $Author$       $Locker$        $State$
+ *   $Revision$     $Date$
+ *
+ ***************************************************************************
+ *
+ * $Log$
+ * Revision 1.1  1997-01-28 16:26:42  milind
+ * Added net-irix version. Had to fix the charm++ translator for that.
+ * Also, threads are currently not supported on net-irix.
+ * Added a test program to measure scheduling overhead for both
+ * normal as well as threaded entry methods.
+ *
+ * Revision 2.28  1997/01/17 15:50:26  jyelon
+ * Minor adjustments to deal with recent changes to Common code.
+ *
+ * Revision 2.27  1996/11/23 02:25:39  milind
+ * Fixed several subtle bugs in the converse runtime for convex
+ * exemplar.
+ *
+ * Revision 2.26  1996/11/08 22:22:59  brunner
+ * Put _main in for HP-UX CC compilation.  It is ignored according to the
+ * CMK_USE_HP_MAIN_FIX flag.
+ *
+ * Revision 2.25  1996/10/24 19:40:26  milind
+ * Added CMK_IS_HETERO to all the net-all versions.
+ *
+ * Revision 2.24  1996/08/08 20:16:53  jyelon
+ * *** empty log message ***
+ *
+ * Revision 2.23  1996/07/16 17:23:37  jyelon
+ * Renamed a flag.
+ *
+ * Revision 2.22  1996/07/16 05:20:41  milind
+ * Added CMK_VECTOR_SEND
+ *
+ * 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_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_CMIDELIVERS_USE_COMMON_CODE                    1
+#define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         1
+#define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
+
+#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 CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
+#define CMK_DEFAULT_MAIN_USES_SIMULATOR_CODE               0
+
+#define CMK_DGRAM_BUF_SIZE                                 50000
+#define CMK_DGRAM_MAX_SIZE                                 2048
+#define CMK_DGRAM_WINDOW_SIZE                              24
+
+#define CMK_FIX_HP_CONNECT_BUG                             0
+
+#define CMK_IS_HETERO                                      1
+
+#define CMK_MACHINE_NAME                                   "net-irix"
+
+#define CMK_MALLOC_USE_GNU_MALLOC                          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
+
+#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_SHARED_VARS_SUN_THREADS                        0
+
+#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                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
+
+#define CMK_SIZE_T                                         unsigned
+
+#define CMK_STATIC_PROTO_FAILS                             0
+#define CMK_STATIC_PROTO_WORKS                             1
+
+#define CMK_STRERROR_IS_A_BUILTIN                          0
+#define CMK_STRERROR_USE_SYS_ERRLIST                       1
+
+#define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
+#define CMK_STRINGS_USE_STRINGS_H                          0
+#define CMK_STRINGS_USE_STRING_H                           1
+
+#define CMK_THREADS_REQUIRE_ALLOCA_H                       0
+#define CMK_THREADS_REQUIRE_PRAGMA_ALLOCA                  0
+#define CMK_THREADS_REQUIRE_NO_CPV                         0
+
+#define CMK_THREADS_UNAVAILABLE                            1
+#define CMK_THREADS_USE_ALLOCA                             0
+#define CMK_THREADS_USE_JB_TWEAKING                        0
+#define CMK_THREADS_USE_JB_TWEAKING_EXEMPLAR               0
+
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                1
+
+#define CMK_VECTOR_SEND_USES_COMMON_CODE                   0
+#define CMK_VECTOR_SEND_USES_SPECIAL_CODE                  1
+
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
+
+#define CMK_USE_HP_MAIN_FIX                                0
+#define CMK_DONT_USE_HP_MAIN_FIX                           1
+
+#endif
+
index a7846405c7cee8e818d37583a885dd0850c1420d..3fe422cb5970682a4a09cb33b1a31bed9225b114 100644 (file)
@@ -387,6 +387,7 @@ char *getenv_display()
 char *mylogin()
 {
   struct passwd *self;
+
   self = getpwuid(getuid());
   if (self==0) { perror("getpwuid"); exit(1); }
   return self->pw_name;