Changeset e8d3165e in mainline
- Timestamp:
- 2019-01-01T21:48:25Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ca645a2
- Parents:
- 68f1254c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/src/main.c
r68f1254c re8d3165e 94 94 cur += md_size) { 95 95 efi_v1_memdesc_t *md = (efi_v1_memdesc_t *) cur; 96 memmap_item_t *o = NULL; 97 98 if (items) 99 o = &memmap[items - 1]; 96 100 97 101 switch ((efi_memory_type_t) md->type) { 102 case EFI_LOADER_CODE: 103 case EFI_LOADER_DATA: 104 case EFI_BOOT_SERVICES_CODE: 105 case EFI_BOOT_SERVICES_DATA: 98 106 case EFI_CONVENTIONAL_MEMORY: 107 if (o && o->type == MEMMAP_FREE_MEM && 108 o->base + o->size == md->phys_start) { 109 o->size += md->pages * EFI_PAGE_SIZE; 110 continue; 111 } 99 112 memmap[items].type = MEMMAP_FREE_MEM; 100 113 break;
Note:
See TracChangeset
for help on using the changeset viewer.