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>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user