]>
Commit | Line | Data |
---|---|---|
fc72a6ce LE |
1 | /** @file\r |
2 | Declare the InternalTpm12Detect() function, hiding the TPM-1.2 detection\r | |
3 | internals.\r | |
4 | \r | |
5 | Copyright (C) 2020, Red Hat, Inc.\r | |
6 | \r | |
7 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
8 | **/\r | |
9 | \r | |
10 | #ifndef TPM12_SUPPORT_H_\r | |
11 | #define TPM12_SUPPORT_H_\r | |
12 | \r | |
13 | #include <Uefi/UefiBaseType.h>\r | |
14 | \r | |
15 | /**\r | |
16 | Detect the presence of a TPM with interface version 1.2.\r | |
17 | \r | |
18 | @retval EFI_SUCCESS TPM-1.2 available. The Tpm12RequestUseTpm() and\r | |
19 | Tpm12SubmitCommand(TPM_ORD_GetTicks) operations\r | |
20 | (from the Tpm12DeviceLib class) have succeeded.\r | |
21 | \r | |
22 | @return Error codes propagated from Tpm12RequestUseTpm() and\r | |
23 | Tpm12SubmitCommand().\r | |
24 | **/\r | |
25 | EFI_STATUS\r | |
26 | InternalTpm12Detect (\r | |
27 | VOID\r | |
28 | );\r | |
29 | \r | |
30 | #endif // TPM12_SUPPORT_H_\r |