diff options
author | Heinrich Schuchardt | 2023-02-10 09:01:13 +0100 |
---|---|---|
committer | Heinrich Schuchardt | 2023-02-10 13:05:40 +0100 |
commit | a9f20ef37aae226e9d4366d764869bdcf32ddd82 (patch) | |
tree | f557ae65f31347080c54b382301b076158d21a6f /include | |
parent | 6c2377f9a00d246cb77096564e5980e7c1d7b0e4 (diff) |
efi_loader: provide definition for efi_add_known_memory()
We should provide a definition in an include for efi_add_known_memory().
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_loader.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 4560b0d04cb..c664d6cdf2c 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -1137,4 +1137,11 @@ efi_status_t efi_console_get_u16_string efi_status_t efi_disk_get_device_name(const efi_handle_t handle, char *buf, int size); +/** + * efi_add_known_memory() - add memory banks to EFI memory map + * + * This weak function may be overridden for specific architectures. + */ +void efi_add_known_memory(void); + #endif /* _EFI_LOADER_H */ |