From 32732a333ae22cc0283c09df947d7b8bad50144e Mon Sep 17 00:00:00 2001 From: gdong1 Date: Wed, 15 Dec 2010 01:51:46 +0000 Subject: [PATCH] Update inappropriate comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11170 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h | 2 +- MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c | 8 ++++---- MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 6 +++--- .../Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h index 00ac5c9c98..39bc743e24 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h @@ -726,7 +726,7 @@ InitFtwDevice ( /** Initialization for Fault Tolerant Write is done in this handler. - @param[in,out] FtwData Pointer to the FTW device structure + @param[in, out] FtwDevice Pointer to the FTW device structure @retval EFI_SUCCESS Initialize the FTW protocol successfully. @retval EFI_NOT_FOUND No proper FVB protocol was found. diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c index 7a32f4db83..dc110a226d 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c @@ -991,11 +991,11 @@ InitFtwDevice ( /** - Initialization for Fault Tolerant Write is done in this handler. + Find the proper Firmware Volume Block protocol for FTW operation. - @param[in,out] FtwData Pointer to the FTW device structure + @param[in, out] FtwDevice Pointer to the FTW device structure - @retval EFI_SUCCESS Initialize the FTW device successfully. + @retval EFI_SUCCESS Find the FVB protocol successfully. @retval EFI_NOT_FOUND No proper FVB protocol was found. @retval EFI_ABORTED Some data can not be got or be invalid. @@ -1128,7 +1128,7 @@ FindFvbForFtw ( /** Initialization for Fault Tolerant Write protocol. - @param[in,out] FtwData Pointer to the FTW device structure + @param[in, out] FtwDevice Pointer to the FTW device structure @retval EFI_SUCCESS Initialize the FTW protocol successfully. @retval EFI_NOT_FOUND No proper FVB protocol was found. diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c index bde7b4486e..70723b320f 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c @@ -20,12 +20,12 @@ extern VARIABLE_STORE_HEADER *mNvVariableCache; VARIABLE_INFO_ENTRY *gVariableInfo; EFI_HANDLE mHandle = NULL; EFI_EVENT mVirtualAddressChangeEvent = NULL; -EFI_EVENT mFtwRegistration = NULL; +EFI_EVENT mFtwRegistration = NULL; /** - Return TRUE if ExitBootServices () has been called + Return TRUE if ExitBootServices () has been called. - @retval TRUE If ExitBootServices () has been called + @retval TRUE If ExitBootServices () has been called. **/ BOOLEAN AtRuntime ( diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c index 3e4330508e..d7fdcc8655 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c @@ -91,8 +91,8 @@ InitCommunicateBuffer ( @param[in] DataSize This size of the function header and the data. - @RetVal EFI_SUCCESS Success is returned from the functin in SMM. - @RetVal Others Failure is returned from the function in SMM. + @retval EFI_SUCCESS Success is returned from the functin in SMM. + @retval Others Failure is returned from the function in SMM. **/ EFI_STATUS -- 2.39.2