From 1768abb217f974cf96448ee847453b604800c546 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Fri, 4 Sep 2026 19:18:23 -0400 Subject: add generic initrd seek function. begin work on init loading --- boot/initrd.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'boot/initrd.h') diff --git a/boot/initrd.h b/boot/initrd.h index 9b3bba9..c56b6f8 100644 --- a/boot/initrd.h +++ b/boot/initrd.h @@ -3,9 +3,11 @@ #include "hal/obj.h" -int initrd_file_name(jove_owned_obj_t *obj, const char **nameptr); -int initrd_file_size(jove_owned_obj_t *obj, size_t *sizeptr); -int initrd_file_data(jove_owned_obj_t *obj, uintptr_t *dataptr); +const char *initrd_file_name(jove_owned_obj_t *obj); +size_t initrd_file_size(jove_owned_obj_t *obj); +void *initrd_file_data(jove_owned_obj_t *obj); + +jove_owned_obj_t *initrd_seek(jove_owned_obj_t *objdir, const char *name); void initrd_setup(void); -- cgit v1.2.3