TianoCore EDK2 master
Loading...
Searching...
No Matches
AcpiViewApp.c
Go to the documentation of this file.
1
8#include <Library/BaseLib.h>
10#include <Library/UefiLib.h>
11#include <Library/ShellLib.h>
13
15
16//
17// String token ID of help message text.
18// Shell supports to find help message in the resource section of an application image if
19// .MAN file is not found. This global variable is added to make build tool recognizes
20// that the help string is consumed by user and then build tool will add the string into
21// the resource section. Thus the application can use '-?' option to show help message in
22// Shell.
23//
24GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringHelpTokenId = STRING_TOKEN (STR_GET_HELP_ACPIVIEW);
25
33EFIAPI
35 IN EFI_HANDLE ImageHandle,
36 IN EFI_SYSTEM_TABLE *SystemTable
37 )
38{
39 return ShellCommandRunAcpiView (gImageHandle, SystemTable);
40}
EFI_STATUS EFIAPI AcpiViewAppMain(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: AcpiViewApp.c:34
SHELL_STATUS EFIAPI ShellCommandRunAcpiView(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
#define IN
Definition: Base.h:279
#define GLOBAL_REMOVE_IF_UNREFERENCED
Definition: Base.h:48
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_HANDLE gImageHandle
#define STRING_TOKEN(t)