source:
trunk /src /kernel32 /cio.h @
4
| Last change on this file since 4 was 4, checked in by ktk, 27 years ago | |
|---|---|
|
Import |
|
| File size: 784 bytes | |
| Line | |
|---|---|
| 1 | /* $Id: cio.h,v 1.1 1999年05月24日 20:19:43 ktk Exp $ */ |
| 2 | |
| 3 | /* Copyright (C) 1995 by Holger Veit (Holger.Veit@gmd.de) */ |
| 4 | /* Use at your own risk! No Warranty! The author is not responsible for |
| 5 | * any damage or loss of data caused by proper or improper use of this |
| 6 | * device driver. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _CIO_H_ |
| 10 | #define _CIO_H_ |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern"C"{ |
| 14 | #endif |
| 15 | |
| 16 | externintCDECLio_init(void); |
| 17 | externintCDECLio_exit(void); |
| 18 | |
| 19 | externintCDECLio_init1(void); |
| 20 | externintCDECLio_exit1(void); |
| 21 | |
| 22 | externcharCDECLc_inb(short); |
| 23 | externshortCDECLc_inw(short); |
| 24 | externlongCDECLc_inl(short); |
| 25 | externvoidCDECLc_outb(short,char); |
| 26 | externvoidCDECLc_outw(short,short); |
| 27 | externvoidCDECLc_outl(short,long); |
| 28 | externvoidCDECLc_readmsr(long,long*); |
| 29 | |
| 30 | #ifdef __cplusplus |
| 31 | } |
| 32 | #endif |
| 33 | |
| 34 | #endif |
Note:
See TracBrowser
for help on using the repository browser.