summaryrefslogtreecommitdiff
path: root/src/user_bootstrap/tar.h
diff options
context:
space:
mode:
authordzwdz2022-07-26 00:37:24 +0200
committerdzwdz2022-07-26 00:37:24 +0200
commit9352abbed0f1266f511f170517a4094c6c4ff917 (patch)
treec06a4ee1bab637f2a9f3137c2ee1e91e3b86b7b6 /src/user_bootstrap/tar.h
parent8c977b5cea3f2e76205bd0ed666db06a84e05f6a (diff)
user: mount the initrd and /kdev in user_bootstrap
Diffstat (limited to 'src/user_bootstrap/tar.h')
-rw-r--r--src/user_bootstrap/tar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user_bootstrap/tar.h b/src/user_bootstrap/tar.h
new file mode 100644
index 0000000..43aa9ed
--- /dev/null
+++ b/src/user_bootstrap/tar.h
@@ -0,0 +1,5 @@
+#pragma once
+#include <shared/types.h>
+
+_Noreturn void tar_driver(void *base);
+void *tar_find(const char *path, size_t path_len, void *base, size_t base_len);