MCPcopy Create free account
hub / github.com/Ruddle/Fomos / config_write_u32

Function config_write_u32

bootloader/kernel/src/pci.rs:75–80  ·  view source on GitHub ↗
(bus: u8, slot: u8, func: u8, off: u8, data: u32)

Source from the content-addressed store, hash-verified

73}
74
75pub fn config_write_u32(bus: u8, slot: u8, func: u8, off: u8, data: u32) {
76 config_address(bus, slot, func, off);
77 unsafe {
78 port_config_data.write(data);
79 };
80}
81
82pub fn config_write_u16(bus: u8, slot: u8, func: u8, off: u8, data: u16) {
83 config_address(bus, slot, func, off);

Callers

nothing calls this directly

Calls 2

config_addressFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected