TianoCore EDK2
master
Loading...
Searching...
No Matches
AcpiViewApp.c
Go to the documentation of this file.
1
8
#include <
Library/BaseLib.h
>
9
#include <
Library/UefiBootServicesTableLib.h
>
10
#include <
Library/UefiLib.h
>
11
#include <
Library/ShellLib.h
>
12
#include <
Library/AcpiViewCommandLib.h
>
13
14
#include <
Protocol/ShellParameters.h
>
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
//
24
GLOBAL_REMOVE_IF_UNREFERENCED
EFI_STRING_ID mStringHelpTokenId =
STRING_TOKEN
(STR_GET_HELP_ACPIVIEW);
25
32
EFI_STATUS
33
EFIAPI
34
AcpiViewAppMain
(
35
IN
EFI_HANDLE
ImageHandle,
36
IN
EFI_SYSTEM_TABLE
*SystemTable
37
)
38
{
39
return
ShellCommandRunAcpiView
(
gImageHandle
, SystemTable);
40
}
AcpiViewAppMain
EFI_STATUS EFIAPI AcpiViewAppMain(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition:
AcpiViewApp.c:34
AcpiViewCommandLib.h
ShellCommandRunAcpiView
SHELL_STATUS EFIAPI ShellCommandRunAcpiView(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition:
UefiShellAcpiViewCommandLib.c:202
BaseLib.h
IN
#define IN
Definition:
Base.h:279
GLOBAL_REMOVE_IF_UNREFERENCED
#define GLOBAL_REMOVE_IF_UNREFERENCED
Definition:
Base.h:48
ShellLib.h
ShellParameters.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
UefiBootServicesTableLib.h
gImageHandle
EFI_HANDLE gImageHandle
Definition:
UefiBootServicesTableLib.c:15
STRING_TOKEN
#define STRING_TOKEN(t)
Definition:
UefiInternalFormRepresentation.h:2128
UefiLib.h
EFI_SYSTEM_TABLE
Definition:
UefiSpec.h:2028
ShellPkg
Application
AcpiViewApp
AcpiViewApp.c
Generated on Fri Nov 15 2024 18:01:24 for TianoCore EDK2 by
1.9.6