TianoCore EDK2 master
|
#include <PiPei.h>
#include <Ppi/ReadOnlyVariable2.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/PeiServicesLib.h>
#include <Library/PcdLib.h>
#include <Library/Tpm12DeviceLib.h>
#include <Library/Tpm12CommandLib.h>
#include <IndustryStandard/Tpm12.h>
#include "Tcg2ConfigNvData.h"
#include "Tcg2Internal.h"
Go to the source code of this file.
Functions | |
UINT8 | DetectTpmDevice (IN UINT8 SetupTpmDevice) |
TPM1.2/dTPM2.0 auto detection.
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TpmDetection.c.
UINT8 DetectTpmDevice | ( | IN UINT8 | SetupTpmDevice | ) |
This routine check both SetupVariable and real TPM device, and return final TpmDevice configuration.
SetupTpmDevice | TpmDevice configuration in setup driver |
Definition at line 32 of file TpmDetection.c.