diff options
Diffstat (limited to 'boot/initrd.h')
| -rw-r--r-- | boot/initrd.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boot/initrd.h b/boot/initrd.h new file mode 100644 index 0000000..9b3bba9 --- /dev/null +++ b/boot/initrd.h @@ -0,0 +1,12 @@ +#ifndef _JOVE_BOOT_INITRD_H +#define _JOVE_BOOT_INITRD_H 1 + +#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); + +void initrd_setup(void); + +#endif |
