The TEEC_SharedMemory structure is used to contain control information related to a block of shared memory that is mapped between the client and the service. More...
#include <otz_tee_client_api.h>
Public Attributes | |
| void * | buffer |
| size_t | size |
| uint32_t | flags |
| TEEC_Context * | context |
| int | operation_count |
| uint32_t | allocated |
| struct list | head_ref |
| int | s_errno |
The TEEC_SharedMemory structure is used to contain control information related to a block of shared memory that is mapped between the client and the service.
| uint32_t TEEC_SharedMemory::allocated |
Shared memory type
| void* TEEC_SharedMemory::buffer |
The pointer to the block of shared memory.
| TEEC_Context* TEEC_SharedMemory::context |
Implementation defined fields.
Device context
| uint32_t TEEC_SharedMemory::flags |
flags is a bit-vector which can contain the following flags:
TEEC_MEM_INPUT: the memory can be used to transfer data from the Client Application to the TEE.
TEEC_MEM_OUTPUT: The memory can be used to transfer data from the TEE to the Client Application.
All other bits in this field SHOULD be set to zero, and are reserved for future use.
| struct list TEEC_SharedMemory::head_ref |
List head used by Context
| int TEEC_SharedMemory::operation_count |
Operation count
| int TEEC_SharedMemory::s_errno |
Service error number
| size_t TEEC_SharedMemory::size |
The length of the shared memory block in bytes. Should not be zero
1.8.6