]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Application/AcpiViewApp/AcpiViewApp.uni
ShellPkg/AcpiView: Add application wrapper
[mirror_edk2.git] / ShellPkg / Application / AcpiViewApp / AcpiViewApp.uni
CommitLineData
00217f19
TP
1// @file\r
2//\r
3// Standalone EFI application that displays and verifies ACPI tables\r
4//\r
5// Copyright (c) 2020, ARM Limited. All rights reserved.<BR>\r
6// SPDX-License-Identifier: BSD-2-Clause-Patent\r
7//\r
8\r
9/=#\r
10\r
11#langdef en-US "english"\r
12\r
13#string STR_GET_HELP_ACPIVIEW #language en-US ""\r
14".TH acpiview 0 "Display ACPI information."\r\n"\r
15".SH NAME\r\n"\r
16"Display ACPI Table information.\r\n"\r
17".SH SYNOPSIS\r\n"\r
18" \r\n"\r
19"ACPIVIEWAPP.EFI [[-?] | [[[[-l] | [-s AcpiTable [-d]]] [-q] [-h]] [-r Spec]]]\r\n"\r
20" \r\n"\r
21".SH OPTIONS\r\n"\r
22" \r\n"\r
23" -l - Display list of installed ACPI Tables.\r\n"\r
24" -s - Display only the specified AcpiTable type and only support single\r\n"\r
25" invocation option.\r\n"\r
26" AcpiTable : The required ACPI Table type.\r\n"\r
27" -d - Generate a binary file dump of the specified AcpiTable.\r\n"\r
28" -q - Quiet. Suppress errors and warnings. Disables consistency checks.\r\n"\r
29" -h - Enable colour highlighting.\r\n"\r
30" -r - Validate that all required ACPI tables are installed\r\n"\r
31" Spec : Specification to validate against.\r\n"\r
32" For Arm, the possible values are:\r\n"\r
33" 0 - Server Base Boot Requirements v1.0\r\n"\r
34" 1 - Server Base Boot Requirements v1.1\r\n"\r
35" 2 - Server Base Boot Requirements v1.2\r\n"\r
36" -? - Show help.\r\n"\r
37" \r\n"\r
38".SH DESCRIPTION\r\n"\r
39" \r\n"\r
40" This program is provided to allow examination of ACPI table values from the\r\n"\r
41" UEFI Shell. This can help with investigations, especially at that stage\r\n"\r
42" where the tables are not enabling an OS to boot.\r\n"\r
43" The program is not exhaustive, and only encapsulates detailed knowledge of a\r\n"\r
44" limited number of table types.\r\n"\r
45" \r\n"\r
46" Default behaviour is to display the content of all tables installed.\r\n"\r
47" 'Known' table types (listed in NOTES below) will be parsed and displayed\r\n"\r
48" with descriptions and field values. Where appropriate a degree of\r\n"\r
49" consistency checking is done and errors may be reported in the output.\r\n"\r
50" Other table types will be displayed as an array of Hexadecimal bytes.\r\n"\r
51" \r\n"\r
52" To facilitate debugging, the -s and -d options can be used to generate a\r\n"\r
53" binary file image of a table that can be copied elsewhere for investigation\r\n"\r
54" using tools such as those provided by acpica.org. This is especially\r\n"\r
55" relevant for AML type tables like DSDT and SSDT.\r\n"\r
56" \r\n"\r
57"NOTES:\r\n"\r
58" 1. The AcpiTable parameter can match any installed table type.\r\n"\r
59" Tables without specific handling will be displayed as a raw hex dump (or\r\n"\r
60" dumped to a file if -d is used).\r\n"\r
61" 2. -s option supports to display the specified AcpiTable type that is present\r\n"\r
62" in the system. For normal type AcpiTable, it would display the data of the\r\n"\r
63" AcpiTable and AcpiTable header. The following type may contain header type\r\n"\r
64" other than AcpiTable header. The actual header can refer to the ACPI spec\r\n"\r
65" 6.3\r\n"\r
66" Extra A. Particular types:\r\n"\r
67" APIC - Multiple APIC Description Table (MADT)\r\n"\r
68" BGRT - Boot Graphics Resource Table\r\n"\r
69" DBG2 - Debug Port Table 2\r\n"\r
70" DSDT - Differentiated System Description Table\r\n"\r
71" FACP - Fixed ACPI Description Table (FADT)\r\n"\r
72" GTDT - Generic Timer Description Table\r\n"\r
73" IORT - IO Remapping Table\r\n"\r
74" MCFG - Memory Mapped Config Space Base Address Description Table\r\n"\r
75" PPTT - Processor Properties Topology Table\r\n"\r
76" RSDP - Root System Description Pointer\r\n"\r
77" SLIT - System Locality Information Table\r\n"\r
78" SPCR - Serial Port Console Redirection Table\r\n"\r
79" SRAT - System Resource Affinity Table\r\n"\r
80" SSDT - Secondary SystemDescription Table\r\n"\r
81" XSDT - Extended System Description Table\r\n"\r
82" \r\n"\r
83".SH STANDARDS\r\n"\r
84" \r\n"\r
85" Table details correspond to those in 'Advanced Configuration and Power\r\n"\r
86" Interface Specification' Version 6.3 [January 2019]\r\n"\r
87" (https://uefi.org/specifications)\r\n"\r
88" \r\n"\r
89" NOTE: The nature of the ACPI standard means that almost all tables in 6.3\r\n"\r
90" will be 'backwards compatible' with prior version of the specification\r\n"\r
91" in terms of structure, so formatted output should be correct. The main\r\n"\r
92" exception will be that previously 'reserved' fields will be reported\r\n"\r
93" with new names, where they have been added in later versions of the\r\n"\r
94" specification.\r\n"\r
95" \r\n"\r
96".SH EXAMPLES\r\n"\r
97" \r\n"\r
98" \r\n"\r
99"EXAMPLES:\r\n"\r
100" * To display a list of the installed table types:\r\n"\r
101" fs0:\> acpiviewapp.efi -l\r\n"\r
102" \r\n"\r
103" * To parse and display a specific table type:\r\n"\r
104" fs0:\> acpiviewapp.efi -s GTDT\r\n"\r
105" \r\n"\r
106" * To save a binary dump of the contents of a table to a file\r\n"\r
107" in the current working directory:\r\n"\r
108" fs0:\> acpiviewapp.efi -s DSDT -d\r\n"\r
109" \r\n"\r
110" * To display contents of all ACPI tables:\r\n"\r
111" fs0:\> acpiviewapp.efi\r\n"\r
112" \r\n"\r
113" * To check if all Server Base Boot Requirements (SBBR) v1.2 mandatory\r\n"\r
114" ACPI tables are installed (Arm only):\r\n"\r
115" fs0:\> acpiviewapp.efi -r 2\r\n"\r
116" \r\n"\r
117".SH RETURNVALUES\r\n"\r
118" \r\n"\r
119"RETURN VALUES:\r\n"\r
120" SHELL_SUCCESS Data was displayed as requested.\r\n"\r
121" SHELL_INVALID_PARAMETER ACPI Table parsing failed.\r\n"\r
122" \r\n"\r