mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
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>
35 lines
815 B
C
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
|