summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/HALKit/AMD64/CPUID.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-29 10:59:55 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-29 10:59:55 +0100
commitb7709d9dc8fc74ab1c60336b487a2c2f90ceeb99 (patch)
tree752d60a92c2902e4669fae0639888a065cb7beba /dev/kernel/HALKit/AMD64/CPUID.h
parent2c272e3ca3272cf8f1449c76cc83b1b927f419c9 (diff)
hal/amd64: unify GDT/IDT setup and rename I/O ops
Normalize descriptor loading logic under Register64. Prefix low-level port and MSR functions with hal_ for consistency. Improve APIC init flow to reflect MADT-based IRQ routing. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/HALKit/AMD64/CPUID.h')
-rw-r--r--dev/kernel/HALKit/AMD64/CPUID.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev/kernel/HALKit/AMD64/CPUID.h b/dev/kernel/HALKit/AMD64/CPUID.h
index c9a887bc..75857558 100644
--- a/dev/kernel/HALKit/AMD64/CPUID.h
+++ b/dev/kernel/HALKit/AMD64/CPUID.h
@@ -15,6 +15,11 @@
#include <NewKit/Defines.h>
+EXTERN_C
+{
+#include <cpuid.h>
+}
+
namespace Kernel
{