The DKI provides specific I/O routines optimized to handle byte swapping. Typically, these services are intended to be used by a host bus driver to handle different byte ordering between the processor bus and the host bus.
Specific I/O services are defined below as sets of routines where the _xx suffix indicates the bit length of the data on which the services apply. This suffix may take one of the following values:
_16 for 16-bit data
_32 for 32-bit data
_64 for 64-bit data
Specific input/output related services are described below. See the man pages for complete descriptions of listed commands:
loads data from a given address and returns the corresponding byte swapped value. The addr argument specifies the address to read from
stores into a given address the value byte swapped
swap in place the bytes of the data stored at a given address