EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/IoLib.c File Reference

#include "EdkIIGlueBase.h"

Go to the source code of this file.

Functions

UINT64 EFIAPI IoRead64 (IN UINTN Port)
UINT64 EFIAPI IoWrite64 (IN UINTN Port, IN UINT64 Value)

Function Documentation

UINT64 EFIAPI IoRead64 ( IN UINTN  Port)

Reads a 64-bit I/O port.

Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned. This function must guarantee that all I/O read and write operations are serialized.

If 64-bit I/O port operations are not supported, then ASSERT().

Parameters:
PortThe I/O port to read.
Returns:
The value read.

Definition at line 41 of file IoLib.c.

UINT64 EFIAPI IoWrite64 ( IN UINTN  Port,
IN UINT64  Value 
)

Writes a 64-bit I/O port.

Writes the 64-bit I/O port specified by Port with the value specified by Value and returns Value. This function must guarantee that all I/O read and write operations are serialized.

If 64-bit I/O port operations are not supported, then ASSERT().

Parameters:
PortThe I/O port to write.
ValueThe value to write to the I/O port.
Returns:
The value written the I/O port.

Definition at line 66 of file IoLib.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines