diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-17 16:21:55 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-17 16:21:55 -0400 |
| commit | b2920331b103d43793ac8be927a80a593ce0be5a (patch) | |
| tree | a91934ff588ffe02697b530899c8c0227521e04a /arch/x86_64/hal | |
| parent | d8aca3ff2501f9a77e22e5afb7a30380aed205af (diff) | |
| download | jove-kernel-main.tar.gz jove-kernel-main.tar.bz2 jove-kernel-main.zip | |
Diffstat (limited to 'arch/x86_64/hal')
| -rw-r--r-- | arch/x86_64/hal/obj.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86_64/hal/obj.c b/arch/x86_64/hal/obj.c index d6c9a80..e2b6cc8 100644 --- a/arch/x86_64/hal/obj.c +++ b/arch/x86_64/hal/obj.c @@ -5,6 +5,13 @@ #include "hal/obj.h" #include "jove.h" #include "sys/link.h" +#include "sys/objdir.h" + +jove_objdir_t* +obj_getobjdir(jove_obj_t *obj) +{ + return (jove_objdir_t*)((uintptr_t)obj & ~0xFFF); +} jove_owned_obj_t* obj_take(jove_obj_t *obj) |
