diff options
author | Marvin Borner | 2020-04-01 22:31:45 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-01 22:31:45 +0200 |
commit | f79ada76d2e4056ff5a81b53998d6d2696523d0f (patch) | |
tree | ff86621426999f4c2d1092880941fb3c330a4893 /src/kernel/fs/load.h | |
parent | c966e3cdb52ae0daeac3c70f98ab8ee52b8c0077 (diff) |
Some work on the elf loader
Diffstat (limited to 'src/kernel/fs/load.h')
-rw-r--r-- | src/kernel/fs/load.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/kernel/fs/load.h b/src/kernel/fs/load.h deleted file mode 100644 index 0343092..0000000 --- a/src/kernel/fs/load.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef MELVIX_LOAD_H -#define MELVIX_LOAD_H - -#include <stdint.h> - -uint32_t userspace; - -struct font *font; - -struct font { - uint16_t font_32[758][32]; - uint16_t font_24[758][24]; - uint8_t font_16[758][16]; - uint16_t cursor[19]; -}; - -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
\ No newline at end of file |