summaryrefslogtreecommitdiff
path: root/user/libsyscall/syscall.S
diff options
context:
space:
mode:
authorHanjie Wu <hanjiew@andrew.cmu.edu>2023-04-24 00:02:27 -0400
committerHanjie Wu <hanjiew@andrew.cmu.edu>2023-04-24 00:02:27 -0400
commite021b8f12ad129c0bdbda3111bb93a170e21ae41 (patch)
tree229879c8f03278388b2140ce5ce016c0354df0f0 /user/libsyscall/syscall.S
parent4e6e2ced7f047a9a0439eb6d001b1a77daadfdff (diff)
new console
Diffstat (limited to 'user/libsyscall/syscall.S')
-rw-r--r--user/libsyscall/syscall.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/libsyscall/syscall.S b/user/libsyscall/syscall.S
index d661cf8..26eb59d 100644
--- a/user/libsyscall/syscall.S
+++ b/user/libsyscall/syscall.S
@@ -216,3 +216,9 @@ yield:
mov 0x4(%esp), %esi
int $YIELD_INT
ret
+
+.global new_console
+
+new_console:
+ int $NEW_CONSOLE_INT
+ ret