summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit
diff options
context:
space:
mode:
Diffstat (limited to 'Private/KernelKit')
-rw-r--r--Private/KernelKit/PCI/Device.hpp4
-rw-r--r--Private/KernelKit/PCI/Iterator.hpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/Private/KernelKit/PCI/Device.hpp b/Private/KernelKit/PCI/Device.hpp
index c73ca068..9bb22cb2 100644
--- a/Private/KernelKit/PCI/Device.hpp
+++ b/Private/KernelKit/PCI/Device.hpp
@@ -77,5 +77,5 @@ namespace NewOS::PCI
} // namespace NewOS::PCI
-extern "C" void LumiaPCISetCfgTarget(NewOS::UInt bar);
-extern "C" NewOS::UInt LumiaPCIReadRaw(NewOS::UInt bar);
+EXTERN_C void NewOSPCISetCfgTarget(NewOS::UInt bar);
+EXTERN_C NewOS::UInt NewOSPCIReadRaw(NewOS::UInt bar);
diff --git a/Private/KernelKit/PCI/Iterator.hpp b/Private/KernelKit/PCI/Iterator.hpp
index f1069fda..7f17263d 100644
--- a/Private/KernelKit/PCI/Iterator.hpp
+++ b/Private/KernelKit/PCI/Iterator.hpp
@@ -7,9 +7,9 @@
#include <NewKit/Defines.hpp>
#include <NewKit/Ref.hpp>
-#define ME_BUS_COUNT (256)
-#define ME_DEVICE_COUNT (33)
-#define ME_FUNCTION_COUNT (8)
+#define NEWOS_BUS_COUNT (256)
+#define NEWOS_DEVICE_COUNT (33)
+#define NEWOS_FUNCTION_COUNT (8)
namespace NewOS::PCI {
class Iterator final {
@@ -29,7 +29,7 @@ namespace NewOS::PCI {
Ref<PCI::Device> operator[](const Size &sz);
private:
- Array<PCI::Device, ME_BUS_COUNT> m_Devices;
+ Array<PCI::Device, NEWOS_BUS_COUNT> m_Devices;
};
} // namespace NewOS::PCI