Newer
Older
honey-os / src / userland / loader / main.c
@biosfood biosfood on 2 Jul 2023 472 bytes add mouse service to manage mouse position
#define ALLOC_MAIN

#include <hlib.h>
#include <stdint.h>

int32_t main() {
    loadFromInitrd("ioManager");
    printf("HONEY-OS - made by Lukas Eisenhauer\n");
    printf("finished loading all the essential modules\n");
    loadFromInitrd("lspci");
    loadFromInitrd("pit");
    loadFromInitrd("mouse");
    loadFromInitrd("usb");
    uint32_t id = loadFromInitrdUninitialized("shell");
    requestName("ioManager", "setForeground", id, 0);
    request(id, 0, 0, 0);
}