From ace65b453151845bc361f21f3e5b651c35f9f126 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Wed, 22 May 2024 13:00:41 -0400 Subject: massive refactor for mp and organization --- include/initrd.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/initrd.h (limited to 'include/initrd.h') diff --git a/include/initrd.h b/include/initrd.h new file mode 100644 index 0000000..7e7fe1e --- /dev/null +++ b/include/initrd.h @@ -0,0 +1,17 @@ +#ifndef _JOVE_INITRD_H +#define _JOVE_INITRD_H 1 + +#include + +typedef struct initrd_file { + void *header; + const char *name; + const void *data; + size_t size; +} initrd_file_t; + +void initrd_setup(void); + +initrd_file_t *ird_getfile(const char *path); + +#endif -- cgit v1.2.1