ShellPkg: Add AcpiViewCommandLib
The UefiShellAcpiViewCommandLib is converted from NULL library to a named library so that it may be used in modules other than shell. The library interface exposes the main method for to AcpiView functionality as well as a helper method to dump a buffer to a file. The Shell module is still built by pulling UefiShellAcpiViewCommandLib as a NULL library to preserve the modularity of shell builds. Cc: Ray Ni <ray.ni@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Signed-off-by: Tomas Pilar <tomas.pilar@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
d45cf5ffdf
commit
db77d8f7ee
@ -14,7 +14,7 @@
|
||||
FILE_GUID = FB5B305E-84F5-461F-940D-82D345757AFA
|
||||
MODULE_TYPE = UEFI_APPLICATION
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER
|
||||
LIBRARY_CLASS = AcpiViewCommandLib|UEFI_APPLICATION UEFI_DRIVER
|
||||
CONSTRUCTOR = UefiShellAcpiViewCommandLibConstructor
|
||||
DESTRUCTOR = UefiShellAcpiViewCommandLibDestructor
|
||||
|
||||
@ -46,7 +46,6 @@
|
||||
Parsers/Ssdt/SsdtParser.c
|
||||
Parsers/Xsdt/XsdtParser.c
|
||||
UefiShellAcpiViewCommandLib.c
|
||||
UefiShellAcpiViewCommandLib.h
|
||||
UefiShellAcpiViewCommandLib.uni
|
||||
|
||||
[Sources.ARM, Sources.AARCH64]
|
||||
|
Reference in New Issue
Block a user