add sys_printchar

This commit is contained in:
2024-09-12 12:35:34 -04:00
parent 4db0a014cd
commit f5117281a3
9 changed files with 46 additions and 1 deletions

View File

@@ -110,6 +110,10 @@ void syscall(struct trapframe *tf) {
thread_exit();
break;
case SYS_printchar:
err = sys_printchar((char)tf->tf_a0);
break;
/* Add stuff here */
default: