diff --git a/MdePkg/Include/IndustryStandard/Acpi30.h b/MdePkg/Include/IndustryStandard/Acpi30.h index 29f0d55355..cb50b1d8f7 100644 --- a/MdePkg/Include/IndustryStandard/Acpi30.h +++ b/MdePkg/Include/IndustryStandard/Acpi30.h @@ -17,6 +17,20 @@ #define ACPI_EXTENDED_ADDRESS_SPACE_DESCRIPTOR 0x8B +/// +/// C-state Coordination Types +/// See s8.4.2.2 _CSD (C-State Dependency) +/// +#define ACPI_AML_COORD_TYPE_SW_ALL 0xFC +#define ACPI_AML_COORD_TYPE_SW_ANY 0xFD +#define ACPI_AML_COORD_TYPE_HW_ALL 0xFE + +/// +/// _PSD Revision for ACPI 3.0 +// See s8.4.4.5 _PSD (P-State Dependency) +/// +#define EFI_ACPI_3_0_AML_PSD_REVISION 0 + // // Ensure proper structure formats // diff --git a/MdePkg/Include/IndustryStandard/Acpi40.h b/MdePkg/Include/IndustryStandard/Acpi40.h index a2da09346f..0e30f4f841 100644 --- a/MdePkg/Include/IndustryStandard/Acpi40.h +++ b/MdePkg/Include/IndustryStandard/Acpi40.h @@ -10,6 +10,11 @@ #include <IndustryStandard/Acpi30.h> +/// +/// _PSD Revision for ACPI 4.0 +/// +#define EFI_ACPI_4_0_AML_PSD_REVISION 0 + // // Ensure proper structure formats // diff --git a/MdePkg/Include/IndustryStandard/Acpi50.h b/MdePkg/Include/IndustryStandard/Acpi50.h index 76706aa640..a00b8259b8 100644 --- a/MdePkg/Include/IndustryStandard/Acpi50.h +++ b/MdePkg/Include/IndustryStandard/Acpi50.h @@ -23,6 +23,16 @@ #define ACPI_GPIO_CONNECTION_DESCRIPTOR 0x8C #define ACPI_GENERIC_SERIAL_BUS_CONNECTION_DESCRIPTOR 0x8E +/// +/// _PSD Revision for ACPI 5.0 +/// +#define EFI_ACPI_5_0_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 5.0 +/// +#define EFI_ACPI_5_0_AML_CPC_REVISION 1 + #pragma pack(1) /// diff --git a/MdePkg/Include/IndustryStandard/Acpi51.h b/MdePkg/Include/IndustryStandard/Acpi51.h index 01ef544c3a..4241b8f198 100644 --- a/MdePkg/Include/IndustryStandard/Acpi51.h +++ b/MdePkg/Include/IndustryStandard/Acpi51.h @@ -13,6 +13,16 @@ #include <IndustryStandard/Acpi50.h> +/// +/// _PSD Revision for ACPI 5.1 +/// +#define EFI_ACPI_5_1_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 5.1 +/// +#define EFI_ACPI_5_1_AML_CPC_REVISION 2 + // // Ensure proper structure formats // diff --git a/MdePkg/Include/IndustryStandard/Acpi60.h b/MdePkg/Include/IndustryStandard/Acpi60.h index 5ac3be6ad7..3757d3f827 100644 --- a/MdePkg/Include/IndustryStandard/Acpi60.h +++ b/MdePkg/Include/IndustryStandard/Acpi60.h @@ -12,6 +12,16 @@ #include <IndustryStandard/Acpi51.h> +/// +/// _PSD Revision for ACPI 6.0 +/// +#define EFI_ACPI_6_0_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 6.0 +/// +#define EFI_ACPI_6_0_AML_CPC_REVISION 2 + // // Ensure proper structure formats // diff --git a/MdePkg/Include/IndustryStandard/Acpi61.h b/MdePkg/Include/IndustryStandard/Acpi61.h index 7af67d832b..c3facc6e37 100644 --- a/MdePkg/Include/IndustryStandard/Acpi61.h +++ b/MdePkg/Include/IndustryStandard/Acpi61.h @@ -12,6 +12,16 @@ #include <IndustryStandard/Acpi60.h> +/// +/// _PSD Revision for ACPI 6.1 +/// +#define EFI_ACPI_6_1_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 6.1 +/// +#define EFI_ACPI_6_1_AML_CPC_REVISION 2 + // // Ensure proper structure formats // diff --git a/MdePkg/Include/IndustryStandard/Acpi62.h b/MdePkg/Include/IndustryStandard/Acpi62.h index e27775a85a..4dd3e21c23 100644 --- a/MdePkg/Include/IndustryStandard/Acpi62.h +++ b/MdePkg/Include/IndustryStandard/Acpi62.h @@ -29,6 +29,16 @@ #define ACPI_PIN_GROUP_FUNCTION_DESCRIPTOR 0x91 #define ACPI_PIN_GROUP_CONFIGURATION_DESCRIPTOR 0x92 +/// +/// _PSD Revision for ACPI 6.2 +/// +#define EFI_ACPI_6_2_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 6.2 +/// +#define EFI_ACPI_6_2_AML_CPC_REVISION 3 + #pragma pack(1) /// diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h b/MdePkg/Include/IndustryStandard/Acpi63.h index 10bdf5fe5a..7582dccf64 100644 --- a/MdePkg/Include/IndustryStandard/Acpi63.h +++ b/MdePkg/Include/IndustryStandard/Acpi63.h @@ -12,6 +12,16 @@ #include <IndustryStandard/Acpi62.h> +/// +/// _PSD Revision for ACPI 6.3 +/// +#define EFI_ACPI_6_3_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 6.3 +/// +#define EFI_ACPI_6_3_AML_CPC_REVISION 3 + // // Ensure proper structure formats // diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h index 575ca0430c..faf069a045 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -12,6 +12,16 @@ #include <IndustryStandard/Acpi63.h> +/// +/// _PSD Revision for ACPI 6.4 +/// +#define EFI_ACPI_6_4_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 6.4 +/// +#define EFI_ACPI_6_4_AML_CPC_REVISION 3 + // // Ensure proper structure formats // diff --git a/MdePkg/Include/IndustryStandard/Acpi65.h b/MdePkg/Include/IndustryStandard/Acpi65.h index d79d0b2b5f..b9616a3e29 100644 --- a/MdePkg/Include/IndustryStandard/Acpi65.h +++ b/MdePkg/Include/IndustryStandard/Acpi65.h @@ -18,6 +18,16 @@ // #pragma pack(1) +/// +/// _PSD Revision for ACPI 6.5 +/// +#define EFI_ACPI_6_5_AML_PSD_REVISION 0 + +/// +/// _CPC Revision for ACPI 6.5 +/// +#define EFI_ACPI_6_5_AML_CPC_REVISION 3 + /// /// ACPI 6.5 Generic Address Space definition ///