On Tue, Mar 10, 2015 at 05:00:24PM +0200, Valentin Manea wrote:
On 10.03.2015 15:55, Jens Wiklander wrote:
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.
Thanks, I didn't think of that.
Regards, Jens