Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHERRY-PICK] MdePkg/IndustryStandard: Add _PSD/_CPC/Coord types definitions #844

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi30.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
5 changes: 5 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi40.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi50.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

///
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi51.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi60.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi61.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi62.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

///
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi63.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
10 changes: 10 additions & 0 deletions MdePkg/Include/IndustryStandard/Acpi65.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down
Loading