summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Ppi/TemporaryRamSupport.h
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-23 07:55:57 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-23 07:55:57 +0000
commit13c3803149943a2a54553eee6e121873dab05acd (patch)
tree8acb63b71b88ce47ed3630460bf89aa396f043d2 /MdePkg/Include/Ppi/TemporaryRamSupport.h
parentc7c308ad48bbe8a13f9b047d15af8f7305d364d1 (diff)
downloadedk2-13c3803149943a2a54553eee6e121873dab05acd.tar.gz
edk2-13c3803149943a2a54553eee6e121873dab05acd.tar.bz2
edk2-13c3803149943a2a54553eee6e121873dab05acd.zip
Refine code for MdePkg/Include/Ppi according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5951 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Ppi/TemporaryRamSupport.h')
-rw-r--r--MdePkg/Include/Ppi/TemporaryRamSupport.h27
1 files changed, 9 insertions, 18 deletions
diff --git a/MdePkg/Include/Ppi/TemporaryRamSupport.h b/MdePkg/Include/Ppi/TemporaryRamSupport.h
index 76e7c923ee..648127fc22 100644
--- a/MdePkg/Include/Ppi/TemporaryRamSupport.h
+++ b/MdePkg/Include/Ppi/TemporaryRamSupport.h
@@ -29,22 +29,15 @@
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,16 +49,14 @@ 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 {
+ ///
+ /// Perform the migration of contents of Temporary RAM to Permanent RAM.
+ /// Terminate the Temporary RAM if it cannot coexist with the Permanent RAM.
+ ///
TEMPORARY_RAM_MIGRATION TemporaryRamMigration;
} TEMPORARY_RAM_SUPPORT_PPI;