TianoCore EDK2 master
Loading...
Searching...
No Matches
OpteeSmc.h File Reference

Go to the source code of this file.

Data Structures

struct  OPTEE_SHARED_MEMORY_INFORMATION
 
struct  RFC4122_UUID
 

Macros

#define OPTEE_SMC_RETURN_OK   0x0
 
#define OPTEE_SMC_RETURN_FROM_RPC   0x32000003
 
#define OPTEE_SMC_CALL_WITH_ARG   0x32000004
 
#define OPTEE_SMC_GET_SHARED_MEMORY_CONFIG   0xb2000007
 
#define OPTEE_SMC_SHARED_MEMORY_CACHED   1
 
#define OPTEE_SMC_RETURN_UNKNOWN_FUNCTION   0xffffffff
 
#define OPTEE_SMC_RETURN_RPC_PREFIX_MASK   0xffff0000
 
#define OPTEE_SMC_RETURN_RPC_PREFIX   0xffff0000
 
#define OPTEE_SMC_RETURN_RPC_FOREIGN_INTERRUPT   0xffff0004
 
#define OPTEE_MESSAGE_COMMAND_OPEN_SESSION   0
 
#define OPTEE_MESSAGE_COMMAND_INVOKE_FUNCTION   1
 
#define OPTEE_MESSAGE_COMMAND_CLOSE_SESSION   2
 
#define OPTEE_MESSAGE_ATTRIBUTE_META   0x100
 
#define OPTEE_LOGIN_PUBLIC   0x0
 

Detailed Description

OP-TEE SMC header file.

Copyright (c) 2018, Linaro Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file OpteeSmc.h.

Macro Definition Documentation

◆ OPTEE_LOGIN_PUBLIC

#define OPTEE_LOGIN_PUBLIC   0x0

Definition at line 33 of file OpteeSmc.h.

◆ OPTEE_MESSAGE_ATTRIBUTE_META

#define OPTEE_MESSAGE_ATTRIBUTE_META   0x100

Definition at line 31 of file OpteeSmc.h.

◆ OPTEE_MESSAGE_COMMAND_CLOSE_SESSION

#define OPTEE_MESSAGE_COMMAND_CLOSE_SESSION   2

Definition at line 29 of file OpteeSmc.h.

◆ OPTEE_MESSAGE_COMMAND_INVOKE_FUNCTION

#define OPTEE_MESSAGE_COMMAND_INVOKE_FUNCTION   1

Definition at line 28 of file OpteeSmc.h.

◆ OPTEE_MESSAGE_COMMAND_OPEN_SESSION

#define OPTEE_MESSAGE_COMMAND_OPEN_SESSION   0

Definition at line 27 of file OpteeSmc.h.

◆ OPTEE_SMC_CALL_WITH_ARG

#define OPTEE_SMC_CALL_WITH_ARG   0x32000004

Definition at line 17 of file OpteeSmc.h.

◆ OPTEE_SMC_GET_SHARED_MEMORY_CONFIG

#define OPTEE_SMC_GET_SHARED_MEMORY_CONFIG   0xb2000007

Definition at line 18 of file OpteeSmc.h.

◆ OPTEE_SMC_RETURN_FROM_RPC

#define OPTEE_SMC_RETURN_FROM_RPC   0x32000003

Definition at line 16 of file OpteeSmc.h.

◆ OPTEE_SMC_RETURN_OK

#define OPTEE_SMC_RETURN_OK   0x0

Definition at line 14 of file OpteeSmc.h.

◆ OPTEE_SMC_RETURN_RPC_FOREIGN_INTERRUPT

#define OPTEE_SMC_RETURN_RPC_FOREIGN_INTERRUPT   0xffff0004

Definition at line 25 of file OpteeSmc.h.

◆ OPTEE_SMC_RETURN_RPC_PREFIX

#define OPTEE_SMC_RETURN_RPC_PREFIX   0xffff0000

Definition at line 24 of file OpteeSmc.h.

◆ OPTEE_SMC_RETURN_RPC_PREFIX_MASK

#define OPTEE_SMC_RETURN_RPC_PREFIX_MASK   0xffff0000

Definition at line 23 of file OpteeSmc.h.

◆ OPTEE_SMC_RETURN_UNKNOWN_FUNCTION

#define OPTEE_SMC_RETURN_UNKNOWN_FUNCTION   0xffffffff

Definition at line 22 of file OpteeSmc.h.

◆ OPTEE_SMC_SHARED_MEMORY_CACHED

#define OPTEE_SMC_SHARED_MEMORY_CACHED   1

Definition at line 20 of file OpteeSmc.h.