sys_info.h (87826) | sys_info.h (96551) |
---|---|
1/* 2 * Copyright (c) 1996-1999 Distributed Processing Technology Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source form, with or without modification, are 6 * permitted provided that redistributions of source code must retain the 7 * above copyright notice, this list of conditions and the following disclaimer. 8 * --- 4 unchanged lines hidden (view full) --- 13 * liable for any direct, indirect, incidental, special, exemplary or 14 * consequential damages (including, but not limited to, procurement of 15 * substitute goods or services; loss of use, data, or profits; or business 16 * interruptions) however caused and on any theory of liability, whether in 17 * contract, strict liability, or tort (including negligence or otherwise) 18 * arising in any way out of the use of this driver software, even if advised 19 * of the possibility of such damage. 20 * | 1/* 2 * Copyright (c) 1996-1999 Distributed Processing Technology Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source form, with or without modification, are 6 * permitted provided that redistributions of source code must retain the 7 * above copyright notice, this list of conditions and the following disclaimer. 8 * --- 4 unchanged lines hidden (view full) --- 13 * liable for any direct, indirect, incidental, special, exemplary or 14 * consequential damages (including, but not limited to, procurement of 15 * substitute goods or services; loss of use, data, or profits; or business 16 * interruptions) however caused and on any theory of liability, whether in 17 * contract, strict liability, or tort (including negligence or otherwise) 18 * arising in any way out of the use of this driver software, even if advised 19 * of the possibility of such damage. 20 * |
21 * $FreeBSD: head/sys/dev/asr/sys_info.h 87826 2001-12-13 23:48:34Z obrien $ | 21 * $FreeBSD: head/sys/dev/asr/sys_info.h 96551 2002-05-14 00:53:08Z obrien $ |
22 */ 23 24#ifndef __SYS_INFO_H | 22 */ 23 24#ifndef __SYS_INFO_H |
25#define __SYS_INFO_H | 25#define __SYS_INFO_H |
26 27/*File - SYS_INFO.H 28 **************************************************************************** 29 * 30 *Description: 31 * 32 * This file contains structure definitions for the OS dependent 33 *layer system information buffers. --- 80 unchanged lines hidden (view full) --- 114 *Description: 115 * 116 * This structure defines the command system information that 117 *should be returned by every OS dependent layer. 118 * 119 *---------------------------------------------------------------------------*/ 120 121/*flags - bit definitions */ | 26 27/*File - SYS_INFO.H 28 **************************************************************************** 29 * 30 *Description: 31 * 32 * This file contains structure definitions for the OS dependent 33 *layer system information buffers. --- 80 unchanged lines hidden (view full) --- 114 *Description: 115 * 116 * This structure defines the command system information that 117 *should be returned by every OS dependent layer. 118 * 119 *---------------------------------------------------------------------------*/ 120 121/*flags - bit definitions */ |
122#define SI_CMOS_Valid 0x0001 123#define SI_NumDrivesValid 0x0002 124#define SI_ProcessorValid 0x0004 125#define SI_MemorySizeValid 0x0008 126#define SI_DriveParamsValid 0x0010 127#define SI_SmartROMverValid 0x0020 128#define SI_OSversionValid 0x0040 129#define SI_OSspecificValid 0x0080 /* 1 if OS structure returned */ 130#define SI_BusTypeValid 0x0100 | 122#define SI_CMOS_Valid 0x0001 123#define SI_NumDrivesValid 0x0002 124#define SI_ProcessorValid 0x0004 125#define SI_MemorySizeValid 0x0008 126#define SI_DriveParamsValid 0x0010 127#define SI_SmartROMverValid 0x0020 128#define SI_OSversionValid 0x0040 129#define SI_OSspecificValid 0x0080 /* 1 if OS structure returned */ 130#define SI_BusTypeValid 0x0100 |
131 | 131 |
132#define SI_ALL_VALID 0x0FFF /* All Std SysInfo is valid */ 133#define SI_NO_SmartROM 0x8000 | 132#define SI_ALL_VALID 0x0FFF /* All Std SysInfo is valid */ 133#define SI_NO_SmartROM 0x8000 |
134 135/*busType - definitions */ | 134 135/*busType - definitions */ |
136#define SI_ISA_BUS 0x00 137#define SI_MCA_BUS 0x01 138#define SI_EISA_BUS 0x02 139#define SI_PCI_BUS 0x04 | 136#define SI_ISA_BUS 0x00 137#define SI_MCA_BUS 0x01 138#define SI_EISA_BUS 0x02 139#define SI_PCI_BUS 0x04 |
140 141#ifdef __cplusplus 142 struct sysInfo_S { 143#else 144 typedef struct { 145#endif 146 147 uCHAR drive0CMOS; /* CMOS Drive 0 Type */ --- 44 unchanged lines hidden (view full) --- 192 *Description: 193 * 194 * This structure defines the system information specific to a 195 *DOS workstation. 196 * 197 *---------------------------------------------------------------------------*/ 198 199/*flags - bit definitions */ | 140 141#ifdef __cplusplus 142 struct sysInfo_S { 143#else 144 typedef struct { 145#endif 146 147 uCHAR drive0CMOS; /* CMOS Drive 0 Type */ --- 44 unchanged lines hidden (view full) --- 192 *Description: 193 * 194 * This structure defines the system information specific to a 195 *DOS workstation. 196 * 197 *---------------------------------------------------------------------------*/ 198 199/*flags - bit definitions */ |
200#define DI_DOS_HIGH 0x01 /* DOS is loaded high */ 201#define DI_DPMI_VALID 0x02 /* DPMI version is valid */ | 200#define DI_DOS_HIGH 0x01 /* DOS is loaded high */ 201#define DI_DPMI_VALID 0x02 /* DPMI version is valid */ |
202 203#ifdef __cplusplus 204 struct DOS_Info_S { 205#else 206 typedef struct { 207#endif 208 209 uCHAR flags; /* See bit definitions above */ --- 248 unchanged lines hidden (view full) --- 458 u_int32_t write_by_size_count[10]; 459 u_int32_t read_by_size_min_time[10]; 460 u_int32_t read_by_size_max_time[10]; 461 struct timeval read_by_size_total_time[10]; 462 u_int32_t write_by_size_min_time[10]; 463 u_int32_t write_by_size_max_time[10]; 464 struct timeval write_by_size_total_time[10]; 465 | 202 203#ifdef __cplusplus 204 struct DOS_Info_S { 205#else 206 typedef struct { 207#endif 208 209 uCHAR flags; /* See bit definitions above */ --- 248 unchanged lines hidden (view full) --- 458 u_int32_t write_by_size_count[10]; 459 u_int32_t read_by_size_min_time[10]; 460 u_int32_t read_by_size_max_time[10]; 461 struct timeval read_by_size_total_time[10]; 462 u_int32_t write_by_size_min_time[10]; 463 u_int32_t write_by_size_max_time[10]; 464 struct timeval write_by_size_total_time[10]; 465 |
466#define SIZE_512 0 467#define SIZE_1K 1 468#define SIZE_2K 2 469#define SIZE_4K 3 470#define SIZE_8K 4 471#define SIZE_16K 5 472#define SIZE_32K 6 473#define SIZE_64K 7 474#define SIZE_BIGGER 8 475#define SIZE_OTHER 9 | 466#define SIZE_512 0 467#define SIZE_1K 1 468#define SIZE_2K 2 469#define SIZE_4K 3 470#define SIZE_8K 4 471#define SIZE_16K 5 472#define SIZE_32K 6 473#define SIZE_64K 7 474#define SIZE_BIGGER 8 475#define SIZE_OTHER 9 |
476 477 struct timeval intr_started; 478} dpt_perf_t; 479#endif 480 481#endif /* __SYS_INFO_H */ 482 | 476 477 struct timeval intr_started; 478} dpt_perf_t; 479#endif 480 481#endif /* __SYS_INFO_H */ 482 |