microsoft/mu_feature_ffa
Publicmirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable
FfaFeaturePkg/Include/Library/TpmServiceLib.h
48lines · modecode
| 1 | /** @file |
| 2 | Definitions for the TPM Service |
| 3 | |
| 4 | Copyright (c), Microsoft Corporation. |
| 5 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 6 | |
| 7 | **/ |
| 8 | |
| 9 | #ifndef TPM_SERVICE_LIB_H_ |
| 10 | #define TPM_SERVICE_LIB_H_ |
| 11 | |
| 12 | #include <Base.h> |
| 13 | #include <IndustryStandard/ArmFfaPartInfo.h> |
| 14 | #include <Library/ArmSvcLib.h> |
| 15 | #include <Library/ArmFfaLibEx.h> |
| 16 | |
| 17 | /** |
| 18 | Initializes the TPM service |
| 19 | |
| 20 | **/ |
| 21 | VOID |
| 22 | TpmServiceInit ( |
| 23 | VOID |
| 24 | ); |
| 25 | |
| 26 | /** |
| 27 | De-initializes the TPM service |
| 28 | |
| 29 | **/ |
| 30 | VOID |
| 31 | TpmServiceDeInit ( |
| 32 | VOID |
| 33 | ); |
| 34 | |
| 35 | /** |
| 36 | Handler for TPM service commands |
| 37 | |
| 38 | @param Request The incoming message |
| 39 | @param Response The outgoing message |
| 40 | |
| 41 | **/ |
| 42 | VOID |
| 43 | TpmServiceHandle ( |
| 44 | DIRECT_MSG_ARGS_EX *Request, |
| 45 | DIRECT_MSG_ARGS_EX *Response |
| 46 | ); |
| 47 | |
| 48 | #endif /* TPM_SERVICE_LIB_H_ */ |
| 49 | |