summaryrefslogblamecommitdiffstats
path: root/main.c
blob: 9341489636b5f662815de7005fa8a911fd06d744 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                      
                       
                     









                         
                          
 
                









                                           
#include "arch/arch.h"
#include "io/log.h"
#include "mem/memory.h"
#include "mem/zone.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_setup();

    cmdline_kernel_setup();

    tasking_setup();

    initrd_setup();
    umode_setup();

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