microsoft/mu_feature_ffa
Publicmirrored from https://github.com/microsoft/mu_feature_ffaAvailable
FfaFeaturePkg/Include/Library/TestServiceLib.h
50lines · modeblame
ac0f2cf1Raymond-MS1 years ago | 1 | /** @file |
| 2 | Definitions for the Test Service | |
| 3 | | |
| 4 | Copyright (c), Microsoft Corporation. | |
| 5 | SPDX-License-Identifier: BSD-2-Clause-Patent | |
| 6 | | |
| 7 | **/ | |
| 8 | | |
| 9 | #ifndef TEST_SERVICE_LIB_H_ | |
| 10 | #define TEST_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 | typedef INT32 TestStatus; | |
| 18 | | |
| 19 | /** | |
| 20 | Initializes the Test service | |
| 21 | | |
| 22 | **/ | |
| 23 | VOID | |
| 24 | TestServiceInit ( | |
| 25 | VOID | |
| 26 | ); | |
| 27 | | |
| 28 | /** | |
| 29 | Deinitializes the Test service | |
| 30 | | |
| 31 | **/ | |
| 32 | VOID | |
| 33 | TestServiceDeInit ( | |
| 34 | VOID | |
| 35 | ); | |
| 36 | | |
| 37 | /** | |
| 38 | Handler for Test service commands | |
| 39 | | |
| 40 | @param Request The incoming message | |
| 41 | @param Response The outgoing message | |
| 42 | | |
| 43 | **/ | |
| 44 | VOID | |
| 45 | TestServiceHandle ( | |
| 46 | DIRECT_MSG_ARGS_EX *Request, | |
| 47 | DIRECT_MSG_ARGS_EX *Response | |
| 48 | ); | |
| 49 | | |
| 50 | #endif /* TEST_SERVICE_LIB_H_ */ |