diff options
author | Tom Rini <trini@konsulko.com> | 2025-02-20 11:21:41 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-20 11:21:41 -0600 |
commit | 313b9856f95419b01df7cc6b9a16f7b07d9fe13c (patch) | |
tree | e7dbb656e3fc05ad4a7fa7a67c89ba0945cfcfc3 /include/lmb.h | |
parent | 7a6dbb9dbe2ed4f6e51b3902fc7aa5a425f5f203 (diff) | |
parent | 5ce629db2512d70f298bc1d422fefad63a74c7f5 (diff) |
Merge tag 'efi-2025-04-rc3' of https://source.denx.de/u-boot/custodians/u-boot-efi
CI:
* https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/24709
UEFI:
* create a parent device for all EFI block devices
* move lmb_map_update_notify() to EFI
* make efi_add_memory_map_pg() static
* remove comparisons to string literals from runtime
* ix potential deref-after-null
Other:
* avoid superfluous value check in lmb_map_update_notify()
* support more efi protocols in uuid_guid_get_str()
Diffstat (limited to 'include/lmb.h')
-rw-r--r-- | include/lmb.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/lmb.h b/include/lmb.h index d9d7435a431..09297a4f530 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -32,6 +32,18 @@ #define LMB_NONOTIFY BIT(2) /** + * enum lmb_map_op - memory map operation + */ +enum lmb_map_op { + /** @LMB_MAP_OP_RESERVE: reserve memory */ + LMB_MAP_OP_RESERVE = 1, + /** @LMB_MAP_OP_FREE: free memory */ + LMB_MAP_OP_FREE, + /** @LMB_MAP_OP_ADD: add memory */ + LMB_MAP_OP_ADD, +}; + +/** * struct lmb_region - Description of one region * @base: Base address of the region * @size: Size of the region |