sys_info.h (87816) | sys_info.h (87826) |
---|---|
1/* $FreeBSD: head/sys/dev/asr/sys_info.h 87816 2001-12-13 19:54:12Z jhb $ */ | |
2/* 3 * Copyright (c) 1996-1999 Distributed Processing Technology Corporation 4 * All rights reserved. 5 * 6 * Redistribution and use in source form, with or without modification, are 7 * permitted provided that redistributions of source code must retain the 8 * above copyright notice, this list of conditions and the following disclaimer. 9 * --- 4 unchanged lines hidden (view full) --- 14 * liable for any direct, indirect, incidental, special, exemplary or 15 * consequential damages (including, but not limited to, procurement of 16 * substitute goods or services; loss of use, data, or profits; or business 17 * interruptions) however caused and on any theory of liability, whether in 18 * contract, strict liability, or tort (including negligence or otherwise) 19 * arising in any way out of the use of this driver software, even if advised 20 * of the possibility of such damage. 21 * | 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 $ |
|
22 */ 23 24#ifndef __SYS_INFO_H 25#define __SYS_INFO_H 26 27/*File - SYS_INFO.H 28 **************************************************************************** 29 * --- 59 unchanged lines hidden (view full) --- 89#endif 90 91 uSHORT cylinders; /* Upto 1024 */ 92 uCHAR heads; /* Upto 255 */ 93 uCHAR sectors; /* Upto 63 */ 94 95#ifdef __cplusplus 96 | 22 */ 23 24#ifndef __SYS_INFO_H 25#define __SYS_INFO_H 26 27/*File - SYS_INFO.H 28 **************************************************************************** 29 * --- 59 unchanged lines hidden (view full) --- 89#endif 90 91 uSHORT cylinders; /* Upto 1024 */ 92 uCHAR heads; /* Upto 255 */ 93 uCHAR sectors; /* Upto 63 */ 94 95#ifdef __cplusplus 96 |
97//---------- Portability Additions ----------- in sp_sinfo.cpp | 97/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
98#ifdef DPT_PORTABLE 99 uSHORT netInsert(dptBuffer_S *buffer); 100 uSHORT netExtract(dptBuffer_S *buffer); 101#endif /* DPT PORTABLE */ | 98#ifdef DPT_PORTABLE 99 uSHORT netInsert(dptBuffer_S *buffer); 100 uSHORT netExtract(dptBuffer_S *buffer); 101#endif /* DPT PORTABLE */ |
102//-------------------------------------------- | 102/*--------------------------------------------*/ |
103 104 }; 105#else 106 } driveParam_S; 107#endif 108/*driveParam_S - end */ 109 110 --- 56 unchanged lines hidden (view full) --- 167 uCHAR osSubRevision; 168 uCHAR busType; /* See defininitions above */ 169 uCHAR pad[3]; /* For alignment */ 170#endif 171 driveParam_S drives[16]; /* SmartROM Logical Drives */ 172 173#ifdef __cplusplus 174 | 103 104 }; 105#else 106 } driveParam_S; 107#endif 108/*driveParam_S - end */ 109 110 --- 56 unchanged lines hidden (view full) --- 167 uCHAR osSubRevision; 168 uCHAR busType; /* See defininitions above */ 169 uCHAR pad[3]; /* For alignment */ 170#endif 171 driveParam_S drives[16]; /* SmartROM Logical Drives */ 172 173#ifdef __cplusplus 174 |
175//---------- Portability Additions ----------- in sp_sinfo.cpp | 175/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
176#ifdef DPT_PORTABLE 177 uSHORT netInsert(dptBuffer_S *buffer); 178 uSHORT netExtract(dptBuffer_S *buffer); 179#endif /* DPT PORTABLE */ | 176#ifdef DPT_PORTABLE 177 uSHORT netInsert(dptBuffer_S *buffer); 178 uSHORT netExtract(dptBuffer_S *buffer); 179#endif /* DPT PORTABLE */ |
180//-------------------------------------------- | 180/*--------------------------------------------*/ |
181 182 }; 183#else 184 } sysInfo_S; 185#endif 186/*sysInfo_S - end */ 187 188 --- 19 unchanged lines hidden (view full) --- 208 209 uCHAR flags; /* See bit definitions above */ 210 uSHORT driverLocation; /* SmartROM BIOS address */ 211 uSHORT DOS_version; 212 uSHORT DPMI_version; 213 214#ifdef __cplusplus 215 | 181 182 }; 183#else 184 } sysInfo_S; 185#endif 186/*sysInfo_S - end */ 187 188 --- 19 unchanged lines hidden (view full) --- 208 209 uCHAR flags; /* See bit definitions above */ 210 uSHORT driverLocation; /* SmartROM BIOS address */ 211 uSHORT DOS_version; 212 uSHORT DPMI_version; 213 214#ifdef __cplusplus 215 |
216//---------- Portability Additions ----------- in sp_sinfo.cpp | 216/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
217#ifdef DPT_PORTABLE 218 uSHORT netInsert(dptBuffer_S *buffer); 219 uSHORT netExtract(dptBuffer_S *buffer); 220#endif /* DPT PORTABLE */ | 217#ifdef DPT_PORTABLE 218 uSHORT netInsert(dptBuffer_S *buffer); 219 uSHORT netExtract(dptBuffer_S *buffer); 220#endif /* DPT PORTABLE */ |
221//-------------------------------------------- | 221/*--------------------------------------------*/ |
222 223 }; 224#else 225 } DOS_Info_S; 226#endif 227/*DOS_Info_S - end */ 228 229 --- 26 unchanged lines hidden (view full) --- 256 uCHAR TTSlevel; 257 258 uCHAR clibMajorVersion; /* The CLIB.NLM version */ 259 uCHAR clibMinorVersion; 260 uCHAR clibRevision; 261 262#ifdef __cplusplus 263 | 222 223 }; 224#else 225 } DOS_Info_S; 226#endif 227/*DOS_Info_S - end */ 228 229 --- 26 unchanged lines hidden (view full) --- 256 uCHAR TTSlevel; 257 258 uCHAR clibMajorVersion; /* The CLIB.NLM version */ 259 uCHAR clibMinorVersion; 260 uCHAR clibRevision; 261 262#ifdef __cplusplus 263 |
264//---------- Portability Additions ----------- in sp_sinfo.cpp | 264/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
265#ifdef DPT_PORTABLE 266 uSHORT netInsert(dptBuffer_S *buffer); 267 uSHORT netExtract(dptBuffer_S *buffer); 268#endif /* DPT PORTABLE */ | 265#ifdef DPT_PORTABLE 266 uSHORT netInsert(dptBuffer_S *buffer); 267 uSHORT netExtract(dptBuffer_S *buffer); 268#endif /* DPT PORTABLE */ |
269//-------------------------------------------- | 269/*--------------------------------------------*/ |
270 271 }; 272#else 273 } Netware_Info_S; 274#endif 275/*Netware_Info_S - end */ 276 277 --- 12 unchanged lines hidden (view full) --- 290#else 291 typedef struct { 292#endif 293 294 uCHAR something; 295 296#ifdef __cplusplus 297 | 270 271 }; 272#else 273 } Netware_Info_S; 274#endif 275/*Netware_Info_S - end */ 276 277 --- 12 unchanged lines hidden (view full) --- 290#else 291 typedef struct { 292#endif 293 294 uCHAR something; 295 296#ifdef __cplusplus 297 |
298//---------- Portability Additions ----------- in sp_sinfo.cpp | 298/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
299#ifdef DPT_PORTABLE 300 uSHORT netInsert(dptBuffer_S *buffer); 301 uSHORT netExtract(dptBuffer_S *buffer); 302#endif /* DPT PORTABLE */ | 299#ifdef DPT_PORTABLE 300 uSHORT netInsert(dptBuffer_S *buffer); 301 uSHORT netExtract(dptBuffer_S *buffer); 302#endif /* DPT PORTABLE */ |
303//-------------------------------------------- | 303/*--------------------------------------------*/ |
304 305 }; 306#else 307 } OS2_Info_S; 308#endif 309/*OS2_Info_S - end */ 310 311 --- 12 unchanged lines hidden (view full) --- 324#else 325 typedef struct { 326#endif 327 328 uCHAR something; 329 330#ifdef __cplusplus 331 | 304 305 }; 306#else 307 } OS2_Info_S; 308#endif 309/*OS2_Info_S - end */ 310 311 --- 12 unchanged lines hidden (view full) --- 324#else 325 typedef struct { 326#endif 327 328 uCHAR something; 329 330#ifdef __cplusplus 331 |
332//---------- Portability Additions ----------- in sp_sinfo.cpp | 332/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
333#ifdef DPT_PORTABLE 334 uSHORT netInsert(dptBuffer_S *buffer); 335 uSHORT netExtract(dptBuffer_S *buffer); 336#endif /* DPT PORTABLE */ | 333#ifdef DPT_PORTABLE 334 uSHORT netInsert(dptBuffer_S *buffer); 335 uSHORT netExtract(dptBuffer_S *buffer); 336#endif /* DPT PORTABLE */ |
337//-------------------------------------------- | 337/*--------------------------------------------*/ |
338 339 }; 340#else 341 } WinNT_Info_S; 342#endif 343/*WinNT_Info_S - end */ 344 345 --- 12 unchanged lines hidden (view full) --- 358#else 359 typedef struct { 360#endif 361 362 uCHAR something; 363 364#ifdef __cplusplus 365 | 338 339 }; 340#else 341 } WinNT_Info_S; 342#endif 343/*WinNT_Info_S - end */ 344 345 --- 12 unchanged lines hidden (view full) --- 358#else 359 typedef struct { 360#endif 361 362 uCHAR something; 363 364#ifdef __cplusplus 365 |
366//---------- Portability Additions ----------- in sp_sinfo.cpp | 366/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
367#ifdef DPT_PORTABLE 368 uSHORT netInsert(dptBuffer_S *buffer); 369 uSHORT netExtract(dptBuffer_S *buffer); 370#endif /* DPT PORTABLE */ | 367#ifdef DPT_PORTABLE 368 uSHORT netInsert(dptBuffer_S *buffer); 369 uSHORT netExtract(dptBuffer_S *buffer); 370#endif /* DPT PORTABLE */ |
371//-------------------------------------------- | 371/*--------------------------------------------*/ |
372 373 }; 374#else 375 } SCO_Info_S; 376#endif 377/*SCO_Info_S - end */ 378 379 --- 12 unchanged lines hidden (view full) --- 392#else 393 typedef struct { 394#endif 395 396 uCHAR something; 397 398#ifdef __cplusplus 399 | 372 373 }; 374#else 375 } SCO_Info_S; 376#endif 377/*SCO_Info_S - end */ 378 379 --- 12 unchanged lines hidden (view full) --- 392#else 393 typedef struct { 394#endif 395 396 uCHAR something; 397 398#ifdef __cplusplus 399 |
400//---------- Portability Additions ----------- in sp_sinfo.cpp | 400/*---------- Portability Additions ----------- in sp_sinfo.cpp */ |
401#ifdef DPT_PORTABLE 402 uSHORT netInsert(dptBuffer_S *buffer); 403 uSHORT netExtract(dptBuffer_S *buffer); 404#endif /* DPT PORTABLE */ | 401#ifdef DPT_PORTABLE 402 uSHORT netInsert(dptBuffer_S *buffer); 403 uSHORT netExtract(dptBuffer_S *buffer); 404#endif /* DPT PORTABLE */ |
405//-------------------------------------------- | 405/*--------------------------------------------*/ |
406 407 }; 408#else 409 } USL_Info_S; 410#endif 411/*USL_Info_S - end */ 412 413 --- 69 unchanged lines hidden --- | 406 407 }; 408#else 409 } USL_Info_S; 410#endif 411/*USL_Info_S - end */ 412 413 --- 69 unchanged lines hidden --- |