Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/mips32/src/main.c

    r7e752b2 r4872160  
    5151       
    5252        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);
    6358       
    6459        size_t i;
    6560        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,
    6863                    components[i].inflated, components[i].size);
    6964       
     
    9691                if (tail >= ((void *) PA2KA(LOADER_OFFSET))) {
    9792                        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));
    9994                        halt();
    10095                }
Note: See TracChangeset for help on using the changeset viewer.