Rev 1837 | Rev 1842 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1837 | Rev 1841 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | 51 | ||
52 | /** Initialize kernel console to use framebuffer and keyboard directly. */ |
52 | /** Initialize kernel console to use framebuffer and keyboard directly. */ |
53 | void standalone_sparc64_console_init(void) |
53 | void standalone_sparc64_console_init(void) |
54 | { |
54 | { |
55 | stdin = NULL; |
55 | stdin = NULL; |
56 | - | ||
57 | if (bootinfo.keyboard.addr) |
- | |
58 | kbd_init(); |
- | |
59 | 56 | ||
60 | fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, |
57 | fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, |
61 | bootinfo.screen.bpp, bootinfo.screen.scanline, true); |
58 | bootinfo.screen.bpp, bootinfo.screen.scanline, true); |
- | 59 | ||
- | 60 | if (bootinfo.keyboard.addr) |
|
- | 61 | kbd_init(); |
|
62 | } |
62 | } |
63 | 63 | ||
64 | /** Kernel thread for polling keyboard. |
64 | /** Kernel thread for polling keyboard. |
65 | * |
65 | * |
66 | * @param arg Ignored. |
66 | * @param arg Ignored. |