summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit/AMD64
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-10 10:14:07 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-10 10:14:07 +0200
commitd108de7b8ad0f92bdc9f3951e762c09c762fd174 (patch)
tree161ce51a5efeeecd40278e806b343dc206e272fe /Kernel/HALKit/AMD64
parent5ce8823643f02e4d04c80e2dcf944b442b2ba69b (diff)
MHR-36: Expose POWER64 VMS and common StackFrame across platforms. And code refactors.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel/HALKit/AMD64')
-rw-r--r--Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx2
-rw-r--r--Kernel/HALKit/AMD64/HalAPIC.cxx2
-rw-r--r--Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx2
-rw-r--r--Kernel/HALKit/AMD64/HalPageAlloc.hxx (renamed from Kernel/HALKit/AMD64/HalPageAlloc.hpp)0
-rw-r--r--Kernel/HALKit/AMD64/HalProcessor.cxx (renamed from Kernel/HALKit/AMD64/HalProcessor.cpp)2
-rw-r--r--Kernel/HALKit/AMD64/Processor.hxx (renamed from Kernel/HALKit/AMD64/Processor.hpp)3
6 files changed, 6 insertions, 5 deletions
diff --git a/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx b/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx
index ca6a7417..3fc8ae7a 100644
--- a/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx
+++ b/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx
@@ -5,7 +5,7 @@
------------------------------------------- */
#include <Modules/ACPI/ACPIFactoryInterface.hxx>
-#include <HALKit/AMD64/Processor.hpp>
+#include <HALKit/AMD64/Processor.hxx>
#include <NewKit/String.hpp>
#include <ArchKit/ArchKit.hpp>
#include <KernelKit/KernelHeap.hpp>
diff --git a/Kernel/HALKit/AMD64/HalAPIC.cxx b/Kernel/HALKit/AMD64/HalAPIC.cxx
index a148acf9..22f6583e 100644
--- a/Kernel/HALKit/AMD64/HalAPIC.cxx
+++ b/Kernel/HALKit/AMD64/HalAPIC.cxx
@@ -5,7 +5,7 @@
------------------------------------------- */
#include <Modules/ACPI/ACPIFactoryInterface.hxx>
-#include <HALKit/AMD64/Processor.hpp>
+#include <HALKit/AMD64/Processor.hxx>
namespace Kernel::HAL
{
diff --git a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx
index cb7b1eeb..86bf635c 100644
--- a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx
+++ b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx
@@ -5,7 +5,7 @@
------------------------------------------- */
#include <Modules/ACPI/ACPIFactoryInterface.hxx>
-#include <HALKit/AMD64/Processor.hpp>
+#include <HALKit/AMD64/Processor.hxx>
#include <NewKit/KernelCheck.hpp>
#include <ArchKit/ArchKit.hpp>
#include <KernelKit/Semaphore.hpp>
diff --git a/Kernel/HALKit/AMD64/HalPageAlloc.hpp b/Kernel/HALKit/AMD64/HalPageAlloc.hxx
index 8887b623..8887b623 100644
--- a/Kernel/HALKit/AMD64/HalPageAlloc.hpp
+++ b/Kernel/HALKit/AMD64/HalPageAlloc.hxx
diff --git a/Kernel/HALKit/AMD64/HalProcessor.cpp b/Kernel/HALKit/AMD64/HalProcessor.cxx
index 01f3879a..e71e7108 100644
--- a/Kernel/HALKit/AMD64/HalProcessor.cpp
+++ b/Kernel/HALKit/AMD64/HalProcessor.cxx
@@ -4,7 +4,7 @@
------------------------------------------- */
-#include <HALKit/AMD64/Processor.hpp>
+#include <HALKit/AMD64/Processor.hxx>
/**
* @file Processor.cpp
diff --git a/Kernel/HALKit/AMD64/Processor.hpp b/Kernel/HALKit/AMD64/Processor.hxx
index 8ec0b6f6..ecdd8dd0 100644
--- a/Kernel/HALKit/AMD64/Processor.hpp
+++ b/Kernel/HALKit/AMD64/Processor.hxx
@@ -17,7 +17,7 @@
#include <NewKit/Defines.hpp>
#include <NewKit/Utils.hpp>
#include <FirmwareKit/Handover.hxx>
-#include <HALKit/AMD64/HalPageAlloc.hpp>
+#include <HALKit/AMD64/HalPageAlloc.hxx>
EXTERN_C
{
@@ -158,6 +158,7 @@ namespace Kernel::HAL
typedef UIntPtr Reg;
+ /// @brief Stack frame (as retrieved from assembly.)
struct PACKED StackFrame final
{
Reg IntNum, Exception;