mirror of https://github.com/acidanthera/audk.git
MdePkg Acpi60.h: Add missing PCCT subspace type 1 and 2 definitions
Same change is done for Acpi61.h. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
afcdd70894
commit
69ebfa2b2b
|
@ -2020,7 +2020,9 @@ typedef struct {
|
|||
//
|
||||
// PCCT Subspace type
|
||||
//
|
||||
#define EFI_ACPI_6_0_PCCT_SUBSPACE_TYPE_GENERIC 0x00
|
||||
#define EFI_ACPI_6_0_PCCT_SUBSPACE_TYPE_GENERIC 0x00
|
||||
#define EFI_ACPI_6_0_PCCT_SUBSPACE_TYPE_1_HW_REDUCED_COMMUNICATIONS 0x01
|
||||
#define EFI_ACPI_6_0_PCCT_SUBSPACE_TYPE_2_HW_REDUCED_COMMUNICATIONS 0x02
|
||||
|
||||
///
|
||||
/// PCC Subspace Structure Header
|
||||
|
@ -2072,6 +2074,50 @@ typedef struct {
|
|||
EFI_ACPI_6_0_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS Status;
|
||||
} EFI_ACPI_6_0_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER;
|
||||
|
||||
#define EFI_ACPI_6_0_PCCT_SUBSPACE_DOORBELL_INTERRUPT_FLAGS_POLARITY BIT0
|
||||
#define EFI_ACPI_6_0_PCCT_SUBSPACE_DOORBELL_INTERRUPT_FLAGS_MODE BIT1
|
||||
|
||||
///
|
||||
/// Type 1 HW-Reduced Communications Subspace Structure
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 Type;
|
||||
UINT8 Length;
|
||||
UINT32 DoorbellInterrupt;
|
||||
UINT8 DoorbellInterruptFlags;
|
||||
UINT8 Reserved;
|
||||
UINT64 BaseAddress;
|
||||
UINT64 AddressLength;
|
||||
EFI_ACPI_6_0_GENERIC_ADDRESS_STRUCTURE DoorbellRegister;
|
||||
UINT64 DoorbellPreserve;
|
||||
UINT64 DoorbellWrite;
|
||||
UINT32 NominalLatency;
|
||||
UINT32 MaximumPeriodicAccessRate;
|
||||
UINT16 MinimumRequestTurnaroundTime;
|
||||
} EFI_ACPI_6_0_PCCT_SUBSPACE_1_HW_REDUCED_COMMUNICATIONS;
|
||||
|
||||
///
|
||||
/// Type 2 HW-Reduced Communications Subspace Structure
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 Type;
|
||||
UINT8 Length;
|
||||
UINT32 DoorbellInterrupt;
|
||||
UINT8 DoorbellInterruptFlags;
|
||||
UINT8 Reserved;
|
||||
UINT64 BaseAddress;
|
||||
UINT64 AddressLength;
|
||||
EFI_ACPI_6_0_GENERIC_ADDRESS_STRUCTURE DoorbellRegister;
|
||||
UINT64 DoorbellPreserve;
|
||||
UINT64 DoorbellWrite;
|
||||
UINT32 NominalLatency;
|
||||
UINT32 MaximumPeriodicAccessRate;
|
||||
UINT16 MinimumRequestTurnaroundTime;
|
||||
EFI_ACPI_6_0_GENERIC_ADDRESS_STRUCTURE DoorbellAckRegister;
|
||||
UINT64 DoorbellAckPreserve;
|
||||
UINT64 DoorbellAckWrite;
|
||||
} EFI_ACPI_6_0_PCCT_SUBSPACE_2_HW_REDUCED_COMMUNICATIONS;
|
||||
|
||||
//
|
||||
// Known table signatures
|
||||
//
|
||||
|
|
|
@ -2052,7 +2052,9 @@ typedef struct {
|
|||
//
|
||||
// PCCT Subspace type
|
||||
//
|
||||
#define EFI_ACPI_6_1_PCCT_SUBSPACE_TYPE_GENERIC 0x00
|
||||
#define EFI_ACPI_6_1_PCCT_SUBSPACE_TYPE_GENERIC 0x00
|
||||
#define EFI_ACPI_6_1_PCCT_SUBSPACE_TYPE_1_HW_REDUCED_COMMUNICATIONS 0x01
|
||||
#define EFI_ACPI_6_1_PCCT_SUBSPACE_TYPE_2_HW_REDUCED_COMMUNICATIONS 0x02
|
||||
|
||||
///
|
||||
/// PCC Subspace Structure Header
|
||||
|
@ -2104,6 +2106,50 @@ typedef struct {
|
|||
EFI_ACPI_6_1_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS Status;
|
||||
} EFI_ACPI_6_1_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER;
|
||||
|
||||
#define EFI_ACPI_6_1_PCCT_SUBSPACE_DOORBELL_INTERRUPT_FLAGS_POLARITY BIT0
|
||||
#define EFI_ACPI_6_1_PCCT_SUBSPACE_DOORBELL_INTERRUPT_FLAGS_MODE BIT1
|
||||
|
||||
///
|
||||
/// Type 1 HW-Reduced Communications Subspace Structure
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 Type;
|
||||
UINT8 Length;
|
||||
UINT32 DoorbellInterrupt;
|
||||
UINT8 DoorbellInterruptFlags;
|
||||
UINT8 Reserved;
|
||||
UINT64 BaseAddress;
|
||||
UINT64 AddressLength;
|
||||
EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE DoorbellRegister;
|
||||
UINT64 DoorbellPreserve;
|
||||
UINT64 DoorbellWrite;
|
||||
UINT32 NominalLatency;
|
||||
UINT32 MaximumPeriodicAccessRate;
|
||||
UINT16 MinimumRequestTurnaroundTime;
|
||||
} EFI_ACPI_6_1_PCCT_SUBSPACE_1_HW_REDUCED_COMMUNICATIONS;
|
||||
|
||||
///
|
||||
/// Type 2 HW-Reduced Communications Subspace Structure
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 Type;
|
||||
UINT8 Length;
|
||||
UINT32 DoorbellInterrupt;
|
||||
UINT8 DoorbellInterruptFlags;
|
||||
UINT8 Reserved;
|
||||
UINT64 BaseAddress;
|
||||
UINT64 AddressLength;
|
||||
EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE DoorbellRegister;
|
||||
UINT64 DoorbellPreserve;
|
||||
UINT64 DoorbellWrite;
|
||||
UINT32 NominalLatency;
|
||||
UINT32 MaximumPeriodicAccessRate;
|
||||
UINT16 MinimumRequestTurnaroundTime;
|
||||
EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE DoorbellAckRegister;
|
||||
UINT64 DoorbellAckPreserve;
|
||||
UINT64 DoorbellAckWrite;
|
||||
} EFI_ACPI_6_1_PCCT_SUBSPACE_2_HW_REDUCED_COMMUNICATIONS;
|
||||
|
||||
//
|
||||
// Known table signatures
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue