summaryrefslogblamecommitdiffstats
path: root/main.c
blob: e74d8dfe3bf0855682c966bfa67d0707ca970315 (plain) (tree)




























                                           
#include "arch/arch.h"
#include "io/log.h"
#include "mem/buddymap.h"
#include "mem/memory.h"
#include "boot/cmdline.h"
#include "tsk/tasking.h"
#include "ird/initrd.h"
#include "usr/umode.h"
#include "lib/jove.h"

void
kernel_main(void)
{
    serial_setup();
    arch_tables_setup();

    mem_buddy_setup();
    mem_paging_setup();
    mem_slab_setup();

    cmdline_kernel_setup();

    tasking_setup();

    initrd_setup();
    umode_setup();

    kpanic("Reached end of kernel main\n");
}