summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_memory.c
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2024-10-15 21:07:03 +0530
committerTom Rini <trini@konsulko.com>2024-10-15 13:45:29 -0600
commitc8a8f0196bdb068f07a5565bf4ce5f43f5003f6e (patch)
tree53ea05dcdc712939c9b92058f3f15dcaca543164 /lib/efi_loader/efi_memory.c
parent29502f6a344be06ad0bcd9076ec612b9e6a7d1cb (diff)
lmb: add versions of the lmb API with flags
The LMB module is to be used as a backend for allocating and freeing up memory requested from other modules like EFI. These memory requests are different from the typical LMB reservations in that memory required by the EFI module cannot be overwritten, or re-requested. Add versions of the LMB API functions with flags for allocating and freeing up memory. The caller can then use these API's for specifying the type of memory that is required. For now, these functions will be used by the EFI memory module. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_loader/efi_memory.c')
0 files changed, 0 insertions, 0 deletions