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
|
||||
|
@ -6,7 +6,7 @@
|
||||
# This external input must be validated carefully to avoid security issue like
|
||||
# buffer overflow, integer overflow.
|
||||
#
|
||||
# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions
|
||||
@ -32,7 +32,7 @@
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
|
@ -6,14 +6,14 @@
|
||||
// This external input must be validated carefully to avoid security issue like
|
||||
// buffer overflow, integer overflow.
|
||||
//
|
||||
// Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
// Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// This program and the accompanying materials
|
||||
// are licensed and made available under the terms and conditions
|
||||
// of the BSD License which accompanies this distribution. The
|
||||
// full text of the license may be found at
|
||||
// http://opensource.org/licenses/bsd-license.php
|
||||
//
|
||||
//
|
||||
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
//
|
||||
|
@ -1,7 +1,7 @@
|
||||
// /** @file
|
||||
// SmmLockBox Localized Strings and Content
|
||||
//
|
||||
// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
// Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// This program and the accompanying materials
|
||||
// are licensed and made available under the terms and conditions
|
||||
@ -14,8 +14,8 @@
|
||||
//
|
||||
// **/
|
||||
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
"SMM Lock Box Driver"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user