microsoft/mu_feature_ffa

Public

mirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.1.2

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

FfaFeaturePkg/Include/Guid/TestServiceFfa.h

24lines · modecode

1/** @file
2 Provides function interfaces to communicate with Test service through FF-A.
3
4 Copyright (c), Microsoft Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7**/
8
9#ifndef TEST_SERVICE_FFA_H_
10#define TEST_SERVICE_FFA_H_
11
12#define TEST_SERVICE_UUID \
13 { 0xe0fad9b3, 0x7f5c, 0x42c5, { 0xb2, 0xee, 0xb7, 0xa8, 0x23, 0x13, 0xcd, 0xb2 } }
14
15#define TEST_STATUS_SUCCESS (0)
16#define TEST_STATUS_GENERIC_ERROR (-1)
17#define TEST_STATUS_INVALID_PARAMETER (-2)
18
19#define TEST_OPCODE_BASE (0xDEF0)
20#define TEST_OPCODE_TEST_NOTIFICATION (TEST_OPCODE_BASE + 0x01)
21
22extern EFI_GUID gEfiTestServiceFfaGuid;
23
24#endif /* TEST_SERVICE_FFA_H_ */
25