Hi Jens On 10.03.2015 15:55, Jens Wiklander wrote:
Hi Valentin,
What I would like the MAP/UNMAP ioctl to be used is to map pointers from Linux user space to TEE. More or less this is a requirement from GP as well.
Why are these needed? If secure world need this, it could be notified via some callback attached to TEE_IOC_SHM_ALLOC/TEE_IOC_SHM_FREE instead.
I think these would be needed for TEEC_RegisterSharedMemory(), where client would like to share some of it's own memory(even stack) to TEE, and this call would register the memory to TEE or at least to Linux driver.
Valentin