Rev 1787 | Rev 1837 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1790 | ||
|---|---|---|---|
| Line 68... | Line 68... | ||
| 68 | } |
68 | } |
| 69 | 69 | ||
| 70 | void arch_post_mm_init(void) |
70 | void arch_post_mm_init(void) |
| 71 | { |
71 | { |
| 72 | if (config.cpu_active == 1) { |
72 | if (config.cpu_active == 1) { |
| 73 | fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline); |
73 | fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline); |
| 74 | 74 | ||
| 75 | /* Initialize PIC */ |
75 | /* Initialize PIC */ |
| 76 | pic_init(bootinfo.keyboard.addr, PAGE_SIZE); |
76 | pic_init(bootinfo.keyboard.addr, PAGE_SIZE); |
| 77 | 77 | ||
| 78 | cuda_init(bootinfo.keyboard.addr + 0x16000, 2 * PAGE_SIZE); |
78 | cuda_init(bootinfo.keyboard.addr + 0x16000, 2 * PAGE_SIZE); |