Changes in boot/arch/mips32/src/main.c [7e752b2:4872160] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/src/main.c
r7e752b2 r4872160 51 51 52 52 printf("\nMemory statistics\n"); 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); 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); 63 58 64 59 size_t i; 65 60 for (i = 0; i < COMPONENTS; i++) 66 printf(" %p|%p: %s image (% zu/%zu bytes)\n", components[i].start,67 (void *)KSEG2PA(components[i].start), components[i].name,61 printf(" %p|%p: %s image (%u/%u bytes)\n", components[i].start, 62 KSEG2PA(components[i].start), components[i].name, 68 63 components[i].inflated, components[i].size); 69 64 … … 96 91 if (tail >= ((void *) PA2KA(LOADER_OFFSET))) { 97 92 printf("\n%s: Image too large to fit (%p >= %p), halting.\n", 98 components[i].name, tail, (void *)PA2KA(LOADER_OFFSET));93 components[i].name, tail, PA2KA(LOADER_OFFSET)); 99 94 halt(); 100 95 }
Note:
See TracChangeset
for help on using the changeset viewer.