ShellPkg/AcpiView: Update PCCT fields for ACPI 6.5

The ACPI specification updated some terms in accordance with:
s1.1.1 Principle of Inclusive Terminology

Update the PCCT parser accordincly with these new terms.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Pierre Gondois
2022-10-10 11:20:58 +02:00
committed by mergify[bot]
parent c9a4df88fd
commit e9a3613ce0

View File

@ -146,7 +146,7 @@ ValidatePccDoorbellGas (
IN VOID *Context IN VOID *Context
) )
{ {
// For slave subspaces this field is optional, if not present the field // For responder subspaces this field is optional, if not present the field
// should just contain zeros. // should just contain zeros.
if (*PccSubspaceType == EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC) { if (*PccSubspaceType == EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC) {
if (IsZeroBuffer ( if (IsZeroBuffer (
@ -214,7 +214,7 @@ ValidatePccErrStatusGas (
IN VOID *Context IN VOID *Context
) )
{ {
// This field is ignored by the OSPM on slave channels. // This field is ignored by the OSPM on responder channels.
if (*PccSubspaceType == EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC) { if (*PccSubspaceType == EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC) {
return; return;
} }
@ -237,7 +237,7 @@ ValidatePlatInterrupt (
IN VOID *Context IN VOID *Context
) )
{ {
// If a slave subspace is present in the PCCT, then the global Platform // If a responder subspace is present in the PCCT, then the global Platform
// Interrupt flag must be set to 1. // Interrupt flag must be set to 1.
if ((*PccSubspaceType == EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC) && if ((*PccSubspaceType == EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC) &&
((*PccGlobalFlags & EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT) != ((*PccGlobalFlags & EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT) !=