## **Overview**
**Related Modules:**
[OSAL](OSAL.md)
**Description:**
Declares I/O interfaces.
This file provides operations, such as reading data from and writing data into an I/O address space, remapping an I/O address space to its virtual address space, and unmapping an I/O virtual address associated with the physical address.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Macros
OSAL_WRITEB(value, address) writeb(value, address) | Writes one byte of data into an I/O address space. |
OSAL_WRITEW(value, address) writew(value, address) | Writes a short integer into an I/O address space. |
OSAL_WRITEL(value, address) writel(value, address) | Writes an integer into an I/O address space. |
OSAL_READB(address) readb(address) | Reads one byte of data from an I/O address space. |
OSAL_READW(address) readw(address) | Reads a short integer from an I/O address space. |
OSAL_READL(address) readl(address) | Reads an integer from an I/O address space. |
## Functions
OsalIoRemap (unsigned long phys_addr, unsigned long size) | Remaps an I/O physical address to its virtual address. |
OsalIoUnmap (void *addr) | Unmaps an I/O virtual address associated with the physical address. |