General Info

Interface: IOPortManager_i386
Files: ioportmanager_i386.h
Last Change: 12/10/2003
Author: Luiz Henrique Shigunov
Description
Functions

xxxx - InChar - Read a char from a port
xxxx - InChars - Read some char from a port
xxxx - InShort - Read a short from a port
xxxx - InShorts - Read some short from a port
xxxx - InInt - Read an int from a port
xxxx - InInts - Read some int from a port

xxxx - OutChar - Write a char in a port
xxxx - OutChars - Write some char in a port
xxxx - OutShort - Write a short in a port
xxxx - OutShorts - Write some short in a port
xxxx - OutInt - Write an int in a port
xxxx - OutInts - Write some int in a port

Description

This page describes the IOPortManager_i386 interface.

xxxx - InChar

Syntax

unsigned char IOPortManager_i386_InChar(unsigned short port);

Properties

Description

This function reads a char from port.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

The read char.

xxxx - InChars

Syntax

void IOPortManager_i386_InChars(unsigned short port, void *addr, unsigned int size);

Properties

Description

This function reads size char from port and puts them in addr.

size cannot be zero.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - InShort

Syntax

unsigned short IOPortManager_i386_InShort(unsigned short port);

Properties

Description

This function reads a short from port.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

The read short.

xxxx - InShorts

Syntax

void IOPortManager_i386_InShorts(unsigned short port, void *addr, unsigned int size);

Properties

Description

This function reads size short from port and puts them in addr.

size cannot be zero.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - InInt

Syntax

unsigned int IOPortManager_i386_InInt(unsigned short port);

Properties

Description

This function reads an int from port.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

The read int.

xxxx - InInts

Syntax

void IOPortManager_i386_InInts(unsigned short port, void *addr, unsigned int size);

Properties

Description

This function reads size int from port and puts them in addr.

size cannot be zero.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - OutChar

Syntax

void IOPortManager_i386_OutChar(unsigned short port, unsigned char value);

Properties

Description

This function writes the char value in port.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - OutChars

Syntax

void IOPortManager_i386_OutChars(unsigned short port, const void *addr, unsigned int size);

Properties

Description

This function writes size char in port. The char are read from addr.

size cannot be zero.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - OutShort

Syntax

void IOPortManager_i386_OutShort(unsigned short port, unsigned short value);

Properties

Description

This function writes the short value in port.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - OutShorts

Syntax

void IOPortManager_i386_OutShorts(unsigned short port, const void *addr, unsigned int size);

Properties

Description

This function writes size short in port. The short are read from addr.

size cannot be zero.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - OutInt

Syntax

void IOPortManager_i386_OutInt(unsigned short port, unsigned int value);

Properties

Description

This function writes the int value in port.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.

xxxx - OutInts

Syntax

void IOPortManager_i386_OutInts(unsigned short port, const void *addr, unsigned int size);

Properties

Description

This function writes size int in port. The int are read from addr.

size cannot be zero.

This function is an inline function, that is, is like a macro and so doesn't need to appear in the usedfunctions session of the module's .spec file.

Return value

Nothing.