setos

拙OS
Log | Files | Refs | LICENSE

commit 67fcc9adfb406133b1514b159959eb966e6cc643
parent 6d09ab244cad53a4bd3744cb3221cd40de270a6d
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Wed, 10 Apr 2024 13:10:33 +0900

rename arguments

Diffstat:
Msys/src/kernel/amd64/pci.h | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys/src/kernel/amd64/pci.h b/sys/src/kernel/amd64/pci.h @@ -6,5 +6,5 @@ const uint16 pci_config_data = 0xcfc; void io_out32(uint16 addr, uint32 data); uint32 io_in32(uint16 addr); -uint16 pci_config_read16(uint8 bus, uint8 device, uint8 func, uint8 offset); -uint16 pci_config_read_vendor_id(uint8 bus, uint8 device, uint8 func); -\ No newline at end of file +uint16 pci_config_read16(uint8 bus, uint8 dev, uint8 func, uint8 offset); +uint16 pci_config_read_vendor_id(uint8 bus, uint8 dev, uint8 func);