Big code refactor, get rid of HAL entirely
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user