Home
last modified time | relevance | path

Searched refs:panic_code (Results 1 – 9 of 9) sorted by relevance

/optee_os/core/arch/arm/include/kernel/
H A Darch_scall.h44 bool panic, uint32_t panic_code) in scall_set_sys_return_regs() argument
48 regs->r2 = panic_code; in scall_set_sys_return_regs()
52 regs->x2 = panic_code; in scall_set_sys_return_regs()
/optee_os/core/arch/riscv/include/kernel/
H A Darch_scall.h27 bool panic, uint32_t panic_code) in scall_set_sys_return_regs() argument
30 regs->a2 = panic_code; in scall_set_sys_return_regs()
/optee_os/core/kernel/
H A Dldelf_loader.c120 uint32_t panic_code = 0; in ldelf_init_with_ldelf() local
140 is_32bit, &panicked, &panic_code); in ldelf_init_with_ldelf()
192 uint32_t panic_code = 0; in ldelf_dump_state() local
298 is_32bit, &panicked, &panic_code); in ldelf_dump_state()
320 uint32_t panic_code = 0; in ldelf_dump_ftrace() local
347 is_32bit, &panicked, &panic_code); in ldelf_dump_ftrace()
377 uint32_t panic_code = 0; in ldelf_dlopen() local
404 is_32bit, &panicked, &panic_code); in ldelf_dlopen()
432 uint32_t panic_code = 0; in ldelf_dlsym() local
456 is_32bit, &panicked, &panic_code); in ldelf_dlsym()
H A Dscall.c285 uint32_t scall_sys_return_helper(uint32_t ret, bool panic, uint32_t panic_code, in scall_sys_return_helper() argument
290 TAMSG_RAW("TA panicked with code 0x%" PRIx32, panic_code); in scall_sys_return_helper()
294 scall_set_sys_return_regs(regs, panic, panic_code); in scall_sys_return_helper()
H A Duser_ta.c189 &utc->ta_ctx.panic_code); in user_ta_enter()
196 utc->ta_ctx.panic_code); in user_ta_enter()
/optee_os/core/include/kernel/
H A Dscall.h34 uint32_t scall_sys_return_helper(uint32_t ret, bool panic, uint32_t panic_code,
H A Dtee_ta_manager.h73 uint32_t panic_code; /* Code supplied for panic */ member
/optee_os/core/arch/arm/kernel/
H A Dstmm_sp.c120 uint32_t panic_code = 0; in stmm_enter_user_mode() local
133 __thread_enter_user_mode(&spc->regs, &panicked, &panic_code); in stmm_enter_user_mode()
146 DMSG("stmm panicked with code %#"PRIx32, panic_code); in stmm_enter_user_mode()
630 static void return_from_sp_helper(bool panic, uint32_t panic_code, in return_from_sp_helper() argument
643 SVC_REGS_A2(regs) = panic_code; in return_from_sp_helper()
H A Dsecure_partition.c1800 uint32_t panic_code = 0; in sp_enter_invoke_cmd() local
1820 __thread_enter_user_mode(sp_regs, &panicked, &panic_code); in sp_enter_invoke_cmd()
1832 DMSG("SP panicked with code %#"PRIx32, panic_code); in sp_enter_invoke_cmd()