efi_loader: Add a version of efi_binary_run() with more parameters
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2025 22:07:21 +0000 (15:07 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 26 Jan 2025 10:06:57 +0000 (11:06 +0100)
commitb9f42821af4dfc0988c39cb4d0ae28118da2c312
treeebbdfce56ef5d185648e10dc854bc650a9eab79f
parenta70759898a0ee9750d418da78ff0ebcd432e9bb5
efi_loader: Add a version of efi_binary_run() with more parameters

This uses a few global variables at present. With the bootflow we have
the required parameters, so add a function which accepts these. Update
the existing function to call the new one with the globals.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_bootbin.c