aboutsummaryrefslogtreecommitdiffstats
path: root/Application/UfmApp/UfmApp.c
blob: 7e650fe8ebdc179191440a5f3dc3ee0c8bbcd72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
}