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

Function RoutePCIPin

Kernel/src/arch/x86_64/acpi.cpp:209–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 }
208
209 uint8_t RoutePCIPin(uint8_t bus, uint8_t slot, uint8_t func, uint8_t pin){
210 acpi_resource_t res;
211 lai_api_error_t e = lai_pci_route_pin(&res, 0, bus, slot, func, pin);
212 if(e){
213 return 0xFF;
214 } else {
215 return res.base;
216 }
217 }
218
219 void Reset(){
220 lai_acpi_reset();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected