scheduler: initial implementation

This commit is contained in:
Matheus
2023-04-27 23:34:57 -03:00
parent 03a134445a
commit 5d33fe828f
4 changed files with 345 additions and 1 deletions
+2
View File
@@ -13,6 +13,7 @@
#include <arch/apic.h>
#include <arch/hpet.h>
#include <kernel/timekeeper.h>
#include <kernel/scheduler.h>
static cpu_t bsp_cpu;
@@ -35,5 +36,6 @@ void kernel_entry() {
time_t u = arch_hpet_init();
timekeeper_init(arch_hpet_ticks, u);
arch_apic_timerinit();
sched_init();
__assert(!"kernel entry end");
}