From b4c5e59321d81d81c80a4c4d228ad238be5eb480 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Thu, 2 Dec 2021 20:30:16 +0300 Subject: add a wrapper around the shell command for application --- Application/UfmApp/UfmApp.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Application/UfmApp/UfmApp.c diff --git a/Application/UfmApp/UfmApp.c b/Application/UfmApp/UfmApp.c new file mode 100644 index 0000000..7e650fe --- /dev/null +++ b/Application/UfmApp/UfmApp.c @@ -0,0 +1,21 @@ +#include +#include +#include +#include +#include +#include + +/** + Application Entry Point wrapper around the shell command + + @param[in] ImageHandle Handle to the Image (NULL if internal). + @param[in] SystemTable Pointer to the System Table (NULL if internal). +**/ +EFI_STATUS +EFIAPI +UfmAppMain( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable) +{ + return ShellCommandRunUFM(gImageHandle, SystemTable); +} -- cgit v1.2.3-18-g5258