diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2020-03-27 10:59:47 +0530 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2020-04-20 15:49:56 +0200 |
commit | 2a6ba3f794e892c37d67b8ebb19487ce105eabc2 (patch) | |
tree | a6a990a7c99ead25bc8941332e294ee0418d486d /include/linux/tee_drv.h | |
parent | ae83d0b416db002fe95601e7f97f64b59514d936 (diff) | |
download | linux-2a6ba3f794e892c37d67b8ebb19487ce105eabc2.tar.gz linux-2a6ba3f794e892c37d67b8ebb19487ce105eabc2.tar.bz2 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.h | 1 |
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; |