commit | 7c732ee481c684dbc9cfb923e417b61148729372 | [log] [tgz] |
---|---|---|
author | Jens Wiklander <jens.wiklander@linaro.org> | Mon Oct 07 21:53:55 2019 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Dec 16 09:36:08 2019 +0100 |
tree | b79d627aff0d9f6f6ced58a0ee2576c082ca11cb | |
parent | 5343f09f458fa133e44ff22ca12d932aa4e7bc4c [diff] |
core: get svc handler from the context of current session Instead of a single global syscalls definition, get the syscall handler function from the context of current active session. An extra optional (mandatory for user mode TAs) function pointer is added to struct tee_ta_ops, handle_svc, which handles the syscall. tee_svc_handler() is split into a generic thread_svc_handler() which is put in kernel/thread.c. The user TA specific part is put in user_ta_handle_svc() which is kept in tee/arch_svc.c but made available via the new .handle_svc function pointer of struct tee_ta_ops. Acked-by: Pipat Methavanitpong <pipat.methavanitpong@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers