move koutput_init to the function lowlevel_init

This commit is contained in:
Stefan Lankes 2011-03-25 07:46:23 +01:00
parent 4efaedd33a
commit 5d94954d3a
3 changed files with 6 additions and 7 deletions

View file

@ -25,9 +25,6 @@
#include <metalsvm/tasks.h>
#include <metalsvm/errno.h>
#include <metalsvm/init.h>
#ifdef CONFIG_VGA
#include <asm/vga.h>
#endif
#ifdef CONFIG_LWIP
#include <lwip/init.h>
#include <lwip/sys.h>
@ -47,9 +44,8 @@ static volatile int done = 0;
int lowlevel_init(void)
{
#ifdef CONFIG_VGA
vga_init();
#endif
koutput_init();
return 0;
}

View file

@ -89,7 +89,6 @@ int main(void)
#endif
multitasking_init();
mmu_init();
koutput_init();
initrd_init();
irq_enable();

View file

@ -41,6 +41,10 @@ static unsigned char kmessages[KMSG_SIZE] = {[0 ... KMSG_SIZE-1] = 0x00};
int koutput_init(void)
{
#ifdef CONFIG_VGA
vga_init();
#endif
return 0;
}