-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SecurityPkg: Make TPM2_Startup() return an error
The TPM2_Startup() function is called in the Tcg2Pei driver to start the TPM. The function is expected to return an error if the TPM is not in the correct state.
- Loading branch information
Showing
6 changed files
with
54 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,23 @@ | ||
/** @file -- Tcg2PreUefiEventLogLib.h | ||
This header file describes the interface that should be published by | ||
instances of the Tcg2PreUefiEventLogLib. This library can be used | ||
to publish TPM EventLog entries for measurements that may have been made prior | ||
to driver initialization. | ||
MS_CHANGE_131467 | ||
MSChange [ALL] - Move to TCG2 driver for 256-bit PCRs. | ||
This describes the interface that should be published by instances of the | ||
Tcg2PreUefiEventLogLib. This library can be used to publish TPM EventLog | ||
entries for measurements that may have been made prior to driver | ||
initialization. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | ||
THE POSSIBILITY OF SUCH DAMAGE. | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Copyright (c) Microsoft Corporation. | ||
SPDX-License-Identifier: BSD-2-Clause-Patent | ||
**/ | ||
|
||
#ifndef _TCG_2_PRE_UEFI_EVENT_LOG_LIB_H_ | ||
#define _TCG_2_PRE_UEFI_EVENT_LOG_LIB_H_ | ||
#ifndef TCG_2_PRE_UEFI_EVENT_LOG_LIB_H_ | ||
#define TCG_2_PRE_UEFI_EVENT_LOG_LIB_H_ | ||
|
||
/** | ||
Create the EventLog entries. | ||
**/ | ||
VOID | ||
EFIAPI | ||
CreateTcg2PreUefiEventLogEntries ( | ||
VOID | ||
); | ||
|
||
#endif // _TCG_2_PRE_UEFI_EVENT_LOG_LIB_H_ | ||
#endif // TCG_2_PRE_UEFI_EVENT_LOG_LIB_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters