summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/HALKit/ARM64
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-21 19:06:44 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-21 19:06:44 +0100
commitf7023f6a08e117d483b5928fd4301062a3384abf (patch)
treef54dd01bc5d631bff278473fed5b481db95771b9 /src/kernel/HALKit/ARM64
parent49557a1b13301be0cf734e9e396940345fe6ee51 (diff)
feat: kernel: JSON/TOML improvements and UPS/Interrupt improvements.
details: - Interrupt: ARM64 specific HAL fix. - UPS: Remove DoVet method. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/HALKit/ARM64')
-rw-r--r--src/kernel/HALKit/ARM64/HalCoreInterruptHandler.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/HALKit/ARM64/HalCoreInterruptHandler.cc b/src/kernel/HALKit/ARM64/HalCoreInterruptHandler.cc
index 3c18e837..a9bbb044 100644
--- a/src/kernel/HALKit/ARM64/HalCoreInterruptHandler.cc
+++ b/src/kernel/HALKit/ARM64/HalCoreInterruptHandler.cc
@@ -27,7 +27,7 @@ STATIC void hal_int_send_eoi(UInt8 vector) {
/// @brief Handle GPF fault.
/// @param rsp
EXTERN_C Kernel::Void int_handle_gpf(Kernel::UIntPtr rsp) {
- auto& process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
process.Leak().Crash();
hal_int_send_eoi(13);
@@ -40,7 +40,7 @@ EXTERN_C Kernel::Void int_handle_gpf(Kernel::UIntPtr rsp) {
/// @brief Handle page fault.
/// @param rsp
EXTERN_C void int_handle_pf(Kernel::UIntPtr rsp) {
- auto& process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
process.Leak().Crash();
hal_int_send_eoi(14);
@@ -68,7 +68,7 @@ EXTERN_C void int_handle_scheduler(Kernel::UIntPtr rsp) {
/// @brief Handle math fault.
/// @param rsp
EXTERN_C void int_handle_math(Kernel::UIntPtr rsp) {
- auto& process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
process.Leak().Crash();
hal_int_send_eoi(8);
@@ -81,7 +81,7 @@ EXTERN_C void int_handle_math(Kernel::UIntPtr rsp) {
/// @brief Handle any generic fault.
/// @param rsp
EXTERN_C void int_handle_generic(Kernel::UIntPtr rsp) {
- auto& process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
process.Leak().Crash();
hal_int_send_eoi(30);
@@ -96,7 +96,7 @@ EXTERN_C void int_handle_generic(Kernel::UIntPtr rsp) {
}
EXTERN_C Kernel::Void int_handle_breakpoint(Kernel::UIntPtr rip) {
- auto& process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
hal_int_send_eoi(3);
@@ -111,7 +111,7 @@ EXTERN_C Kernel::Void int_handle_breakpoint(Kernel::UIntPtr rip) {
/// @brief Handle #UD fault.
/// @param rsp
EXTERN_C void int_handle_ud(Kernel::UIntPtr rsp) {
- auto& process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().TheCurrentProcess();
process.Leak().Crash();
hal_int_send_eoi(6);