arm-runtime.c (14c43be60166981f0b1f034ad9c59252c6f99e0d) | arm-runtime.c (78ce248faa3c46e24e9bd42db3ab3650659f16dd) |
---|---|
1/* 2 * Extensible Firmware Interface 3 * 4 * Based on Extensible Firmware Interface Specification version 2.4 5 * 6 * Copyright (C) 2013, 2014 Linaro Ltd. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 34 unchanged lines hidden (view full) --- 43{ 44 efi_memory_desc_t *md; 45 bool systab_found; 46 47 efi_mm.pgd = pgd_alloc(&efi_mm); 48 init_new_context(NULL, &efi_mm); 49 50 systab_found = false; | 1/* 2 * Extensible Firmware Interface 3 * 4 * Based on Extensible Firmware Interface Specification version 2.4 5 * 6 * Copyright (C) 2013, 2014 Linaro Ltd. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 34 unchanged lines hidden (view full) --- 43{ 44 efi_memory_desc_t *md; 45 bool systab_found; 46 47 efi_mm.pgd = pgd_alloc(&efi_mm); 48 init_new_context(NULL, &efi_mm); 49 50 systab_found = false; |
51 for_each_efi_memory_desc(&memmap, md) { | 51 for_each_efi_memory_desc(md) { |
52 phys_addr_t phys = md->phys_addr; 53 int ret; 54 55 if (!(md->attribute & EFI_MEMORY_RUNTIME)) 56 continue; 57 if (md->virt_addr == 0) 58 return false; 59 --- 80 unchanged lines hidden --- | 52 phys_addr_t phys = md->phys_addr; 53 int ret; 54 55 if (!(md->attribute & EFI_MEMORY_RUNTIME)) 56 continue; 57 if (md->virt_addr == 0) 58 return false; 59 --- 80 unchanged lines hidden --- |