summaryrefslogtreecommitdiff
path: root/Kernel/Bus
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Bus')
-rw-r--r--Kernel/Bus/PCI/Controller/HostController.h6
-rw-r--r--Kernel/Bus/PCI/Definitions.h19
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 {