X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FInclude%2FGuid%2FAcpiS3Context.h;fp=MdeModulePkg%2FInclude%2FGuid%2FAcpiS3Context.h;h=645496d19189408a7521a0ef4a2cf0979b3cea38;hp=72eb2cb27881a88aef1e19b2980777770d06c672;hb=1436aea4d5707e672672a11bda72be2c63c936c3;hpb=7c7184e201a90a1d2376e615e55e3f4074731468 diff --git a/MdeModulePkg/Include/Guid/AcpiS3Context.h b/MdeModulePkg/Include/Guid/AcpiS3Context.h index 72eb2cb278..645496d191 100644 --- a/MdeModulePkg/Include/Guid/AcpiS3Context.h +++ b/MdeModulePkg/Include/Guid/AcpiS3Context.h @@ -12,44 +12,43 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include -#define SMM_S3_RESUME_SMM_32 SIGNATURE_64 ('S','M','M','S','3','_','3','2') -#define SMM_S3_RESUME_SMM_64 SIGNATURE_64 ('S','M','M','S','3','_','6','4') +#define SMM_S3_RESUME_SMM_32 SIGNATURE_64 ('S','M','M','S','3','_','3','2') +#define SMM_S3_RESUME_SMM_64 SIGNATURE_64 ('S','M','M','S','3','_','6','4') #pragma pack(1) typedef struct { - UINT64 Signature; - EFI_PHYSICAL_ADDRESS SmmS3ResumeEntryPoint; - EFI_PHYSICAL_ADDRESS SmmS3StackBase; - UINT64 SmmS3StackSize; - UINT64 SmmS3Cr0; - UINT64 SmmS3Cr3; - UINT64 SmmS3Cr4; - UINT16 ReturnCs; - EFI_PHYSICAL_ADDRESS ReturnEntryPoint; - EFI_PHYSICAL_ADDRESS ReturnContext1; - EFI_PHYSICAL_ADDRESS ReturnContext2; - EFI_PHYSICAL_ADDRESS ReturnStackPointer; - EFI_PHYSICAL_ADDRESS Smst; + UINT64 Signature; + EFI_PHYSICAL_ADDRESS SmmS3ResumeEntryPoint; + EFI_PHYSICAL_ADDRESS SmmS3StackBase; + UINT64 SmmS3StackSize; + UINT64 SmmS3Cr0; + UINT64 SmmS3Cr3; + UINT64 SmmS3Cr4; + UINT16 ReturnCs; + EFI_PHYSICAL_ADDRESS ReturnEntryPoint; + EFI_PHYSICAL_ADDRESS ReturnContext1; + EFI_PHYSICAL_ADDRESS ReturnContext2; + EFI_PHYSICAL_ADDRESS ReturnStackPointer; + EFI_PHYSICAL_ADDRESS Smst; } SMM_S3_RESUME_STATE; - typedef struct { - EFI_PHYSICAL_ADDRESS AcpiFacsTable; - EFI_PHYSICAL_ADDRESS IdtrProfile; - EFI_PHYSICAL_ADDRESS S3NvsPageTableAddress; - EFI_PHYSICAL_ADDRESS BootScriptStackBase; - UINT64 BootScriptStackSize; - EFI_PHYSICAL_ADDRESS S3DebugBufferAddress; + EFI_PHYSICAL_ADDRESS AcpiFacsTable; + EFI_PHYSICAL_ADDRESS IdtrProfile; + EFI_PHYSICAL_ADDRESS S3NvsPageTableAddress; + EFI_PHYSICAL_ADDRESS BootScriptStackBase; + UINT64 BootScriptStackSize; + EFI_PHYSICAL_ADDRESS S3DebugBufferAddress; } ACPI_S3_CONTEXT; typedef struct { - UINT16 ReturnCs; - UINT64 ReturnStatus; - EFI_PHYSICAL_ADDRESS ReturnEntryPoint; - EFI_PHYSICAL_ADDRESS ReturnStackPointer; - EFI_PHYSICAL_ADDRESS AsmTransferControl; - IA32_DESCRIPTOR Idtr; + UINT16 ReturnCs; + UINT64 ReturnStatus; + EFI_PHYSICAL_ADDRESS ReturnEntryPoint; + EFI_PHYSICAL_ADDRESS ReturnStackPointer; + EFI_PHYSICAL_ADDRESS AsmTransferControl; + IA32_DESCRIPTOR Idtr; } PEI_S3_RESUME_STATE; #pragma pack() @@ -59,8 +58,8 @@ typedef struct { 0xef98d3a, 0x3e33, 0x497a, {0xa4, 0x1, 0x77, 0xbe, 0x3e, 0xb7, 0x4f, 0x38} \ } -extern EFI_GUID gEfiAcpiS3ContextGuid; +extern EFI_GUID gEfiAcpiS3ContextGuid; -extern EFI_GUID gEfiAcpiVariableGuid; +extern EFI_GUID gEfiAcpiVariableGuid; #endif