From 1887b995a3598795dba8704f8eb964a644f21658 Mon Sep 17 00:00:00 2001 From: Krzysztof Koch Date: Fri, 17 May 2019 08:50:50 -0700 Subject: [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix PPTT cache attributes validation Removed conditional pre-compiling for ARM CPUs because function ValidateCacheAttributes(..) is based on ACPI PPTT specification. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Krzysztof Koch Reported-by: Zhichao Gao Reviewed-by: Sami Mujawar Reviewed-by: Bi Dandan Reviewed-by: Zhichao Gao --- .../UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c index c6588a12b4..345ad337f5 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c @@ -80,11 +80,9 @@ ValidateCacheAttributes ( IN VOID* Context ) { -#if defined(MDE_CPU_ARM) || defined (MDE_CPU_AARCH64) // Reference: Advanced Configuration and Power Interface (ACPI) Specification // Version 6.2 Errata A, September 2017 // Table 5-153: Cache Type Structure - UINT8 Attributes; Attributes = *(UINT8*)Ptr; @@ -96,7 +94,6 @@ ValidateCacheAttributes ( ); return; } -#endif } /** -- 2.39.2