summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit/AMD64
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <113760121+amlel-el-mahrouss@users.noreply.github.com>2025-01-25 08:11:24 +0100
committerGitHub <noreply@github.com>2025-01-25 08:11:24 +0100
commita37ea0c0daca3ee73dd2abbb34decbd7b6799ef8 (patch)
treed41056232d9e56a4ecebb8407dd96ec2222b3e4e /dev/Kernel/HALKit/AMD64
parent3142554fd2e6326d8a5399b4cee904c797f9a277 (diff)
META: Refactor GetCurrentProcess to CurrentProcess
Diffstat (limited to 'dev/Kernel/HALKit/AMD64')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc b/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
index a6c205f6..2c7e043c 100644
--- a/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
+++ b/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
@@ -15,7 +15,7 @@ STATIC BOOL kIsScheduling = NO;
/// @param rsp
EXTERN_C void idt_handle_gpf(Kernel::UIntPtr rsp)
{
- auto process = Kernel::UserProcessScheduler::The().GetCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().CurrentProcess();
if (process.Leak().Status != Kernel::ProcessStatusKind::kRunning)
return;
@@ -39,7 +39,7 @@ EXTERN_C void idt_handle_gpf(Kernel::UIntPtr rsp)
/// @param rsp
EXTERN_C void idt_handle_pf(Kernel::UIntPtr rsp)
{
- auto process = Kernel::UserProcessScheduler::The().GetCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().CurrentProcess();
if (process.Leak().Status != Kernel::ProcessStatusKind::kRunning)
return;
@@ -86,7 +86,7 @@ EXTERN_C void idt_handle_scheduler(Kernel::UIntPtr rsp)
/// @param rsp
EXTERN_C void idt_handle_math(Kernel::UIntPtr rsp)
{
- auto process = Kernel::UserProcessScheduler::The().GetCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().CurrentProcess();
if (process.Leak().Status != Kernel::ProcessStatusKind::kRunning)
return;
@@ -110,7 +110,7 @@ EXTERN_C void idt_handle_math(Kernel::UIntPtr rsp)
/// @param rsp
EXTERN_C void idt_handle_generic(Kernel::UIntPtr rsp)
{
- auto process = Kernel::UserProcessScheduler::The().GetCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().CurrentProcess();
if (process.Leak().Status != Kernel::ProcessStatusKind::kRunning)
return;
@@ -132,7 +132,7 @@ EXTERN_C void idt_handle_generic(Kernel::UIntPtr rsp)
EXTERN_C Kernel::Void idt_handle_breakpoint(Kernel::UIntPtr rip)
{
- auto process = Kernel::UserProcessScheduler::The().GetCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().CurrentProcess();
if (process.Leak().Status != Kernel::ProcessStatusKind::kRunning)
return;
@@ -156,7 +156,7 @@ EXTERN_C Kernel::Void idt_handle_breakpoint(Kernel::UIntPtr rip)
/// @param rsp
EXTERN_C void idt_handle_ud(Kernel::UIntPtr rsp)
{
- auto process = Kernel::UserProcessScheduler::The().GetCurrentProcess();
+ auto process = Kernel::UserProcessScheduler::The().CurrentProcess();
if (process.Leak().Status != Kernel::ProcessStatusKind::kRunning)
return;