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

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
15extern "C" {
16#endif
17
18int CDECL io_init(void);
19int CDECL io_exit(void);
20
21int CDECL io_init1(void);
22int CDECL io_exit1(void);
23
24char CDECL c_inb(short);
25short CDECL c_inw(short);
26long CDECL c_inl(short);
27void CDECL c_outb(short,char);
28void CDECL c_outw(short,short);
29void CDECL c_outl(short,long);
30void 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.