TEE_IOC_SHM_FREE seems not necessary, if we consider that the SHM is by construction a fd-derived object. If a generic TEE_IOC_CMD is defined to support the create context, open session, invoke command .. what is the need to have a specific TEE_IOC_SHM_ALLOC command.
Regards, jm
-----Original Message----- From: tee-dev-bounces@lists.linaro.org [mailto:tee-dev-bounces@lists.linaro.org] On Behalf Of Joakim Bech Sent: Friday, March 06, 2015 11:38 AM To: tee-dev Subject: [Tee-dev] IOCTLs for user space and the generic driver
So to get started with the IOCTL's needed between TEE clients in user space and the generic driver. Have the different use cases in back of your mind when thinking about this.
Here are three IOC's needed. What else?
IOCTL's: TEE_IOC_CMD TEE_IOC_SHM_ALLOC TEE_IOC_SHM_FREE
-- Regards, Joakim B
_______________________________________________ Tee-dev mailing list Tee-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/tee-dev