Last change
on this file since 1036 was 99, checked in by phaller, 26 years ago |
Add: added cvs variable $Id$ to source files.
|
File size:
730 bytes
|
Line | |
---|
1 | /* $Id: cio.h,v 1.4 1999-06-10 19:11:29 phaller 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 CDECL io_init(void);
|
---|
19 | int CDECL io_exit(void);
|
---|
20 |
|
---|
21 | int CDECL io_init1(void);
|
---|
22 | int CDECL io_exit1(void);
|
---|
23 |
|
---|
24 | char CDECL c_inb(short);
|
---|
25 | short CDECL c_inw(short);
|
---|
26 | long CDECL c_inl(short);
|
---|
27 | void CDECL c_outb(short,char);
|
---|
28 | void CDECL c_outw(short,short);
|
---|
29 | void CDECL c_outl(short,long);
|
---|
30 | void CDECL c_readmsr(long, long *);
|
---|
31 |
|
---|
32 | #ifdef __cplusplus
|
---|
33 | }
|
---|
34 | #endif
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.