#ifndef MELVIX_LOAD_H #define MELVIX_LOAD_H #include 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