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

Last change on this file since 4292 was 4285, checked in by hugh, 25 years ago

Implemented Serial APIs

File size: 646 bytes
Line 
1/* $Id: cio.h,v 1.5 2000-09-20 21:32:54 hugh 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 io_init1(void);
19int io_init2(short);
20int io_exit1(void);
21
22char c_inb(short);
23short c_inw(short);
24long c_inl(short);
25void c_outb(short,char);
26void c_outw(short,short);
27void c_outl(short,long);
28//void CDECL c_readmsr(long, long *);
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif
Note: See TracBrowser for help on using the repository browser.