diff options
Diffstat (limited to 'src/kernel/fs/load.h')
-rw-r--r-- | src/kernel/fs/load.h | 16 |
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 |