Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Merge branch 'devel' of newskysaw.cs.northwestern.edu:/home/palacios/palacios into...
[palacios.git] / geekos / include / geekos / io.h
1 /*
2  * x86 port IO routines
3  * Copyright (c) 2001, David H. Hovemeyer <daveho@cs.umd.edu>
4  * $Revision: 1.2 $
5  * 
6  * This is free software.  You are permitted to use,
7  * redistribute, and modify it as specified in the file "COPYING".
8  */
9
10 #ifndef GEEKOS_IO_H
11 #define GEEKOS_IO_H
12
13 #include <geekos/ktypes.h>
14
15 void Out_Byte(ushort_t port, uchar_t value);
16 uchar_t In_Byte(ushort_t port);
17
18 void Out_Word(ushort_t port, ushort_t value);
19 ushort_t In_Word(ushort_t port);
20
21 void Out_DWord(ushort_t port, uint_t value);
22 uint_t In_DWord(ushort_t port);
23
24 void IO_Delay(void);
25
26 #endif  /* GEEKOS_IO_H */