summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-26 12:16:25 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-26 12:16:25 +0100
commitbdcc3d84e08a509a766a469a605a97419ec14c35 (patch)
tree1b3a365581b37a7f0246629be6256f521daeae4e /Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
parent91c88797f7fa9dbb6cce12c14928a6fbd97d51b6 (diff)
Kernel/Bootloader: add CompilerKit/Version.hxx
- Rework BTextWriter class. - Add BVersionString class. - Worked on interrupts almost working! Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp')
-rw-r--r--Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp b/Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
index 98d36f86..f1001410 100644
--- a/Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
+++ b/Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
@@ -11,6 +11,8 @@
#include <KernelKit/ProcessManager.hpp>
#include <NewKit/String.hpp>
+#include "KernelKit/DebugOutput.hpp"
+
extern "C" void idt_handle_system_call(HCore::UIntPtr rsp) {
HCore::HAL::StackFrame *sf = reinterpret_cast<HCore::HAL::StackFrame *>(rsp);
rt_syscall_handle(sf);
@@ -35,12 +37,13 @@ extern "C" void idt_handle_scheduler(HCore::UIntPtr rsp) {
HCore::kcout << HCore::StringBuilder::FromInt("rsp{%}", rsp);
HCore::kcout
- << "Will be scheduled back later "
- << HCore::ProcessManager::Shared().Leak().GetCurrent().Leak().GetName();
+ << "HCoreKrnl: Will be scheduled back later "
+ << HCore::ProcessManager::Shared().Leak().GetCurrent().Leak().GetName()
+ << HCore::EndLine();
/// schedule another process.
if (!HCore::ProcessHelper::StartScheduling()) {
- HCore::kcout << "Let's continue schedule this process...\r\n";
+ HCore::kcout << "HCoreKrnl: Continue schedule this process...\r\n";
}
}