From bdcc3d84e08a509a766a469a605a97419ec14c35 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 26 Feb 2024 12:16:25 +0100 Subject: Kernel/Bootloader: add CompilerKit/Version.hxx - Rework BTextWriter class. - Add BVersionString class. - Worked on interrupts almost working! Signed-off-by: Amlal El Mahrouss --- Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Private/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp') 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 #include +#include "KernelKit/DebugOutput.hpp" + extern "C" void idt_handle_system_call(HCore::UIntPtr rsp) { HCore::HAL::StackFrame *sf = reinterpret_cast(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"; } } -- cgit v1.2.3