Initial commit - slab allocator, kmalloc, other re

factors
This commit is contained in:
ssimnb 2026-01-22 08:05:47 +01:00
parent 1dd7b8b07f
commit 4e40a040dd
39 changed files with 863 additions and 412 deletions

View file

@ -3,7 +3,7 @@
#include "../hal/apic.h"
#include "../drivers/pmt.h"
#include "timer.h"
#include <stdio.h>
#include <kprint.h>
#include <SFB25.h>
/* Determines which timer will be used for calibration */
@ -11,7 +11,7 @@ int calibration_timer = -1;
void timer_init(void){
if(pmt_init() == -1){
klog(LOG_INFO, __func__, "PMT Timer not found, falling back");
klog(__func__, "PMT Timer not found, falling back");
/* Fall back to PIT */
}else{
calibration_timer = PMT;