From d1102dba7210b95e41d06c2338a22ba6af248645 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Wed, 27 Jun 2018 21:08:52 +0800 Subject: MdeModulePkg: Clean up source files 1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Reviewed-by: Star Zeng --- MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c') diff --git a/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c b/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c index d4183ca4b0..28d5180e01 100644 --- a/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c +++ b/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c @@ -1,11 +1,11 @@ /** @file LockBox SMM driver. - + Caution: This module requires additional review when modified. This driver will have external input - communicate buffer in SMM mode. This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. - + SmmLockBoxHandler(), SmmLockBoxRestore(), SmmLockBoxUpdate(), SmmLockBoxSave() will receive untrusted input and do basic validation. @@ -47,7 +47,7 @@ BOOLEAN mLocked = FALSE; Restore buffer and length are external input, so this function will validate it is in SMRAM. - @param LockBoxParameterSave parameter of lock box save + @param LockBoxParameterSave parameter of lock box save **/ VOID SmmLockBoxSave ( @@ -131,7 +131,7 @@ SmmLockBoxSetAttributes ( Restore buffer and length are external input, so this function will validate it is in SMRAM. - @param LockBoxParameterUpdate parameter of lock box update + @param LockBoxParameterUpdate parameter of lock box update **/ VOID SmmLockBoxUpdate ( @@ -181,7 +181,7 @@ SmmLockBoxUpdate ( Restore buffer and length are external input, so this function will validate it is in SMRAM. - @param LockBoxParameterRestore parameter of lock box restore + @param LockBoxParameterRestore parameter of lock box restore **/ VOID SmmLockBoxRestore ( @@ -353,7 +353,7 @@ SmmLockBoxHandler ( Smm Ready To Lock event notification handler. It sets a flag indicating that SMRAM has been locked. - + @param[in] Protocol Points to the protocol's unique identifier. @param[in] Interface Points to the interface instance. @param[in] Handle The handle on which the interface was installed. @@ -378,7 +378,7 @@ SmmReadyToLockEventNotify ( @param[in] ImageHandle Image handle of this driver. @param[in] SystemTable A Pointer to the EFI System Table. - @retval EFI_SUCEESS + @retval EFI_SUCEESS @return Others Some error occurs. **/ EFI_STATUS -- cgit v1.2.3