MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / SetCommand

Method SetCommand

Kernel/include/arch/x86_64/pci.h:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 }
235
236 inline void SetCommand(uint16_t val){
237 PCI::ConfigWriteWord(bus, slot, func, PCICommand, val);
238 }
239
240 inline void EnableBusMastering(){
241 PCI::ConfigWriteWord(bus, slot, func, PCICommand, PCI::ConfigReadWord(bus, slot, func, PCICommand) | PCI_CMD_BUS_MASTER);

Callers

nothing calls this directly

Calls 1

ConfigWriteWordFunction · 0.85

Tested by

no test coverage detected