summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc12
-rw-r--r--dev/Kernel/KernelKit/UserProcessScheduler.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc b/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
index 115acbee..b6d9c03b 100644
--- a/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
+++ b/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
@@ -24,7 +24,7 @@ EXTERN_C void idt_handle_gpf(Kernel::UIntPtr rsp)
kcout << "Kernel: General Protection Fault.\r";
- process.Leak().ProcessSignal.SignalIP = rsp;
+ process.Leak().ProcessSignal.SignalArg = rsp;
process.Leak().ProcessSignal.SignalID = SIGKILL;
process.Leak().ProcessSignal.PreviousStatus = process.Leak().Status;
@@ -49,7 +49,7 @@ EXTERN_C void idt_handle_pf(Kernel::UIntPtr rsp)
kcout << "Kernel: Page Fault.\r";
kcout << "Kernel: SIGKILL\r";
- process.Leak().ProcessSignal.SignalIP = rsp;
+ process.Leak().ProcessSignal.SignalArg = rsp;
process.Leak().ProcessSignal.SignalID = SIGKILL;
process.Leak().ProcessSignal.PreviousStatus = process.Leak().Status;
@@ -93,7 +93,7 @@ EXTERN_C void idt_handle_math(Kernel::UIntPtr rsp)
kcout << "Kernel: Math error (division by zero?).\r";
- process.Leak().ProcessSignal.SignalIP = rsp;
+ process.Leak().ProcessSignal.SignalArg = rsp;
process.Leak().ProcessSignal.SignalID = SIGKILL;
process.Leak().ProcessSignal.PreviousStatus = process.Leak().Status;
@@ -117,7 +117,7 @@ EXTERN_C void idt_handle_generic(Kernel::UIntPtr rsp)
kcout << "Kernel: Generic Process Fault.\r";
- process.Leak().ProcessSignal.SignalIP = rsp;
+ process.Leak().ProcessSignal.SignalArg = rsp;
process.Leak().ProcessSignal.SignalID = SIGKILL;
process.Leak().ProcessSignal.PreviousStatus = process.Leak().Status;
@@ -140,7 +140,7 @@ EXTERN_C Kernel::Void idt_handle_breakpoint(Kernel::UIntPtr rip)
kcout << "Kernel: Process RIP: " << Kernel::hex_number(rip) << endl;
kcout << "Kernel: SIGTRAP\r";
- process.Leak().ProcessSignal.SignalIP = rip;
+ process.Leak().ProcessSignal.SignalArg = rip;
process.Leak().ProcessSignal.SignalID = SIGTRAP;
process.Leak().ProcessSignal.PreviousStatus = process.Leak().Status;
@@ -165,7 +165,7 @@ EXTERN_C void idt_handle_ud(Kernel::UIntPtr rsp)
kcout << "Kernel: Undefined Opcode.\r";
- process.Leak().ProcessSignal.SignalIP = rsp;
+ process.Leak().ProcessSignal.SignalArg = rsp;
process.Leak().ProcessSignal.SignalID = SIGKILL;
process.Leak().ProcessSignal.PreviousStatus = process.Leak().Status;
diff --git a/dev/Kernel/KernelKit/UserProcessScheduler.h b/dev/Kernel/KernelKit/UserProcessScheduler.h
index a08278f2..a5cfd7bc 100644
--- a/dev/Kernel/KernelKit/UserProcessScheduler.h
+++ b/dev/Kernel/KernelKit/UserProcessScheduler.h
@@ -182,7 +182,7 @@ namespace Kernel
struct UserProcessSignal final
{
- UIntPtr SignalIP;
+ UIntPtr SignalArg;
ProcessStatusKind PreviousStatus;
UIntPtr SignalID;
};