Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

myelin/src/arch/i386/boot_arch.c

By: a guest on Dec 25th, 2011  |  syntax: C  |  size: 0.66 KB  |  views: 61  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #if CONFIG_SPLASH
  2.         struct splash_screen screen = { 1, 25, 9, 30,
  3.                         CONSOLE_COLOR_LIGHT_BLUE, CONSOLE_COLOR_WHITE,
  4.                         CONSOLE_COLOR_LIGHT_CYAN, CONSOLE_COLOR_BLACK };
  5. #else
  6.         struct splash_screen screen = { 0, 25, 9, 0,
  7.                         CONSOLE_COLOR_LIGHT_CYAN, CONSOLE_COLOR_LIGHT_RED,
  8.                         CONSOLE_COLOR_WHITE, CONSOLE_COLOR_BLACK };
  9. #endif
  10.         struct splash_action actions[] = {
  11.                 { "Load GDT",                   gdt_init,       NULL },
  12.                 { "Initialise PIC",             pic_init,       NULL },
  13.                 { "Load IDT",                   idt_init,       NULL },
  14.                 { "Initialise PIT",             pit_init,       NULL },
  15.                 { "Initialise paging",          paging_init,    NULL }/*,
  16.                 { "Gather CPU Info",            cpuinfo_init,   NULL }*/
  17.         };
  18.         splash(screen, actions, ARRAY_SIZE(actions));
clone this paste RAW Paste Data