Home
last modified time | relevance | path

Searched refs:thread_ctx_regs (Results 1 – 13 of 13) sorted by relevance

/optee_os/core/arch/riscv/kernel/
H A Dasm-defines.c44 DEFINE(THREAD_CTX_REG_STATUS, offsetof(struct thread_ctx_regs, status));
45 DEFINE(THREAD_CTX_REG_EPC, offsetof(struct thread_ctx_regs, epc));
46 DEFINE(THREAD_CTX_REG_IE, offsetof(struct thread_ctx_regs, ie));
47 DEFINE(THREAD_CTX_REG_RA, offsetof(struct thread_ctx_regs, ra));
48 DEFINE(THREAD_CTX_REG_SP, offsetof(struct thread_ctx_regs, sp));
49 DEFINE(THREAD_CTX_REG_GP, offsetof(struct thread_ctx_regs, gp));
50 DEFINE(THREAD_CTX_REG_TP, offsetof(struct thread_ctx_regs, tp));
51 DEFINE(THREAD_CTX_REG_T0, offsetof(struct thread_ctx_regs, t0));
52 DEFINE(THREAD_CTX_REG_S0, offsetof(struct thread_ctx_regs, s0));
53 DEFINE(THREAD_CTX_REG_A0, offsetof(struct thread_ctx_regs, a0));
[all …]
H A Dthread_arch.c113 static void thread_unhandled_trap(struct thread_ctx_regs *regs __unused, in thread_unhandled_trap()
156 void thread_native_interrupt_handler(struct thread_ctx_regs *regs, in thread_native_interrupt_handler()
275 static void copy_a0_to_a3(struct thread_ctx_regs *regs, uint32_t a0, in copy_a0_to_a3()
315 static bool is_user_mode(struct thread_ctx_regs *regs) in is_user_mode()
501 static void set_ctx_regs(struct thread_ctx_regs *regs, unsigned long a0, in set_ctx_regs()
507 *regs = (struct thread_ctx_regs){ in set_ctx_regs()
532 struct thread_ctx_regs *regs = NULL; in thread_enter_user_mode()
/optee_os/core/arch/arm/kernel/
H A Dasm-defines.c38 offsetof(struct thread_ctx_regs, usr_sp));
39 DEFINE(THREAD_CTX_REGS_PC, offsetof(struct thread_ctx_regs, pc));
40 DEFINE(THREAD_CTX_REGS_CPSR, offsetof(struct thread_ctx_regs, cpsr));
91 DEFINE(THREAD_CTX_REGS_SP, offsetof(struct thread_ctx_regs, sp));
92 DEFINE(THREAD_CTX_REGS_X0, offsetof(struct thread_ctx_regs, x[0]));
93 DEFINE(THREAD_CTX_REGS_X1, offsetof(struct thread_ctx_regs, x[1]));
94 DEFINE(THREAD_CTX_REGS_X2, offsetof(struct thread_ctx_regs, x[2]));
95 DEFINE(THREAD_CTX_REGS_X4, offsetof(struct thread_ctx_regs, x[4]));
96 DEFINE(THREAD_CTX_REGS_X19, offsetof(struct thread_ctx_regs, x[19]));
97 DEFINE(THREAD_CTX_REGS_TPIDR_EL0, offsetof(struct thread_ctx_regs,
[all …]
H A Dthread.c283 static void copy_a0_to_a3(struct thread_ctx_regs *regs, uint32_t a0, in copy_a0_to_a3()
298 static void copy_a0_to_a3(struct thread_ctx_regs *regs, uint32_t a0, in copy_a0_to_a3()
357 static bool is_user_mode(struct thread_ctx_regs *regs) in is_user_mode()
943 static void set_ctx_regs(struct thread_ctx_regs *regs, unsigned long a0, in set_ctx_regs()
953 *regs = (struct thread_ctx_regs){ }; in set_ctx_regs()
1011 struct thread_ctx_regs *regs = NULL; in thread_enter_user_mode()
H A Dsecure_partition.c311 struct thread_ctx_regs *sp_regs = &ctx->sp_regs; in sp_init_set_registers()
1796 struct thread_ctx_regs *sp_regs = NULL; in sp_enter_invoke_cmd()
1852 struct thread_ctx_regs *sp_regs) in sp_svc_store_registers()
/optee_os/core/arch/riscv/include/kernel/
H A Dthread_private_arch.h63 void thread_native_interrupt_handler(struct thread_ctx_regs *regs,
65 void thread_foreign_interrupt_handler(struct thread_ctx_regs *regs);
111 void thread_resume(struct thread_ctx_regs *regs);
112 uint32_t __thread_enter_user_mode(struct thread_ctx_regs *regs,
117 struct thread_ctx_regs *thread_get_ctx_regs(void);
H A Dthread_arch.h131 struct thread_ctx_regs { struct
/optee_os/core/arch/arm/include/kernel/
H A Dthread_private_arch.h143 void thread_resume(struct thread_ctx_regs *regs);
145 uint32_t __thread_enter_user_mode(struct thread_ctx_regs *regs,
169 struct thread_ctx_regs *thread_get_ctx_regs(void);
H A Dsecure_partition.h42 struct thread_ctx_regs sp_regs;
H A Dstmm_sp.h137 struct thread_ctx_regs regs;
H A Dthread_arch.h294 struct thread_ctx_regs { struct
319 struct thread_ctx_regs { argument
/optee_os/core/include/kernel/
H A Dthread_private.h36 struct thread_ctx_regs regs;
/optee_os/core/kernel/
H A Dthread.c695 struct thread_ctx_regs * __nostackcheck thread_get_ctx_regs(void) in thread_get_ctx_regs()