summaryrefslogtreecommitdiffstats
path: root/lib/libjove/syscall/debug_putc.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-08-19 16:16:10 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-08-19 16:16:10 -0400
commit18c389411a0f6283c1b6dffc78bbcfcb237e367b (patch)
treeb3f03adbfc4d7f3dd1477b078ac686eb9d42f0c3 /lib/libjove/syscall/debug_putc.c
parent858a52c06a4615bd58a6a906333f2ad707d41c0a (diff)
downloadjove-os-18c389411a0f6283c1b6dffc78bbcfcb237e367b.tar.gz
jove-os-18c389411a0f6283c1b6dffc78bbcfcb237e367b.tar.bz2
jove-os-18c389411a0f6283c1b6dffc78bbcfcb237e367b.zip
move pager to libjove
Diffstat (limited to 'lib/libjove/syscall/debug_putc.c')
-rw-r--r--lib/libjove/syscall/debug_putc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libjove/syscall/debug_putc.c b/lib/libjove/syscall/debug_putc.c
index 2d68ee1..9215a09 100644
--- a/lib/libjove/syscall/debug_putc.c
+++ b/lib/libjove/syscall/debug_putc.c
@@ -5,8 +5,8 @@
void
_syscall_debug_putc(char c)
{
- *((char*)_syscall_message_ptr) = c;
- register uint64_t box asm ("rdi") = _syscall_message_box;
+ *((char*)__jove_syscall_ptr) = c;
+ register uint64_t box asm ("rdi") = __jove_syscall_obj;
register uint64_t call asm ("rsi") = SYSCALL_DEBUG_PUTC;
__asm__ volatile("syscall"::: "memory");