X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FPpi%2FTemporaryRamSupport.h;h=c184e6d8a557f8b54cc718a6b8f3f6c1bf5965c7;hb=9df063a06aef048c042498e2f542fb693e93493a;hp=26afa7f62b21f9d718fd57d47f22d49e29b6a404;hpb=4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086;p=mirror_edk2.git diff --git a/MdePkg/Include/Ppi/TemporaryRamSupport.h b/MdePkg/Include/Ppi/TemporaryRamSupport.h index 26afa7f62b..c184e6d8a5 100644 --- a/MdePkg/Include/Ppi/TemporaryRamSupport.h +++ b/MdePkg/Include/Ppi/TemporaryRamSupport.h @@ -2,8 +2,8 @@ This file declares Temporary RAM Support PPI. This Ppi provides the service that migrates temporary RAM into permanent memory. - Copyright (c) 2006 - 2008, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -12,8 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @par Revision Reference: - This PPI is defined in PI. - Version 1.00. + This PPI is introduced in PI Version 1.0. **/ @@ -24,27 +23,20 @@ { 0xdbe23aa9, 0xa345, 0x4b97, {0x85, 0xb6, 0xb2, 0x26, 0xf1, 0x61, 0x73, 0x89} } -/* +/** This service of the TEMPORARY_RAM_SUPPORT_PPI that migrates temporary RAM into permanent memory. @param PeiServices Pointer to the PEI Services Table. - @param TemporaryMemoryBase Source Address in temporary memory from which the SEC or PEIM will copy the Temporary RAM contents. - @param PermanentMemoryBase Destination Address in permanent memory into which the SEC or PEIM will copy the Temporary RAM contents. - @param CopySize Amount of memory to migrate from temporary to permanent memory. - - @retval EFI_SUCCESS The data was successfully returned. - - @retval EFI_INVALID_PARAMETER PermanentMemoryBase + CopySize > - TemporaryMemoryBase when TemporaryMemoryBase > - PermanentMemoryBase. + @retval EFI_INVALID_PARAMETER PermanentMemoryBase + CopySize > TemporaryMemoryBase when + TemporaryMemoryBase > PermanentMemoryBase. **/ typedef @@ -56,15 +48,9 @@ EFI_STATUS IN UINTN CopySize ); -/** - @par Ppi Description: - This service abstracts the ability to migrate contents of the platform early memory store. - - @param ResetSystem - Perform the migration of contents of Temporary RAM to Permanent RAM. - Terminate the Temporary RAM if it cannot coexist with the Permanent RAM. - -**/ +/// +/// This service abstracts the ability to migrate contents of the platform early memory store. +/// typedef struct { TEMPORARY_RAM_MIGRATION TemporaryRamMigration; } TEMPORARY_RAM_SUPPORT_PPI;