mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-09 04:22:04 -04:00
Better logging
This commit is contained in:
parent
a1eab256b4
commit
45d8c38bb7
@ -12,11 +12,11 @@
|
||||
#include "kernel_utils.hpp"
|
||||
#include "gdt.hpp"
|
||||
#include "scheduler.hpp"
|
||||
#include "logging.hpp"
|
||||
|
||||
#include "isrs.hpp"
|
||||
#include "irqs.hpp"
|
||||
#include "syscalls.hpp"
|
||||
#include "logging.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
@ -93,6 +93,8 @@ void install_idt(){
|
||||
|
||||
//Give the IDTR address to the CPU
|
||||
asm volatile("lidt [%0]" : : "m" (idtr_64));
|
||||
|
||||
logging::logf(logging::log_level::TRACE, "int: IDT installed %h (base:%h)\n", reinterpret_cast<size_t>(&idtr_64), reinterpret_cast<size_t>(&idt_64[0]));
|
||||
}
|
||||
|
||||
void install_isrs(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user