void platform_early_init(void) { /* update the heap end so we can take advantage of more ram */ platform_init_multiboot_info(); /* get the text console working */ platform_init_console(); /* initialize the interrupt controller */ platform_init_interrupts(); /* initialize the timer */ platform_init_timer(); }
void platform_early_init(void) { platform_init_uart(); /* update the heap end so we can take advantage of more ram */ platform_init_multiboot_info(); /* get the text console working */ platform_init_console(); /* initialize the interrupt controller */ platform_init_interrupts(); /* initialize the timer */ platform_init_timer(); #if WITH_KERNEL_VM heap_arena_init(); pmm_add_arena(&heap_arena); #endif }