summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI/API.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-09-23 09:14:51 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-29 11:24:33 +0200
commitda327746a2702bd40ae6fa79017850ed357f5c1f (patch)
tree2c270fd138684e6713105c9c1eb93941cea256ec /Kernel/Bus/PCI/API.h
parent82bb08a15cbe447b5b0deeac16cccc22bf1c1c57 (diff)
downloadserenity-da327746a2702bd40ae6fa79017850ed357f5c1f.zip
Kernel: Rename two PCI components
Rename ID => HardwareID, and PhysicalID => DeviceIdentifier. This change merely does that to clarify what these objects really are.
Diffstat (limited to 'Kernel/Bus/PCI/API.h')
-rw-r--r--Kernel/Bus/PCI/API.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Bus/PCI/API.h b/Kernel/Bus/PCI/API.h
index f68005705f..5b6abd0fc7 100644
--- a/Kernel/Bus/PCI/API.h
+++ b/Kernel/Bus/PCI/API.h
@@ -17,9 +17,9 @@ u8 read8(Address address, u32 field);
u16 read16(Address address, u32 field);
u32 read32(Address address, u32 field);
-ID get_id(PCI::Address);
+HardwareID get_hardware_id(PCI::Address);
bool is_io_space_enabled(Address);
-void enumerate(Function<void(Address, PhysicalID const&)> callback);
+void enumerate(Function<void(Address, DeviceIdentifier const&)> callback);
void enable_interrupt_line(Address);
void disable_interrupt_line(Address);
u8 get_interrupt_line(Address);
@@ -44,6 +44,6 @@ void enable_io_space(Address);
void disable_io_space(Address);
void enable_memory_space(Address);
void disable_memory_space(Address);
-PhysicalID get_physical_id(Address address);
+DeviceIdentifier get_device_identifier(Address address);
}