source: trunk /src /kernel32 /cio.h @ 21

Last change on this file since 21 was 21, checked in by phaller, 26 years ago

Fixed a few more minor build glitches

File size: 828 bytes
Line
1 /* $Id: cio.h,v 1.2 1999年05月31日 23:22:40 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 #ifdef __cplusplus
13 extern"C"{
14 #endif
15
16 #include<odin.h>
17 #include<builtin.h>
18
19 externintCDECLio_init(void);
20 externintCDECLio_exit(void);
21
22 externintCDECLio_init1(void);
23 externintCDECLio_exit1(void);
24
25 externcharCDECLc_inb(short);
26 externshortCDECLc_inw(short);
27 externlongCDECLc_inl(short);
28 externvoidCDECLc_outb(short,char);
29 externvoidCDECLc_outw(short,short);
30 externvoidCDECLc_outl(short,long);
31 externvoidCDECLc_readmsr(long,long*);
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif
Note: See TracBrowser for help on using the repository browser.

AltStyle によって変換されたページ (->オリジナル) /