sched: begin scheduling module

This commit is contained in:
Michael Shaw 2023-11-13 22:23:06 -05:00
commit 2fe0b0068b
10 changed files with 182 additions and 3 deletions

View file

@ -7,6 +7,7 @@
#include <kernel/slab.h>
#include <kernel/pio.h>
#include <kernel/block.h>
#include <kernel/proc.h>
#include <dev/pic.h>
#include <dev/console.h>
@ -178,6 +179,7 @@ void kmain()
/* init the application processors */
struct limine_smp_response *smp_resp = smp_req.response;
proc_init(smp_resp->cpu_count);
for (unsigned i = 0; i < smp_resp->cpu_count; i++) {
struct limine_smp_info *info = smp_resp->cpus[i];