Changes in boot/arch/ia64/src/main.c [dbb3552:4646710] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/src/main.c
rdbb3552 r4646710 33 33 #include <arch/arch.h> 34 34 #include <arch/asm.h> 35 #include <arch/_components.h>36 35 #include <genarch/efi.h> 37 36 #include <arch/sal.h> … … 46 45 #include <errno.h> 47 46 #include <inflate.h> 47 #include "../../components.h" 48 48 49 49 #define DEFAULT_MEMORY_BASE 0x4000000ULL … … 78 78 memmap[items].size = DEFAULT_LEGACY_IO_SIZE; 79 79 memmap[items].type = MEMMAP_IO_PORTS; 80 items++; 80 items++; 81 81 } else { 82 82 char *cur, *mm_base = (char *) bootpar->efi_memmap; … … 159 159 size_t i; 160 160 for (i = 0; i < COMPONENTS; i++) 161 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i]. start,162 components[i]. start, components[i].name,161 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].addr, 162 components[i].addr, components[i].name, 163 163 components[i].inflated, components[i].size); 164 164 … … 202 202 * overlap with the destination for inflate(). 203 203 */ 204 memmove((void *) top, components[i - 1]. start, components[i - 1].size);204 memmove((void *) top, components[i - 1].addr, components[i - 1].size); 205 205 206 206 int err = inflate((void *) top, components[i - 1].size,
Note:
See TracChangeset
for help on using the changeset viewer.