1799 lines
56 KiB
C
1799 lines
56 KiB
C
|
#ifndef h_hardware
|
||
|
#define h_hardware
|
||
|
/******************************************************************************
|
||
|
*
|
||
|
* Hardware dependent declarations
|
||
|
*
|
||
|
* Module %M% Version %I% Date %H%
|
||
|
*
|
||
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
||
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
||
|
* The copyright notice above does not evidence any actual or intented
|
||
|
* publication of such source code.
|
||
|
*
|
||
|
*******************************************************************************/
|
||
|
/*
|
||
|
* Maintenence log - insert most recent change descriptions at top
|
||
|
*
|
||
|
* Date.... GTAR# WHO Description.......................................
|
||
|
* 08/03/99 24446 SAP Port linux to 9.5.1
|
||
|
* 07/01/99 25408 JSM Changed PTX shared memory offsets
|
||
|
* 06/29/99 24483 RGA PTX(sequent) needs CHOWNCALL set to 0.
|
||
|
* 05/05/99 24483 RGA Add support for 64-bit fstat.
|
||
|
* 05/03/99 24480 RGA Add UVFTRUNCATE for 64-bit support.
|
||
|
* 04/30/99 24483 RGA Add 64-bit on for PTX.
|
||
|
* 04/30/99 24483 RGA Add 64-bit on for SGI.
|
||
|
* 04/30/99 24483 RGA Add 64-bit on for IBM AIX.
|
||
|
* 04/21/99 22647 LPC Set DBDADDR for HP-UX
|
||
|
* 04/15/99 24729 RGA Merge issue with DBDADDR,UVINT.
|
||
|
* 04/09/99 24820 DTM Added UVINT for 64bit support
|
||
|
* 03/18/99 24480 RGA Add new LL_ALIGN constant.
|
||
|
* 03/15/99 24480 RGA Added FEIGHTZERO,FEZERO,FCZERO constants.
|
||
|
* 02/09/99 24483 RGA Added UVSTAT,UVFSTAT,UVLSTAT,UVSTATSTR defines.
|
||
|
* 02/02/99 24374 RGA Infrastructure for large file lseek.
|
||
|
* 01/29/99 24404 DTM Added STRTIO_H for HP
|
||
|
* 11/25/98 23910 SAP Remove ASM_sem previously added.
|
||
|
* 11/24/98 22647 LPC Turn off 64-bit address flag for all machines
|
||
|
* 10/20/98 23910 SAP Add ASM_sem support to RM600
|
||
|
* 10/28/98 23062 SAP Enlarge default MFILES.
|
||
|
* 10/30/98 23910 SAP Change default tunables - 2nd wave.
|
||
|
* 10/23/97 23062 SAP Change default tunables
|
||
|
* 10/17/98 23672 RGA Change defintion of DBDADDR32.
|
||
|
* 10/14/98 23801 SAP Change copyrights.
|
||
|
* 10/05/98 23672 SAP Change 64-bit trans. back to 32-bit.
|
||
|
* 09/11/98 23617 OGO change UV_HOME, SEARCH_PATH defines to new
|
||
|
* platform-independent path, add UNI_SHARED
|
||
|
* 09/09/98 22467 GMH Temporarily disable refines of DBDADDR
|
||
|
* 09/01/98 22467 GMH Add default values for 64bit defines
|
||
|
* 08/21/98 23594 WSM Add Nmemoff value for SCO
|
||
|
* 08/19/98 20755 WSM Update shared memory values for SCO
|
||
|
* 23230
|
||
|
* 06/17/98 23063 SAP Define FLOAT_ERROR for HPUX11.
|
||
|
* 05/04/98 22939 WSM Remove INFINITY
|
||
|
* 02/10/98 20063 SAP Add UVBACKUP_BLKMAX 512 for Continuum.
|
||
|
* 10/21/97 21661 SAP Port 9.4.1.3 to irix 6.2.
|
||
|
* 09/22/97 21539 KAM Update shared memory values for SOLARIS
|
||
|
* 08/06/97 20967 WSM Set MEMfunc to 3 on DEC_ALPHA.
|
||
|
* 08/05/97 20059 SAP Changed SY_STAT_H to OS_STAT_H for RM600.
|
||
|
* 07/24/97 20050 SAP Added WAIT3st for machines that use sys wait struct.
|
||
|
* 06/12/97 20433 PEJ Added NO_MEM_DECL for HPUX90
|
||
|
* 05/21/97 20663 AGM Make UVNT shared memory addresses dynamic
|
||
|
* 04/30/97 20593 DTM Fixed WAIT3FN to WAIT3fn on Solaris/ICL
|
||
|
* 04/30/97 20049 PEJ Fixed UVRC_PATH for build on HPUX 9.04 & 10.01
|
||
|
* 04/25/97 20510 AGM Add define to say if performance data should be compiled in
|
||
|
* 04/22/97 20485 AGM Adjust NT shared memory addresses
|
||
|
* 04/08/97 20260 DJD Moved shared memory segment for NT.sx
|
||
|
* 12/16/96 19050 DW Add DataStage (reserve seed key) as a base product.
|
||
|
* 11/05/96 19535 AGM Rever FLOAT_ERROR to 0 on MSWIN
|
||
|
* 10/30/96 19535 AGM MSWIN should have FLOAT_ERROR set to 2
|
||
|
* 10/29/96 18595 SAP Set UVRC_PATH to /etc/uv.rc for HPUX 9.0.
|
||
|
* 10/28/96 18595 SAP Changed UVRC_PATH for the HP.
|
||
|
* 10/18/96 17907 SAP Updated shared mem addrs for Solaris & dg intel.
|
||
|
* 10/15/96 19443 ALC Completed fix and make MACtest as per MACHINE
|
||
|
* 10/14/96 19443 ALC Modified NT to use a MACHINE type of 17
|
||
|
* 10/01/96 17907 SAP Updated shared memory addresses for DEC_ALPHA & SGI.
|
||
|
* 09/26/96 19334 AGM define ACCESS_H for NT
|
||
|
* 09/23/96 19310 SAP Removed DEC_ALPHA Nmemoff value.
|
||
|
* 09/23/96 19310 SAP Update Nmemoff for IBM & Dec Alpha.
|
||
|
* 09/03/96 19171 DJD Changes BSHDISPATCH to SHDISPATCH and BAT to DOS.
|
||
|
* 09/02/96 19158 DJD Changes Mfiles to 200 on NT.
|
||
|
* 09/03/96 19175 SAP Port uniVerse 9 to HP-UX 9.04.
|
||
|
* 08/29/96 19148 SAP Add NO_NLIST for ICL port to 8.
|
||
|
* 08/28/96 18133 SAP Only def SHADOW_FILE for HP-UX 10.
|
||
|
* 08/27/96 18133 SAP define SHADOW_FILE for HP.
|
||
|
* 08/01/96 18133 MAA Turned ANSI to 1 for HP.
|
||
|
* 07/22/96 18922 ALC Modified to use our own access() on NT product
|
||
|
* 07/26/96 17907 SAP Removed define TIMEucb from DEC_ALPHA definition.
|
||
|
* 05/17/96 18456 JJV Added TAPE_BUFFALIGN values for MIPS tape support.
|
||
|
* 05/22/95 18488 DJD Added CPUTIME to the MSWIN defines.
|
||
|
* 05/08/96 18389 GMM Put back old addresses for WINNT
|
||
|
* 05/01/96 18389 EAP Updated shared memory address for AVIION,Solaris
|
||
|
* and WINNT
|
||
|
* 04/25/96 18335 PNV Added RM600 seed and definitions for Siemens Nixdorf
|
||
|
* 04/09/96 17935 JC Fixed UNICODE functionality to always use definition of
|
||
|
* wchar_t in typedef.h
|
||
|
* 03/29/96 17935 JC Addition of ANSI_MALLOC_WITH_WCHAR_T
|
||
|
* 03/08/96 17522 ALC Make NT version use TRUNCfn 2 (chsize).
|
||
|
* 03/22/96 18186 AGM Update USE_SELECT comment for WINNT
|
||
|
* 03/15/96 17931 MGM Turn HAS_LANGINFO for SGI
|
||
|
* 03/13/96 17931 NXC Put spinlock in SGI
|
||
|
* 02/07/96 17972 PNV Port 8.3.3 to Unisys (CT486).
|
||
|
* 01/15/96 17042 AGM Remove spurious ALIGN_OK after MSWIN section
|
||
|
* Fix DF_NAME on MSWIN
|
||
|
* 01/09/96 17723 PNV Added WAIT3fn for SCO since it's there at 5.0
|
||
|
* 12/13/95 17399 FRA Port to stratus continuum
|
||
|
* 12/05/95 17643 NXC Added TRUNCfn = 1 to UNIVEL
|
||
|
* 12/04/95 17411 DAS Changes for ptx port; remove SEQUENT section
|
||
|
* 11/17/95 17643 NXC Added TRUNCfn = 1 to STRATUS_I860 machine
|
||
|
* 11/13/95 17569 PNV Changed Dmemoff, Pmemoff, and Cmemoff for NCR486
|
||
|
* 11/13/95 17555 NXC Fixed SHMMSYM for UNIVEL.
|
||
|
* 11/13/95 17635 NXC Fixed catalog shared memory segment for DECALPHA.
|
||
|
* 10/27/95 17568 PNV Port to SCO OpenServer 5.0
|
||
|
* 10/26/95 17556 NXC Port to Stratus.
|
||
|
* 10/25/95 17555 NXC Port to UNIVEL.
|
||
|
* 10/24/95 17549 NXC Port to Solaris changed ALIGN_OK to 0.
|
||
|
* 26/09/95 17379 JJV Added BATDISP_PATH,CSHDISP_PATH,BSHDISP_PATH shell path defaults.
|
||
|
* 08/17/95 17197 AGM Add Windows 95 support
|
||
|
* 09/21/95 17354 EAP Fixed Nmemoff definition
|
||
|
* 09/20/95 17354 EAP Changed NLS shared memory attach address
|
||
|
* 09/11/95 16879 SHK Turn off ALIGN_OK for Solaris platform
|
||
|
* 09/11/95 17319 SJM Added MAX_2NAME define for WINNT
|
||
|
* 08/25/95 16336 SPR Added the preprocessor defines for SHADOW_FILE
|
||
|
* 08/24/95 14501 NXC Change Catalog space to 10Mb on Motorola and DECALPHA
|
||
|
* 08/23/95 17242 AGM Replace COMPUTER==WINNT test by MSWIN test
|
||
|
* 08/23/95 17242 AGM Add MS_WIN and WIN_32 flags to WINNT
|
||
|
* 08/22/95 14501 FRA Change Catalog space to 10Mb on DGUX and IBM
|
||
|
* 08/17/95 17204 SJM Change ALIGN_OK for WINNT
|
||
|
* 08/08/95 17042 MK Added DF_NAME for avail verb
|
||
|
* 08/08/95 16667 FRA Change Cmemoff Pmemoff and Dmemoff on DGUX
|
||
|
* 07/31/95 16711 GMM Added MAX_LONGNAME_PATH token
|
||
|
* 07/17/95 16713 AGM No UV_TEMPDIR on WINNT - no default tunable!
|
||
|
* 07/12/95 15927 MK Changed FCNTL_H to OS_FCNTL_H
|
||
|
* 06/26/95 16770 SJM Rename link macro according to use.
|
||
|
* 06/27/95 16739 SPR More HP/UX 8.3.3.1 porting changes.
|
||
|
* 06/20/95 16739 SPR More HP/UX 8.3.3.1 porting changes.
|
||
|
* 06/20/95 16739 SPR Port of 8.3.3.1 to HP/UX 10.0
|
||
|
* 06/14/95 15077 GMM Added shared memory offsets for NT
|
||
|
* 05/21/95 16358 AGM Fix SY_TIME_H for WINNT
|
||
|
* 05/19/95 16414 SHK Change MT_type's to MT_typ's
|
||
|
* 05/18/95 16489 FRA Port to IBM RS6000
|
||
|
* 05/17/95 16542 SJM Added NLIST.H define for WINNT
|
||
|
* 05/11/95 16358 AGM Added DIRSIZ for WINNT
|
||
|
* 05/12/95 16091 SPR Port of 8.3.2.1 to the Brahma.
|
||
|
* 04/12/95 16313 SJM Sorted NT signal handling
|
||
|
* 05/11/95 16511 GMM Changed SY_STAT_H to OS_STAT_H for HP port change.
|
||
|
* 05/10/95 16418 SPR 8.3.2.1 Port to the HP.
|
||
|
* 04/19/95 16244 GMM Changed use of SY_STAT_H to OS_STAT_H
|
||
|
* 05/03/95 16466 FRA Port to AViiONX86
|
||
|
* 04/24/95 12254 SHK Add floppy support for DG and HP platforms
|
||
|
* 04/18/95 16358 AGM Add CTYPE_OK = 0 for WINNT
|
||
|
* 03/20/95 16141 SJM Removed NGROUPS for NT, this is now in uid.h
|
||
|
* 03/28/95 16230 SJM Changed SIGNAL_H for NT
|
||
|
* 03/07/95 16069 GMM Added definition of UVEXEC_H for NT
|
||
|
* 02/15/95 15853 SJM Added PWD_H and GRP_H defs for NT
|
||
|
* 02/15/95 15915 GMM Added MACtest and U_SORT value for NT
|
||
|
* 02/28/95 16013 SPR Port of 8.3.2 to the NCR486.
|
||
|
* 02/27/95 15188 SHK Use uv.rc on HP rather than /etc/rc
|
||
|
* 02/27/95 15611 SHK Port rel 8 to Pyramid
|
||
|
* 02/27/95 15612 SHK Port rel 8 to Unisys
|
||
|
* 02/27/95 15883 FRA Port to SGI
|
||
|
* 02/24/95 16050 SPR Implement ANSI-compliant DATA->TEXT for AViiON
|
||
|
* 02/24/95 16049 GMH Comment out AViiON Defintions
|
||
|
* 02/21/95 15992 SPR Removed hardcoded shared memory offsets for the
|
||
|
* AViiON.
|
||
|
* 02/07/95 15700 MK Added link Macro to resolve conflict between UNIX
|
||
|
* and Windows NT
|
||
|
* 02/02/95 15893 SHK Port 8 to VTANDEM
|
||
|
* 02/02/95 15892 SHK Define include files for enc88k
|
||
|
* 02/02/95 15894 SHK Port to UNIVEL
|
||
|
* 02/02/95 15884 FRA Port to Stratus
|
||
|
* 02/01/95 15883 FRA Port to SGI
|
||
|
* 11/22/94 15736 EAP Added default define of Nmemoff
|
||
|
* 01/16/95 15694 SHK Port to SUNX86
|
||
|
* 01/09/95 15166 GMM Defined SY_TIMES_H for NT
|
||
|
* 01/06/95 15408 SHK Turn on ALIGN_OK for Solaris
|
||
|
* 12/20/94 15077 GMM Added changes for NT platform
|
||
|
* 01/03/95 15644 MAA Fixed defined for PUB_RO.
|
||
|
* 12/30/94 15644 MAA Defined {PRI,PUB}_{RO,RW} for the AViiON
|
||
|
* 12/30/94 14915 MGM Set TRUNCfn to 2 for SCO386
|
||
|
* 11/17/94 15335 FRA Port Release 8 to RS6000 set OURMALLOC to 0.
|
||
|
* 11/15/94 15078 SJM Munged for new build.
|
||
|
* 10/19/94 14752 SHK Change USE_SELECT value for Motorola
|
||
|
* 10/19/94 15105 SHK Change uv tunables for SCO platform
|
||
|
* 10/19/94 15140 SHK Turn on SHMBASE_INDIRECT for DEC AXP
|
||
|
* 09/26/94 14983 SPR Set SHM_OK for the DG AViiON.
|
||
|
* 09/14/94 14933 SHK Turn off CCI_DIR for SCO386
|
||
|
* 09/14/94 14759 SHK Adjust shared memory offsets for SCO386
|
||
|
* 08/26/94 14782 SHK Adjust shared memory offsets for DG
|
||
|
* 08/26/94 14753 SHK Adjust shared memory offsets for DEC AXP & M88K
|
||
|
* 08/25/94 14782 SPR Port of FiiRESTORM general purpose optimizations
|
||
|
* to release 8.
|
||
|
* 08/24/94 14769 SPR Defined NGROUPS as NGROUPS_UMAX from param.h.
|
||
|
* 08/25/94 14721 FAI Added /etc/uv.rc for SEQUOIA.
|
||
|
* 08/24/94 14581 SPR Added NGROUPS for the pyramips.
|
||
|
* 07/16/94 13520 FAI Port to SGI.
|
||
|
* 07/14/94 13587 SHK Take out NO_CSH for VTANDEM
|
||
|
* 06/21/94 12629 SPR Changed SERPRMODULE from ld to ld0 for the PTX.
|
||
|
* 06/16/94 14046 SHK Add MAXDIRLEN for ENC88K
|
||
|
* 06/16/94 13587 SHK Add NGROUPS for vtandem
|
||
|
* 06/16/94 13588 SHK Add NGROUPS for univel
|
||
|
* 06/16/94 14241 SHK Add NGROUPS for ICL
|
||
|
* 06/15/94 14242 SPR Added NGROUPS for the NCR486.
|
||
|
* 06/03/94 13299 SPR Added MAXDIRLEN for the PTX.
|
||
|
* 05/24/94 13213 SHK Add MAXDIRLEN for SCO
|
||
|
* 05/19/94 13214 SHK Turn on ASM_sem for Solaris
|
||
|
* 05/10/94 13214 SHK Port 7.3.3 to Solaris
|
||
|
* 03/28/94 13292 SHK Define INDEXfn for DEC AXP
|
||
|
* 03/18/94 13064 SPR Corrected MAIL_PATH for the DEC5400
|
||
|
* 03/15/94 13213 SHK Define NGROUPS for SCO386
|
||
|
* 03/10/94 13214 SHK Define NGROUPS for Solaris
|
||
|
* 03/10/94 13212 SHK Define NGROUPS for M88KSVR4
|
||
|
* 10/01/93 12406 ALC .profile is executed from uvhome directory so the
|
||
|
* PATH can use `pwd` instead of cat /.uvhome,
|
||
|
* this is then correct for multi-user uniVerses.
|
||
|
* 02/28/94 13158 DMK Added define for Local Terminal Character support
|
||
|
* on IBMrios.
|
||
|
* 02/23/94 13107 SPR Added SIGNAL_H to NCR486 defines.
|
||
|
* 02/11/94 12946 SHK Change MAX_2NAME for mips
|
||
|
* 01/26/94 12382 SHK Port 7.3.2 to univel
|
||
|
* 01/21/94 12810 SHK Added MAIL_PATH for DEC AXP
|
||
|
* 12/07/93 12282 SPR Do not define DIR_SV3 for SVR4 machines if the
|
||
|
* build machine is the AViiON.
|
||
|
* 11/09/93 12408 SHK Turn on TIMEucb flag for DEC AXP
|
||
|
* 10/29/93 12282 SPR Added SVR4 to the AViiON defines.
|
||
|
* 10/24/93 12357 KAM Increment user malloc space to 35 meg.
|
||
|
* 10/20/93 12408 SHK Change UVRC_PATH for DEC AXP at 7.3.2
|
||
|
* 10/18/93 12411 SPR Corrected COMP_NAME for the MIPS.
|
||
|
* 10/07/93 12382 FAI Port to Univel.
|
||
|
* 10/06/93 12331 FAI Took out TIMETYPE. Use time_t, instead.
|
||
|
* 10/05/93 10978 SHK Adjust UVRC_PATH and MACHINE for DEC AXP
|
||
|
* 09/22/93 12084 SPR Added define for HAS_LANGINFO to the AViiON rules
|
||
|
* 09/17/93 12276 MAA Defined value of seed for NT_INTEL
|
||
|
* 09/08/93 12220 DWT Port 7.3.2 to ptx
|
||
|
* 09/08/93 12217 SHK Port 7.3.2 to SCO
|
||
|
* 08/27/93 10415 SHK Added WHAT_NAME for ENC88K
|
||
|
* 08/24/93 11817 SPR Defined SVR4 for the Unisys 6000/65.
|
||
|
* 08/03/93 11915 DWT Port to sparc.
|
||
|
* 08/03/93 11916 DWT Added WAHT_NAME for icl.
|
||
|
* 08/02/93 10978 SHK Additional changes for DEC AXP
|
||
|
* 08/02/93 11869 SPR Added ASM_sem to the DEC5400 defines.
|
||
|
* 08/02/93 10978 SHK Port to DEC AXP
|
||
|
* 07/28/93 11865 SHK Added WHAT_NAME for Solaris
|
||
|
* 07/20/93 11840 DWT Port rel 7 to ptx.
|
||
|
* 07/20/93 11817 SPR Added WHAT_NAME for the Unisys 6000/65 definition.
|
||
|
* 07/02/93 11777 MAA Changed attach points for the pyramips.
|
||
|
* 06/30/93 11749 FAI Added SPOOL_DIR macro
|
||
|
* 06/30/93 11749 FAI Port to FTX 2.2.
|
||
|
* 06/30/93 11329 SHK Set memory offsets for M88KSVR4
|
||
|
* 06/29/93 11714 SPR Set DIR_SV3 and CCI_DIR for the WYSE.
|
||
|
* 06/29/93 11748 DWT Correct mistake.
|
||
|
* 06/28/93 11747 DWT port to tandem.
|
||
|
* 06/28/93 11748 DWT Add SVR4 section and delete redundancy.
|
||
|
* 06/22/93 11329 SHK Port to M88KSVR4 (set MEMbcps)
|
||
|
* 06/03/93 11357 FAI Fixed LONGNAMES for SCO.
|
||
|
* 06/03/93 11592 DWT Port 6.3.4.5 to s4040.
|
||
|
* 06/02/93 8727 FAI Change ETC_UVRC for Sequoia.
|
||
|
* 05/28/93 10984 SHK Set CCI_DIR to 1 for SCO
|
||
|
* 05/24/93 9762 WLG Add SIG_ucb 3 for IBMrios.
|
||
|
* 05/07/93 11236 DWT Add SY_STAT_H and UV_HOME for ncr486.
|
||
|
* 05/06/93 11329 SHK Port to M88KSVR4
|
||
|
* 04/27/93 11333 DWT Change uvhome path in SEARCH_PATH to `cat /.uvhome`.
|
||
|
* 04/20/93 11326 DWT Change MEMfunc and MEMbcps for new88k.
|
||
|
* 04/20/93 11290 DWT Port to icl.
|
||
|
* 04/20/93 10379 PVW add UVBACKUP_BLKMAX for uvbackup/uvrestore
|
||
|
* 04/20/93 11285 MAA Port 6.3.4.3 to demo.
|
||
|
* 04/14/93 11320 MAA Corrected MEMbcps and MEMfunc flags.
|
||
|
* 04/13/93 11181 SPR Took out three extraneous quotes.
|
||
|
* 04/12/93 11162 SPR Set DIR_SV3 to 1 for the SCO.
|
||
|
* 04/09/93 11302 SPR Added OURCLOSEDIR, MAX_2NAME, POSIX_conform and
|
||
|
* OURMALLOC to the SCO define.
|
||
|
* 04/09/93 10976 SPR defined SIGNAL_H as "uvsignal.h" for the SCO.
|
||
|
* 04/06/93 11291 SPR Increased user memory space on the DG AViiON.
|
||
|
* 03/23/93 11236 DWT Port 6.3.4.2 to ncr486.
|
||
|
* 03/19/93 11164 DWT Port 6.3.4.2 to tandem.
|
||
|
* 03/08/93 11142 FAI Port it ICL DRS6000.
|
||
|
* 02/28/93 11131 GMH Disable MEMbcps for DCOSX Pyramips
|
||
|
* 02/25/93 9799 WLG Added TRUNCfn 1 for CT486 since spc3 has
|
||
|
* ftruncate.
|
||
|
* 01/06/93 10795 JWT Low level optimizations
|
||
|
* 12/18/92 10758 FAI Created TERMINFO_DIR #define.
|
||
|
* 12/17/92 10751 FAI Added entry for Solaris.
|
||
|
* 12/15/92 10722 SPR Added SIGNAL_H to the HP.
|
||
|
* 11/30/92 10117 SPR Changed the value for Cmemsize on the HP to 10MB .
|
||
|
* 11/30/92 10642 SPR Added the correct values for MEMbcps, MEMfunc,
|
||
|
* ASM_sem & ALIGN_OK for the CT486.
|
||
|
* 10/27/92 10480 FAI Make SPARC use system memchr().
|
||
|
* 10/23/92 10443 FAI Make DEC5400 use SYSV ttys.
|
||
|
* 10/23/92 10415 MAA Port of uniVerse to the encore series 90 (88k).
|
||
|
* 10/07/92 9857 SPR Set RND_int and added new define INT_LIMIT on
|
||
|
* the HP for use in Frnd.
|
||
|
* 10/01/92 9537 WLC Change PYR to have SY_STAT_H set to att version.
|
||
|
* 9315 spooler code needs access to sys_errlist which
|
||
|
* 9278 is only found in at&t version.
|
||
|
* 09/28/92 10292 FAI Increase Cmemsize for CT_miti
|
||
|
* 09/23/92 9878 FAI Port to Unisys 6000/65.
|
||
|
* 09/18/92 10241 MAA Defined SEARCH_PATH for the tandem.
|
||
|
* 09/16/92 9953 MAA Port of 6.3.3 to the pyramid-T.
|
||
|
* 09/16/92 10201 MAA Port of 6.3.3 to the tandem.
|
||
|
* 08/19/92 10078 FAI Turned on SHMBASE_INDIRECT for CT_miti.
|
||
|
* 08/10/92 10006 FAI Took out TIMEucb for IBMrios.
|
||
|
* 08/10/92 10004 TMC added platform names to what strings
|
||
|
* 08/07/92 9799 WLC Changed TRUNCfn to 1 for ENC510,IBMrt,MIPS,HP,
|
||
|
* IBMrios,NCL,PYR_DCOSX,NCR486. These machines
|
||
|
* have ftruncate()
|
||
|
* 07/28/92 9893 FAI Enlarged Disk shared memory potential for SPARC.
|
||
|
* 07/24/92 9943 SPR Port of 6.3.3.3 to the Unisys 6000/50 (spc)
|
||
|
* 07/17/92 9169 PVW Turned on TIMEucb flag for IBMrios.
|
||
|
* 06/01/92 9618 MAA Port of 6.3.3 to arix.
|
||
|
* 04/16/92 7782 FAI Fixed shared memory offsets for SPARC.
|
||
|
* 04/02/92 9389 MAA Port of 6.3.2 to the sequent
|
||
|
* 04/01/92 9126 FAI Corrected entry for TI1500.
|
||
|
* 03/27/92 9238 MAA Corrected parallel line discipline module for PTX
|
||
|
* 03/05/92 9263 MSW Port of 6.3.2 to ISC.
|
||
|
* 02/27/92 9238 MAA Abstracted line discipline modules to be pushed.
|
||
|
* 02/10/92 9086 MAA Ported 6.3.2 to the pyramips.
|
||
|
* 02/10/92 9159 MSW Port of 6.3.2 to S4040.
|
||
|
* 01/29/92 9127 MSW Added ASM_sem to Bull NCL
|
||
|
* 01/29/92 9126 FAI 6.3.2 port to TI1500.
|
||
|
* 01/28/92 9086 MAA port of uvnet to pyramips at 6.3.2
|
||
|
* 01/27/92 9121 FAI Fixed Dmemoff for TI1500.
|
||
|
* 01/17/92 9086 MAA Ported 6.3.2 to the pyramips.
|
||
|
* 01/03/92 9054 LPC Define HP as POSIX_conform
|
||
|
* 12/03/91 8451 FAI Added #defines for PORT.STATUS for IBMrios.
|
||
|
* 11/18/91 8188 MAA Created PUSH_DISC flag for streams based spooler.
|
||
|
* 11/14/91 8907 TMC use poll for microsec sleep (USE_SELECT==2)
|
||
|
* 11/07/91 8889 MSW Add new machine ISC. (Interactive Unix)
|
||
|
* 10/28/91 8697 MAA Changed CPUTIME to 60.0 for the sysV88.
|
||
|
* 10/24/91 8858 FAI Changed location of csh for NCR.
|
||
|
* 10/23/91 8860 MAA Changed location of the uv.rc file to /etc/rc2.d
|
||
|
* 10/23/91 8858 FAI Release 6 port to NCR 6x0.
|
||
|
* 10/15/91 8824 MAA corrected use of POSIX_conform.
|
||
|
* 10/09/91 8804 MAA Add ability to change memory boundary.
|
||
|
* 10/09/91 8383 MAA Port of PTX to 6.3.1
|
||
|
* 08/22/91 8660 MSW Port to SUN3. TABSZ's to 300 and new attach points.
|
||
|
* 08/22/91 8658 FAI Changed MACHINE for STRATUS.
|
||
|
* 08/17/91 8383 MAA Port of PTX to 6.3.1
|
||
|
* 08/17/91 8633 MAA Port of Sequent to 6.3.1
|
||
|
* 08/15/91 8630 MSW Port to ARETE.
|
||
|
* 08/06/91 6818 FAI #define SEMUN for SUN.
|
||
|
* 07/29/91 8597 MAA Removed references to COMPUTER ENCORE.
|
||
|
* 07/17/91 7018 FAI Added MAX_2NAME for SUN.
|
||
|
* 07/15/91 7718 FAI Added SHM offsets for NCR486.
|
||
|
* 07/03/91 8553 SPR changed MEMbcps and CCI_DIR for the SCO
|
||
|
* 07/01/91 8542 MSW Defined MAX_2NAME for the Bull NCL.
|
||
|
* 06/27/91 8524 MAA Set FLOAT_ERROR to 2 for sysV88.
|
||
|
* 06/24/91 8020 FAI Defined MAX_2NAME for STRATUS.
|
||
|
* 06/22/91 8514 MAA Port of release 6 to the wyse.
|
||
|
* 06/22/91 8513 MAA Port of release 6 to mips os.
|
||
|
* 06/21/91 8511 MAA Corrected MEMbcps, MEMfunc and CCI_DIR for encore.
|
||
|
* 06/17/91 6076 MAA Set MEMfunc to 1 for the VAX.
|
||
|
* 06/17/91 8384 MAA Corrected the shared memory attach points for sysV88.
|
||
|
* 06/09/91 8384 MAA Correctly defined MEMbcps and MEMfunc for m88k.
|
||
|
* 06/09/91 8017 FAI Support LONGNAMES for SPARC.
|
||
|
* 06/09/91 8020 FAI Added SHMISYM, SHMSYM, and SYSV_AOUT for Stratus.
|
||
|
* 06/07/91 7948 MAA Defined MAX_2NAME for the PTX.
|
||
|
* 06/07/91 8241 MAA Fixed MEMbcps and MEMfunc flags for wyse.
|
||
|
* 05/31/91 8411 TMC Port UVNET to rios
|
||
|
* 05/30/91 8383 MAA Port of release 6 to PTX.
|
||
|
* 05/26/91 8384 MAA Port of release 6 to sysV88.
|
||
|
* 05/17/91 8363 FAI Changed CPUTIME for RS/6000.
|
||
|
* 05/17/91 8241 MAA Changed wyse to use assembly language semaphores.
|
||
|
* 05/10/91 8249 TMC define USEOURCLOSEDIR for SPARC
|
||
|
* 05/08/91 8264 GMH added CCI_DIR flag to SCO definition.
|
||
|
* 04/26/91 7806 GMH fix use of CHOWNCALL
|
||
|
* 04/24/91 7990 JWT fix DEC5400 PORT.STATUS defines
|
||
|
* 04/24/91 8257 JWT update NIXDORF for SNI
|
||
|
* 04/18/91 8241 MAA Port to wyse.
|
||
|
* 04/17/91 8196 MAA Inverted memory map for the PTX.
|
||
|
* 04/09/91 8214 FAI Added LONG_pid defs.
|
||
|
* 03/22/91 8167 TMC port UVNET to pyramid
|
||
|
* 03/21/91 8134 JWT fix GCI error on encore
|
||
|
* 03/19/91 8145 FAI Took out ASM_sem define for SCO386.
|
||
|
* 03/19/91 8031 GMH Changed SEARCH_PATH for SCOunix.
|
||
|
* 02/27/91 8075 FAI Made IBMrios use our malloc(). Fixed CPUTIME.
|
||
|
* 02/27/91 8076 FAI Added ASM_sem and WAIT3fn for IBMrios.
|
||
|
* 02/22/91 8029 MAA Changed shared memory attach points for spc2.
|
||
|
* 02/22/91 7994 MAA Changed shared memory attach points for sequent.
|
||
|
* 02/14/91 8020 FAI Port to Stratus.
|
||
|
* 01/31/91 7841 FAI Created CCI_DIR flag.
|
||
|
* 01/25/91 7930 JWT Fix POSIX/ISO international code for Siemens/Nixdorf
|
||
|
* beta testing
|
||
|
* 01/25/90 7930 JWT added hardware flag HAS_LANGINFO
|
||
|
* 01/25/91 7945 FAI Made Bull DPX (NCL) use SYSV3 directories.
|
||
|
* 01/20/90 7680 MAA Change shared memory attach points for SPARC.
|
||
|
* 01/20/90 7926 MAA Made the SUN and the SPARC a SYSV tty machine.
|
||
|
* 01/14/91 7930 JWT Siemens/Nixdorf porting patch
|
||
|
* 12/03/90 7680 FAI Change shmseg attach points for SPARC.
|
||
|
* 11/30/90 7780 JWT set IEEE754 mode for DEC5400
|
||
|
* 11/30/90 7800 FAI Port to DG/UX 4.31.
|
||
|
* 11/16/90 7749 JWT added flags OURSLEEP and OURCLOSEDIR
|
||
|
* OURSLEEP when set to 1 will use sleep supplied by
|
||
|
* IN2 to avoid race condition. Default is 1.
|
||
|
* OURCLOSEDIR when set to 1 will use closedir supplied by
|
||
|
* MIPS to fix malloc error. Default is 0.
|
||
|
* 11/02/90 7647 MAA Created entry for the SEQUENT PTX.
|
||
|
* 10/31/90 7286 FAI #defined lconv to ulconv for SPARC.
|
||
|
* 10/18/90 7392 FAI Fixed longnames for IBMrios.
|
||
|
* 10/18/90 7575 FAI Fixed longnames for DEC5400.
|
||
|
* 10/16/90 7599 FAI Port to NCR486.
|
||
|
* 10/11/90 7582 MAA Changed TISWAP to 1 and #defined lconv to ulconv
|
||
|
* 10/06/90 7534 JWT Change CPUTIME to 100 for RS6000
|
||
|
* 09/20/90 7429 MAA Changed M8000 to M8310.
|
||
|
* 09/10/90 4944 TMC SCO386 needs net includes redefined
|
||
|
* 09/10/90 4944 TMC HP need INET_H to null.h
|
||
|
* 09/06/90 7418 MAA Added CPUTIME definition for the SEQUENT
|
||
|
* 08/07/90 7146 TMC Fixed HP tape on exclusive open read only needs ww
|
||
|
* 08/03/90 7346 TMC Added LIMITS_H and defined MAX_CHAR for ibmrt
|
||
|
* 08/01/90 7331 JWT change spooler installation
|
||
|
* 07/27/90 6722 FAI Changed MEMfunc and MEMbcps for MIPS.
|
||
|
* 07/26/90 4944 TMC Port to DEC 5400 for netowrking support
|
||
|
* 07/24/90 7310 MAA Added MACHINE and MACtest defs for sysV88
|
||
|
* 07/10/90 7265 FAI TISWAP = 1 for NCR and SPARC.
|
||
|
* 07/05/90 7039 JWT added UV_HOME define
|
||
|
* 06/28/90 7133 FAI Moved uv.rc location for IBMrios.
|
||
|
* 06/24/90 7230 FAI Fixed semun redefinition for SPARC.
|
||
|
* 06/21/90 ---- JWT Test port of release 6 to SUN3 - sunos 4.1
|
||
|
* 06/19/90 ---- JWT Test port of release 6 to SUN3 - sunos 4.1
|
||
|
* 06/13/90 4944 TMC Network phase II
|
||
|
* 06/08/90 7163 JWT new dtoa
|
||
|
* 05/23/90 7106 TJR changed directory access for 88k
|
||
|
* 05/25/90 7104 FAI Moved uv.rc for ARETE.
|
||
|
* 05/25/90 6989 TMC fixed SEEK_CUR for BSD with defines
|
||
|
* 04/20/90 7035 JWT internal getuno for signature generation
|
||
|
* 04/18/90 5428 JWT fix CT hertz
|
||
|
* 04/06/90 6942 FAI Redefine malloc() calls if using ANSI malloc().
|
||
|
* 03/29/90 6972 JWT new semset logic
|
||
|
* 03/19/90 6941 FAI Fixed uv.rc placement for OLIVETTI.
|
||
|
* 03/12/90 6921 TJR Concurrent port
|
||
|
* 03/10/90 6917 JWT SCO unix port
|
||
|
* 02/21/90 6881 TJR define ACCESS_H for Pyramid (due to HP rel7)
|
||
|
* 02/09/90 6872 FAI Changed spaces to tabs for #define computer num.
|
||
|
* 02/09/90 6871 JWT Add support for IEEE 754 floating point standard
|
||
|
* See comment for FLOAT_ERROR below for details
|
||
|
* 02/03/90 6859 FAI Changed malloc, etc. to _malloc, etc. for DG.
|
||
|
* 01/29/90 6246 FAI Added ASM_sem for AViiON.
|
||
|
* 01/26/90 6738 JWT make DIR_SV3 use readdir
|
||
|
* 01/26/90 6351 FAI Added defines for RIOS.
|
||
|
* 01/19/90 6797 KIS Increased Pmemoff & Cmemovv for SEQUENT
|
||
|
* 01/19/90 6808 added sysV88 changes
|
||
|
* 01/18/90 6807 added CLIPPER changes
|
||
|
* 01/18/90 6194,6425 fixed Phantom bug on NEC and Olivetti
|
||
|
* 01/18/90 6796 FAI Added F_OK, etc. for NIXDORF.
|
||
|
* 01/17/90 6762 TJR Moved rc script for mips
|
||
|
* 01/04/90 6753 FAI Changed shmem attach points for MIPS.
|
||
|
* 01/04/89 6758 JWT HP ASM_sem support
|
||
|
* 11/29/89 6651 JSM Change CPUTIME for NCL.
|
||
|
* 11/29/89 6651 JSM Changes to NCL for 5.4.
|
||
|
* 11/29/89 6651 JSM Changes to XPS for 5.4.
|
||
|
* 11/21/89 6207 FAI Port to BULL NCL.
|
||
|
* 11/17/89 6497 FAI Port to DEC 5400.
|
||
|
* 11/16/89 6561 FAI Changed MEMfunc to 3 for SEQUENT.
|
||
|
* 11/16/89 6372 TJR Changed CPUTIME to 100 for MIPS.
|
||
|
* 11/15/89 6375 FAI Changed CPUTIME to 100 for HP.
|
||
|
* 10/31/89 6452 KIS Added CTYPE_OK = 0 for Magnum
|
||
|
* 10/26/89 6424 TJR Olivetti EDGE port
|
||
|
* 10/25/89 6246 FAI Relocated uv.rc for AViiON.
|
||
|
* 10/19/89 6410 TJR NEC changes
|
||
|
* 10/06/89 6357 FAI Add NO_CSH for M8310.
|
||
|
* 10/03/89 6351 FAI Port to IBMrios.
|
||
|
* 09/26/89 6309 JWT HP longnames
|
||
|
* 09/08/89 6146 FAI Added machine-dependent stuff from loadfile.
|
||
|
* 09/05/89 6246 FAI Port to AViiON.
|
||
|
* 08/24/89 6072 JWT tunable disk locking
|
||
|
* 08/29/89 6207 FAI Changed XPS shared memory attach points for Bull-NCL.
|
||
|
* 08/15/89 6217 JWT Sequent DATA->TEXT changes
|
||
|
* 08/14/89 6217 JWT sequent data->text
|
||
|
* 08/01/89 6189 JSM Added CTYPE_OK 0 for 386.
|
||
|
* 08/01/89 6188 FAI Make CCI use our memcpy.
|
||
|
* 07/31/89 6150 JWT R+R 800 data to text
|
||
|
* 07/24/89 6171 FAI fixed byte-swapping comments and CCI MACHINE type.
|
||
|
* 07/20/89 6104 TJR fix s386i branch
|
||
|
* 07/17/89 6156 JSM Added CTYPE_OK as 0 to ATT 3b2.
|
||
|
* 07/17/89 6155 FAI Changed READUMX to 6000.
|
||
|
* 06/28/89 6077 GPS TCP/IP networking additions for Eurotech
|
||
|
* 06/19/89 5862 TJR define F_OK for XPS, fixed TOOSMALL
|
||
|
* 06/19/89 6076 TJR Port to VAX
|
||
|
* 06/14/89 6067 TJR added XPS, removed "bogus" comments
|
||
|
* 06/06/89 6052 JWT Changes for 5.3.1.5
|
||
|
* 05/15/89 5977 JWT Port to M8310
|
||
|
* 05/04/89 5974 FAI raised Cmemoff and Pmemoff for increased READUMX
|
||
|
* 05/04/89 5994 DTW set shared mem attach point for BULL
|
||
|
* 05/02/89 4702 DTW cat shm attach for arete and CTYPE_OK for NCR
|
||
|
* 04/27/89 5974 JSM Increased READUMX for ARETE
|
||
|
* 04/28/89 5977 GPS Port to M8310;set gpflag to 1
|
||
|
* 04/27/89 5974 JSM Added SY_DIR_H and CTYPE_OK fixes for ARETE
|
||
|
* 04/25/89 5878 DTW data to text for NCR
|
||
|
* 05/10/89 5923 TJR SEQUOIA
|
||
|
* 04/10/89 5934 GPS Port to BULL
|
||
|
* 05/10/89 5933 TJR NIXDORF
|
||
|
* 05/09/89 5928 TJR added IN2
|
||
|
* 04/05/89 5920 GPS Port to HP for release 5.3.1
|
||
|
* 04/05/89 5919 GPS Increase READUMAX and Cmemsize for IBMRT.
|
||
|
* 03/28/89 5894 DTW changes to NCR defns
|
||
|
* 03/14/89 5862 TJR XPS
|
||
|
* 02/28/89 5817 TJR Olivetti
|
||
|
* 01/28/89 5739 JWT New include file mapping scheme
|
||
|
* 01/23/89 5725 GPS set ALIGN_OK to 1 for 68xxx,386 etc,and default to 0
|
||
|
* 01/20/89 5864 TJR port to MIPS
|
||
|
* 01/11/89 5864 TJR port to MIPS
|
||
|
* 12/30/88 5560 DTW define MKDIR for ARETE
|
||
|
* 12/15/88 5549 GPS Fix block size problem on NCR tape drives
|
||
|
* 11/10/88 5580 JWT Turn on ASM_sem flag for NCR800 per R+R
|
||
|
* 10/26/88 5556 GPS Remove FALCON
|
||
|
* 10/20/88 5526 TJR fix for Bull, removed second ioctl flag
|
||
|
* 10/05/88 5234 TJR user configurable wide zero
|
||
|
* 07/27/88 5190 GPS 386 floppy addition
|
||
|
* 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
|
||
|
*
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/* Supported computer's are:
|
||
|
|
||
|
ARETE Unisys S5000 SYSTEM V
|
||
|
ARIX ARIX System 90 POSIX
|
||
|
ATT3b1 AT&T 3b1 SYSTEM V
|
||
|
ATT3b2 AT&T 3b2 SYSTEM V
|
||
|
ATT3b5 AT&T 3b5 SYSTEM V
|
||
|
ATT3b15 AT&T 3b15 SYSTEM V
|
||
|
AViiON Data General AViiON SYSTEM V
|
||
|
BULL Honeywell-Bull Questar 700 SYSTEM V
|
||
|
CT_mini Convergent Miniframe CTIX
|
||
|
CT_miti Convergent Mightyframe CTIX
|
||
|
DEC5400 Digital 5400 Ultrix
|
||
|
NCR NCR Tower 32 SYSTEM V
|
||
|
NCL Bull NCL SYSTEM V
|
||
|
PYR Pyramid 90x OSx (Combined universe)
|
||
|
PYR_att Pyramid 90x OSx (att universe)
|
||
|
PYR_ucb Pyramid 90x OSx (ucb universe)
|
||
|
RR_t32 R+R NCR Tower 32 SYSTEM V
|
||
|
NCR486 NCR 486 SYSTEM V Release 4
|
||
|
IBM RT IBM IBMrt AIX
|
||
|
IBM RIOS IBM IBMrios AIX
|
||
|
ENC510 Encore Multimax 510 SYSTEM V
|
||
|
ENC88K Encore Series 90 SYSTEM V
|
||
|
MAGNUM Prime EXL SYSTEM V
|
||
|
CT386 Convergent Server PC SYSTEM V
|
||
|
CT486 Unisys 6000/65 SYSTEM V Release 4
|
||
|
SCO386 SCO unix on generic 386 PC SYSTEM V
|
||
|
Concurrent RTU SYSTEM V
|
||
|
STRATUS Stratus Model 80 FTX
|
||
|
I860 Stratus Model R/25 FTX 2.2 (SVR4)
|
||
|
ISC Interactive unix on 486 PC SYSTEM V
|
||
|
VTANDEM Tandem A22 Non-stop UX SYSTEM V.4
|
||
|
Solaris Sun Sparc SYSTEM V.4
|
||
|
RM600 Siemens Nixdorf RMxxx SINIX 5.42
|
||
|
DEC_ALPHA Dec AXP OSF1
|
||
|
M88KSVR4 Motorola M88K SYSTEM V.4
|
||
|
WINNT Microsoft Windows NT 3.51
|
||
|
SGI Silicon Graphics Iris SYSTEM V.4
|
||
|
SUNX86 Sun Solaris i86pc 5.4
|
||
|
AViiONX86 Data General ix86 SYSTEM V (INTEL Version)
|
||
|
CONTINUUM Stratus Model 610 FTX 3.0
|
||
|
WIN9X Microsoft Windows Windows 95 (and 96....)
|
||
|
*/
|
||
|
#define ATT3b1 1
|
||
|
#define ATT3b2 2
|
||
|
#define ATT3b5 3
|
||
|
#define ATT3b15 3
|
||
|
#define CT_mini 4
|
||
|
#define CT_miti 5
|
||
|
#define NCR 6
|
||
|
#define PYR 7
|
||
|
#define PYR_att 8
|
||
|
#define PYR_ucb 9
|
||
|
#define IBMrt 10
|
||
|
#define RR_t32 11
|
||
|
#define CCI 12
|
||
|
#define Apollo 13
|
||
|
#define MAGNUM 15
|
||
|
#define SEQUENT 16
|
||
|
#define BULL 17
|
||
|
#define NCR800 18
|
||
|
#define ARETE 19
|
||
|
#define CT386 21
|
||
|
#define NEC 22
|
||
|
#define SUN 23
|
||
|
#define M8310 24
|
||
|
#define HP 25
|
||
|
#define MIPS 26
|
||
|
#define ENC510 27
|
||
|
#define OLIVETTI 28
|
||
|
#define XPS 29
|
||
|
#define IN2 30
|
||
|
#define NIXDORF 31
|
||
|
#define SEQUOIA 32
|
||
|
#define SPARC 33
|
||
|
#define VAX 34
|
||
|
#define s386i 35
|
||
|
#define AViiON 36
|
||
|
#define IBMrios 38
|
||
|
#define NCL 39
|
||
|
#define OLI_EDGE 40
|
||
|
#define DEC5400 41
|
||
|
#define CLIPPER 42
|
||
|
#define M88KSVR4 43
|
||
|
#define sysV88 9999 /* M88KSVR4 has sysV88 seed # */
|
||
|
#define TI1500 44
|
||
|
#define SCO386 45
|
||
|
#define CONCURRENT 46
|
||
|
#define ARIX 47
|
||
|
#define NCR486 49
|
||
|
#define PTX 50
|
||
|
#define MX300I 51
|
||
|
#define SINIX 52
|
||
|
#define STRATUS 53
|
||
|
#define WYSE 54
|
||
|
#define ENC88K 55
|
||
|
#define ISC 56
|
||
|
#define PYR_DCOSX 57
|
||
|
#define CT486 58
|
||
|
#define ICL 59
|
||
|
#define VTANDEM 60
|
||
|
#define Solaris 61
|
||
|
#define DEC_ALPHA 62
|
||
|
#define I860 63
|
||
|
#define UNIVEL 64
|
||
|
#define WINNT 65
|
||
|
#define SGI 66
|
||
|
#define SUNX86 68
|
||
|
#define AViiONX86 69
|
||
|
#define CONTINUUM 70
|
||
|
#define WIN9X 71
|
||
|
#define RM600 72
|
||
|
#define LINUX 73
|
||
|
|
||
|
/* add DataStage as a base product - reserve a seed key for use
|
||
|
by authorization modules */
|
||
|
|
||
|
#define DATASTAGE 500
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
/* Network types */
|
||
|
#define OMNI 1
|
||
|
#define TCPIP 2
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
/* Microsoft Windows NT on all platforms */
|
||
|
|
||
|
#if COMPUTER == WINNT
|
||
|
|
||
|
# define MSWIN
|
||
|
# define WIN_32
|
||
|
# define WIN_NT
|
||
|
|
||
|
/* Shared memory addresses calculated dymamically... */
|
||
|
|
||
|
# define N_SHR_MEM_SEGS /* Number of types of segements */
|
||
|
|
||
|
# define DMEMOFF 0 /* Indexes for each segment type */
|
||
|
# define CMEMOFF 1
|
||
|
# define NMEMOFF 2
|
||
|
# define PMEMOFF 3
|
||
|
|
||
|
# define Dmemoff (UVGetShrMemAddr(DMEMOFF))
|
||
|
# define Cmemoff (UVGetShrMemAddr(CMEMOFF))
|
||
|
# define Nmemoff (UVGetShrMemAddr(NMEMOFF))
|
||
|
# define Pmemoff (UVGetShrMemAddr(PMEMOFF))
|
||
|
|
||
|
# define COMP_NAME "WINNT"
|
||
|
# define WHAT_NAME "%Z%UniVerse Platform: Microsoft Windows NT"
|
||
|
|
||
|
/* Include the performance monitor data... */
|
||
|
|
||
|
# define UV_PERFORMANCE_DATA
|
||
|
|
||
|
/* See the MSWIN section below for WIN9X and WINNT common defs */
|
||
|
|
||
|
#endif
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
/* Common definitions for Microsoft Windows based platforms */
|
||
|
|
||
|
#ifdef MSWIN
|
||
|
|
||
|
# define OS_TYPE "MSWIN"
|
||
|
|
||
|
# define ASM_sem
|
||
|
# define ALIGN_OK 0
|
||
|
# define CTYPE_OK 0
|
||
|
# define CPUTIME 1000.0
|
||
|
# define MACHINE 17
|
||
|
# define MACtest 17
|
||
|
# define SWAPbyt 1
|
||
|
# define OURMALLOC 0
|
||
|
# define TRUNCfn 2
|
||
|
# define STDLIB_H <stdlib.h>
|
||
|
# define ANSI 1
|
||
|
# define UV_HOME "\\Ardent\\uv"
|
||
|
# define UNI_SHARED "\\Ardent\\unishared"
|
||
|
# define NO_MEM_DECL 1
|
||
|
# define USE_SELECT 3
|
||
|
# define MEMfunc 1
|
||
|
# define OURSLEEP 1
|
||
|
# define sleep uvsleep
|
||
|
# define access nt_access
|
||
|
# define U_SORT "sort"
|
||
|
# define PIPE(x) _pipe((x), 16384, 0)
|
||
|
# define LINK_FOR_MOVE(p1,p2) ((MoveFile(p1,p2)==TRUE)?0:-1)
|
||
|
# define LINK_FOR_COPY(p1,p2) ((CopyFile(p1,p2,FALSE)==TRUE)?0:-1)
|
||
|
# define DIRSIZ MAX_PATH
|
||
|
# define SIGTYPE void
|
||
|
# define MAX_LONGNAME_PATH MAX_PATH
|
||
|
# define MAX_2NAME 253
|
||
|
# define UV_TMFILES 200
|
||
|
# define IS_64BIT_ADDR 1
|
||
|
#ifdef IS_64BIT_ADDR
|
||
|
# define UVLSEEK _lseeki64
|
||
|
# define UVOFFT __int64
|
||
|
# define UVOPEN open
|
||
|
# define DBDADDR __int64
|
||
|
# define UVINT __int64
|
||
|
# define UVFSTAT _fstati64
|
||
|
# define UVSTAT _stati64
|
||
|
# define UVSTATSTR _stati64
|
||
|
# define FEIGHTZERO 0xfffffffffffff800
|
||
|
# define FEZERO 0xfffffffffffffe00
|
||
|
# define FCZERO 0xfffffffffffffc00
|
||
|
#endif
|
||
|
/*
|
||
|
* The following constant is used for aligning tape i/o buffers for the
|
||
|
* alignment required by the platform.
|
||
|
*/
|
||
|
# ifdef _MIPS_
|
||
|
# define TAPE_BUFFALIGN 128
|
||
|
# else
|
||
|
# define TAPE_BUFFALIGN 8
|
||
|
# endif
|
||
|
/*
|
||
|
* define the MT_sysv value to an unused one for now
|
||
|
*/
|
||
|
# define MT_sysv 12
|
||
|
/*
|
||
|
* we want to use the SVR3 form of opendir functions
|
||
|
*/
|
||
|
# define DIR_SV3 1
|
||
|
/*
|
||
|
* define the maximum signed int value
|
||
|
*/
|
||
|
# define MAXINT 2147483647
|
||
|
/*
|
||
|
* define the flags for access()
|
||
|
*/
|
||
|
# define F_OK 0
|
||
|
# define X_OK 0 /* not on MSWIN */
|
||
|
# define W_OK 2
|
||
|
# define R_OK 4
|
||
|
|
||
|
# define ENV_log "USER"
|
||
|
/*
|
||
|
* define df name
|
||
|
*/
|
||
|
# define DF_NAME "avail.exe"
|
||
|
|
||
|
# define ERRNO_H "errno.h"
|
||
|
# define SOCKET_H "Winsock.h"
|
||
|
# define VARARGS_H "ntvarargs.h"
|
||
|
# define SY_TIMES_H "nttimes.h"
|
||
|
# define SY_TIME_H "time.h"
|
||
|
# define UVEXEC_H "uvexec.h"
|
||
|
# define PWD_H "uid.h"
|
||
|
# define GRP_H "uid.h"
|
||
|
# define SIGNAL_H "ntsignal.h"
|
||
|
# define ACCESS_H "ntaccess.h"
|
||
|
|
||
|
/*
|
||
|
* 'undefine' all the UNIX specific include files
|
||
|
*/
|
||
|
|
||
|
# define IN_H "null.h"
|
||
|
# define INET_H "null.h"
|
||
|
# define NETDB_H "null.h"
|
||
|
# define NLIST_H "null.h"
|
||
|
# define SGTTY_H "null.h"
|
||
|
# define SY_DIR_H "null.h"
|
||
|
# define SY_FILE_H "null.h"
|
||
|
# define SY_IOCTL_H "null.h"
|
||
|
# define SY_IPC_H "null.h"
|
||
|
# define SY_MSG_H "null.h"
|
||
|
# define SY_PARAM_H "null.h"
|
||
|
# define SY_SEM_H "null.h"
|
||
|
# define SY_SHM_H "null.h"
|
||
|
# define TERMIO_H "null.h"
|
||
|
# define UNISTD_H "null.h"
|
||
|
# define UTMP_H "null.h"
|
||
|
# define VALUES_H "null.h"
|
||
|
|
||
|
#endif
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
#ifdef SVR4
|
||
|
# ifndef SYSV
|
||
|
# define SYSV
|
||
|
# endif
|
||
|
# ifndef KERNEL_NAME
|
||
|
# define KERNEL_NAME "/stand/unix"
|
||
|
# endif
|
||
|
#ifndef DGUX
|
||
|
# ifndef DIR_SV3
|
||
|
# define DIR_SV3 1
|
||
|
# endif
|
||
|
#endif
|
||
|
# ifndef MAX_2NAME
|
||
|
# define MAX_2NAME 253
|
||
|
# endif
|
||
|
# ifndef TERMINFO_DIR
|
||
|
# define TERMINFO_DIR "/usr/share/lib/terminfo"
|
||
|
# endif
|
||
|
# ifndef SY_SHMSYS_H
|
||
|
# define SY_SHMSYS_H "null.h"
|
||
|
# endif
|
||
|
# ifndef SHMMSYM
|
||
|
# define SHMMSYM "shmem"
|
||
|
# endif
|
||
|
# ifndef SHMISYM
|
||
|
# define SHMISYM "shminfo"
|
||
|
# endif
|
||
|
# ifndef UVRC_PATH
|
||
|
# define UVRC_PATH "/etc/rc2.d/S99uv.rc"
|
||
|
# endif
|
||
|
# ifndef U_SORT
|
||
|
# define U_SORT "/usr/bin/sort"
|
||
|
# endif
|
||
|
# ifndef U_FIND
|
||
|
# define U_FIND "/usr/bin/find"
|
||
|
# endif
|
||
|
# ifndef NO_CSH
|
||
|
# if !defined(CSH_PATH) || !defined(U_CSH)
|
||
|
# define CSH_PATH "/usr/bin/csh"
|
||
|
# define U_CSH "/usr/bin/csh"
|
||
|
# endif
|
||
|
# endif
|
||
|
# ifndef U_SH
|
||
|
# define U_SH "/usr/bin/sh"
|
||
|
# endif
|
||
|
# ifndef SEARCH_PATH
|
||
|
# define SEARCH_PATH ".:/usr/bin:/usr/sbin:/usr/ucb:`cat /.uvhome`/bin:/etc"
|
||
|
# endif
|
||
|
# ifndef MAIL_PATH
|
||
|
# define MAIL_PATH "/usr/bin/mail"
|
||
|
# endif
|
||
|
# ifndef SPOOL_DIR
|
||
|
# define SPOOL_DIR "/var/spool"
|
||
|
# endif
|
||
|
#endif
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
#ifdef UCB
|
||
|
|
||
|
# ifndef KERNEL_NAME
|
||
|
# define KERNEL_NAME "/vmunix"
|
||
|
# endif
|
||
|
# ifndef SYSV_AOUT
|
||
|
# define SYSV_AOUT 0
|
||
|
# endif
|
||
|
# ifndef RND_int
|
||
|
# define RND_int 1
|
||
|
# endif
|
||
|
# ifndef TTY_ucb
|
||
|
# define TTY_ucb 1
|
||
|
# endif
|
||
|
# ifndef DIR_ucb
|
||
|
# define DIR_ucb 1
|
||
|
# endif
|
||
|
# ifndef MTIOucb
|
||
|
# define MTIOucb 1
|
||
|
# endif
|
||
|
# ifndef MT_sysv
|
||
|
# define MT_sysv 0
|
||
|
# endif
|
||
|
# ifndef MEMbcps
|
||
|
# define MEMbcps 0
|
||
|
# endif
|
||
|
# ifndef MEMfunc
|
||
|
# define MEMfunc 2
|
||
|
# endif
|
||
|
# ifndef INDEXfn
|
||
|
# define INDEXfn 1
|
||
|
# endif
|
||
|
# ifndef LOCKING
|
||
|
# define LOCKING 3
|
||
|
# endif
|
||
|
# ifndef VFORKfn
|
||
|
# define VFORKfn 1
|
||
|
# endif
|
||
|
# ifndef ENV_log
|
||
|
# define ENV_log "USER"
|
||
|
# endif
|
||
|
# ifndef SIG_ucb
|
||
|
# define SIG_ucb 1
|
||
|
# endif
|
||
|
# ifndef PGRPucb
|
||
|
# define PGRPucb 1
|
||
|
# endif
|
||
|
# ifndef TIMEucb
|
||
|
# define TIMEucb 1
|
||
|
# endif
|
||
|
# ifndef WAIT3fn
|
||
|
# define WAIT3fn 1
|
||
|
# endif
|
||
|
# ifndef WAIT3st
|
||
|
# define WAIT3st 0
|
||
|
# endif
|
||
|
# ifndef GTWDucb
|
||
|
# define GTWDucb 1
|
||
|
# endif
|
||
|
# ifndef HOSTucb
|
||
|
# define HOSTucb 1
|
||
|
# endif
|
||
|
# ifndef TRUNCfn
|
||
|
# define TRUNCfn 1
|
||
|
# endif
|
||
|
# ifndef UTMPucb
|
||
|
# define UTMPucb 1
|
||
|
# endif
|
||
|
# ifndef U_SORT
|
||
|
# define U_SORT "/usr/bin/sort"
|
||
|
# endif
|
||
|
# ifndef U_FIND
|
||
|
# define U_FIND "/usr/bin/find"
|
||
|
# endif
|
||
|
# ifndef U_CSH
|
||
|
# define U_CSH "/bin/csh"
|
||
|
# endif
|
||
|
# ifndef FLOAT_ERROR
|
||
|
# define FLOAT_ERROR 0
|
||
|
# endif
|
||
|
/* Symbolic constants for the "lseek" routine: */
|
||
|
/* these are different on BSD machines */
|
||
|
/* Set file pointer to "offset" */
|
||
|
# ifndef UNISTD_SEEK_SET
|
||
|
# define SEEK_SET L_SET
|
||
|
/* Set file pointer to current plus "offset" */
|
||
|
# define SEEK_CUR L_INCR
|
||
|
/* Set file pointer to EOF plus "offset" */
|
||
|
# define SEEK_END L_XTND
|
||
|
# endif
|
||
|
#ifndef NO_CSH
|
||
|
# ifndef CSH_PATH
|
||
|
# define CSH_PATH "/bin/csh"
|
||
|
# endif
|
||
|
#endif
|
||
|
#ifndef MAIL_PATH
|
||
|
# define MAIL_PATH "/bin/ucb/Mail"
|
||
|
#endif
|
||
|
#ifndef VI_PATH
|
||
|
# define VI_PATH "/usr/ucb/vi"
|
||
|
#endif
|
||
|
|
||
|
#ifndef CHOWNCALL
|
||
|
# define CHOWNCALL 0
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
#ifdef SYSV
|
||
|
|
||
|
# ifndef KERNEL_NAME
|
||
|
# define KERNEL_NAME "/unix"
|
||
|
# endif
|
||
|
# ifndef SYSV_AOUT
|
||
|
# define SYSV_AOUT 1
|
||
|
# endif
|
||
|
# ifndef RND_int
|
||
|
# define RND_int 0
|
||
|
# endif
|
||
|
# ifndef CHOWNCALL
|
||
|
# define CHOWNCALL 1
|
||
|
# endif
|
||
|
# ifndef TTY_ucb
|
||
|
# define TTY_ucb 0
|
||
|
# endif
|
||
|
# ifndef DIR_ucb
|
||
|
# define DIR_ucb 0
|
||
|
# endif
|
||
|
# ifndef MTIOucb
|
||
|
# define MTIOucb 0
|
||
|
# endif
|
||
|
# ifndef MT_sysv
|
||
|
# define MT_sysv 0
|
||
|
# endif
|
||
|
# ifndef MEMbcps
|
||
|
# define MEMbcps 0
|
||
|
# endif
|
||
|
# ifndef MEMfunc
|
||
|
# define MEMfunc 1
|
||
|
# endif
|
||
|
# ifndef INDEXfn
|
||
|
# define INDEXfn 0
|
||
|
# endif
|
||
|
# ifndef LOCKING
|
||
|
# define LOCKING 2
|
||
|
# endif
|
||
|
# ifndef VFORKfn
|
||
|
# define VFORKfn 0
|
||
|
# endif
|
||
|
# ifndef ENV_log
|
||
|
# define ENV_log "LOGNAME"
|
||
|
# endif
|
||
|
# ifndef SIG_ucb
|
||
|
# define SIG_ucb 0
|
||
|
# endif
|
||
|
# ifndef PGRPucb
|
||
|
# define PGRPucb 0
|
||
|
# endif
|
||
|
# ifndef TIMEucb
|
||
|
# define TIMEucb 0
|
||
|
# endif
|
||
|
# ifndef WAIT3fn
|
||
|
# define WAIT3fn 0
|
||
|
# endif
|
||
|
# ifndef GTWDucb
|
||
|
# define GTWDucb 0
|
||
|
# endif
|
||
|
# ifndef HOSTucb
|
||
|
# define HOSTucb 0
|
||
|
# endif
|
||
|
# ifndef TRUNCfn
|
||
|
# define TRUNCfn 0
|
||
|
# endif
|
||
|
# ifndef UTMPucb
|
||
|
# define UTMPucb 0
|
||
|
# endif
|
||
|
# ifndef U_SORT
|
||
|
# define U_SORT "/bin/sort"
|
||
|
# endif
|
||
|
# ifndef U_FIND
|
||
|
# define U_FIND "/bin/find"
|
||
|
# endif
|
||
|
# ifndef FLOAT_ERROR
|
||
|
# define FLOAT_ERROR 1
|
||
|
# endif
|
||
|
|
||
|
#endif
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
#ifndef OS_TYPE
|
||
|
#define OS_TYPE "UNIX"
|
||
|
#endif
|
||
|
|
||
|
#ifndef DIR_SV3
|
||
|
#define DIR_SV3 0
|
||
|
#endif
|
||
|
|
||
|
#if DIR_SV3
|
||
|
#define Direct dirent
|
||
|
#else
|
||
|
#define Direct direct
|
||
|
#endif
|
||
|
|
||
|
#ifndef SHMBASE_INDIRECT
|
||
|
# define SHMBASE_INDIRECT (!SYSV_AOUT)
|
||
|
#endif
|
||
|
|
||
|
#ifndef ALIGN_OK
|
||
|
# define ALIGN_OK 0
|
||
|
#endif
|
||
|
#ifndef CTYPE_OK
|
||
|
# define CTYPE_OK 1
|
||
|
#endif
|
||
|
#ifndef PRI_RO
|
||
|
# define PRI_RO static
|
||
|
#endif
|
||
|
#ifndef PRI_RW
|
||
|
# define PRI_RW static
|
||
|
#endif
|
||
|
#ifndef PUB_RO
|
||
|
# define PUB_RO
|
||
|
#endif
|
||
|
#ifndef PUB_RW
|
||
|
# define PUB_RW
|
||
|
#endif
|
||
|
#ifndef EXTERN
|
||
|
# define EXTERN extern
|
||
|
#endif
|
||
|
|
||
|
#ifndef FLOAT_PRECISION
|
||
|
# define FLOAT_PRECISION 16
|
||
|
#endif
|
||
|
|
||
|
#ifndef WIDE_0
|
||
|
# define WIDE_0 1
|
||
|
#endif
|
||
|
#ifndef TOOSMALL
|
||
|
# define TOOSMALL 0x3dc00000
|
||
|
#endif
|
||
|
#ifndef EXPBITS
|
||
|
# define EXPBITS 0x7ff00000
|
||
|
#endif
|
||
|
#ifndef SWAPbyt
|
||
|
# define SWAPbyt 0
|
||
|
#endif
|
||
|
#ifndef OURCLOSEDIR
|
||
|
# define OURCLOSEDIR 0
|
||
|
#endif
|
||
|
#ifndef OURMALLOC
|
||
|
# define OURMALLOC 1
|
||
|
#endif
|
||
|
#ifndef SIZEOFDBLE
|
||
|
# define SIZEOFDBLE (sizeof(double))
|
||
|
#endif
|
||
|
#ifndef OURSLEEP
|
||
|
# define OURSLEEP 1
|
||
|
#endif
|
||
|
#ifndef USE_SELECT
|
||
|
# define USE_SELECT 1
|
||
|
#endif
|
||
|
#ifndef USE_STREAMS
|
||
|
# define USE_STREAMS 0
|
||
|
#endif
|
||
|
#ifndef HAS_LANGINFO
|
||
|
# define HAS_LANGINFO 0
|
||
|
#endif
|
||
|
#ifndef MKDIR
|
||
|
# define MKDIR 1
|
||
|
#endif
|
||
|
#ifndef RMDIR
|
||
|
# define RMDIR 1
|
||
|
#endif
|
||
|
#ifndef gpflag
|
||
|
# define gpflag 1
|
||
|
#endif
|
||
|
#ifndef W_ALIGN
|
||
|
# define W_ALIGN 3
|
||
|
#endif
|
||
|
#ifndef DISKBLK
|
||
|
# define DISKBLK 512
|
||
|
#endif
|
||
|
#ifndef DBFLAGW
|
||
|
# define DBFLAGW ulong
|
||
|
#endif
|
||
|
#ifndef Cmemsize
|
||
|
# define Cmemsize 0x200000
|
||
|
#endif
|
||
|
#ifndef Cmemoff
|
||
|
# define Cmemoff (char*) 0x0
|
||
|
#endif
|
||
|
#ifndef Nmemoff
|
||
|
# define Nmemoff (char*) 0
|
||
|
#endif
|
||
|
#ifndef Dmemoff
|
||
|
# define Dmemoff (char*) 0
|
||
|
#endif
|
||
|
#ifndef Lmemoff
|
||
|
# define Lmemoff (char*) 0
|
||
|
#endif
|
||
|
#ifndef Pmemoff
|
||
|
# define Pmemoff (char*) 0
|
||
|
#endif
|
||
|
#ifndef UVLONG
|
||
|
# define UVLONG long
|
||
|
# define UVADDR int
|
||
|
# define STRtoUVL STRtol
|
||
|
# define UVLtoa ltoa
|
||
|
#endif
|
||
|
#ifndef uUVLONG
|
||
|
# define uUVLONG unsigned UVLONG
|
||
|
#endif
|
||
|
#ifndef uUVADDR
|
||
|
# define uUVADDR unsigned UVADDR
|
||
|
#endif
|
||
|
#ifndef CPUTIME
|
||
|
# define CPUTIME 60.0
|
||
|
#endif
|
||
|
#ifndef FSEMNUM
|
||
|
# define FSEMNUM 23
|
||
|
#endif
|
||
|
#ifndef GSEMNUM
|
||
|
# define GSEMNUM 97
|
||
|
#endif
|
||
|
#ifndef FLTABSZ
|
||
|
# define FLTABSZ 11
|
||
|
#endif
|
||
|
#ifndef GLTABSZ
|
||
|
# define GLTABSZ 75
|
||
|
#endif
|
||
|
#ifndef RLTABSZ
|
||
|
# define RLTABSZ 75
|
||
|
#endif
|
||
|
#ifndef RLOWNER
|
||
|
# define RLOWNER 300
|
||
|
#endif
|
||
|
#ifndef MAXRLOCK
|
||
|
# define MAXRLOCK 100
|
||
|
#endif
|
||
|
#ifndef UV_HOME
|
||
|
# define UV_HOME "/usr/ardent/uv"
|
||
|
#endif
|
||
|
#ifndef UNI_SHARED
|
||
|
# define UNI_SHARED "/usr/ardent/unishared"
|
||
|
#endif
|
||
|
#ifndef UV_TMFILES
|
||
|
# define UV_TMFILES 12
|
||
|
#endif
|
||
|
#ifndef MSWIN
|
||
|
#ifndef UV_TEMPDIR
|
||
|
# define UV_TEMPDIR "/tmp"
|
||
|
#endif
|
||
|
#endif
|
||
|
#ifndef U_SH
|
||
|
# define U_SH "/bin/sh"
|
||
|
#endif
|
||
|
#ifndef UV_ROOT
|
||
|
EXTERN char *_UVRptr;
|
||
|
EXTERN char _UVROOT[256];
|
||
|
# define UVRPTR _UVRptr
|
||
|
# define UV_ROOT(name) (strcat(strcpy(_UVROOT,_UVRptr),name))
|
||
|
#endif
|
||
|
#ifndef MACHINE
|
||
|
# define MACHINE 0
|
||
|
#endif
|
||
|
#ifndef MACmask
|
||
|
# define MACmask 0xffff
|
||
|
#endif
|
||
|
#ifndef MACtest
|
||
|
# define MACtest 0
|
||
|
#endif
|
||
|
#ifndef MAX_NAME
|
||
|
# define MAX_NAME 12
|
||
|
#endif
|
||
|
#ifndef MAX_2NAME
|
||
|
# define MAX_2NAME 12
|
||
|
#endif
|
||
|
#ifndef NETwork
|
||
|
# define NETwork 0
|
||
|
#endif
|
||
|
#ifndef SYSintr
|
||
|
# define SYSintr 0
|
||
|
#endif
|
||
|
#ifndef TISWAP
|
||
|
# define TISWAP 1
|
||
|
#endif
|
||
|
#ifndef Cbufsiz
|
||
|
# define Cbufsiz 8192
|
||
|
#endif/*Cbufsiz*/
|
||
|
#ifndef Tbufsiz
|
||
|
# define Tbufsiz 8192
|
||
|
#endif/*Tbufsiz*/
|
||
|
#ifndef UVBACKUP_BLKMAX
|
||
|
# define UVBACKUP_BLKMAX 8192
|
||
|
#endif/*UVBACKUP_BLKMAX*/
|
||
|
#ifndef UPROMPT
|
||
|
# define UPROMPT '>'
|
||
|
#endif
|
||
|
#ifndef UINVERT
|
||
|
# define UINVERT 1
|
||
|
#endif
|
||
|
#ifndef SIGTYPE
|
||
|
# define SIGTYPE void
|
||
|
#endif
|
||
|
#ifndef DATUM12
|
||
|
# define DATUM12 0
|
||
|
#endif
|
||
|
#ifndef ISPHANTOM
|
||
|
# define ISPHANTOM(x) (x & 0x0008000)
|
||
|
#endif
|
||
|
|
||
|
#ifndef SHMMSYM
|
||
|
# define SHMMSYM "_shmem"
|
||
|
#endif
|
||
|
#ifndef SHMISYM
|
||
|
# define SHMISYM "_shminfo"
|
||
|
#endif
|
||
|
|
||
|
#ifndef NO_CSH
|
||
|
# ifndef CSH_PATH
|
||
|
# define CSH_PATH "/bin/csh"
|
||
|
# endif
|
||
|
#endif
|
||
|
#ifndef MAIL_PATH
|
||
|
# define MAIL_PATH "/bin/mail"
|
||
|
#endif
|
||
|
#ifndef VI_PATH
|
||
|
# define VI_PATH "/usr/bin/vi"
|
||
|
#endif
|
||
|
#ifndef UVRC_PATH
|
||
|
# define UVRC_PATH "/etc/rc.d/uv.rc"
|
||
|
#endif
|
||
|
#ifndef SEARCH_PATH
|
||
|
# define SEARCH_PATH ".:/bin:/usr/bin:`pwd`/bin:/etc"
|
||
|
#endif
|
||
|
#ifndef ETC_UVRC
|
||
|
# define ETC_UVRC 1
|
||
|
#endif
|
||
|
#ifndef ANSI
|
||
|
# define ANSI 0
|
||
|
#endif
|
||
|
#ifndef CCI_DIR
|
||
|
# define CCI_DIR 0
|
||
|
#endif
|
||
|
#if ANSI && !OURMALLOC
|
||
|
# define malloc UVmalloc
|
||
|
# define realloc UVrealloc
|
||
|
# define calloc UVcalloc
|
||
|
# define free UVfree
|
||
|
#endif
|
||
|
|
||
|
#ifndef POSIX_conform
|
||
|
# define POSIX_conform 0
|
||
|
#endif
|
||
|
|
||
|
#ifdef PUSH_DISC
|
||
|
# ifndef SERPRMODULE
|
||
|
# define SERPRMODULE "eld"
|
||
|
# endif
|
||
|
# ifndef PARPRMODULE
|
||
|
# define PARPRMODULE "eld"
|
||
|
# endif
|
||
|
#endif
|
||
|
|
||
|
#ifndef EXCLBUG
|
||
|
# define EXCLBUG _EXCL
|
||
|
#endif
|
||
|
|
||
|
#ifdef LONG_pid
|
||
|
#ifndef SIG_TAB_SIZ
|
||
|
# define SIG_TAB_SIZ 0x7fff
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
#ifndef TERMINFO_DIR
|
||
|
# define TERMINFO_DIR "/usr/lib/terminfo"
|
||
|
#endif
|
||
|
|
||
|
#ifndef SPOOL_DIR
|
||
|
# define SPOOL_DIR "/usr/spool"
|
||
|
#endif
|
||
|
|
||
|
#ifndef PIPE
|
||
|
# define PIPE(x) pipe((x))
|
||
|
#endif
|
||
|
|
||
|
#ifndef MAX_LONGNAME_PATH
|
||
|
# define MAX_LONGNAME_PATH 14
|
||
|
#endif
|
||
|
|
||
|
/* these are generally the same, but are different on NT */
|
||
|
|
||
|
#ifndef LINK_FOR_MOVE
|
||
|
# define LINK_FOR_MOVE(p1,p2) link(p1,p2)
|
||
|
#endif
|
||
|
#ifndef LINK_FOR_COPY
|
||
|
# define LINK_FOR_COPY(p1,p2) link(p1,p2)
|
||
|
#endif
|
||
|
|
||
|
#ifndef DF_NAME
|
||
|
#define DF_NAME "/bin/df"
|
||
|
#endif
|
||
|
|
||
|
#ifndef STDLIB_H
|
||
|
#define STDLIB_H "null.h"
|
||
|
#endif
|
||
|
|
||
|
#ifndef UVSETJMP
|
||
|
#define UVSETJMP(env) setjmp((env))
|
||
|
#endif
|
||
|
|
||
|
#ifndef UVLONGJMP
|
||
|
#define UVLONGJMP(env,y) longjmp((env),(y))
|
||
|
#endif
|
||
|
|
||
|
/************************************************************************/
|
||
|
/* These are used for the CSHDISPATCH,SHDISPATCH,DOSDISPATCH tunables */
|
||
|
#ifdef MSWIN
|
||
|
# define DOSDISP_PATH "CMD.EXE"
|
||
|
# define CSHDISP_PATH "NOT_SUPPORTED"
|
||
|
# define SHDISP_PATH "NOT_SUPPORTED"
|
||
|
#else
|
||
|
# define DOSDISP_PATH "NOT_SUPPORTED"
|
||
|
# ifndef NO_CSH
|
||
|
# define CSHDISP_PATH CSH_PATH
|
||
|
# else
|
||
|
# define CSHDISP_PATH "NOT_SUPPORTED"
|
||
|
# endif
|
||
|
# define SHDISP_PATH U_SH
|
||
|
#endif
|
||
|
/************************************************************************/
|
||
|
|
||
|
/**********************************************************/
|
||
|
/* There are used as default values for certain functions */
|
||
|
/* extended file operations for 64-bit support */
|
||
|
/* */
|
||
|
#ifndef UVFSTAT
|
||
|
#define UVFSTAT fstat
|
||
|
#endif
|
||
|
#ifndef UVLSEEK
|
||
|
#define UVLSEEK lseek
|
||
|
#endif
|
||
|
#ifndef UVOPEN
|
||
|
#define UVOPEN open
|
||
|
#endif
|
||
|
#ifndef UVSTAT
|
||
|
#define UVSTAT stat
|
||
|
#endif
|
||
|
#ifndef UVLSTAT
|
||
|
#define UVLSTAT lstat
|
||
|
#endif
|
||
|
#ifndef UVSTATSTR
|
||
|
#define UVSTATSTR stat
|
||
|
#endif
|
||
|
#ifndef FEIGHTZERO
|
||
|
#define FEIGHTZERO 0xfffff800
|
||
|
#endif
|
||
|
#ifndef FEZERO
|
||
|
#define FEZERO 0xfffffe00
|
||
|
#endif
|
||
|
#ifndef FCZERO
|
||
|
#define FCZERO 0xfffffc00
|
||
|
#endif
|
||
|
#ifndef LL_ALIGN
|
||
|
#define LL_ALIGN 7
|
||
|
#endif
|
||
|
|
||
|
/* defines value returned from UVLSEEK ops */
|
||
|
#ifndef UVOFFT
|
||
|
#define UVOFFT off_t
|
||
|
#endif
|
||
|
/* defines 32- or 64-bit file addresses. May be overridden */
|
||
|
#ifndef DBDADDR
|
||
|
# define DBDADDR int
|
||
|
#endif
|
||
|
/* defines 32-bit file addresses. We cannot assume that long is 32bits */
|
||
|
#ifndef DBDADDR32
|
||
|
#define DBDADDR32 int
|
||
|
#endif
|
||
|
|
||
|
/* defines biggest int type available, either 32 or 64 depending on system*/
|
||
|
#ifndef UVINT
|
||
|
#define UVINT int
|
||
|
#endif
|
||
|
|
||
|
/* indicates if platform supports 64-bit addressing */
|
||
|
#ifndef IS_64BIT_ADDR
|
||
|
#define IS_64BIT_ADDR 0
|
||
|
#endif
|
||
|
|
||
|
/* defines the 32-bit ftruncate function for unix platforms */
|
||
|
#ifndef UVFTRUNCATE
|
||
|
#define UVFTRUNCATE ftruncate
|
||
|
#endif
|
||
|
/**********************************************************/
|
||
|
/*
|
||
|
|
||
|
ALIGN_OK 1 No alignment problem.
|
||
|
0 Alignment problem. *(long *)i = *(long *)j may core
|
||
|
dump or may not work correctly for some addresses.
|
||
|
|
||
|
ANSI 1 This machine is strictly ANSI conformant.
|
||
|
0 This machine is not strictly ANSI conformant.
|
||
|
|
||
|
ASM_sem - If set, this machine uses special hand-coded assembly
|
||
|
routines instead of semop to do concurrency control
|
||
|
|
||
|
CCI_DIR - 0 Don't use cci_dir to create multi-level files (default).
|
||
|
1 Use cci_dir to create multi-level files.
|
||
|
|
||
|
CHOWNCALL 0 Use uvpset to do chown (is set-uid root).
|
||
|
1 Use standard chmod function.
|
||
|
|
||
|
CPUTIME - The units that cpu time is returned from times()
|
||
|
60.0 on most machines, 100.0 on AT&T machines
|
||
|
|
||
|
CSH_PATH - path for csh. Default is "/bin/csh".
|
||
|
|
||
|
CTYPE_OK 0 ctype.c and errlst.c are NOT compiled into uniVerse
|
||
|
1 ctype.c and errlst.c are compiled into uniVerse
|
||
|
|
||
|
Cmemoff - Address at which to attach the shared memory catalog segment
|
||
|
|
||
|
Cmemsize - Number of bytes of shared memory devoted to cataloged pgms.
|
||
|
|
||
|
DBDADDR - data type to use for addressing is database files. This can
|
||
|
be either 32- or 64-bit depending on platform.
|
||
|
|
||
|
DBDADDR32 - data type for accessing 32bit addresses. This will always
|
||
|
be 32-bit.
|
||
|
|
||
|
UVINT - data type to be used for integer operations where the size could
|
||
|
be needed as a 64 bit value
|
||
|
|
||
|
DBFLAGW - data type to use for flags fields in database records
|
||
|
|
||
|
DIR_ucb 0 ATT directory structure, 14 character file names
|
||
|
1 UCB directory structure, variable length file names
|
||
|
|
||
|
DISKBLK - Disk buffer block size
|
||
|
|
||
|
Dmemoff - Address to attach the disk memory segment
|
||
|
|
||
|
DUAL_PORT - Define DUAL_PORT for machines with UCB and ATT
|
||
|
|
||
|
ENV_log - Name to get the @LOGNAME value from the environment
|
||
|
|
||
|
ETC_UVRC - 0 Don't try to put startup script in /etc/rc.
|
||
|
1 Put startup script in /etc/rc if it exists.
|
||
|
|
||
|
GTWDucb 0 getcwd() returns the working directory.
|
||
|
1 getwd() returns the working directory.
|
||
|
|
||
|
HOSTucb 0 No gethostname() call; use uname() instead.
|
||
|
1 gethostname() exists.
|
||
|
2 gethostname() & uname() both work
|
||
|
|
||
|
HAS_LANGINFO 0 - no langinfo tools
|
||
|
1 - can use nl_langinfo function to get locale data
|
||
|
|
||
|
INDEXfn 0 use index() for strchr().
|
||
|
1 use strchr() for index().
|
||
|
|
||
|
Lmemoff - Address to attach the process-lock memory segment
|
||
|
|
||
|
LOCKING 0 No file locking.
|
||
|
1 locking() function available.
|
||
|
2 lockf() function available.
|
||
|
3 flock() function available.
|
||
|
|
||
|
MAX_LONGNAME_PATH - The max size of an element in a Type 1 file
|
||
|
|
||
|
MAIL_PATH - path for mail. Default is "/bin/mail".
|
||
|
|
||
|
MEMbcps 0 existing memcpy or bcopy are faster than ours
|
||
|
1 our memcpy is faster than existing memcpy or bcopy
|
||
|
|
||
|
MEMfunc 0 memcpy(), etc. - do not exist; define in UPIX library.
|
||
|
1 memcpy(), etc. - exist; do not override system definition.
|
||
|
2 no memcopy(), etc., but bcopy() does exist.
|
||
|
3 memcpy() & bcopy exist.
|
||
|
|
||
|
Cbufsiz 65536 max cartridge tape buffer size for NCR Tower
|
||
|
8192 max cartridge tape buffer size for all other machines
|
||
|
|
||
|
Tbufsiz 8192 max magnetic tape buffer size for all machines
|
||
|
|
||
|
MTIOucb 0 No standardized UCB Magtape operations
|
||
|
1 UCB magtape operations
|
||
|
2 UCB magtape, with Pyramid additions
|
||
|
3 UCB magtape, with CCI additions
|
||
|
5 SUN 1/4" tape drive.
|
||
|
|
||
|
MT_sysv 0 No standardized SYSV Magtape operations
|
||
|
1 SYSV magtape operations for ATT 3B5
|
||
|
2 SYSV cartridge and magtape operations for CT miti
|
||
|
3 SYSV cartridge tape operations for NCR Tower
|
||
|
4 SYSV cartridge tape operations for IBM RT
|
||
|
5 SYSV magtape operations for Encore
|
||
|
6 SYSV cartridge tape operations for MAGNUM
|
||
|
7 SYSV cartridge tape operations for ATT3b2
|
||
|
8 SYSV cartridge tape operations for ARETE
|
||
|
9 SYSV cartridge tape operations for NEC till new OS comes in.
|
||
|
10 SYSV cartridge tape operations for M8310
|
||
|
11 SYSV cartridge tape operations for BULL
|
||
|
|
||
|
MT_typT - Magnetic tape
|
||
|
MT_typF - Floppy tape
|
||
|
MT_typC - Cartridge tape
|
||
|
|
||
|
NETwork 0 No networking support
|
||
|
1 (OMNI) supports omni-net
|
||
|
2 (TCPIP) supports tcpip-net
|
||
|
|
||
|
USE_STREAMS 0 Use "sockets" or socket/stream interface for UVnet
|
||
|
1 Use streams tli interface for UVnet
|
||
|
|
||
|
NO_CSH says that csh is not supported on this machine.
|
||
|
|
||
|
OURCLOSEDIR says whether we use our closedir or the system supplied
|
||
|
closedir
|
||
|
|
||
|
OURMALLOC says whether we use our malloc or the system supplied
|
||
|
malloc (which disables the core verb)
|
||
|
|
||
|
OURSLEEP says whether we use our sleep or the system supplied
|
||
|
sleep
|
||
|
|
||
|
PGRPucb 0 System V process groups
|
||
|
1 UCB process groups
|
||
|
|
||
|
Pmemoff - Address to attach the Printer memory segment
|
||
|
|
||
|
POSIX_conform
|
||
|
0 This machine is not POSIX conformant
|
||
|
|
||
|
1 This machine conforms to the Common Usage
|
||
|
Language-Dependent Systems Support of the C
|
||
|
Language Binding as defined in Chapter 8 of the
|
||
|
IEEE Document 1003.1 (1988) of the POSIX standard
|
||
|
|
||
|
|
||
|
RND_int 0 rand(3) returns 2**15 - 1.
|
||
|
1 rand(3) returns 2**31 - 1
|
||
|
|
||
|
SEARCH_PATH - search path for .profile and .login files.
|
||
|
default is ".:/bin:/usr/bin:`cat /.uvhome`/bin:/etc"
|
||
|
|
||
|
SEMUN Defined if the union semun is defined in <sys/sem.h>.
|
||
|
|
||
|
SIG_ucb 0 System V signals.
|
||
|
1 UCB signals, a la sigvec(), includes SIGSTOP, and SIGTSTP.
|
||
|
2 Both UCB and SYSV signals present
|
||
|
3 Both UCB and SYSV signals present, use SYSV signal handling.
|
||
|
|
||
|
SHM_OK 1 Shmat() must be called with zero address in shminit.c
|
||
|
|
||
|
SWAPbyt 0 Non-Byte swapped (a la 68000)
|
||
|
1 Byte Swapped - XINU machine (a la 80386)
|
||
|
2 Byte Swapped - NUXI machine (a la VAX)
|
||
|
*/
|
||
|
|
||
|
#define BYTypes 3 /* This is the number possible SWAPbyt values */
|
||
|
/* If this changes, fnuxi.c will need changes */
|
||
|
|
||
|
/*
|
||
|
TERMINFO_DIR The location for the terminfo directory.
|
||
|
The default is "/usr/lib/terminfo"
|
||
|
|
||
|
TIMEucb 0 SYSV time functions
|
||
|
1 UCB time functions, includes getrusage
|
||
|
|
||
|
TRUNCfn 0 no ability to truncate existing files.
|
||
|
1 truncate() and ftruncate() both exist.
|
||
|
2 chsize() exists
|
||
|
|
||
|
TTY_ucb 0 SYSTEM V terminal I/O functions
|
||
|
1 UCB terminal I/O functions
|
||
|
|
||
|
PHNTM_BUG if defined this machine has the bug when Phantom
|
||
|
processes stop at "Any key to continue" usually
|
||
|
caused by dual universe tty implementations.
|
||
|
|
||
|
PUSH_DISC define if this is a streams based machine. This is
|
||
|
needed to push the line discipline onto the stream
|
||
|
for the spooler. Used in sp.daemon.c. See SERPRMODULE
|
||
|
and PARPRMODULE.
|
||
|
|
||
|
SERPRMODULE Module to be pushed unto the stream in order to
|
||
|
mantain the line discipline for a serial printer.
|
||
|
Defaults to "eld"
|
||
|
|
||
|
PARPRMODULE Module to be pushed unto the stream in order to
|
||
|
mantain the line discipline for a parallel printer.
|
||
|
Defaults to "eld"
|
||
|
|
||
|
UV_HOME - default uniVerse home directory name
|
||
|
|
||
|
UNI_SHARED - default UniShared directory name
|
||
|
|
||
|
UV_ROOT - macro defining the home directory for uni*Verse
|
||
|
|
||
|
UV_TEMPDIR - default location of tmp directory
|
||
|
Will not exist on MS Windows as there is no valid default
|
||
|
|
||
|
UVRC_PATH - Path name for uv.rc. Default is "/etc/rc.d/uv.rc".
|
||
|
|
||
|
VI_PATH - Path for vi. Default is "/usr/bin/vi".
|
||
|
|
||
|
VFORKfn 0 No vfork() function.
|
||
|
1 vfork() supported.
|
||
|
|
||
|
WAIT3fn 0 No wait3 (non-blocking wait) system call
|
||
|
1 wait3 exists.
|
||
|
|
||
|
W_ALIGN 0 Word align: byte
|
||
|
1 Halfword
|
||
|
3 Fullword
|
||
|
|
||
|
LL_ALIGN 7 Word align: 8-byte word
|
||
|
|
||
|
TISWAP 0 Terminfo does not swap bytes in integers
|
||
|
1 Terminfo swaps bytes on integers
|
||
|
|
||
|
MACHINE bit 0 if set means byte-swapped (xinu)
|
||
|
bit 1 if set means byte-swapped (nuxi)
|
||
|
bit 2 if set means CCI
|
||
|
bit 3 if set means VAX format floating point
|
||
|
bit 4 if set means HP alignment or SPARC
|
||
|
|
||
|
UPROMPT Uni*Verse prompt character
|
||
|
|
||
|
FLOAT_ERROR
|
||
|
0 Indicates no standardized floating point error handler
|
||
|
1 Indicates the usage of sysV style matherr() for math libraries
|
||
|
2 Indicates support of IEEE754 standard ( NaN, Infinity )
|
||
|
|
||
|
FLOAT_PRECISION Number of digits returned by fcvt that are reliable
|
||
|
|
||
|
|
||
|
KERNEL_NAME Name of installed kernel
|
||
|
|
||
|
SYSV_AOUT 0 Indicates UCB a.out format with exec header
|
||
|
1 Indicates SYSV a.out format with filehdr struct
|
||
|
|
||
|
|
||
|
SHMBASE_INDIRECT 0 shmstart value is structure
|
||
|
1 shmstart value is address of structure
|
||
|
|
||
|
USE_SELECT 0 Use sleep and not UNIX select for microsec sleep
|
||
|
1 Use UNIX select(0,0,0,0,&timeout) for microsec sleep
|
||
|
2 Use UNIX poll(0,0,timeout) for microsec sleep
|
||
|
3 Use Win32 Sleep(timeout) for microsec sleep
|
||
|
|
||
|
SPOOL_DIR Spool directory path, used by loadfile. Default is
|
||
|
"/usr/spool".
|
||
|
|
||
|
SHADOW_FILE Not defined - Machine does not possess shadow file
|
||
|
capability (/etc/shadow).
|
||
|
Defined - Machine has shadow file capability.
|
||
|
The routine getspnam() will be used, if
|
||
|
necessary, to get the encrypted password.
|
||
|
*/
|
||
|
|
||
|
/*****************************************************************************
|
||
|
|
||
|
register definitions
|
||
|
|
||
|
*****************************************************************************/
|
||
|
|
||
|
#ifndef NUM_REG
|
||
|
#define NUM_REG 6
|
||
|
#endif
|
||
|
|
||
|
#define reg0 register
|
||
|
#define reg1 register
|
||
|
#define reg2 register
|
||
|
#define reg3 register
|
||
|
#define reg4 register
|
||
|
|
||
|
#if NUM_REG > 6
|
||
|
# define reg5 register
|
||
|
# define reg6 register
|
||
|
# define reg7 register
|
||
|
# define reg8 register
|
||
|
# define reg9 register
|
||
|
#else
|
||
|
# define reg5 auto
|
||
|
# define reg6 auto
|
||
|
# define reg7 auto
|
||
|
# define reg8 auto
|
||
|
# define reg9 auto
|
||
|
#endif
|
||
|
|
||
|
#if NUM_REG > 10
|
||
|
# define reg10 register
|
||
|
# define reg11 register
|
||
|
# define reg12 register
|
||
|
# define reg13 register
|
||
|
# define reg14 register
|
||
|
# define reg15 register
|
||
|
# define reg17 register
|
||
|
# define reg18 register
|
||
|
# define reg19 register
|
||
|
# define reg20 register
|
||
|
# define reg21 register
|
||
|
# define reg22 register
|
||
|
# define reg23 register
|
||
|
# define reg24 register
|
||
|
# define reg25 register
|
||
|
# define reg26 register
|
||
|
# define reg27 register
|
||
|
# define reg28 register
|
||
|
# define reg29 register
|
||
|
# define reg30 register
|
||
|
# define reg31 register
|
||
|
|
||
|
#else
|
||
|
# define reg10 auto
|
||
|
# define reg11 auto
|
||
|
# define reg12 auto
|
||
|
# define reg13 auto
|
||
|
# define reg14 auto
|
||
|
# define reg15 auto
|
||
|
# define reg17 auto
|
||
|
# define reg18 auto
|
||
|
# define reg19 auto
|
||
|
# define reg20 auto
|
||
|
# define reg21 auto
|
||
|
# define reg22 auto
|
||
|
# define reg23 auto
|
||
|
# define reg24 auto
|
||
|
# define reg25 auto
|
||
|
# define reg26 auto
|
||
|
# define reg27 auto
|
||
|
# define reg28 auto
|
||
|
# define reg29 auto
|
||
|
# define reg30 auto
|
||
|
# define reg31 auto
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif /* end of hardware.h */
|