summaryrefslogtreecommitdiffstats
path: root/lib/libjove/libjove.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/libjove.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/libjove.c')
-rw-r--r--lib/libjove/libjove.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/libjove/libjove.c b/lib/libjove/libjove.c
index 5ad45ac..6b40a54 100644
--- a/lib/libjove/libjove.c
+++ b/lib/libjove/libjove.c
@@ -1,18 +1,17 @@
#include "include/jove.h"
+#include "include/object-untyped.h"
#include "error.h"
-uintmax_t _syscall_message_box = 0;
-void *_syscall_message_ptr = 0;
+uintmax_t __jove_syscall_obj = 0;
+void *__jove_syscall_ptr = 0;
JoveError jove_errno;
+KernelObjectDirectory __jove_untyped_directory;
+KernelObjectTyped __jove_work_obj;
+
+uintptr_t __program_end;
+
void *(*_jove_alloc)(size_t) = NULL;
void (*_jove_free)(void*) = NULL;
void *(*_jove_realloc)(void*, size_t) = NULL;
-
-void
-libjove_init(uint64_t box, void *boxptr)
-{
- _syscall_message_box = box;
- _syscall_message_ptr = boxptr;
-}