Changeset 4646710 in mainline for boot/arch/ia64
- Timestamp:
- 2017-06-07T15:39:23Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 239e32b8
- Parents:
- 22299ed
- Location:
- boot/arch/ia64
- Files:
-
- 3 edited
-
Makefile.inc (modified) (2 diffs)
-
_link.ld.in (modified) (1 diff)
-
src/main.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/Makefile.inc
r22299ed r4646710 48 48 arch/$(BARCH)/src/pal_asm.S \ 49 49 arch/$(BARCH)/src/putchar.c \ 50 $(COMPS_C) \ 50 $(COMPS).s \ 51 $(COMPS)_desc.c \ 51 52 genarch/src/efi.c \ 52 53 genarch/src/division.c \ … … 88 89 bus/isa 89 90 91 PRE_DEPEND = $(COMPS).s $(COMPS).h $(COMPS)_desc.c -
boot/arch/ia64/_link.ld.in
r22299ed r4646710 16 16 *(.bss); /* uninitialized static variables */ 17 17 *(COMMON); 18 [[COMPONENTS]] 18 *(.components); 19 19 } 20 20 21 21 /DISCARD/ : { 22 22 *(.*); -
boot/arch/ia64/src/main.c
r22299ed 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.
