aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/load.h
diff options
context:
space:
mode:
authorMarvin Borner2020-02-22 17:22:17 +0100
committerMarvin Borner2020-02-22 17:22:17 +0100
commitadd6efeb22ffb7695d5c9addcef073fc653f700e (patch)
tree147c99f2f3e037c877a34468f1494c412ec53416 /src/kernel/fs/load.h
parent86ef6a779a42cf5701632ccb82714a006bae4ee9 (diff)
Well basically nothing really works I guess
I've worked quite a while on several small things which I didn't commit but I'm going away for a week (holiday) soooo I synced these useless and dumb files :)
Diffstat (limited to 'src/kernel/fs/load.h')
-rw-r--r--src/kernel/fs/load.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/kernel/fs/load.h b/src/kernel/fs/load.h
index 7a0ec06..4ba545f 100644
--- a/src/kernel/fs/load.h
+++ b/src/kernel/fs/load.h
@@ -16,4 +16,20 @@ struct font {
void load_binaries();
+typedef struct {
+ char *name;
+
+ void *(*probe)(uint8_t *buf);
+
+ uint8_t (*start)(uint8_t *buf, void *priv);
+} loader_t;
+
+void loader_init();
+
+void register_loader(loader_t *load);
+
+uint8_t exec_start(uint8_t *buf);
+
+uint32_t loader_get_unused_load_location();
+
#endif