summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/KernelKit/PCI
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel/KernelKit/PCI')
-rw-r--r--dev/Kernel/KernelKit/PCI/Database.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev/Kernel/KernelKit/PCI/Database.h b/dev/Kernel/KernelKit/PCI/Database.h
index 82f38d33..cb12a731 100644
--- a/dev/Kernel/KernelKit/PCI/Database.h
+++ b/dev/Kernel/KernelKit/PCI/Database.h
@@ -36,3 +36,23 @@ namespace NeOS
};
} // namespace Types
} // namespace NeOS
+
+inline BOOL operator!=(const NeOS::Types::PciDeviceKind& lhs, NeOS::UChar rhs)
+{
+ return rhs != (NeOS::UChar)lhs;
+}
+
+inline BOOL operator==(const NeOS::Types::PciDeviceKind& lhs, NeOS::UChar rhs)
+{
+ return rhs == (NeOS::UChar)lhs;
+}
+
+inline BOOL operator!=(NeOS::UChar lhs, const NeOS::Types::PciDeviceKind& rhs)
+{
+ return lhs != (NeOS::UChar)rhs;
+}
+
+inline BOOL operator==(NeOS::UChar lhs, const NeOS::Types::PciDeviceKind& rhs)
+{
+ return lhs == (NeOS::UChar)rhs;
+} \ No newline at end of file