diff options
Diffstat (limited to 'Application')
-rw-r--r-- | Application/UfmApp/UfmApp.c | 21 |
1 files changed, 21 insertions, 0 deletions
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 <Library/BaseLib.h> +#include <Library/UefiBootServicesTableLib.h> +#include <Library/UefiLib.h> +#include <Library/ShellLib.h> +#include <Library/UfmCommandLib.h> +#include <Protocol/ShellParameters.h> + +/** + 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); +} |