]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: Add guidcpy function
authorSughosh Ganu <sughosh.ganu@linaro.org>
Sat, 28 Dec 2019 18:31:04 +0000 (00:01 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:20 +0000 (18:08 +0100)
commit61e42d9465ef36857693cc3db615438241a06bf6
treea51ce1545f9f3f18755f5f1ffc02a75b6e649545
parent9bb758aab63dd5972b27b8dc1a0f22224b54f885
efi_loader: Add guidcpy function

Add guidcpy function to copy the source guid to the destination
guid. Use this function instead of memcpy for copying to the
destination guid.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Use void * instead of efi_guid_t * for arguments to allow copying unaligned
GUIDs. The GUIDs of configuration tables are __packed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c