MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / PciRead32

Function PciRead32

MdePkg/Library/BasePciLibCf8/PciLib.c:738–745  ·  view source on GitHub ↗

Reads a 32-bit PCI configuration register. Reads and returns the 32-bit PCI configuration register specified by Address. This function must guarantee that all PCI read and write operations are serialized. If Address > 0x0FFFFFFF, then ASSERT(). If Address is not aligned on a 32-bit boundary, then ASSERT(). @param Address The address that encodes the PCI Bus, Device, Functi

Source from the content-addressed store, hash-verified

736
737**/
738UINT32
739EFIAPI
740PciRead32 (
741 IN UINTN Address
742 )
743{
744 return PciCf8Read32 (Address);
745}
746
747/**
748 Writes a 32-bit PCI configuration register.

Callers 8

PciSegmentRead32Function · 0.50
S3PciRead32Function · 0.50
DetectChipsetFunction · 0.50
PciCfg2ReadFunction · 0.50
InitializeUfsHcPeimFunction · 0.50
InitializeSdMmcHcPeimFunction · 0.50
GetSerialRegisterBaseFunction · 0.50

Calls 1

PciCf8Read32Function · 0.85

Tested by

no test coverage detected