fix schedrelease() syscall
This commit is contained in:
@ -7,11 +7,5 @@
|
|||||||
#include "hal/hal.h"
|
#include "hal/hal.h"
|
||||||
|
|
||||||
int32_t SYSCALL0(sys_schedrelease) {
|
int32_t SYSCALL0(sys_schedrelease) {
|
||||||
spinlock_acquire(&PROCS.spinlock);
|
return E_DOSCHEDULING;
|
||||||
Proc *proc = PROCS.current;
|
|
||||||
spinlock_release(&PROCS.spinlock);
|
|
||||||
|
|
||||||
/* proc_sched((void *)frame); */
|
|
||||||
|
|
||||||
return E_OK;
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user