efi_loader: provide freestanding library
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 20 Jan 2019 07:20:30 +0000 (08:20 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:06 +0000 (09:40 +0100)
commitf51a226436a874ad4a9fda48dfab169155a48d49
tree5ba4d80df0c49f36967c99b63ed7b5fde5fc7a14
parent1170fee695197783185b1fa0c398945b248fb397
efi_loader: provide freestanding library

GCC requires that freestanding programs provide memcpy(), memmove(),
memset(), and memcmp().

Provide the required library functions.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_freestanding.c [new file with mode: 0644]