Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) /*	BSDI sys_info.h,v 1.6 1998/06/03 19:14:59 karels Exp	*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4)  * Copyright (c) 1996-1999 Distributed Processing Technology Corporation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5)  * All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7)  * Redistribution and use in source form, with or without modification, are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8)  * permitted provided that redistributions of source code must retain the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9)  * above copyright notice, this list of conditions and the following disclaimer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11)  * This software is provided `as is' by Distributed Processing Technology and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12)  * any express or implied warranties, including, but not limited to, the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13)  * implied warranties of merchantability and fitness for a particular purpose,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14)  * are disclaimed. In no event shall Distributed Processing Technology be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15)  * liable for any direct, indirect, incidental, special, exemplary or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16)  * consequential damages (including, but not limited to, procurement of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17)  * substitute goods or services; loss of use, data, or profits; or business
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18)  * interruptions) however caused and on any theory of liability, whether in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19)  * contract, strict liability, or tort (including negligence or otherwise)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20)  * arising in any way out of the use of this driver software, even if advised
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21)  * of the possibility of such damage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) #ifndef         __SYS_INFO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) #define         __SYS_INFO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) /*File - SYS_INFO.H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29)  ****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33)  *      This file contains structure definitions for the OS dependent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34)  *layer system information buffers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36)  *Copyright Distributed Processing Technology, Corp.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37)  *        140 Candace Dr.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38)  *        Maitland, Fl. 32751   USA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39)  *        Phone: (407) 830-5522  Fax: (407) 260-5366
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40)  *        All Rights Reserved
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42)  *Author:       Don Kemper
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43)  *Date:         5/10/94
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45)  *Editors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47)  *Remarks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50)  *****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) /*Include Files ------------------------------------------------------------- */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) #include        "osd_util.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) #ifndef NO_PACK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) #if defined (_DPT_AIX)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) #pragma options align=packed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) #pragma pack(1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) #endif  /* aix */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) #endif  // no unpack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) /*struct - driveParam_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71)  *      This structure defines the drive parameters seen during
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72)  *booting.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77)    struct driveParam_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79)    typedef struct  {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82)    uSHORT       cylinders;      /* Up to 1024 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83)    uCHAR        heads;          /* Up to 255 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84)    uCHAR        sectors;        /* Up to 63 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97)    } driveParam_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) /*driveParam_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) /*struct - sysInfo_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)  *      This structure defines the command system information that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108)  *should be returned by every OS dependent layer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) /*flags - bit definitions */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) #define SI_CMOS_Valid           0x0001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) #define SI_NumDrivesValid       0x0002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) #define SI_ProcessorValid       0x0004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) #define SI_MemorySizeValid      0x0008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) #define SI_DriveParamsValid     0x0010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) #define SI_SmartROMverValid     0x0020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) #define SI_OSversionValid       0x0040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) #define SI_OSspecificValid      0x0080  /* 1 if OS structure returned */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) #define SI_BusTypeValid         0x0100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) #define SI_ALL_VALID            0x0FFF  /* All Std SysInfo is valid */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) #define SI_NO_SmartROM          0x8000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) /*busType - definitions */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) #define SI_ISA_BUS      0x00
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) #define SI_MCA_BUS      0x01
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) #define SI_EISA_BUS     0x02
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) #define SI_PCI_BUS      0x04
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133)    struct sysInfo_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135)    typedef struct  {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)    uCHAR        drive0CMOS;             /* CMOS Drive 0 Type */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139)    uCHAR        drive1CMOS;             /* CMOS Drive 1 Type */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140)    uCHAR        numDrives;              /* 0040:0075 contents */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141)    uCHAR        processorFamily;        /* Same as DPTSIG's definition */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142)    uCHAR        processorType;          /* Same as DPTSIG's definition */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)    uCHAR        smartROMMajorVersion;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)    uCHAR        smartROMMinorVersion;   /* SmartROM version */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)    uCHAR        smartROMRevision;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)    uSHORT       flags;                  /* See bit definitions above */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147)    uSHORT       conventionalMemSize;    /* in KB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148)    uINT         extendedMemSize;        /* in KB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149)    uINT         osType;                 /* Same as DPTSIG's definition */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)    uCHAR        osMajorVersion;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151)    uCHAR        osMinorVersion;         /* The OS version */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)    uCHAR        osRevision;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) #ifdef _SINIX_ADDON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154)    uCHAR        busType;                /* See defininitions above */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)    uSHORT       osSubRevision;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)    uCHAR        pad[2];                 /* For alignment */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)    uCHAR        osSubRevision;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159)    uCHAR        busType;                /* See defininitions above */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)    uCHAR        pad[3];                 /* For alignment */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)    driveParam_S drives[16];             /* SmartROM Logical Drives */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175)    } sysInfo_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) /*sysInfo_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) /*struct - DOS_Info_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185)  *      This structure defines the system information specific to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)  *DOS workstation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) /*flags - bit definitions */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) #define DI_DOS_HIGH             0x01    /* DOS is loaded high */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) #define DI_DPMI_VALID           0x02    /* DPMI version is valid */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195)    struct DOS_Info_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197)    typedef struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200)    uCHAR        flags;          /* See bit definitions above */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)    uSHORT       driverLocation; /* SmartROM BIOS address */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202)    uSHORT       DOS_version;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)    uSHORT       DPMI_version;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216)    } DOS_Info_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) /*DOS_Info_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) /*struct - Netware_Info_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)  *      This structure defines the system information specific to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227)  *Netware machine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232)    struct Netware_Info_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234)    typedef struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237)    uCHAR        driverName[13];         /* ie PM12NW31.DSK */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238)    uCHAR        serverName[48];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239)    uCHAR        netwareVersion;         /* The Netware OS version */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240)    uCHAR        netwareSubVersion;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241)    uCHAR        netwareRevision;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242)    uSHORT       maxConnections;         /* Probably  250 or 1000 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243)    uSHORT       connectionsInUse;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244)    uSHORT       maxVolumes;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245)    uCHAR        unused;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246)    uCHAR        SFTlevel;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247)    uCHAR        TTSlevel;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249)    uCHAR        clibMajorVersion;       /* The CLIB.NLM version */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250)    uCHAR        clibMinorVersion;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251)    uCHAR        clibRevision;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264)    } Netware_Info_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) /*Netware_Info_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) /*struct - OS2_Info_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274)  *      This structure defines the system information specific to an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275)  *OS/2 machine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280)    struct OS2_Info_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282)    typedef struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285)    uCHAR        something;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298)    } OS2_Info_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) /*OS2_Info_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) /*struct - WinNT_Info_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308)  *      This structure defines the system information specific to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309)  *Windows NT machine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314)    struct WinNT_Info_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316)    typedef struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319)    uCHAR        something;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332)    } WinNT_Info_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) /*WinNT_Info_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) /*struct - SCO_Info_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342)  *      This structure defines the system information specific to an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343)  *SCO UNIX machine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348)    struct SCO_Info_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350)    typedef struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353)    uCHAR        something;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366)    } SCO_Info_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) /*SCO_Info_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) /*struct - USL_Info_S - start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372)  *===========================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376)  *      This structure defines the system information specific to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377)  *USL UNIX machine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379)  *---------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382)    struct USL_Info_S {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384)    typedef struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387)    uCHAR        something;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) #ifdef  __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) //---------- Portability Additions ----------- in sp_sinfo.cpp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) #ifdef DPT_PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) 	uSHORT		netInsert(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) 	uSHORT		netExtract(dptBuffer_S *buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) #endif // DPT PORTABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) //--------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398)    };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400)    } USL_Info_S;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) /*USL_Info_S - end */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405)   /* Restore default structure packing */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) #ifndef NO_UNPACK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) #if defined (_DPT_AIX)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) #pragma options align=reset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) #elif defined (UNPACK_FOUR)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) #pragma pack(4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) #pragma pack()
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) #endif  /* aix */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) #endif  // no unpack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) #endif  // __SYS_INFO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417)