mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
efi_loader: don't use memmove() in efi_var_mem_del()
efi_var_mem_del() is in __efi_runtime because it would be needed for a runtime implementation of SetVariable(). memmove() is not in __efi_runtime. So we should not use it in efi_var_mem_del(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -144,6 +144,8 @@ efi_status_t efi_init_runtime_supported(void)
|
||||
*
|
||||
* At runtime memcpy() is not available.
|
||||
*
|
||||
* Overlapping memory areas can be copied safely if src >= dest.
|
||||
*
|
||||
* @dest: destination buffer
|
||||
* @src: source buffer
|
||||
* @n: number of bytes to copy
|
||||
|
Reference in New Issue
Block a user