aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/tee_drv.h
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2020-03-27 10:59:47 +0530
committerJens Wiklander <jens.wiklander@linaro.org>2020-04-20 15:49:56 +0200
commit2a6ba3f794e892c37d67b8ebb19487ce105eabc2 (patch)
treea6a990a7c99ead25bc8941332e294ee0418d486d /include/linux/tee_drv.h
parentLinux 5.7-rc2 (diff)
downloadwireguard-linux-2a6ba3f794e892c37d67b8ebb19487ce105eabc2.tar.xz
wireguard-linux-2a6ba3f794e892c37d67b8ebb19487ce105eabc2.zip
tee: enable support to register kernel memory
Enable support to register kernel memory reference with TEE. This change will allow TEE bus drivers to register memory references. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'include/linux/tee_drv.h')
-rw-r--r--include/linux/tee_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tee_drv.h b/include/linux/tee_drv.h
index 1412e9cc79ce..e96154d92b1e 100644
--- a/include/linux/tee_drv.h
+++ b/include/linux/tee_drv.h
@@ -26,6 +26,7 @@
#define TEE_SHM_REGISTER BIT(3) /* Memory registered in secure world */
#define TEE_SHM_USER_MAPPED BIT(4) /* Memory mapped in user space */
#define TEE_SHM_POOL BIT(5) /* Memory allocated from pool */
+#define TEE_SHM_KERNEL_MAPPED BIT(6) /* Memory mapped in kernel space */
struct device;
struct tee_device;