ArmPkg[all]
0.1
|
Data Structures | |
struct | OPTEE_MESSAGE_PARAM_MEMORY |
struct | OPTEE_MESSAGE_PARAM_VALUE |
union | OPTEE_MESSAGE_PARAM_UNION |
struct | OPTEE_MESSAGE_PARAM |
struct | OPTEE_MESSAGE_ARG |
struct | OPTEE_OPEN_SESSION_ARG |
struct | OPTEE_INVOKE_FUNCTION_ARG |
Macros | |
#define | OPTEE_OS_UID0 0x384fb3e0 |
#define | OPTEE_OS_UID1 0xe7f811e3 |
#define | OPTEE_OS_UID2 0xaf630002 |
#define | OPTEE_OS_UID3 0xa5d5c51b |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_NONE 0x0 |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_VALUE_INPUT 0x1 |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_VALUE_OUTPUT 0x2 |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_VALUE_INOUT 0x3 |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_MEMORY_INPUT 0x9 |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_MEMORY_OUTPUT 0xa |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_MEMORY_INOUT 0xb |
#define | OPTEE_MESSAGE_ATTRIBUTE_TYPE_MASK 0xff |
#define | OPTEE_SUCCESS 0x00000000 |
#define | OPTEE_ORIGIN_COMMUNICATION 0x00000002 |
#define | OPTEE_ERROR_COMMUNICATION 0xFFFF000E |
#define | OPTEE_MAX_CALL_PARAMS 4 |
Functions | |
BOOLEAN EFIAPI | IsOpteePresent (VOID) |
EFI_STATUS EFIAPI | OpteeInit (VOID) |
EFI_STATUS EFIAPI | OpteeOpenSession (IN OUT OPTEE_OPEN_SESSION_ARG *OpenSessionArg) |
EFI_STATUS EFIAPI | OpteeCloseSession (IN UINT32 Session) |
EFI_STATUS EFIAPI | OpteeInvokeFunction (IN OUT OPTEE_INVOKE_FUNCTION_ARG *InvokeFunctionArg) |
OP-TEE specific header file.
Copyright (c) 2018, Linaro Ltd. All rights reserved.
Copyright (c) 2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define OPTEE_ERROR_COMMUNICATION 0xFFFF000E |
#define OPTEE_MAX_CALL_PARAMS 4 |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_MASK 0xff |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_MEMORY_INOUT 0xb |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_MEMORY_INPUT 0x9 |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_MEMORY_OUTPUT 0xa |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_NONE 0x0 |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_VALUE_INOUT 0x3 |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_VALUE_INPUT 0x1 |
#define OPTEE_MESSAGE_ATTRIBUTE_TYPE_VALUE_OUTPUT 0x2 |
#define OPTEE_ORIGIN_COMMUNICATION 0x00000002 |
#define OPTEE_OS_UID0 0x384fb3e0 |
#define OPTEE_OS_UID1 0xe7f811e3 |
#define OPTEE_OS_UID2 0xaf630002 |
#define OPTEE_OS_UID3 0xa5d5c51b |
#define OPTEE_SUCCESS 0x00000000 |
BOOLEAN EFIAPI IsOpteePresent | ( | VOID | ) |
EFI_STATUS EFIAPI OpteeCloseSession | ( | IN UINT32 | Session | ) |
EFI_STATUS EFIAPI OpteeInit | ( | VOID | ) |
EFI_STATUS EFIAPI OpteeInvokeFunction | ( | IN OUT OPTEE_INVOKE_FUNCTION_ARG * | InvokeFunctionArg | ) |
EFI_STATUS EFIAPI OpteeOpenSession | ( | IN OUT OPTEE_OPEN_SESSION_ARG * | OpenSessionArg | ) |