Home
last modified time | relevance | path

Searched refs:excp (Results 1 – 25 of 49) sorted by relevance

12

/openbmc/qemu/target/openrisc/
H A Dmmu.c112 int excp = EXCP_DPF; in openrisc_cpu_tlb_fill() local
119 excp = 0; in openrisc_cpu_tlb_fill()
128 if (likely(excp == 0)) { in openrisc_cpu_tlb_fill()
138 raise_mmu_exception(cpu, addr, excp); in openrisc_cpu_tlb_fill()
145 int prot, excp, sr = cpu->env.sr; in openrisc_cpu_get_phys_page_debug() local
151 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug()
154 if (!excp) { in openrisc_cpu_get_phys_page_debug()
157 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug()
160 return excp ? -1 : phys_addr; in openrisc_cpu_get_phys_page_debug()
166 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug()
[all …]
H A Dexception.c25 G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp) in raise_exception() argument
29 cs->exception_index = excp; in raise_exception()
H A Dexception_helper.c26 void HELPER(exception)(CPUOpenRISCState *env, uint32_t excp) in HELPER()
30 raise_exception(cpu, excp); in HELPER()
H A Dexception.h25 G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp);
/openbmc/qemu/target/ppc/
H A Dexcp_helper.c44 switch (excp) { in powerpc_excp_name()
203 return excp; in powerpc_reset_wakeup()
205 switch (excp) { in powerpc_reset_wakeup()
506 switch (excp) { in powerpc_excp_40x()
613 switch (excp) { in powerpc_excp_6xx()
756 switch (excp) { in powerpc_excp_7xx()
906 switch (excp) { in powerpc_excp_74xx()
1064 switch (excp) { in powerpc_excp_booke()
1278 switch (excp) { in is_prefix_insn_excp()
1347 excp = powerpc_reset_wakeup(env, excp, &msr); in powerpc_excp_books()
[all …]
H A Dhelper_regs.c291 int excp; in hreg_store_msr() local
296 excp = 0; in hreg_store_msr()
347 excp = EXCP_HALTED; in hreg_store_msr()
352 return excp; in hreg_store_msr()
/openbmc/linux/arch/parisc/math-emu/
H A Ddecode_exc.c93 unsigned int current_ir, excp; in decode_fpu() local
155 excp = fpudispatch(current_ir,excptype,0,Fpu_register); in decode_fpu()
157 if (excp) { in decode_fpu()
170 Set_exceptiontype_and_instr_field(excp,current_ir, in decode_fpu()
172 if (excp == UNIMPLEMENTEDEXCEPTION) { in decode_fpu()
177 excp = excptype; in decode_fpu()
184 excptype = excp; in decode_fpu()
188 if (excp == NOEXCEPTION) in decode_fpu()
/openbmc/qemu/target/hppa/
H A Dop_helper.c29 G_NORETURN void HELPER(excp)(CPUHPPAState *env, int excp) in HELPER() argument
33 cs->exception_index = excp; in HELPER()
37 G_NORETURN void hppa_dynamic_excp(CPUHPPAState *env, int excp, uintptr_t ra) in hppa_dynamic_excp() argument
41 cs->exception_index = excp; in hppa_dynamic_excp()
327 int prot, excp, mmu_idx; in HELPER()
337 excp = hppa_get_physical_address(env, addr, mmu_idx, 0, &phys, &prot); in HELPER()
338 if (excp >= 0) { in HELPER()
341 if (excp == EXCP_DTLB_MISS) { in HELPER()
342 excp = EXCP_NA_DTLB_MISS; in HELPER()
344 helper_excp(env, excp); in HELPER()
H A Dmem_helper.c335 int prot, excp, mmu_idx; in hppa_cpu_get_phys_page_debug() local
343 excp = hppa_get_physical_address(&cpu->env, addr, mmu_idx, 0, in hppa_cpu_get_phys_page_debug()
349 return excp == EXCP_DTLB_MISS ? -1 : phys; in hppa_cpu_get_phys_page_debug()
394 cs->exception_index = excp; in raise_exception_with_ior()
426 int prot, excp, a_prot; in hppa_cpu_tlb_fill() local
442 if (unlikely(excp >= 0)) { in hppa_cpu_tlb_fill()
449 raise_exception_with_ior(env, excp, retaddr, addr, in hppa_cpu_tlb_fill()
679 int prot, excp; in HELPER() local
683 if (excp >= 0) { in HELPER()
684 if (excp == EXCP_DTLB_MISS) { in HELPER()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Dseverity.c46 unsigned char excp; member
61 #define EXCP .excp = EXCP_CONTEXT
62 #define NOEXCP .excp = NO_EXCP
372 enum exception excp = (is_excp ? EXCP_CONTEXT : NO_EXCP); in mce_severity_intel() local
387 if (s->excp && excp != s->excp) in mce_severity_intel()
/openbmc/qemu/target/mips/tcg/
H A Dop_helper.c284 int excp; in mips_cpu_do_unaligned_access() local
291 excp = EXCP_AdES; in mips_cpu_do_unaligned_access()
293 excp = EXCP_AdEL; in mips_cpu_do_unaligned_access()
299 do_raise_exception_err(env, excp, error_code, retaddr); in mips_cpu_do_unaligned_access()
H A Dtranslate.h136 void generate_exception(DisasContext *ctx, int excp);
137 void generate_exception_err(DisasContext *ctx, int excp, int err);
138 void generate_exception_end(DisasContext *ctx, int excp);
/openbmc/qemu/target/arm/tcg/
H A Dop_helper.c47 void raise_exception(CPUARMState *env, uint32_t excp, in raise_exception() argument
65 assert(!excp_is_internal(excp)); in raise_exception()
66 cs->exception_index = excp; in raise_exception()
72 void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome, in raise_exception_ra() argument
83 raise_exception(env, excp, syndrome, target_el); in raise_exception_ra()
496 void HELPER(exception_internal)(CPUARMState *env, uint32_t excp) in HELPER()
500 assert(excp_is_internal(excp)); in HELPER()
501 cs->exception_index = excp; in HELPER()
509 raise_exception(env, excp, syndrome, target_el); in HELPER()
516 void HELPER(exception_with_syndrome)(CPUARMState *env, uint32_t excp, in HELPER()
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c509 if (excp == POWERPC_EXCP_HDSI) { in spapr_exit_nested_hv()
513 } else if (excp == POWERPC_EXCP_HISI) { in spapr_exit_nested_hv()
548 if (excp == POWERPC_EXCP_MCHECK || in spapr_exit_nested_hv()
549 excp == POWERPC_EXCP_RESET || in spapr_exit_nested_hv()
550 excp == POWERPC_EXCP_SYSCALL) { in spapr_exit_nested_hv()
1560 if (excp == POWERPC_EXCP_MCHECK || in exit_nested_store_l2()
1561 excp == POWERPC_EXCP_RESET || in exit_nested_store_l2()
1562 excp == POWERPC_EXCP_SYSCALL) { in exit_nested_store_l2()
1571 if ((excp != POWERPC_EXCP_HDSI) && (excp != POWERPC_EXCP_HISI)) { in exit_nested_store_l2()
1694 exit_nested_store_l2(cpu, excp, vcpu); in spapr_exit_nested_papr()
[all …]
/openbmc/qemu/target/s390x/tcg/
H A Dexcp_helper.c149 int prot, excp; in s390_cpu_tlb_fill() local
162 excp = mmu_translate(env, vaddr, access_type, asc, &raddr, &prot, &tec); in s390_cpu_tlb_fill()
168 excp = mmu_translate_real(env, vaddr, access_type, &raddr, &prot, &tec); in s390_cpu_tlb_fill()
173 env->tlb_fill_exc = excp; in s390_cpu_tlb_fill()
176 if (!excp) { in s390_cpu_tlb_fill()
195 trigger_pgm_exception(env, excp); in s390_cpu_tlb_fill()
H A Dmisc_helper.c56 void HELPER(exception)(CPUS390XState *env, uint32_t excp) in HELPER()
60 HELPER_LOG("%s: exception %d\n", __func__, excp); in HELPER()
61 cs->exception_index = excp; in HELPER()
/openbmc/qemu/target/arm/
H A Dinternals.h49 static inline bool excp_is_internal(int excp) in excp_is_internal() argument
54 return excp == EXCP_INTERRUPT in excp_is_internal()
55 || excp == EXCP_HLT in excp_is_internal()
56 || excp == EXCP_DEBUG in excp_is_internal()
57 || excp == EXCP_HALTED in excp_is_internal()
58 || excp == EXCP_EXCEPTION_EXIT in excp_is_internal()
59 || excp == EXCP_KERNEL_TRAP in excp_is_internal()
60 || excp == EXCP_SEMIHOST; in excp_is_internal()
284 G_NORETURN void raise_exception(CPUARMState *env, uint32_t excp,
290 G_NORETURN void raise_exception_ra(CPUARMState *env, uint32_t excp,
H A Dtcg-stubs.c19 void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome, in raise_exception_ra() argument
/openbmc/linux/arch/powerpc/include/asm/
H A Dxmon.h17 extern int xmon(struct pt_regs *excp);
/openbmc/qemu/target/xtensa/
H A Dexc_helper.c37 void HELPER(exception)(CPUXtensaState *env, uint32_t excp) in HELPER()
41 cs->exception_index = excp; in HELPER()
42 if (excp == EXCP_YIELD) { in HELPER()
/openbmc/linux/arch/powerpc/xmon/
H A Dxmon.c742 if (excp == NULL) { in xmon()
744 excp = &regs; in xmon()
1044 cmds(struct pt_regs *excp) in cmds() argument
1049 xmon_regs = excp; in cmds()
1051 xmon_show_stack(excp->gpr[1], excp->link, excp->nip); in cmds()
1105 excprint(excp); in cmds()
1111 backtrace(excp); in cmds()
1119 if (do_step(excp)) in cmds()
1302 xmon_regs = excp; in batch_cmds()
1316 backtrace(excp); in batch_cmds()
[all …]
/openbmc/qemu/target/alpha/
H A Dhelper.c513 G_NORETURN void helper_excp(CPUAlphaState *env, int excp, int error) in helper_excp() argument
517 cs->exception_index = excp; in helper_excp()
524 int excp, int error) in dynamic_excp() argument
528 cs->exception_index = excp; in dynamic_excp()
/openbmc/qemu/target/loongarch/
H A Dtranslate.h54 void generate_exception(DisasContext *ctx, int excp);
/openbmc/qemu/target/loongarch/tcg/
H A Dtranslate.c93 void generate_exception(DisasContext *ctx, int excp) in generate_exception() argument
96 gen_helper_raise_exception(tcg_env, tcg_constant_i32(excp)); in generate_exception()
/openbmc/qemu/hw/misc/
H A Dmips_itu.c370 static void raise_exception(int excp) in raise_exception() argument
372 current_cpu->exception_index = excp; in raise_exception()

12