Changeset 6ac14a70 in mainline for boot/arch/arm32/loader/main.c
- Timestamp:
- 2009-07-28T12:47:31Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5e73815
- Parents:
- 7038f55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/loader/main.c
r7038f55 r6ac14a70 68 68 static void version_print(void) 69 69 { 70 printf("HelenOS ARM32 Bootloader\nRelease %s%s%s\nCopyright (c) 200 7HelenOS project\n",70 printf("HelenOS ARM32 Bootloader\nRelease %s%s%s\nCopyright (c) 2009 HelenOS project\n", 71 71 release, revision, timestamp); 72 72 } … … 92 92 unsigned int i, j; 93 93 for (i = 0; i < COMPONENTS; i++) { 94 printf(" %L: %s image (size %d bytes)\n",95 components[i].start, components[i].name, components[i].size);96 94 top = ALIGN_UP(top, KERNEL_PAGE_SIZE); 97 95 if (i > 0) { … … 107 105 108 106 printf("\nCopying components\n"); 109 107 printf("Component\tAddress\t\tSize (Bytes)\n"); 108 printf("============================================\n"); 110 109 for (i = COMPONENTS - 1; i > 0; i--, j--) { 111 printf(" %s...", components[i].name);110 printf("%s\t\t0x%x\t%d\n", components[i].name, bootinfo.tasks[j].addr, components[i].size); 112 111 memcpy((void *)bootinfo.tasks[j].addr, components[i].start, 113 112 components[i].size); 114 printf("done.\n");115 113 } 116 117 printf("\nCopying kernel..."); 114 printf("KERNEL\t\t0x%x\t%d\n", KERNEL_VIRTUAL_ADDRESS, components[0].size); 115 118 116 memcpy((void *)KERNEL_VIRTUAL_ADDRESS, components[0].start, 119 117 components[0].size); 120 printf("done.\n");121 118 122 119 printf("\nBooting the kernel...\n");
Note:
See TracChangeset
for help on using the changeset viewer.