feat: Various improvements

This commit is contained in:
Daniel Hammer
2025-04-16 10:32:11 +02:00
parent 35cf3f7c80
commit fcd81be1c5
14 changed files with 135 additions and 98 deletions
+2 -6
View File
@@ -56,11 +56,7 @@ namespace Hal {
template<size_t i>
__attribute__((interrupt)) void ExceptionHandler(System::PanicFrame* frame)
{
// kcp::cstringstream stream;
// stream << "Caught " << base::hex << "0x" << i << " " << ExceptionStrings[i] << " in kernel";
frame->InterruptVector = i;
Panic(ExceptionStrings[i], frame);
}
@@ -119,10 +115,10 @@ namespace Hal {
SetHandler<0, 31>::run();
kout << "HardwareAbstraction: Created exception interrupt vectors" << "\n";
Kt::KernelLogStream(Kt::OK, "HardwareAbstraction") << "Created exception interrupt vectors";
LoadIDT(IDTR);
kout << "HardwareAbstraction: Loaded new IDT" << "\n";
Kt::KernelLogStream(Kt::OK, "HardwareAbstraction") << "Loaded new IDT";
}
};