Line | |
---|
1 | /* $Id: cio.h,v 1.5 2000-09-20 21:32:54 hugh 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 | #include <odin.h>
|
---|
13 |
|
---|
14 | #ifdef __cplusplus
|
---|
15 | extern "C" {
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | int io_init1(void);
|
---|
19 | int io_init2(short);
|
---|
20 | int io_exit1(void);
|
---|
21 |
|
---|
22 | char c_inb(short);
|
---|
23 | short c_inw(short);
|
---|
24 | long c_inl(short);
|
---|
25 | void c_outb(short,char);
|
---|
26 | void c_outw(short,short);
|
---|
27 | void 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.