Changeset f817d3a in mainline for boot/arch/ppc32/loader/main.c
- Timestamp:
- 2009-01-29T17:24:35Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 43d6401
- Parents:
- 26c67a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/loader/main.c
r26c67a8 rf817d3a 90 90 static void version_print(void) 91 91 { 92 printf("HelenOS PPC32 Bootloader\nRelease %s%s%s\nCopyright (c) 2006 HelenOS project\n ", release, revision, timestamp);92 printf("HelenOS PPC32 Bootloader\nRelease %s%s%s\nCopyright (c) 2006 HelenOS project\n\n", release, revision, timestamp); 93 93 } 94 94 … … 108 108 109 109 if (!ofw_memmap(&bootinfo.memmap)) { 110 printf("Error: unable to get memory map, halting.\n");110 printf("Error: Unable to get memory map, halting.\n"); 111 111 halt(); 112 112 } 113 113 114 114 if (bootinfo.memmap.total == 0) { 115 printf("Error: no memory detected, halting.\n");115 printf("Error: No memory detected, halting.\n"); 116 116 halt(); 117 117 } 118 118 119 119 if (!ofw_screen(&bootinfo.screen)) 120 printf("Warning: unable to get screen properties.\n");120 printf("Warning: Unable to get screen properties.\n"); 121 121 122 if (!ofw_ keyboard(&bootinfo.keyboard))123 printf("Warning: unable to get keyboardproperties.\n");122 if (!ofw_macio(&bootinfo.macio)) 123 printf("Warning: Unable to get macio properties.\n"); 124 124 125 printf("\nDevice statistics\n"); 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); 127 printf(" keyboard at %L (size %d bytes)\n", bootinfo.keyboard.addr, bootinfo.keyboard.size); 125 printf("Device statistics\n"); 126 127 if (bootinfo.screen.addr) 128 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); 129 130 if (bootinfo.macio.addr) 131 printf(" macio at %L (size %d bytes)\n", bootinfo.macio.addr, bootinfo.macio.size); 128 132 129 133 void *real_mode_pa = ofw_translate(&real_mode);
Note:
See TracChangeset
for help on using the changeset viewer.