Changeset 46 for trunk/src/kernel32/cio.h
- Timestamp:
- Jun 7, 1999, 10:58:22 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/cio.h
r21 r46 1 /* $Id: cio.h,v 1.2 1999-05-31 23:22:40 phaller Exp $ */2 3 1 /* Copyright (C) 1995 by Holger Veit (Holger.Veit@gmd.de) */ 4 2 /* Use at your own risk! No Warranty! The author is not responsible for … … 10 8 #define _CIO_H_ 11 9 10 #include <odin.h> 11 12 12 #ifdef __cplusplus 13 13 extern "C" { 14 14 #endif 15 15 16 #include <odin.h> 17 #include <builtin.h> 16 int CDECL io_init(void); 17 int CDECL io_exit(void); 18 18 19 extern int CDECL io_init(void);20 extern int CDECL io_exit(void);19 int CDECL io_init1(void); 20 int CDECL io_exit1(void); 21 21 22 extern int CDECL io_init1(void); 23 extern int CDECL io_exit1(void); 24 25 extern char CDECL c_inb(short); 26 extern short CDECL c_inw(short); 27 extern long CDECL c_inl(short); 28 extern void CDECL c_outb(short,char); 29 extern void CDECL c_outw(short,short); 30 extern void CDECL c_outl(short,long); 31 extern void CDECL c_readmsr(long, long *); 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 *); 32 29 33 30 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.