summaryrefslogtreecommitdiffstats
path: root/sys/objdir.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-10-17 16:21:55 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-10-17 16:21:55 -0400
commitb2920331b103d43793ac8be927a80a593ce0be5a (patch)
treea91934ff588ffe02697b530899c8c0227521e04a /sys/objdir.h
parentd8aca3ff2501f9a77e22e5afb7a30380aed205af (diff)
downloadjove-kernel-main.tar.gz
jove-kernel-main.tar.bz2
jove-kernel-main.zip
add pcb stop syscall and scheduler dequeueingHEADmain
Diffstat (limited to 'sys/objdir.h')
-rw-r--r--sys/objdir.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/objdir.h b/sys/objdir.h
index 4ef6d04..8ef602d 100644
--- a/sys/objdir.h
+++ b/sys/objdir.h
@@ -4,6 +4,13 @@
#include "api/obj.h"
#include "hal/obj.h"
+typedef struct jove_objdir
+{
+ jove_obj_t entries[OBJDIR_ENTRIES];
+} jove_objdir_t;
+
+jove_objdir_t *obj_getobjdir(jove_obj_t *obj);
+
int objdir_new(jove_owned_obj_t *untyped_obj);
/*Returns the n'th entry of the object directory passed.
* If the passed object is not an objdir, returns NULL and sets errno to EBADOBJ.