From 98f98eb440d65fbe9828bac2968a7cf7e749118c Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Tue, 19 Mar 2019 16:58:17 +0000 Subject: [PATCH] ShellPkg/acpiview: GTDT updates for ACPI 6.3 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 Reviewed-by: Sami Mujawar Reviewed-by: Alexei Fedorov Reviewed-by: Zhichao Gao --- .../UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c index 1b7e56486c..3b05ff3015 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c @@ -5,7 +5,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @par Reference(s): - - ACPI 6.2 Specification - Errata A, September 2017 + - ACPI 6.3 Specification - January 2019 **/ #include @@ -77,7 +77,9 @@ STATIC CONST ACPI_PARSER GtdtParser[] = { {L"Platform Timer Count", 4, 88, L"%d", NULL, (VOID**)&GtdtPlatformTimerCount, NULL, NULL}, {L"Platform Timer Offset", 4, 92, L"0x%x", NULL, - (VOID**)&GtdtPlatformTimerOffset, NULL, NULL} + (VOID**)&GtdtPlatformTimerOffset, NULL, NULL}, + {L"Virtual EL2 Timer GSIV", 4, 96, L"0x%x", NULL, NULL, NULL, NULL}, + {L"Virtual EL2 Timer Flags", 4, 100, L"0x%x", NULL, NULL, NULL, NULL} }; /** -- 2.39.2