
myelin/src/arch/i386/boot_arch.c
By: a guest on
Dec 25th, 2011 | syntax:
C | size: 0.66 KB | hits: 59 | expires: Never
#if CONFIG_SPLASH
struct splash_screen screen = { 1, 25, 9, 30,
CONSOLE_COLOR_LIGHT_BLUE, CONSOLE_COLOR_WHITE,
CONSOLE_COLOR_LIGHT_CYAN, CONSOLE_COLOR_BLACK };
#else
struct splash_screen screen = { 0, 25, 9, 0,
CONSOLE_COLOR_LIGHT_CYAN, CONSOLE_COLOR_LIGHT_RED,
CONSOLE_COLOR_WHITE, CONSOLE_COLOR_BLACK };
#endif
struct splash_action actions[] = {
{ "Load GDT", gdt_init, NULL },
{ "Initialise PIC", pic_init, NULL },
{ "Load IDT", idt_init, NULL },
{ "Initialise PIT", pit_init, NULL },
{ "Initialise paging", paging_init, NULL }/*,
{ "Gather CPU Info", cpuinfo_init, NULL }*/
};
splash(screen, actions, ARRAY_SIZE(actions));