diff options
author | Krzysztof Koch <krzysztof.koch@arm.com> | 2019-05-17 08:50:50 -0700 |
---|---|---|
committer | Jaben Carsey <jaben.carsey@intel.com> | 2019-05-17 08:50:50 -0700 |
commit | 1887b995a3598795dba8704f8eb964a644f21658 (patch) | |
tree | def0aa1e66036d28933d0f739ffcb624b9f3f7ee /ShellPkg | |
parent | 8da8daafc9055ce83804fcc65d0f4cf01b2ca6fe (diff) | |
download | edk2-1887b995a3598795dba8704f8eb964a644f21658.zip edk2-1887b995a3598795dba8704f8eb964a644f21658.tar.gz edk2-1887b995a3598795dba8704f8eb964a644f21658.tar.bz2 |
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 <krzysztof.koch@arm.com>
Reported-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Bi Dandan <dandan.bi@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c index c6588a1..345ad33 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
}
/**
|