audk/UefiCpuPkg/Include/Guid/MmAcpiS3Enable.h
Jiaxin Wu 0f36b5fa0a UefiCpuPkg: Add ACPI S3 Enable HOB definition
This HOB indicates to x86 standalone MM whether S3 is enabled.
The value shall match with the PcdAcpiS3Enable.

Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Co-Authored-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Hongbin1 Zhang <hongbin1.zhang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Cc: Dun Tan <dun.tan@intel.com>
Cc: Yuanhao Xie <yuanhao.xie@intel.com>
2024-08-28 15:25:27 +00:00

35 lines
815 B
C

/** @file
This file defines ACPI_S3_ENABLE structure which indicates to x86 standalone MM whether S3 is enabled.
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef MM_ACPI_S3_ENABLE_H_
#define MM_ACPI_S3_ENABLE_H_
///
/// The GUID of the MmAcpiS3Enable GUIDed HOB.
///
#define MM_ACPI_S3_ENABLE_HOB_GUID \
{ \
0xe7402821, 0x2654, 0x4c1b, {0x99, 0x0e, 0x04, 0x8f, 0x8d, 0x82, 0xcf, 0x67} \
}
///
/// The structure defines the data layout of the MmAcpiS3Enable GUIDed HOB.
///
typedef struct {
///
/// Whether ACPI S3 is enabled.
/// The value shall match with the PcdAcpiS3Enable.
///
BOOLEAN AcpiS3Enable;
} MM_ACPI_S3_ENABLE;
extern EFI_GUID gMmAcpiS3EnableHobGuid;
#endif