]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg/acpiview: GTDT updates for ACPI 6.3
authorPierre Gondois <pierre.gondois@arm.com>
Tue, 19 Mar 2019 16:58:17 +0000 (16:58 +0000)
committerJaben Carsey <jaben.carsey@intel.com>
Mon, 10 Jun 2019 18:54:04 +0000 (11:54 -0700)
The ACPI 6.3 specification introduces support to describe
the ARMv8.1 virtual EL2 timers. This patch updates the GTDT parser
of acpiview to decode the EL2 virtual timer fields.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c

index 1b7e56486c8fb98a8fe063ae5fa25d86500a58a9..3b05ff3015d4a3af62dd9fab057c32369a456267 100644 (file)
@@ -5,7 +5,7 @@
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
   @par Reference(s):\r
-    - ACPI 6.2 Specification - Errata A, September 2017\r
+    - ACPI 6.3 Specification - January 2019\r
   **/\r
 \r
 #include <IndustryStandard/Acpi.h>\r
@@ -77,7 +77,9 @@ STATIC CONST ACPI_PARSER GtdtParser[] = {
   {L"Platform Timer Count", 4, 88, L"%d", NULL,\r
    (VOID**)&GtdtPlatformTimerCount, NULL, NULL},\r
   {L"Platform Timer Offset", 4, 92, L"0x%x", NULL,\r
-   (VOID**)&GtdtPlatformTimerOffset, NULL, NULL}\r
+   (VOID**)&GtdtPlatformTimerOffset, NULL, NULL},\r
+  {L"Virtual EL2 Timer GSIV", 4, 96, L"0x%x", NULL, NULL, NULL, NULL},\r
+  {L"Virtual EL2 Timer Flags", 4, 100, L"0x%x", NULL, NULL, NULL, NULL}\r
 };\r
 \r
 /**\r