Changes in boot/arch/ppc32/src/main.c [e5ac4130:4646710] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/src/main.c
re5ac4130 r4646710 30 30 #include <arch/arch.h> 31 31 #include <arch/asm.h> 32 #include <arch/_components.h>33 32 #include <genarch/ofw.h> 34 33 #include <genarch/ofw_tree.h> … … 42 41 #include <errno.h> 43 42 #include <inflate.h> 43 #include "../../components.h" 44 44 45 45 #define BALLOC_MAX_SIZE 131072 … … 75 75 size_t i; 76 76 for (i = 0; i < COMPONENTS; i++) 77 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i]. start,78 ofw_translate(components[i]. start), components[i].name,77 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].addr, 78 ofw_translate(components[i].addr), components[i].name, 79 79 components[i].inflated, components[i].size); 80 80 … … 139 139 printf("%s ", components[i - 1].name); 140 140 141 int err = inflate(components[i - 1]. start, components[i - 1].size,141 int err = inflate(components[i - 1].addr, components[i - 1].size, 142 142 inflate_base + dest[i - 1], components[i - 1].inflated); 143 143
Note:
See TracChangeset
for help on using the changeset viewer.