]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/SecPlatformInformation2.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / Ppi / SecPlatformInformation2.h
index aeb0fcc6d809c56cc8af993fcf9beb8a495e2c7a..4326d40c1bc3e9ceeb9fe0dedf15d9d0478dd1bb 100644 (file)
@@ -4,17 +4,11 @@
   This service is the primary handoff state into the PEI Foundation.\r
   This service abstracts platform-specific information for many CPU's.\r
 \r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under\r
-the terms and conditions of the BSD License that accompanies this distribution.\r
-The 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
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
   @par Revision Reference:\r
-  This PPI is defined in PI Version 1.4.\r
+  This PPI is introduced from PI Version 1.4.\r
 \r
 **/\r
 \r
@@ -34,8 +28,8 @@ typedef struct _EFI_SEC_PLATFORM_INFORMATION2_PPI EFI_SEC_PLATFORM_INFORMATION2_
 /// EFI_SEC_PLATFORM_INFORMATION_CPU.\r
 ///\r
 typedef struct {\r
-  UINT32                               CpuLocation;\r
-  EFI_SEC_PLATFORM_INFORMATION_RECORD  InfoRecord;\r
+  UINT32                                 CpuLocation;\r
+  EFI_SEC_PLATFORM_INFORMATION_RECORD    InfoRecord;\r
 } EFI_SEC_PLATFORM_INFORMATION_CPU;\r
 \r
 ///\r
@@ -45,8 +39,8 @@ typedef struct {
   ///\r
   /// The CPU location would be the local APIC ID\r
   ///\r
-  UINT32                               NumberOfCpus;\r
-  EFI_SEC_PLATFORM_INFORMATION_CPU     CpuInstance[1];\r
+  UINT32                              NumberOfCpus;\r
+  EFI_SEC_PLATFORM_INFORMATION_CPU    CpuInstance[1];\r
 } EFI_SEC_PLATFORM_INFORMATION_RECORD2;\r
 \r
 /**\r
@@ -69,17 +63,17 @@ EFI_STATUS
   IN CONST  EFI_PEI_SERVICES                     **PeiServices,\r
   IN OUT    UINT64                               *StructureSize,\r
   OUT       EFI_SEC_PLATFORM_INFORMATION_RECORD2 *PlatformInformationRecord2\r
-);\r
+  );\r
 \r
 ///\r
 /// This service abstracts platform-specific information for many CPU's.\r
 /// It is the multi-processor equivalent of PlatformInformation for\r
-/// implementations that synchronize all CPU's in the SEC phase.\r
+/// implementations that synchronize some, if not all CPU's in the SEC phase.\r
 ///\r
 struct _EFI_SEC_PLATFORM_INFORMATION2_PPI {\r
-  EFI_SEC_PLATFORM_INFORMATION2  PlatformInformation2;\r
+  EFI_SEC_PLATFORM_INFORMATION2    PlatformInformation2;\r
 };\r
 \r
-extern EFI_GUID gEfiSecPlatformInformation2PpiGuid;\r
+extern EFI_GUID  gEfiSecPlatformInformation2PpiGuid;\r
 \r
 #endif\r