/openbmc/qemu/target/openrisc/ |
H A D | mmu.c | 111 int excp = EXCP_DPF; in openrisc_cpu_tlb_fill() local 118 excp = 0; in openrisc_cpu_tlb_fill() 127 if (likely(excp == 0)) { in openrisc_cpu_tlb_fill() 137 raise_mmu_exception(cpu, addr, excp); in openrisc_cpu_tlb_fill() 144 int prot, excp, sr = cpu->env.sr; in openrisc_cpu_get_phys_page_debug() local 150 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug() 153 if (!excp) { in openrisc_cpu_get_phys_page_debug() 156 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug() 159 return excp ? -1 : phys_addr; in openrisc_cpu_get_phys_page_debug() 165 excp = get_phys_mmu(cpu, &phys_addr, &prot, 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 switch (excp) { in powerpc_excp_name() 200 return excp; in powerpc_reset_wakeup() 202 switch (excp) { in powerpc_reset_wakeup() 482 switch (excp) { in powerpc_excp_40x() 601 switch (excp) { in powerpc_excp_6xx() 762 switch (excp) { in powerpc_excp_7xx() 934 switch (excp) { in powerpc_excp_74xx() 1112 switch (excp) { in powerpc_excp_booke() 1328 switch (excp) { in is_prefix_insn_excp() 1402 excp = powerpc_reset_wakeup(env, excp, &msr); in powerpc_excp_books() [all …]
|
H A D | helper_regs.c | 254 int excp; in hreg_store_msr() local 259 excp = 0; in hreg_store_msr() 305 excp = EXCP_HALTED; in hreg_store_msr() 310 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 | mem_helper.c | 291 int prot, excp, mmu_idx; in hppa_cpu_get_phys_page_debug() local 305 return excp == EXCP_DTLB_MISS ? -1 : phys; in hppa_cpu_get_phys_page_debug() 350 cs->exception_index = excp; in raise_exception_with_ior() 363 int prot, excp, a_prot; in hppa_cpu_tlb_fill() local 378 excp = hppa_get_physical_address(env, addr, mmu_idx, in hppa_cpu_tlb_fill() 380 if (unlikely(excp >= 0)) { in hppa_cpu_tlb_fill() 387 raise_exception_with_ior(env, excp, retaddr, addr, in hppa_cpu_tlb_fill() 618 int prot, excp; in HELPER() local 622 if (excp >= 0) { in HELPER() 623 if (excp == EXCP_DTLB_MISS) { in HELPER() [all …]
|
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() 341 int prot, excp, mmu_idx; in HELPER() 351 excp = hppa_get_physical_address(env, addr, mmu_idx, 0, &phys, in HELPER() 353 if (excp >= 0) { in HELPER() 355 if (excp == EXCP_DTLB_MISS) { in HELPER() 356 excp = EXCP_NA_DTLB_MISS; in HELPER() 358 hppa_dynamic_excp(env, excp, GETPC()); in HELPER()
|
/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/hw/ppc/ |
H A D | spapr_nested.c | 275 void spapr_exit_nested(PowerPCCPU *cpu, int excp) in spapr_exit_nested() argument 301 env->gpr[3] = env->excp_vectors[excp]; /* hcall return value */ in spapr_exit_nested() 325 if (excp == POWERPC_EXCP_HDSI) { in spapr_exit_nested() 329 } else if (excp == POWERPC_EXCP_HISI) { in spapr_exit_nested() 364 if (excp == POWERPC_EXCP_MCHECK || in spapr_exit_nested() 365 excp == POWERPC_EXCP_RESET || in spapr_exit_nested() 366 excp == POWERPC_EXCP_SYSCALL) { in spapr_exit_nested() 386 void spapr_exit_nested(PowerPCCPU *cpu, int excp) in spapr_exit_nested() argument
|
/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() 387 void HELPER(exception_internal)(CPUARMState *env, uint32_t excp) in HELPER() 391 assert(excp_is_internal(excp)); in HELPER() 392 cs->exception_index = excp; in HELPER() 400 raise_exception(env, excp, syndrome, target_el); in HELPER() 407 void HELPER(exception_with_syndrome)(CPUARMState *env, uint32_t excp, in HELPER() [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | op_helper.c | 285 int excp; in mips_cpu_do_unaligned_access() local 292 excp = EXCP_AdES; in mips_cpu_do_unaligned_access() 294 excp = EXCP_AdEL; in mips_cpu_do_unaligned_access() 300 do_raise_exception_err(env, excp, error_code, retaddr); in mips_cpu_do_unaligned_access()
|
H A D | translate.h | 137 void generate_exception(DisasContext *ctx, int excp); 138 void generate_exception_err(DisasContext *ctx, int excp, int err); 139 void generate_exception_end(DisasContext *ctx, int excp);
|
/openbmc/qemu/target/nios2/ |
H A D | helper.c | 304 unsigned int excp; in nios2_cpu_tlb_fill() local 353 excp = (access_type == MMU_DATA_LOAD ? EXCP_PERM_R : in nios2_cpu_tlb_fill() 356 excp = (access_type == MMU_INST_FETCH ? EXCP_TLB_X: EXCP_TLB_D); in nios2_cpu_tlb_fill() 369 cs->exception_index = excp; in nios2_cpu_tlb_fill()
|
/openbmc/qemu/target/arm/ |
H A D | internals.h | 43 static inline bool excp_is_internal(int excp) in excp_is_internal() argument 48 return excp == EXCP_INTERRUPT in excp_is_internal() 49 || excp == EXCP_HLT in excp_is_internal() 50 || excp == EXCP_DEBUG in excp_is_internal() 51 || excp == EXCP_HALTED in excp_is_internal() 52 || excp == EXCP_EXCEPTION_EXIT in excp_is_internal() 53 || excp == EXCP_KERNEL_TRAP in excp_is_internal() 54 || excp == EXCP_SEMIHOST; in excp_is_internal() 118 G_NORETURN void raise_exception(CPUARMState *env, uint32_t excp, 124 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/include/asm/ |
H A D | xmon.h | 17 extern int xmon(struct pt_regs *excp);
|
/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/s390x/tcg/ |
H A D | excp_helper.c | 153 int prot, excp; in s390_cpu_tlb_fill() local 166 excp = mmu_translate(env, vaddr, access_type, asc, &raddr, &prot, &tec); in s390_cpu_tlb_fill() 172 excp = mmu_translate_real(env, vaddr, access_type, &raddr, &prot, &tec); in s390_cpu_tlb_fill() 177 env->tlb_fill_exc = excp; in s390_cpu_tlb_fill() 180 if (!excp) { in s390_cpu_tlb_fill() 199 trigger_pgm_exception(env, excp); in s390_cpu_tlb_fill()
|
/openbmc/linux/arch/powerpc/xmon/ |
H A D | xmon.c | 742 if (excp == NULL) { in xmon() 744 excp = ®s; 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 D | helper.c | 517 G_NORETURN void helper_excp(CPUAlphaState *env, int excp, int error) in helper_excp() argument 521 cs->exception_index = excp; in helper_excp() 528 int excp, int error) in dynamic_excp() argument 532 cs->exception_index = excp; in dynamic_excp()
|
/openbmc/qemu/target/loongarch/ |
H A D | translate.h | 54 void generate_exception(DisasContext *ctx, int excp);
|
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/include/hw/ppc/ |
H A D | spapr_nested.h | 100 void spapr_exit_nested(PowerPCCPU *cpu, int excp);
|