syscall: remove PROC_BLOCKED_SYSCALL

Rather than yielding, currently just wait for the syscall to be
executed.

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
Michael Shaw 2024-06-16 22:31:14 -04:00
commit eee7d9ed4e
3 changed files with 2 additions and 4 deletions

View file

@ -132,7 +132,6 @@ void schedule()
spinlock_acquire(&proc->lock);
switch (proc->state) {
case PROC_BLOCKED_SYSCALL:
case PROC_STOPPED:
proc->state = PROC_RUNNING;
spinlock_release(&proc->lock);