/openbmc/qemu/target/openrisc/ |
H A D | mmu.c | 112 int excp = EXCP_DPF; in openrisc_cpu_tlb_fill() local 119 excp = 0; in openrisc_cpu_tlb_fill() 125 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, need, super); 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() [all …]
|
H A D | exception.c | 25 G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp) in raise_exception() argument 29 cs->exception_index = excp; in raise_exception()
|
H A D | exception_helper.c | 26 void HELPER(exception)(CPUOpenRISCState *env, uint32_t excp) in HELPER() 30 raise_exception(cpu, excp); in HELPER()
|
H A D | exception.h | 25 G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp);
|
/openbmc/qemu/target/ppc/ |
H A D | excp_helper.c | 42 static const char *powerpc_excp_name(int excp) in powerpc_excp_name() argument 44 switch (excp) { in powerpc_excp_name() 160 static void ppc_excp_debug_sw_tlb(CPUPPCState *env, int excp) in ppc_excp_debug_sw_tlb() argument 170 if (excp == POWERPC_EXCP_IFTLB) { in ppc_excp_debug_sw_tlb() 176 if (excp == POWERPC_EXCP_DLTLB) { in ppc_excp_debug_sw_tlb() 193 static int powerpc_reset_wakeup(CPUPPCState *env, int excp, target_ulong *msr) in powerpc_reset_wakeup() argument 202 if (excp == POWERPC_EXCP_MCHECK) { in powerpc_reset_wakeup() 203 return excp; in powerpc_reset_wakeup() 205 switch (excp) { in powerpc_reset_wakeup() 229 "Unsupported exception %d in Power Save mode\n", excp); in powerpc_reset_wakeup() [all …]
|
H A D | helper_regs.c | 292 int excp; in hreg_store_msr() local 297 excp = 0; in hreg_store_msr() 348 excp = EXCP_HALTED; in hreg_store_msr() 353 return excp; in hreg_store_msr()
|
/openbmc/linux/arch/parisc/math-emu/ |
H A D | decode_exc.c | 93 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 D | op_helper.c | 29 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, 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 D | mem_helper.c | 342 int prot, excp, mmu_idx; in hppa_cpu_get_phys_page_debug() local 350 excp = hppa_get_physical_address(&cpu->env, addr, mmu_idx, 0, 0, in hppa_cpu_get_phys_page_debug() 356 return excp == EXCP_DTLB_MISS ? -1 : phys; in hppa_cpu_get_phys_page_debug() 396 raise_exception_with_ior(CPUHPPAState *env, int excp, uintptr_t retaddr, in raise_exception_with_ior() argument 401 cs->exception_index = excp; in raise_exception_with_ior() 432 int prot, excp, a_prot; in hppa_cpu_tlb_fill_align() local 447 excp = hppa_get_physical_address(env, addr, mmu_idx, a_prot, memop, in hppa_cpu_tlb_fill_align() 449 if (unlikely(excp >= 0)) { in hppa_cpu_tlb_fill_align() 456 raise_exception_with_ior(env, excp, ra, addr, in hppa_cpu_tlb_fill_align() 690 int prot, excp; in HELPER() local [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | severity.c | 46 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 D | op_helper.c | 284 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 D | translate.h | 136 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 D | op_helper.c | 47 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() 506 void HELPER(exception_with_syndrome_el)(CPUARMState *env, uint32_t excp, in HELPER() 509 raise_exception(env, excp, syndrome, target_el); in HELPER() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_nested.c | 459 static void spapr_exit_nested_hv(PowerPCCPU *cpu, int excp) in spapr_exit_nested_hv() argument 485 env->gpr[3] = env->excp_vectors[excp]; /* hcall return value */ in spapr_exit_nested_hv() 509 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() 1551 static void exit_nested_store_l2(PowerPCCPU *cpu, int excp, in exit_nested_store_l2() argument 1571 if (excp == POWERPC_EXCP_MCHECK || in exit_nested_store_l2() 1572 excp == POWERPC_EXCP_RESET || in exit_nested_store_l2() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | excp_helper.c | 149 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 D | misc_helper.c | 56 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 D | internals.h | 49 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 D | tcg-stubs.c | 19 void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome, in raise_exception_ra() argument
|
/openbmc/linux/arch/powerpc/xmon/ |
H A D | xmon.c | 738 int xmon(struct pt_regs *excp) in xmon() argument 742 if (excp == NULL) { in xmon() 744 excp = ®s; in xmon() 747 return xmon_core(excp, 0); 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() 1102 prregs(excp); /* print regs */ in cmds() 1105 excprint(excp); in cmds() 1111 backtrace(excp); in cmds() [all …]
|
/openbmc/qemu/target/xtensa/ |
H A D | exc_helper.c | 37 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/qemu/target/alpha/ |
H A D | helper.c | 513 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/linux/arch/powerpc/include/asm/ |
H A D | xmon.h | 17 extern int xmon(struct pt_regs *excp);
|
/openbmc/qemu/target/loongarch/ |
H A D | translate.h | 54 void generate_exception(DisasContext *ctx, int excp);
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | translate.c | 93 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 D | mips_itu.c | 370 static void raise_exception(int excp) in raise_exception() argument 372 current_cpu->exception_index = excp; in raise_exception()
|