| 974 | } |
| 975 | |
| 976 | static void |
| 977 | add_efi_map_entry(struct efi_md *p) |
| 978 | { |
| 979 | |
| 980 | switch (p->md_type) { |
| 981 | case EFI_MD_TYPE_RT_DATA: |
| 982 | /* |
| 983 | * Runtime data will be excluded after the DMAP |
| 984 | * region is created to stop it from being added |
| 985 | * to phys_avail. |
| 986 | */ |
| 987 | case EFI_MD_TYPE_CODE: |
| 988 | case EFI_MD_TYPE_DATA: |
| 989 | case EFI_MD_TYPE_BS_CODE: |
| 990 | case EFI_MD_TYPE_BS_DATA: |
| 991 | case EFI_MD_TYPE_FREE: |
| 992 | /* |
| 993 | * We're allowed to use any entry with these types. |
| 994 | */ |
| 995 | physmem_hardware_region(p->md_phys, |
| 996 | p->md_pages * PAGE_SIZE); |
| 997 | break; |
| 998 | } |
| 999 | } |
| 1000 | |
| 1001 | static void |
| 1002 | add_efi_map_entries(struct efi_map_header *efihdr) |
nothing calls this directly
no test coverage detected