From b3548d32ddb553a9e95503457c66d11462622d16 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Wed, 27 Jun 2018 21:13:09 +0800 Subject: SecurityPkg: 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 --- SecurityPkg/Library/TpmCommLib/TisPc.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'SecurityPkg/Library/TpmCommLib/TisPc.c') diff --git a/SecurityPkg/Library/TpmCommLib/TisPc.c b/SecurityPkg/Library/TpmCommLib/TisPc.c index c157d41b72..77bf70c246 100644 --- a/SecurityPkg/Library/TpmCommLib/TisPc.c +++ b/SecurityPkg/Library/TpmCommLib/TisPc.c @@ -1,13 +1,13 @@ /** @file Basic TIS (TPM Interface Specification) functions. -Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.
-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 +Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
+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, +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ @@ -28,7 +28,7 @@ TisPcPresenceCheck ( ) { UINT8 RegRead; - + RegRead = MmioRead8 ((UINTN)&TisReg->Access); return (BOOLEAN)(RegRead != (UINT8)-1); } @@ -66,7 +66,7 @@ TisPcWaitRegisterBits ( } /** - Get BurstCount by reading the burstCount field of a TIS regiger + Get BurstCount by reading the burstCount field of a TIS regiger in the time of default TIS_TIMEOUT_D. @param[in] TisReg Pointer to TIS register. @@ -111,7 +111,7 @@ TisPcReadBurstCount ( } /** - Set TPM chip to ready state by sending ready command TIS_PC_STS_READY + Set TPM chip to ready state by sending ready command TIS_PC_STS_READY to Status Register in time. @param[in] TisReg Pointer to TIS register. @@ -143,7 +143,7 @@ TisPcPrepareCommand ( } /** - Get the control of TPM chip by sending requestUse command TIS_PC_ACC_RQUUSE + Get the control of TPM chip by sending requestUse command TIS_PC_ACC_RQUUSE to ACCESS Register in the time of default TIS_TIMEOUT_A. @param[in] TisReg Pointer to TIS register. @@ -160,11 +160,11 @@ TisPcRequestUseTpm ( ) { EFI_STATUS Status; - + if (TisReg == NULL) { return EFI_INVALID_PARAMETER; } - + if (!TisPcPresenceCheck (TisReg)) { return EFI_NOT_FOUND; } -- cgit v1.2.3