More tasking stub

This commit is contained in:
Alex
2022-10-20 05:32:15 +03:00
parent 51c096c743
commit 2f7b871aa0
5 changed files with 93 additions and 1 deletions

View File

@ -19,6 +19,7 @@ Video::Display *Display = nullptr;
SymbolResolver::Symbols *KernelSymbolTable = nullptr;
Power::Power *PowerManager = nullptr;
PCI::PCI *PCIManager = nullptr;
Tasking::Task *TaskManager = nullptr;
KernelConfig Config;
Time BootClock;
@ -83,6 +84,6 @@ EXTERNC void Entry(BootInfo *Info)
SMP::Initialize(PowerManager->GetMADT());
KPrint("\e058C19######## \eE85230END \e058C19########");
CPU::Interrupts(CPU::Enable);
// asm("int $0x1");
TaskManager = new Tasking::Task((Tasking::IP)KernelMainThread);
CPU::Stop();
}