MemoryRead8
Reads a 8-bit value synchronously from the PCI device’s aperture at the specified memory index.
Declaration
void MemoryRead8(uint8_t memoryIndex, uint64_t offset, uint8_t *readData, IOOptionBits options);Parameters
- memoryIndex:
The index of the memory range from which to read.
- offset:
An offset from the beginning of the specified memory range.
- readData:
A variable in which to store the data. If this method encounters an error when reading the data, it sets the value to -1.