nc 0.9.8

Access system calls directly
Documentation
1
2
3
4
5
6
/// PCI device information handling.
// TODO(Shaohua): Check return type.
pub unsafe fn pciconfig_iobase(which: isize, bus: usize, dfn: usize) -> Result<usize, Errno> {
    let which = which as usize;
    unsafe { syscall3(SYS_PCICONFIG_IOBASE, which, bus, dfn) }
}