MCPcopy Create free account
hub / github.com/coreboot/coreboot / pci_read_dword_ptr

Function pci_read_dword_ptr

util/intelmetool/src/me.c:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static inline void pci_read_dword_ptr(struct pci_dev *dev, void *ptr, uint32_t offset)
96{
97 uint32_t dword = pci_read_long(dev, offset);
98 memcpy(ptr, &dword, sizeof(dword));
99
100 if (debug) {
101 mei_dump(ptr, dword, offset, "PCI READ");
102 }
103}
104
105static inline void read_host_csr(struct mei_csr *csr)
106{

Callers 1

intel_me_extend_validFunction · 0.70

Calls 3

pci_read_longFunction · 0.85
mei_dumpFunction · 0.70
memcpyFunction · 0.50

Tested by

no test coverage detected