diff options
Diffstat (limited to 'Kernel/Bus/PCI/Definitions.h')
-rw-r--r-- | Kernel/Bus/PCI/Definitions.h | 19 |
1 files changed, 10 insertions, 9 deletions
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 { |