Changeset 3de8b81b in mainline for boot/arch/ppc64/loader/main.c
- Timestamp:
- 2006-07-17T00:22:27Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41c4444
- Parents:
- fcf907e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc64/loader/main.c
rfcf907e r3de8b81b 32 32 #include "_components.h" 33 33 #include <ofw.h> 34 #include <align.h> 34 35 35 36 #define HEAP_GAP 1024000 … … 102 103 } 103 104 105 if (!ofw_keyboard(&bootinfo.keyboard)) { 106 printf("Error: unable to get keyboard properties, halting.\n"); 107 halt(); 108 } 109 104 110 printf("\nDevice statistics\n"); 105 111 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); 112 printf(" keyboard at %L (size %d bytes)\n", bootinfo.keyboard.addr, bootinfo.keyboard.size); 106 113 107 114 void *real_mode_pa = ofw_translate(&real_mode); … … 152 159 153 160 printf("\nBooting the kernel...\n"); 154 jump_to_kernel(bootinfo_pa, sizeof(bootinfo), trans_pa, pages << PAGE_WIDTH, real_mode_pa );161 jump_to_kernel(bootinfo_pa, sizeof(bootinfo), trans_pa, pages << PAGE_WIDTH, real_mode_pa, (void *) bootinfo.screen.addr, bootinfo.screen.scanline); 155 162 }
Note:
See TracChangeset
for help on using the changeset viewer.