Changeset eb522e8 in mainline for boot/arch/mips32/src/main.c
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/src/main.c
r9e2e715 reb522e8 51 51 52 52 printf("\nMemory statistics\n"); 53 printf(" %p|%p: CPU map\n", PA2KA(CPUMAP_OFFSET), CPUMAP_OFFSET); 54 printf(" %p|%p: bootstrap stack\n", PA2KA(STACK_OFFSET), STACK_OFFSET); 55 printf(" %p|%p: boot info structure\n", PA2KA(BOOTINFO_OFFSET), BOOTINFO_OFFSET); 56 printf(" %p|%p: kernel entry point\n", PA2KA(BOOT_OFFSET), BOOT_OFFSET); 57 printf(" %p|%p: bootloader entry point\n", PA2KA(LOADER_OFFSET), LOADER_OFFSET); 53 printf(" %p|%p: CPU map\n", (void *) PA2KA(CPUMAP_OFFSET), 54 (void *) CPUMAP_OFFSET); 55 printf(" %p|%p: bootstrap stack\n", (void *) PA2KA(STACK_OFFSET), 56 (void *) STACK_OFFSET); 57 printf(" %p|%p: boot info structure\n", 58 (void *) PA2KA(BOOTINFO_OFFSET), (void *) BOOTINFO_OFFSET); 59 printf(" %p|%p: kernel entry point\n", (void *) PA2KA(BOOT_OFFSET), 60 (void *) BOOT_OFFSET); 61 printf(" %p|%p: bootloader entry point\n", 62 (void *) PA2KA(LOADER_OFFSET), (void *) LOADER_OFFSET); 58 63 59 64 size_t i; 60 65 for (i = 0; i < COMPONENTS; i++) 61 printf(" %p|%p: %s image (% u/%u bytes)\n", components[i].start,62 KSEG2PA(components[i].start), components[i].name,66 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].start, 67 (void *) KSEG2PA(components[i].start), components[i].name, 63 68 components[i].inflated, components[i].size); 64 69 … … 91 96 if (tail >= ((void *) PA2KA(LOADER_OFFSET))) { 92 97 printf("\n%s: Image too large to fit (%p >= %p), halting.\n", 93 components[i].name, tail, PA2KA(LOADER_OFFSET));98 components[i].name, tail, (void *) PA2KA(LOADER_OFFSET)); 94 99 halt(); 95 100 }
Note:
See TracChangeset
for help on using the changeset viewer.