Initialize the display before the console

This will be useful when the console driver will be adapted to displays.
This commit is contained in:
Pierre Pronchery 2018-09-17 01:55:03 +02:00
parent 300e4897f1
commit 81da023bc9

View File

@ -64,12 +64,12 @@ int multiboot(ukMultibootInfo * mi)
display = "vesa";
#endif
/* initialize the console */
console_init(ioportbus, console);
/* initialize the display */
display_init(vgabus, display);
/* initialize the console */
console_init(ioportbus, console);
/* initialize the PIC */
pic_init(ioportbus, "i8259a");