mTower
Data Fields
TEEC_SharedMemory Struct Reference

#include <tee_client_api.h>

Data Fields

void * buffer
 
size_t size
 
uint32_t flags
 
int id
 
size_t alloced_size
 
void * shadow_buffer
 
int registered_fd
 
bool buffer_allocated
 

Detailed Description

struct TEEC_SharedMemory - Memory to transfer data between a client application and trusted code.

Parameters
bufferThe memory buffer which is to be, or has been, shared with the TEE.
sizeThe size, in bytes, of the memory buffer.
flagsBit-vector which holds properties of buffer. The bit-vector can contain either or both of the TEEC_MEM_INPUT and TEEC_MEM_OUTPUT flags.

A shared memory block is a region of memory allocated in the context of the client application memory space that can be used to transfer data between that client application and a trusted application. The user of this struct is responsible to populate the buffer pointer.


The documentation for this struct was generated from the following file: