Big code refactor, get rid of HAL entirely

This commit is contained in:
2025-11-11 21:26:27 +01:00
parent 7015bc9576
commit 566b35f4d5
84 changed files with 477 additions and 520 deletions

View File

@ -1,10 +1,10 @@
#include <stdint.h>
#include "syscall.h"
#include "sched.h"
#include "syscall/syscall.h"
#include "syscall/sched.h"
#include "proc/proc.h"
#include "spinlock/spinlock.h"
#include "intr/pit.h"
#include "errors.h"
#include "hal/hal.h"
int32_t SYSCALL0(sys_schedrelease) {
return E_DOSCHEDULING;
@ -12,6 +12,6 @@ int32_t SYSCALL0(sys_schedrelease) {
int32_t SYSCALL1(sys_schedsleep, ms1) {
uint32_t ms = (uint32_t)ms1;
hal_wait(ms);
intr_pit_wait(ms);
return E_OK;
}