MemoryRead32
Reads a 32-bit value synchronously from the PCI device’s aperture at the specified memory index.
Declaration
void MemoryRead32(uint8_t memoryIndex, uint64_t offset, uint32_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.