Line | |
---|
1 | /* Copyright (C) 1995 by Holger Veit (Holger.Veit@gmd.de) */
|
---|
2 | /* Use at your own risk! No Warranty! The author is not responsible for
|
---|
3 | * any damage or loss of data caused by proper or improper use of this
|
---|
4 | * device driver.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef _CIO_H_
|
---|
8 | #define _CIO_H_
|
---|
9 |
|
---|
10 | #include <odin.h>
|
---|
11 |
|
---|
12 | #ifdef __cplusplus
|
---|
13 | extern "C" {
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | int CDECL io_init(void);
|
---|
17 | int CDECL io_exit(void);
|
---|
18 |
|
---|
19 | int CDECL io_init1(void);
|
---|
20 | int CDECL io_exit1(void);
|
---|
21 |
|
---|
22 | char CDECL c_inb(short);
|
---|
23 | short CDECL c_inw(short);
|
---|
24 | long CDECL c_inl(short);
|
---|
25 | void CDECL c_outb(short,char);
|
---|
26 | void CDECL c_outw(short,short);
|
---|
27 | void CDECL c_outl(short,long);
|
---|
28 | void CDECL c_readmsr(long, long *);
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | }
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.