From d1ff7bcc91886626dc9060ec5fb67ee102ab7c1d Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Mon, 11 Mar 2024 21:30:31 -0400 Subject: usermode capable kernel with logging syscall --- ird/initrd.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ird/initrd.h (limited to 'ird/initrd.h') diff --git a/ird/initrd.h b/ird/initrd.h new file mode 100644 index 0000000..f236fa1 --- /dev/null +++ b/ird/initrd.h @@ -0,0 +1,21 @@ +#ifndef JOVE_INITRD_H +#define JOVE_INITRD_H 1 + +#include +#include "tar.h" +#include "lib/linkedlist.h" + +struct InitrdFile { + struct InitrdFile *next; + struct TARHeader *header; + const char *name; + size_t size; + const void *data; +}; + +void initrd_setup(void); + +struct InitrdFile *ird_getfile(const char *path); +struct SLinkedList *ird_getfiles(void); + +#endif -- cgit v1.2.1