Changes in boot/arch/mips32/src/main.c [4646710:295732b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/src/main.c
r4646710 r295732b 30 30 #include <arch/arch.h> 31 31 #include <arch/asm.h> 32 #include <arch/_components.h> 32 33 #include <halt.h> 33 34 #include <printf.h> … … 39 40 #include <errno.h> 40 41 #include <inflate.h> 41 #include "../../components.h"42 42 43 43 #define TOP2ADDR(top) (((void *) PA2KA(BOOT_OFFSET)) + (top)) … … 64 64 size_t i; 65 65 for (i = 0; i < COMPONENTS; i++) 66 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i]. addr,67 (uintptr_t) components[i]. addr>= PA2KSEG(0) ?68 (void *) KSEG2PA(components[i]. addr) :69 (void *) KA2PA(components[i]. addr),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 70 components[i].name, components[i].inflated, 71 71 components[i].size); … … 107 107 printf("%s ", components[i - 1].name); 108 108 109 int err = inflate(components[i - 1]. addr, components[i - 1].size,109 int err = inflate(components[i - 1].start, components[i - 1].size, 110 110 dest[i - 1], components[i - 1].inflated); 111 111
Note:
See TracChangeset
for help on using the changeset viewer.