summaryrefslogblamecommitdiffstats
path: root/main.c
blob: 91125af6b2eff24a19af2ef52044e8e667d14a0b (plain) (tree)
1
2
3
4
5
6
7

                      
                       
                     
                         
                       
                        






                      
                        
 
                

                           
                   

                    



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

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

    mem_setup();

    cmdline_kernel_setup();
    initrd_setup();

    tasking_setup();
    umode_setup();

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