ShellPkg/Acpiview: Adds ACPI WSMT Table parse

Adds WSMT parse to the UefiShellAcpiViewCommandLib library.

Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Pierre Gondois  <pierre.gondois@arm.com>
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
Reviewed-by: Pierre Gondois  <pierre.gondois@arm.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
Abdul Lateef Attar
2024-03-08 15:22:39 +08:00
committed by mergify[bot]
parent 4b9312de05
commit cf58f47623
4 changed files with 166 additions and 0 deletions

View File

@@ -985,6 +985,23 @@ ParseAcpiSsdt (
IN UINT8 AcpiTableRevision
);
/**
This function parses the ACPI WSMT table.
@param [in] Trace If TRUE, trace the ACPI fields.
@param [in] Ptr Pointer to the start of the buffer.
@param [in] AcpiTableLength Length of the ACPI table.
@param [in] AcpiTableRevision Revision of the ACPI table.
**/
VOID
EFIAPI
ParseAcpiWsmt (
IN BOOLEAN Trace,
IN UINT8 *Ptr,
IN UINT32 AcpiTableLength,
IN UINT8 AcpiTableRevision
);
/**
This function parses the ACPI XSDT table
and optionally traces the ACPI table fields.