diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/efi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 7464032ae00a..78b29b133e14 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
| @@ -887,6 +887,13 @@ extern bool efi_poweroff_required(void); | |||
| 887 | (md) <= (efi_memory_desc_t *)((m)->map_end - (m)->desc_size); \ | 887 | (md) <= (efi_memory_desc_t *)((m)->map_end - (m)->desc_size); \ |
| 888 | (md) = (void *)(md) + (m)->desc_size) | 888 | (md) = (void *)(md) + (m)->desc_size) |
| 889 | 889 | ||
| 890 | /* | ||
| 891 | * Format an EFI memory descriptor's type and attributes to a user-provided | ||
| 892 | * character buffer, as per snprintf(), and return the buffer. | ||
| 893 | */ | ||
| 894 | char * __init efi_md_typeattr_format(char *buf, size_t size, | ||
| 895 | const efi_memory_desc_t *md); | ||
| 896 | |||
| 890 | /** | 897 | /** |
| 891 | * efi_range_is_wc - check the WC bit on an address range | 898 | * efi_range_is_wc - check the WC bit on an address range |
| 892 | * @start: starting kvirt address | 899 | * @start: starting kvirt address |
