source: trunk/src/kernel32/old/cio.h@ 2016

Last change on this file since 2016 was 955, checked in by sandervl, 26 years ago

Backup copy of old kernel32

File size: 731 bytes
Line 
1/* $Id: cio.h,v 1.1 1999-09-15 23:32:49 sandervl 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.