MdePkg/IndustryStandard: Adds SPMI macros

Adds macro which defines SPMI table revision
and interface type as per the specification.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Sami Mujawar <Sami.Mujawar@arm.com>
Cc: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
This commit is contained in:
Abdul Lateef Attar 2024-09-26 08:33:22 +00:00 committed by mergify[bot]
parent d2e8118461
commit 0958b762fb
1 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,8 @@
Intelligent Platform Management Interface Specification Second Generation. Intelligent Platform Management Interface Specification Second Generation.
Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
@par Revision Reference: @par Revision Reference:
@ -95,4 +97,17 @@ typedef struct {
#pragma pack() #pragma pack()
///
/// SPMI Revision (defined in spec)
///
#define EFI_ACPI_SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_5_TABLE_REVISION 0x05
///
/// SPMI Interface Type
///
#define EFI_ACPI_SPMI_INTERFACE_TYPE_KCS 0x01
#define EFI_ACPI_SPMI_INTERFACE_TYPE_SMIC 0x02
#define EFI_ACPI_SPMI_INTERFACE_TYPE_BT 0x03
#define EFI_ACPI_SPMI_INTERFACE_TYPE_SSIF 0x04
#endif #endif