ShellPkg: acpiview: Allow disabling consistency checks (-q flag)
The current documentation for the acpiview UEFI shell tool states that the '-c' flag enables consistency checks on ACPI table data. However, these checks are enabled anyway by default. This patch keeps ACPI table validation as a default option, but it makes it possible to turn ACPI table validation off by setting the newly-introduced '-q' flag. Consequently, the '-c' flag is removed. The remaining code changes in this patch make a number of consistency checks optional (but enabled by default): 1. ACPI table field offset mismatch. 2. ACPI table field validation functions provided in the ACPI_PARSER arrays. 3. Table checksum computation. Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
"Display ACPI Table information.\r\n"
|
||||
".SH SYNOPSIS\r\n"
|
||||
" \r\n"
|
||||
"ACPIVIEW [[-?] | [[-l] | [-s AcpiTable [-d]]] [-c] [-v] [-h Highlight]]\r\n"
|
||||
"ACPIVIEW [[-?] | [[-l] | [-s AcpiTable [-d]]] [-q] [-v] [-h Highlight]]\r\n"
|
||||
" \r\n"
|
||||
".SH OPTIONS\r\n"
|
||||
" \r\n"
|
||||
@ -39,7 +39,7 @@
|
||||
" invocation option.\r\n"
|
||||
" AcpiTable : The required ACPI Table type.\r\n"
|
||||
" -d - Generate a binary file dump of the specified AcpiTable.\r\n"
|
||||
" -c - Consistency checking (enabled by default).\r\n"
|
||||
" -q - Quiet. Suppress errors and warnings. Disables consistency checks.\r\n"
|
||||
" -v - Display verbose data (enabled by default).\r\n"
|
||||
" -h - Enable/Disable Colour Highlighting.\r\n"
|
||||
" Highlight : TRUE/ON enables highlighting;\r\n"
|
||||
|
Reference in New Issue
Block a user