diff options
author | Liming Gao <liming.gao@intel.com> | 2018-06-27 21:08:52 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-06-28 11:19:45 +0800 |
commit | d1102dba7210b95e41d06c2338a22ba6af248645 (patch) | |
tree | 8b4af076b5d6f2aa7f35563d4defcca4d4bfdd87 /MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c | |
parent | ca79bab7af4770c5eb578f6d495af01705aedb79 (diff) | |
download | edk2-d1102dba7210b95e41d06c2338a22ba6af248645.zip edk2-d1102dba7210b95e41d06c2338a22ba6af248645.tar.gz edk2-d1102dba7210b95e41d06c2338a22ba6af248645.tar.bz2 |
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 <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c')
-rw-r--r-- | MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c b/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c index d4183ca..28d5180 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
|