efi_loader: simplify accessing variables
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 24 May 2021 09:10:59 +0000 (11:10 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 25 May 2021 11:06:58 +0000 (13:06 +0200)
commitacfe1def3f147c20e116f479225546bc5e3bfc27
tree07e7464b1f34db6c03e3eb784343a38e6dd008b6
parent2ecee31017bf7fb538b4749a3763802b8f825dac
efi_loader: simplify accessing variables

Use efi_get_variable_int() instead of EFI_CALL(RT->get_variable()).
Use efi_set_variable_int() instead of EFI_CALL(efi_set_variable()).

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/efidebug.c