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

Function PciRead8

MdePkg/Library/BasePciLibCf8/PciLib.c:61–68  ·  view source on GitHub ↗

Reads an 8-bit PCI configuration register. Reads and returns the 8-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(). @param Address The address that encodes the PCI Bus, Device, Function and Register. @return The read value fro

Source from the content-addressed store, hash-verified

59
60**/
61UINT8
62EFIAPI
63PciRead8 (
64 IN UINTN Address
65 )
66{
67 return PciCf8Read8 (Address);
68}
69
70/**
71 Writes an 8-bit PCI configuration register.

Callers 13

PciSegmentRead8Function · 0.50
S3PciRead8Function · 0.50
ReadPirqFunction · 0.50
DetectChipsetFunction · 0.50
PciCfg2ReadFunction · 0.50
InitializeUfsHcPeimFunction · 0.50
InitializeSdMmcHcPeimFunction · 0.50
GetSerialRegisterBaseFunction · 0.50
AcpiTimerLibConstructorFunction · 0.50
InternalGetPmTimerAddrFunction · 0.50

Calls 1

PciCf8Read8Function · 0.85

Tested by

no test coverage detected