]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Guid/AcpiS3Context.h
MdeModulePkg/S3SmmInitDone.h: Fix copyright coding style error.
[mirror_edk2.git] / MdeModulePkg / Include / Guid / AcpiS3Context.h
index 80386e59f02fa1aa21cda66b8363e7295fd4d0a8..5e256f053bcb44f38aedb98d46d8dd48a232a8d2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Definitions for data structures used in S3 resume.\r
 \r
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions\r
@@ -22,6 +22,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define SMM_S3_RESUME_SMM_32 SIGNATURE_64 ('S','M','M','S','3','_','3','2')\r
 #define SMM_S3_RESUME_SMM_64 SIGNATURE_64 ('S','M','M','S','3','_','6','4')\r
 \r
+#pragma pack(1)\r
+\r
 typedef struct {\r
   UINT64                Signature;\r
   EFI_PHYSICAL_ADDRESS  SmmS3ResumeEntryPoint;\r
@@ -45,17 +47,20 @@ typedef struct {
   EFI_PHYSICAL_ADDRESS  S3NvsPageTableAddress;\r
   EFI_PHYSICAL_ADDRESS  BootScriptStackBase;\r
   UINT64                BootScriptStackSize;\r
-  EFI_PHYSICAL_ADDRESS  S3DebugBufferAddress;  \r
+  EFI_PHYSICAL_ADDRESS  S3DebugBufferAddress;\r
 } ACPI_S3_CONTEXT;\r
 \r
 typedef struct {\r
   UINT16                ReturnCs;\r
+  UINT64                ReturnStatus;\r
   EFI_PHYSICAL_ADDRESS  ReturnEntryPoint;\r
   EFI_PHYSICAL_ADDRESS  ReturnStackPointer;\r
   EFI_PHYSICAL_ADDRESS  AsmTransferControl;\r
   IA32_DESCRIPTOR       Idtr;\r
 } PEI_S3_RESUME_STATE;\r
 \r
+#pragma pack()\r
+\r
 #define EFI_ACPI_S3_CONTEXT_GUID \\r
   { \\r
     0xef98d3a, 0x3e33, 0x497a, {0xa4, 0x1, 0x77, 0xbe, 0x3e, 0xb7, 0x4f, 0x38} \\r