]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Guid/SmmLockBox.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Include / Guid / SmmLockBox.h
index 8422847c5a29f14d8594be5e2f89b71ebad49292..3447c5872867153650dd075128807f7136ea9842 100644 (file)
@@ -3,14 +3,7 @@
 \r
 Copyright (c) 2010 - 2011, 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
-of the BSD License which accompanies this distribution.  The\r
-full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -24,50 +17,50 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 // Below data structure is used for communication between PEI/DXE to SMM.\r
 //\r
 \r
-#define EFI_SMM_LOCK_BOX_COMMAND_SAVE                 0x1\r
-#define EFI_SMM_LOCK_BOX_COMMAND_UPDATE               0x2\r
-#define EFI_SMM_LOCK_BOX_COMMAND_RESTORE              0x3\r
-#define EFI_SMM_LOCK_BOX_COMMAND_SET_ATTRIBUTES       0x4\r
-#define EFI_SMM_LOCK_BOX_COMMAND_RESTORE_ALL_IN_PLACE 0x5\r
+#define EFI_SMM_LOCK_BOX_COMMAND_SAVE                  0x1\r
+#define EFI_SMM_LOCK_BOX_COMMAND_UPDATE                0x2\r
+#define EFI_SMM_LOCK_BOX_COMMAND_RESTORE               0x3\r
+#define EFI_SMM_LOCK_BOX_COMMAND_SET_ATTRIBUTES        0x4\r
+#define EFI_SMM_LOCK_BOX_COMMAND_RESTORE_ALL_IN_PLACE  0x5\r
 \r
 typedef struct {\r
-  UINT32                         Command;\r
-  UINT32                         DataLength;\r
-  UINT64                         ReturnStatus;\r
+  UINT32    Command;\r
+  UINT32    DataLength;\r
+  UINT64    ReturnStatus;\r
 } EFI_SMM_LOCK_BOX_PARAMETER_HEADER;\r
 \r
 typedef struct {\r
-  EFI_SMM_LOCK_BOX_PARAMETER_HEADER  Header;\r
-  GUID                               Guid;\r
-  PHYSICAL_ADDRESS                   Buffer;\r
-  UINT64                             Length;\r
+  EFI_SMM_LOCK_BOX_PARAMETER_HEADER    Header;\r
+  GUID                                 Guid;\r
+  PHYSICAL_ADDRESS                     Buffer;\r
+  UINT64                               Length;\r
 } EFI_SMM_LOCK_BOX_PARAMETER_SAVE;\r
 \r
 typedef struct {\r
-  EFI_SMM_LOCK_BOX_PARAMETER_HEADER  Header;\r
-  GUID                               Guid;\r
-  UINT64                             Offset;\r
-  PHYSICAL_ADDRESS                   Buffer;\r
-  UINT64                             Length;\r
+  EFI_SMM_LOCK_BOX_PARAMETER_HEADER    Header;\r
+  GUID                                 Guid;\r
+  UINT64                               Offset;\r
+  PHYSICAL_ADDRESS                     Buffer;\r
+  UINT64                               Length;\r
 } EFI_SMM_LOCK_BOX_PARAMETER_UPDATE;\r
 \r
 typedef struct {\r
-  EFI_SMM_LOCK_BOX_PARAMETER_HEADER  Header;\r
-  GUID                               Guid;\r
-  PHYSICAL_ADDRESS                   Buffer;\r
-  UINT64                             Length;\r
+  EFI_SMM_LOCK_BOX_PARAMETER_HEADER    Header;\r
+  GUID                                 Guid;\r
+  PHYSICAL_ADDRESS                     Buffer;\r
+  UINT64                               Length;\r
 } EFI_SMM_LOCK_BOX_PARAMETER_RESTORE;\r
 \r
 typedef struct {\r
-  EFI_SMM_LOCK_BOX_PARAMETER_HEADER  Header;\r
-  GUID                               Guid;\r
-  UINT64                             Attributes;\r
+  EFI_SMM_LOCK_BOX_PARAMETER_HEADER    Header;\r
+  GUID                                 Guid;\r
+  UINT64                               Attributes;\r
 } EFI_SMM_LOCK_BOX_PARAMETER_SET_ATTRIBUTES;\r
 \r
 typedef struct {\r
-  EFI_SMM_LOCK_BOX_PARAMETER_HEADER  Header;\r
+  EFI_SMM_LOCK_BOX_PARAMETER_HEADER    Header;\r
 } EFI_SMM_LOCK_BOX_PARAMETER_RESTORE_ALL_IN_PLACE;\r
 \r
-extern EFI_GUID gEfiSmmLockBoxCommunicationGuid;\r
+extern EFI_GUID  gEfiSmmLockBoxCommunicationGuid;\r
 \r
 #endif\r