11 IMPLEMENTATION[ia32,amd64]:
16 #include "kernel_console.h"
18 #include "mux_console.h"
19 #include "initcalls.h"
21 #include "static_init.h"
22 #include "vga_console.h"
23 #include "mem_layout.h"
25 static Static_object<Vga_console> vga;
26 static Static_object<Keyb> keyb;
29 void Boot_console::init()
32 if (Koptions::o()->opt(Koptions::F_keymap_de))
33 keyb->set_keymap(Keyb::Keymap_de);
34 Kconsole::console()->register_console(keyb);
36 if (Koptions::o()->opt(Koptions::F_noscreen))
39 #if defined(CONFIG_IRQ_SPINNER)
40 vga.construct((unsigned long)Mem_layout::Adap_vram_cga_beg,80,20,true,true);
42 vga.construct((unsigned long)Mem_layout::Adap_vram_cga_beg,80,25,true,true);
45 if (vga->is_working())
46 Kconsole::console()->register_console(vga);
48 #if defined(CONFIG_IRQ_SPINNER)
49 for (int y = 20; y < 25; ++y)
50 for (int x = 0; x < 80; ++x)
51 vga->printchar(x, y, ' ', 8);