mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[linux] Add support for accessing PCI configuration space via /proc/bus/pci
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -37,6 +37,10 @@ int linux_close ( int fd ) {
|
||||
return linux_syscall ( __NR_close, fd );
|
||||
}
|
||||
|
||||
off_t linux_lseek ( int fd, off_t offset, int whence ) {
|
||||
return linux_syscall ( __NR_lseek, fd, offset, whence );
|
||||
}
|
||||
|
||||
__kernel_ssize_t linux_read ( int fd, void *buf, __kernel_size_t count ) {
|
||||
return linux_syscall ( __NR_read, fd, buf, count );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user