Skip to main content
Header: libminkadaptor/include/MinkCom.h

Functions

MinkCom_getRootEnvObject

Get a RootEnv object which can be used to initiate MINK-IPC based communication with QTEE.
Parameters
Object *
The RootEnv object requested by the client.
Returns Object_OK on success. Object_ERROR on failure.

MinkCom_getClientEnvObject

Get a ClientEnv object that is registered with QTEE with client’s auto-generated credentials.
Parameters
Object
The RootEnv object for initiating MINK-IPC based communication.
Object *
The ClientEnv object requested by the client.
Returns Object_OK on success. Object_ERROR_* on failure.

MinkCom_getClientEnvObjectWithCreds

Get a ClientEnv object that is registered with QTEE with client’s self-generated credentials.
Parameters
Object
The RootEnv object for initiating MINK-IPC based communication.
Object
The credentials object self-generated by the client.
Object *
The ClientEnv object requested by the client.
Returns Object_OK on success. Object_ERROR_* on failure.

MinkCom_getMemoryObject

Get a Memory object representing physically contiguous memory shared with QTEE.
Parameters
The RootEnv object for initiating MINK-IPC based communication.
size_t
Size of the memory represented by the Memory object.
Object *
The Memory object requested by the client.
Returns Object_OK on success. Object_ERROR_* on failure.

MinkCom_getMemoryObjectInfo

Get the virtual address and size of the memory represented by a Memory object.
Parameters
Object
The Memory object for which information is requested.
void **
Virtual address of the memory represented by the Memory object.
size_t *
Actual size of the memory represented by the Memory object.
Returns Object_OK on success. Object_ERROR_* on failure.