diff options
| author | Jens Wiklander <jens.wiklander@linaro.org> | 2017-12-28 10:08:00 +0100 |
|---|---|---|
| committer | Victor Chong <victor.chong@linaro.org> | 2018-02-21 15:40:49 +0000 |
| commit | 1b8bb30b0787a91d4903c8dfd88852f24634160a (patch) | |
| tree | 4308effc0a4c1ce5556d9fdbcc9968205ac44a21 /include/linux | |
| parent | 5b6bf566d7ee3ef6862ace6064e52fa4a1f82c8a (diff) | |
BACKPORT: tee: add start argument to shm_register callback
Adds a start argument to the shm_register callback to allow the callback
to check memory type of the passed pages.
Change-Id: I61457d60ca192637f8d986e2d6f8aeb153d2c484
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
(cherry picked from commit 95ffe4ca43877eea176d7e95aa0d38bbdc3d2903)
Signed-off-by: Victor Chong <victor.chong@linaro.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tee_drv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/tee_drv.h b/include/linux/tee_drv.h index 41bd4bded28c..a2b3dfcee0b5 100644 --- a/include/linux/tee_drv.h +++ b/include/linux/tee_drv.h @@ -108,7 +108,8 @@ struct tee_driver_ops { int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params, struct tee_param *param); int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm, - struct page **pages, size_t num_pages); + struct page **pages, size_t num_pages, + unsigned long start); int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm); }; |
