audk/ShellPkg/Library
Ruiyu Ni ee4dc24f57 ShellPkg: Add acpiview tool to dump ACPI tables
This program is provided to allow examination of ACPI table contents
from the UEFI Shell.  This can help with investigations, especially at
that stage where the tables are not enabling an OS to boot.
The program is not exhaustive, and only encapsulates detailed knowledge
of a limited number of table types.

Default behaviour is to display the content of all tables installed.
'Known' table types will be parsed and displayed with descriptions and
field values.  Where appropriate a degree of consistency checking is
done and errors may be reported in the output.
Other table types will be displayed as an array of Hexadecimal bytes.

To facilitate debugging, the -s and -d options can be used to generate a
binary file image of a table that can be copied elsewhere for
investigation using tools such as those provided by acpica.org.  This is
especially relevant for AML type tables like DSDT and SSDT.

The inspiration for this is the existing smbiosview Debug1 Shell
command.

Many tables are not explicitly handled, in part because no examples are
available for our testing.

The program is designed to be extended to new tables with minimal
effort, and contributions are invited.

Change-Id: Ifa23dc80ab8ab042c56e88424847e796a8122a7c
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-04-23 17:52:44 +08:00
..
UefiHandleParsingLib ShellPkg/UefiHandleParsingLib: remove TrEE reference. 2018-03-16 14:19:42 +08:00
UefiShellAcpiViewCommandLib ShellPkg: Add acpiview tool to dump ACPI tables 2018-04-23 17:52:44 +08:00
UefiShellBcfgCommandLib ShellPkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:04 +08:00
UefiShellCEntryLib ShellPkg: Fix typos in comments and variables 2016-11-15 11:05:34 +08:00
UefiShellCommandLib ShellPkg/CommandLib: Locate proper UnicodeCollation instance 2018-01-29 09:41:44 +08:00
UefiShellDebug1CommandsLib ShellPkg/[hex]edit: Fix mouse freeze issue 2018-03-14 11:25:44 +08:00
UefiShellDriver1CommandsLib ShellPkg/disconnect: '-r' is not optional when disconnecting all 2017-09-29 15:19:10 +08:00
UefiShellInstall1CommandsLib Revert "ShellPkg : Add UEFI_APPLICATION module type to UefiShellInstall1CommandsLib.inf" 2016-01-06 16:23:20 +00:00
UefiShellLevel1CommandsLib ShellPkg/for: Fix potential null pointer deference 2018-02-06 17:30:24 +08:00
UefiShellLevel2CommandsLib ShellPkg/rm: fix hang when deleting an absolutely-empty directory 2018-02-09 12:24:55 +08:00
UefiShellLevel3CommandsLib ShellPkg/UefiShellLevel3CommandsLib: fix string over-read 2018-01-25 10:24:21 +08:00
UefiShellLib ShellPkg/ShellLib: Fix a bug in InternalShellIsHexOrDecimalNumber 2018-02-15 14:12:52 +08:00
UefiShellNetwork1CommandsLib ShellPkg/Ping: fix loss of first packet 2018-02-23 12:46:04 +01:00
UefiShellNetwork2CommandsLib ShellPkg: Fix a build error in Ping6 shell command. 2017-12-18 17:52:02 +08:00