| /optee_os/core/include/kernel/ |
| H A D | scall.h | 17 struct thread_scall_regs; 20 uint32_t scall_do_call(struct thread_scall_regs *regs, syscall_t func); 23 bool scall_handle_user_ta(struct thread_scall_regs *regs); 26 bool scall_handle_ldelf(struct thread_scall_regs *regs); 35 struct thread_scall_regs *regs); 38 void scall_save_panic_stack(struct thread_scall_regs *regs);
|
| H A D | ts_manager.h | 19 struct thread_scall_regs; 34 bool (*handle_scall)(struct thread_scall_regs *regs); 71 bool (*handle_scall)(struct thread_scall_regs *regs);
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | asm-defines.c | 28 DEFINE(THREAD_SCALL_REG_R0, offsetof(struct thread_scall_regs, r0)); 29 DEFINE(THREAD_SCALL_REG_R5, offsetof(struct thread_scall_regs, r5)); 30 DEFINE(THREAD_SCALL_REG_R6, offsetof(struct thread_scall_regs, r6)); 56 DEFINE(THREAD_SCALL_REG_X0, offsetof(struct thread_scall_regs, x0)); 57 DEFINE(THREAD_SCALL_REG_X2, offsetof(struct thread_scall_regs, x2)); 58 DEFINE(THREAD_SCALL_REG_X5, offsetof(struct thread_scall_regs, x5)); 59 DEFINE(THREAD_SCALL_REG_X6, offsetof(struct thread_scall_regs, x6)); 60 DEFINE(THREAD_SCALL_REG_X30, offsetof(struct thread_scall_regs, x30)); 61 DEFINE(THREAD_SCALL_REG_ELR, offsetof(struct thread_scall_regs, elr)); 62 DEFINE(THREAD_SCALL_REG_SPSR, offsetof(struct thread_scall_regs, spsr)); [all …]
|
| H A D | arch_scall.c | 45 void scall_save_panic_stack(struct thread_scall_regs *regs) in scall_save_panic_stack() 117 void scall_save_panic_stack(struct thread_scall_regs *regs) in scall_save_panic_stack() 148 void scall_save_panic_stack(struct thread_scall_regs *regs __unused) in scall_save_panic_stack()
|
| H A D | stmm_sp.c | 598 struct thread_scall_regs *regs) in save_sp_ctx() 614 struct thread_scall_regs *regs) in save_sp_ctx() 631 struct thread_scall_regs *regs) in return_from_sp_helper() 646 static void service_compose_direct_resp(struct thread_scall_regs *regs, in service_compose_direct_resp() 784 static void spm_eret_error(int32_t error_code, struct thread_scall_regs *regs) in spm_eret_error() 797 static void stmm_handle_storage_service(struct thread_scall_regs *regs) in stmm_handle_storage_service() 833 static void spm_handle_direct_req(struct thread_scall_regs *regs) in spm_handle_direct_req() 845 static void spm_handle_get_mem_attr(struct thread_scall_regs *regs) in spm_handle_get_mem_attr() 889 static void spm_handle_set_mem_attr(struct thread_scall_regs *regs) in spm_handle_set_mem_attr() 939 static bool spm_handle_scall(struct thread_scall_regs *regs) in spm_handle_scall()
|
| H A D | thread.c | 1066 static void setup_unwind_user_mode(struct thread_scall_regs *regs) in setup_unwind_user_mode() 1099 void __weak thread_scall_handler(struct thread_scall_regs *regs) in thread_scall_handler()
|
| H A D | secure_partition.c | 1851 static void sp_svc_store_registers(struct thread_scall_regs *regs, in sp_svc_store_registers() 1861 static bool sp_handle_scall(struct thread_scall_regs *regs) in sp_handle_scall()
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | asm-defines.c | 88 DEFINE(THREAD_SCALL_REG_RA, offsetof(struct thread_scall_regs, ra)); 89 DEFINE(THREAD_SCALL_REG_SP, offsetof(struct thread_scall_regs, sp)); 90 DEFINE(THREAD_SCALL_REG_GP, offsetof(struct thread_scall_regs, gp)); 91 DEFINE(THREAD_SCALL_REG_TP, offsetof(struct thread_scall_regs, tp)); 92 DEFINE(THREAD_SCALL_REG_T0, offsetof(struct thread_scall_regs, t0)); 93 DEFINE(THREAD_SCALL_REG_A0, offsetof(struct thread_scall_regs, a0)); 94 DEFINE(THREAD_SCALL_REG_T3, offsetof(struct thread_scall_regs, t3)); 95 DEFINE(THREAD_SCALL_REG_EPC, offsetof(struct thread_scall_regs, epc)); 97 offsetof(struct thread_scall_regs, status)); 98 DEFINE(THREAD_SCALL_REG_IE, offsetof(struct thread_scall_regs, ie)); [all …]
|
| H A D | arch_scall.c | 53 void scall_save_panic_stack(struct thread_scall_regs *regs) in scall_save_panic_stack() 78 void scall_save_panic_stack(struct thread_scall_regs *regs __unused) in scall_save_panic_stack()
|
| H A D | thread_arch.c | 99 static void setup_unwind_user_mode(struct thread_scall_regs *regs) in setup_unwind_user_mode() 121 void thread_scall_handler(struct thread_scall_regs *regs) in thread_scall_handler()
|
| /optee_os/core/arch/riscv/include/kernel/ |
| H A D | arch_scall.h | 13 static inline void scall_get_max_args(struct thread_scall_regs *regs, in scall_get_max_args() 20 static inline void scall_set_retval(struct thread_scall_regs *regs, in scall_set_retval() 26 static inline void scall_set_sys_return_regs(struct thread_scall_regs *regs, in scall_set_sys_return_regs()
|
| H A D | thread_private_arch.h | 130 void thread_scall_handler(struct thread_scall_regs *regs);
|
| H A D | thread_arch.h | 106 struct thread_scall_regs { struct
|
| /optee_os/core/arch/arm/include/kernel/ |
| H A D | arch_scall.h | 13 static inline void scall_get_max_args(struct thread_scall_regs *regs, in scall_get_max_args() 32 static inline void scall_set_retval(struct thread_scall_regs *regs, in scall_set_retval() 43 static inline void scall_set_sys_return_regs(struct thread_scall_regs *regs, in scall_set_sys_return_regs()
|
| H A D | thread_arch.h | 234 struct thread_scall_regs { struct 248 struct thread_scall_regs { argument
|
| H A D | thread_private_arch.h | 256 void thread_scall_handler(struct thread_scall_regs *regs);
|
| /optee_os/core/kernel/ |
| H A D | scall.c | 206 bool scall_handle_user_ta(struct thread_scall_regs *regs) in scall_handle_user_ta() 253 bool scall_handle_ldelf(struct thread_scall_regs *regs) in scall_handle_ldelf() 286 struct thread_scall_regs *regs) in scall_sys_return_helper()
|