mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
Enable userspace to allocate shared memory with QTEE. Since QTEE handles shared memory as object, a wrapper is implemented to represent tee_shm as an object. The shared memory identifier, obtained through TEE_IOC_SHM_ALLOC, is transferred to the driver using TEE_IOCTL_PARAM_ATTR_TYPE_OBJREF_INPUT/OUTPUT. Tested-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Tested-by: Harshal Dev <quic_hdev@quicinc.com> Signed-off-by: Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
10 lines
253 B
Makefile
10 lines
253 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-$(CONFIG_QCOMTEE) += qcomtee.o
|
|
qcomtee-objs += async.o
|
|
qcomtee-objs += call.o
|
|
qcomtee-objs += core.o
|
|
qcomtee-objs += mem_obj.o
|
|
qcomtee-objs += primordial_obj.o
|
|
qcomtee-objs += shm.o
|
|
qcomtee-objs += user_obj.o
|