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
@ -17,11 +17,11 @@
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/AcpiViewCommandLib.h>
|
||||
#include "AcpiParser.h"
|
||||
#include "AcpiTableParser.h"
|
||||
#include "AcpiView.h"
|
||||
#include "AcpiViewConfig.h"
|
||||
#include "UefiShellAcpiViewCommandLib.h"
|
||||
|
||||
#if defined(MDE_CPU_ARM) || defined (MDE_CPU_AARCH64)
|
||||
#include "Arm/SbbrValidator.h"
|
||||
|
Reference in New Issue
Block a user