From ab1843f5de80752ba40fb1ea5075eb7e3dad8171 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 9 Aug 2021 21:21:56 +0200 Subject: rename `log_` to `tty_`, `tty_` to `vga_` --- src/kernel/syscalls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/syscalls.c') diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index ece21db..47f8b2b 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -11,7 +11,7 @@ _Noreturn void _syscall_exit(const char *msg, size_t len) { if (process_current) process_switch(process_current); - log_const("last process returned. "); + tty_const("last process returned. "); panic(); } @@ -31,7 +31,7 @@ int _syscall_debuglog(const char *msg, size_t len) { if (((uintptr_t)msg & PAGE_MASK) + len > PAGE_SIZE) panic(); // just in case I made an off by 1 error - log_write(phys, len); + tty_write(phys, len); return len; } @@ -44,7 +44,7 @@ int syscall_handler(int num, int a, int b, int c) { case _SYSCALL_DEBUGLOG: return _syscall_debuglog((void*)a, b); default: - log_const("unknown syscall "); + tty_const("unknown syscall "); panic(); } } -- cgit v1.2.3