File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 276276#define OPTEE_SMC_SEC_CAP_DYNAMIC_SHM (1 << 2)
277277/* Secure world is built with virtualization support */
278278#define OPTEE_SMC_SEC_CAP_VIRTUALIZATION (1 << 3)
279-
279+ /* Secure world is built with OCALL support */
280+ #define OPTEE_SMC_SEC_CAP_OCALL (1 << 4)
280281
281282#define OPTEE_SMC_FUNCID_EXCHANGE_CAPABILITIES 9
282283#define OPTEE_SMC_EXCHANGE_CAPABILITIES \
Original file line number Diff line number Diff line change @@ -91,6 +91,9 @@ static void tee_entry_exchange_capabilities(struct thread_smc_args *args)
9191#ifdef CFG_VIRTUALIZATION
9292 args -> a1 |= OPTEE_SMC_SEC_CAP_VIRTUALIZATION ;
9393#endif
94+ #if defined(CFG_OCALL )
95+ args -> a1 |= OPTEE_SMC_SEC_CAP_OCALL ;
96+ #endif
9497
9598#if defined(CFG_CORE_DYN_SHM )
9699 dyn_shm_en = core_mmu_nsec_ddr_is_defined ();
You can’t perform that action at this time.
0 commit comments