Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Io Class Reference

PC I/O port API. More...

#include <io.h>

List of all members.

Static Public Member Functions

static void iodelay ()
 Delay for slow I/O operations.
template<typename T>
static T read (Address address)
template<typename T>
static void write (T value, Address address)
static Unsigned8 in8 (unsigned long port)
 Read byte port.
static Unsigned16 in16 (unsigned long port)
 Read 16-bit port.
static Unsigned32 in32 (unsigned long port)
 Read 32-bit port.
static void out8 (Unsigned8 val, unsigned long port)
 Write byte port.
static void out16 (Unsigned16 val, unsigned long port)
 Write 16-bit port.
static void out32 (Unsigned32 val, unsigned long port)
 Write 32-bit port.
Delayed versions.
static Unsigned8 in8_p (unsigned long port)
 Read 8-bit port.
static Unsigned16 in16_p (unsigned long port)
 Read 16-bit port.
static Unsigned32 in32_p (unsigned long port)
 Read 32-bit port.
static void out8_p (Unsigned8 val, unsigned long port)
 Write 8-bit port.
static void out16_p (Unsigned16 val, unsigned long port)
 Write 16-bit port.
static void out32_p (Unsigned32 val, unsigned long port)
 Write 32-bit port.


Detailed Description

PC I/O port API.


Member Function Documentation

Unsigned16 Io::in16 unsigned long  port  )  [inline, static]
 

Read 16-bit port.

Unsigned16 Io::in16_p unsigned long  port  )  [inline, static]
 

Read 16-bit port.

Unsigned32 Io::in32 unsigned long  port  )  [inline, static]
 

Read 32-bit port.

Unsigned32 Io::in32_p unsigned long  port  )  [inline, static]
 

Read 32-bit port.

Unsigned8 Io::in8 unsigned long  port  )  [inline, static]
 

Read byte port.

Unsigned8 Io::in8_p unsigned long  port  )  [inline, static]
 

Read 8-bit port.

void Io::iodelay  )  [inline, static]
 

Delay for slow I/O operations.

void Io::out16 Unsigned16  val,
unsigned long  port
[inline, static]
 

Write 16-bit port.

void Io::out16_p Unsigned16  val,
unsigned long  port
[inline, static]
 

Write 16-bit port.

void Io::out32 Unsigned32  val,
unsigned long  port
[inline, static]
 

Write 32-bit port.

void Io::out32_p Unsigned32  val,
unsigned long  port
[inline, static]
 

Write 32-bit port.

void Io::out8 Unsigned8  val,
unsigned long  port
[inline, static]
 

Write byte port.

void Io::out8_p Unsigned8  val,
unsigned long  port
[inline, static]
 

Write 8-bit port.

template<typename T>
static T Io::read Address  address  )  [static]
 

template<typename T>
static void Io::write value,
Address  address
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 26 14:20:14 2005 for Fiasco by  doxygen 1.4.2