Rev 3107 | Rev 4342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3107 | Rev 3403 | ||
---|---|---|---|
Line 114... | Line 114... | ||
114 | if (bootinfo.memmap.total == 0) { |
114 | if (bootinfo.memmap.total == 0) { |
115 | printf("Error: no memory detected, halting.\n"); |
115 | printf("Error: no memory detected, halting.\n"); |
116 | halt(); |
116 | halt(); |
117 | } |
117 | } |
118 | 118 | ||
119 | if (!ofw_screen(&bootinfo.screen)) { |
119 | if (!ofw_screen(&bootinfo.screen)) |
120 | printf("Error: unable to get screen properties, halting.\n"); |
120 | printf("Warning: unable to get screen properties.\n"); |
121 | halt(); |
- | |
122 | } |
- | |
123 | 121 | ||
124 | if (!ofw_keyboard(&bootinfo.keyboard)) { |
122 | if (!ofw_keyboard(&bootinfo.keyboard)) |
125 | printf("Error: unable to get keyboard properties, halting.\n"); |
123 | printf("Warning: unable to get keyboard properties.\n"); |
126 | halt(); |
- | |
127 | } |
- | |
128 | 124 | ||
129 | printf("\nDevice statistics\n"); |
125 | printf("\nDevice statistics\n"); |
130 | printf(" screen at %L, resolution %dx%d, %d bpp (scanline %d bytes)\n", bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline); |
126 | printf(" screen at %L, resolution %dx%d, %d bpp (scanline %d bytes)\n", bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline); |
131 | printf(" keyboard at %L (size %d bytes)\n", bootinfo.keyboard.addr, bootinfo.keyboard.size); |
127 | printf(" keyboard at %L (size %d bytes)\n", bootinfo.keyboard.addr, bootinfo.keyboard.size); |
132 | 128 |