summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/HALKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-29 21:38:33 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-29 21:38:33 -0500
commitb456c928fecf78157270b052e441a427f06afdda (patch)
tree2dbea485a392789fc67aa590f8a7afb9f263be3c /src/kernel/HALKit
parentbb303088aa2ed0693e19e93158155dd85783ce76 (diff)
feat: kernel: Introduce Vet.h, better Ref.h, and more improved containers for better kernel code.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/HALKit')
-rw-r--r--src/kernel/HALKit/AMD64/CPUID.h2
-rw-r--r--src/kernel/HALKit/AMD64/Hypervisor.h2
-rw-r--r--src/kernel/HALKit/AMD64/PCI/DMA.cc2
-rw-r--r--src/kernel/HALKit/AMD64/Paging.h2
-rw-r--r--src/kernel/HALKit/AMD64/Processor.h2
-rw-r--r--src/kernel/HALKit/ARM64/ApplicationProcessor.h2
-rw-r--r--src/kernel/HALKit/ARM64/Paging.h2
-rw-r--r--src/kernel/HALKit/ARM64/Processor.h2
-rw-r--r--src/kernel/HALKit/POWER/AP.h2
-rw-r--r--src/kernel/HALKit/POWER/Processor.h2
-rw-r--r--src/kernel/HALKit/RISCV/AP.h2
11 files changed, 11 insertions, 11 deletions
diff --git a/src/kernel/HALKit/AMD64/CPUID.h b/src/kernel/HALKit/AMD64/CPUID.h
index 0ab95c07..90d2c268 100644
--- a/src/kernel/HALKit/AMD64/CPUID.h
+++ b/src/kernel/HALKit/AMD64/CPUID.h
@@ -13,7 +13,7 @@
#pragma once
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
EXTERN_C {
#include <cpuid.h>
diff --git a/src/kernel/HALKit/AMD64/Hypervisor.h b/src/kernel/HALKit/AMD64/Hypervisor.h
index 4cacb003..5a96c657 100644
--- a/src/kernel/HALKit/AMD64/Hypervisor.h
+++ b/src/kernel/HALKit/AMD64/Hypervisor.h
@@ -6,7 +6,7 @@
#pragma once
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
namespace Kernel {
MAKE_STRING_ENUM(HYPERVISOR)
diff --git a/src/kernel/HALKit/AMD64/PCI/DMA.cc b/src/kernel/HALKit/AMD64/PCI/DMA.cc
index 809494b6..dfbc1f68 100644
--- a/src/kernel/HALKit/AMD64/PCI/DMA.cc
+++ b/src/kernel/HALKit/AMD64/PCI/DMA.cc
@@ -57,7 +57,7 @@ OwnPtr<IOBuf<Char*>> DMAFactory::Construct(OwnPtr<DMAWrapper>& dma) {
if (!dma) return {};
OwnPtr<IOBuf<Char*>> dmaOwnPtr =
- mm_make_own_ptr<IOBuf<Char*>, char*>(reinterpret_cast<char*>(dma->fAddress));
+ make_ptr<IOBuf<Char*>, char*>(reinterpret_cast<char*>(dma->fAddress));
if (!dmaOwnPtr) return {};
diff --git a/src/kernel/HALKit/AMD64/Paging.h b/src/kernel/HALKit/AMD64/Paging.h
index 3325d2c7..b8b276c0 100644
--- a/src/kernel/HALKit/AMD64/Paging.h
+++ b/src/kernel/HALKit/AMD64/Paging.h
@@ -14,7 +14,7 @@
------------======================================== */
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
#ifndef kPageMax
#define kPageMax (0x200)
diff --git a/src/kernel/HALKit/AMD64/Processor.h b/src/kernel/HALKit/AMD64/Processor.h
index ec94a3f1..f5dee661 100644
--- a/src/kernel/HALKit/AMD64/Processor.h
+++ b/src/kernel/HALKit/AMD64/Processor.h
@@ -18,7 +18,7 @@
#include <FirmwareKit/Handover.h>
#include <HALKit/AMD64/Paging.h>
#include <NeKit/Array.h>
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
#include <NeKit/Utils.h>
#include <HALKit/AMD64/CPUID.h>
diff --git a/src/kernel/HALKit/ARM64/ApplicationProcessor.h b/src/kernel/HALKit/ARM64/ApplicationProcessor.h
index 9768cebc..71f8b68a 100644
--- a/src/kernel/HALKit/ARM64/ApplicationProcessor.h
+++ b/src/kernel/HALKit/ARM64/ApplicationProcessor.h
@@ -7,7 +7,7 @@
#pragma once
#include <HALKit/ARM64/Processor.h>
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
/************************************************** */
/* INITIALIZE THE GIC ON THE CURRENT CORE. */
diff --git a/src/kernel/HALKit/ARM64/Paging.h b/src/kernel/HALKit/ARM64/Paging.h
index e8bd0ac1..28d31b60 100644
--- a/src/kernel/HALKit/ARM64/Paging.h
+++ b/src/kernel/HALKit/ARM64/Paging.h
@@ -14,7 +14,7 @@
#ifdef __NE_ARM64__
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
#ifndef kPageMax
#define kPageMax (0x200)
diff --git a/src/kernel/HALKit/ARM64/Processor.h b/src/kernel/HALKit/ARM64/Processor.h
index de9f932e..3ef21957 100644
--- a/src/kernel/HALKit/ARM64/Processor.h
+++ b/src/kernel/HALKit/ARM64/Processor.h
@@ -10,7 +10,7 @@
#include <FirmwareKit/Handover.h>
#include <NeKit/Array.h>
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
#include <NeKit/Utils.h>
#define kCPUBackendName "aarch64"
diff --git a/src/kernel/HALKit/POWER/AP.h b/src/kernel/HALKit/POWER/AP.h
index efe4ceff..b0a89138 100644
--- a/src/kernel/HALKit/POWER/AP.h
+++ b/src/kernel/HALKit/POWER/AP.h
@@ -13,7 +13,7 @@
#pragma once
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
namespace Kernel {
struct HAL_HARDWARE_THREAD;
diff --git a/src/kernel/HALKit/POWER/Processor.h b/src/kernel/HALKit/POWER/Processor.h
index 46cda33e..74352a00 100644
--- a/src/kernel/HALKit/POWER/Processor.h
+++ b/src/kernel/HALKit/POWER/Processor.h
@@ -8,7 +8,7 @@
#pragma once
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
#include <NeKit/Utils.h>
#define rtl_nop_op() asm volatile("mr 0, 0")
diff --git a/src/kernel/HALKit/RISCV/AP.h b/src/kernel/HALKit/RISCV/AP.h
index 1061b637..b699d50f 100644
--- a/src/kernel/HALKit/RISCV/AP.h
+++ b/src/kernel/HALKit/RISCV/AP.h
@@ -13,7 +13,7 @@
#pragma once
-#include <NeKit/Defines.h>
+#include <NeKit/Config.h>
namespace Kernel {
typedef Int64 hal_ap_kind;