|
iPXE
|
Dummy PIO reads and writes up to 32 bits. More...
#include <string.h>Go to the source code of this file.
Macros | |
| #define | DUMMY_INX(_prefix, _suffix, _type) |
| #define | DUMMY_OUTX(_prefix, _suffix, _type) |
| #define | DUMMY_IOREADX(_prefix, _width, _suffix, _type) |
| #define | DUMMY_IOWRITEX(_prefix, _width, _suffix, _type) |
| #define | DUMMY_IODELAY(_prefix) |
| #define | DUMMY_PIO(_prefix) |
| #define | PROVIDE_DUMMY_PIO(_prefix) |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
Dummy PIO reads and writes up to 32 bits.
There is no common standard for I/O-space access for non-x86 CPU families, and non-MMIO peripherals are vanishingly rare. Provide dummy implementations that will allow code to link and should cause drivers to simply fail to detect hardware at runtime.
Definition in file dummy_pio.h.
| #define DUMMY_INX | ( | _prefix, | |
| _suffix, | |||
| _type ) |
Definition at line 19 of file dummy_pio.h.
| #define DUMMY_OUTX | ( | _prefix, | |
| _suffix, | |||
| _type ) |
Definition at line 30 of file dummy_pio.h.
| #define DUMMY_IOREADX | ( | _prefix, | |
| _width, | |||
| _suffix, | |||
| _type ) |
Definition at line 43 of file dummy_pio.h.
| #define DUMMY_IOWRITEX | ( | _prefix, | |
| _width, | |||
| _suffix, | |||
| _type ) |
Definition at line 49 of file dummy_pio.h.
| #define DUMMY_IODELAY | ( | _prefix | ) |
Definition at line 56 of file dummy_pio.h.
| #define DUMMY_PIO | ( | _prefix | ) |
Definition at line 62 of file dummy_pio.h.
| #define PROVIDE_DUMMY_PIO | ( | _prefix | ) |
Definition at line 77 of file dummy_pio.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |