syscall: implement write syscall

This commit is contained in:
Michael Shaw 2023-11-22 23:27:39 -05:00
commit 3dda839cdd
12 changed files with 176 additions and 22 deletions

View file

@ -299,7 +299,6 @@ int kcmd_exec(int argc, char **argv)
return 1;
}
proc->state = PROC_RUNNING;
void _return_to_user(struct procregs * regs, paddr_t cr3);
proc_set_current(pid);
_return_to_user(&proc->regs, proc->cr3);