Hacks to let the kernel access the CPU and vice versa (TODO: Fix)

This commit is contained in:
wheremyfoodat 2022-09-20 03:49:53 +03:00
parent 0d9088eddc
commit 1678cd6172
6 changed files with 18 additions and 8 deletions

View file

@ -1,4 +1,6 @@
#include "kernel.hpp"
// This header needs to be included because I did stupid forward decl hack so the kernel and CPU can both access each other
#include "cpu.hpp"
#include "resource_limits.hpp"
// Internal OS function to spawn a thread