]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Introduce ms abi vararg helpers
authorAlexander Graf <agraf@suse.de>
Mon, 18 Jun 2018 15:23:05 +0000 (17:23 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:57:43 +0000 (14:57 +0200)
commitc802e282cb747e2f9aafde9ea4b3253034242ef7
tree6b1fa3b5e2cde3b3ac176e776a7227b50911b6db
parentd75c24f197bd1510bab18f5fa6672155f5785c15
efi_loader: Introduce ms abi vararg helpers

Varargs differ between sysv and ms abi. On x86_64 we have to follow the ms
abi though, so we also need to make sure we use x86_64 varargs helpers.

This patch introduces generic efi vararg helpers that adhere to the
respective EFI ABI. That way we can deal with them properly from efi
loader code and properly interpret variable arguments.

This fixes the InstallMultipleProtocolInterfaces tests in the efi selftests
on x86_64 for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi.h
lib/efi_loader/efi_boottime.c