Changes in boot/arch/mips32/src/main.c [295732b:7e752b2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/src/main.c
r295732b r7e752b2 65 65 for (i = 0; i < COMPONENTS; i++) 66 66 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].start, 67 (uintptr_t) components[i].start >= PA2KSEG(0) ? 68 (void *) KSEG2PA(components[i].start) : 69 (void *) KA2PA(components[i].start), 70 components[i].name, components[i].inflated, 71 components[i].size); 67 (void *) KSEG2PA(components[i].start), components[i].name, 68 components[i].inflated, components[i].size); 72 69 73 70 void *dest[COMPONENTS]; … … 96 93 97 94 for (i = cnt; i > 0; i--) { 98 #ifdef MACHINE_msim99 95 void *tail = dest[i - 1] + components[i].inflated; 100 96 if (tail >= ((void *) PA2KA(LOADER_OFFSET))) { … … 103 99 halt(); 104 100 } 105 #endif106 101 107 102 printf("%s ", components[i - 1].name);
Note:
See TracChangeset
for help on using the changeset viewer.