]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/TemporaryRamSupport.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Ppi / TemporaryRamSupport.h
index c184e6d8a557f8b54cc718a6b8f3f6c1bf5965c7..be3d42a289e7dc76f5912b1480b702de2fbefd5f 100644 (file)
@@ -2,14 +2,8 @@
   This file declares Temporary RAM Support PPI.\r
   This Ppi provides the service that migrates temporary RAM into permanent memory.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  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) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
   @par Revision Reference:\r
   This PPI is introduced in PI Version 1.0.\r
 #ifndef __TEMPORARY_RAM_SUPPORT_H__\r
 #define __TEMPORARY_RAM_SUPPORT_H__\r
 \r
-#define TEMPORARY_RAM_SUPPORT_PPI_GUID \\r
+///\r
+/// Note: The GUID name EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI_GUID is different from the current\r
+///       PI 1.2 spec.\r
+///\r
+#define EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI_GUID  \\r
   { 0xdbe23aa9, 0xa345, 0x4b97, {0x85, 0xb6, 0xb2, 0x26, 0xf1, 0x61, 0x73, 0x89} }\r
 \r
-\r
 /**\r
-  This service of the TEMPORARY_RAM_SUPPORT_PPI that migrates temporary RAM into\r
+  This service of the EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI that migrates temporary RAM into\r
   permanent memory.\r
 \r
   @param PeiServices            Pointer to the PEI Services Table.\r
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI * TEMPORARY_RAM_MIGRATION)(\r
+(EFIAPI *TEMPORARY_RAM_MIGRATION)(\r
   IN CONST EFI_PEI_SERVICES   **PeiServices,\r
   IN EFI_PHYSICAL_ADDRESS     TemporaryMemoryBase,\r
   IN EFI_PHYSICAL_ADDRESS     PermanentMemoryBase,\r
   IN UINTN                    CopySize\r
-);\r
+  );\r
 \r
 ///\r
 /// This service abstracts the ability to migrate contents of the platform early memory store.\r
+/// Note: The name EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI is different from the current PI 1.2 spec.\r
+///       This PPI was optional.\r
 ///\r
 typedef struct {\r
-  TEMPORARY_RAM_MIGRATION   TemporaryRamMigration;\r
-} TEMPORARY_RAM_SUPPORT_PPI;\r
+  TEMPORARY_RAM_MIGRATION    TemporaryRamMigration;\r
+} EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI;\r
 \r
-extern EFI_GUID gEfiTemporaryRamSupportPpiGuid;\r
+extern EFI_GUID  gEfiTemporaryRamSupportPpiGuid;\r
 \r
 #endif\r