diff options
author | Linus Groh <mail@linusgroh.de> | 2022-07-22 19:43:50 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-22 23:09:43 +0100 |
commit | 8150d71821c31a23b5bc59be0b428ffbdf99b9b9 (patch) | |
tree | 61bb3a4dc83a79971b0959fc2e0870cc987dc2ec /Kernel/Bus/PCI | |
parent | 5a106b6401fa456a10e0402895db3be3f7d91358 (diff) | |
download | serenity-8150d71821c31a23b5bc59be0b428ffbdf99b9b9.zip |
Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_'
Diffstat (limited to 'Kernel/Bus/PCI')
-rw-r--r-- | Kernel/Bus/PCI/Controller/HostController.h | 6 | ||||
-rw-r--r-- | Kernel/Bus/PCI/Definitions.h | 19 |
2 files changed, 13 insertions, 12 deletions
diff --git a/Kernel/Bus/PCI/Controller/HostController.h b/Kernel/Bus/PCI/Controller/HostController.h index 9089fde3e9..512e08e446 100644 --- a/Kernel/Bus/PCI/Controller/HostController.h +++ b/Kernel/Bus/PCI/Controller/HostController.h @@ -13,9 +13,9 @@ namespace Kernel::PCI { -TYPEDEF_DISTINCT_ORDERED_ID(u8, BusNumber); -TYPEDEF_DISTINCT_ORDERED_ID(u8, DeviceNumber); -TYPEDEF_DISTINCT_ORDERED_ID(u8, FunctionNumber); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, BusNumber); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, DeviceNumber); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, FunctionNumber); class HostController { public: diff --git a/Kernel/Bus/PCI/Definitions.h b/Kernel/Bus/PCI/Definitions.h index 96b72b6de8..039edc6584 100644 --- a/Kernel/Bus/PCI/Definitions.h +++ b/Kernel/Bus/PCI/Definitions.h @@ -97,7 +97,8 @@ enum class SubclassID { } -TYPEDEF_DISTINCT_ORDERED_ID(u8, CapabilityID); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, CapabilityID); + namespace Capabilities { enum ID { Null = 0x0, @@ -218,14 +219,14 @@ private: const u8 m_ptr; }; -TYPEDEF_DISTINCT_ORDERED_ID(u8, ClassCode); -TYPEDEF_DISTINCT_ORDERED_ID(u8, SubclassCode); -TYPEDEF_DISTINCT_ORDERED_ID(u8, ProgrammingInterface); -TYPEDEF_DISTINCT_ORDERED_ID(u8, RevisionID); -TYPEDEF_DISTINCT_ORDERED_ID(u16, SubsystemID); -TYPEDEF_DISTINCT_ORDERED_ID(u16, SubsystemVendorID); -TYPEDEF_DISTINCT_ORDERED_ID(u8, InterruptLine); -TYPEDEF_DISTINCT_ORDERED_ID(u8, InterruptPin); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, ClassCode); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, SubclassCode); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, ProgrammingInterface); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, RevisionID); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u16, SubsystemID); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u16, SubsystemVendorID); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, InterruptLine); +AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, InterruptPin); class Access; class DeviceIdentifier { |