| /openbmc/qemu/target/ppc/ |
| H A D | excp_helper.c | 37 static const char *powerpc_excp_name(int excp) in powerpc_excp_name() argument 39 switch (excp) { in powerpc_excp_name() 134 static void ppc_excp_debug_sw_tlb(CPUPPCState *env, int excp) in ppc_excp_debug_sw_tlb() argument 144 if (excp == POWERPC_EXCP_IFTLB) { in ppc_excp_debug_sw_tlb() 150 if (excp == POWERPC_EXCP_DLTLB) { in ppc_excp_debug_sw_tlb() 167 static int powerpc_reset_wakeup(CPUPPCState *env, int excp, target_ulong *msr) in powerpc_reset_wakeup() argument 176 if (excp == POWERPC_EXCP_MCHECK) { in powerpc_reset_wakeup() 177 return excp; in powerpc_reset_wakeup() 179 switch (excp) { in powerpc_reset_wakeup() 203 "Unsupported exception %d in Power Save mode\n", excp); in powerpc_reset_wakeup() [all …]
|
| H A D | helper_regs.c | 291 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()
|
| H A D | tcg-excp_helper.c | 476 uint32_t excp = hreg_store_msr(env, val, 0); in helper_store_msr() local 478 if (excp != 0) { in helper_store_msr() 480 raise_exception(env, excp); in helper_store_msr()
|
| /openbmc/qemu/target/openrisc/ |
| H A D | mmu.c | 113 int excp = EXCP_DPF; in openrisc_cpu_tlb_fill() local 120 excp = 0; in openrisc_cpu_tlb_fill() 126 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, need, super); in openrisc_cpu_tlb_fill() 129 if (likely(excp == 0)) { in openrisc_cpu_tlb_fill() 139 raise_mmu_exception(cpu, addr, excp); in openrisc_cpu_tlb_fill() 146 int prot, excp, sr = cpu->env.sr; in openrisc_cpu_get_phys_page_debug() local 152 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug() 155 if (!excp) { in openrisc_cpu_get_phys_page_debug() 158 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug() 161 return excp ? -1 : phys_addr; in openrisc_cpu_get_phys_page_debug() [all …]
|
| H A D | exception.c | 24 G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp) in raise_exception() argument 28 cs->exception_index = excp; in raise_exception()
|
| H A D | exception_helper.c | 25 void HELPER(exception)(CPUOpenRISCState *env, uint32_t excp) in HELPER() 29 raise_exception(cpu, excp); in HELPER()
|
| H A D | exception.h | 25 G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp);
|
| /openbmc/qemu/tests/functional/ |
| H A D | test_aarch64_virt_gpu.py | 64 except VMLaunchFailure as excp: 65 if "old virglrenderer, blob resources unsupported" in excp.output: 67 elif "old virglrenderer, venus unsupported" in excp.output: 69 elif "egl: no drm render node available" in excp.output: 71 elif "'type' does not accept value 'egl-headless'" in excp.output: 73 elif "'type' does not accept value 'dbus'" in excp.output: 76 self.log.info("unhandled launch failure: %s", excp.output) 77 raise excp 124 except CalledProcessError as excp:
|
| H A D | test_vnc.py | 56 except VMLaunchFailure as excp: 57 if "-vnc: invalid option" in excp.output: 59 elif "Cipher backend does not support DES algorithm" in excp.output: 62 self.log.info("unhandled launch failure: %s", excp.output) 63 raise excp
|
| H A D | test_aarch64_tcg_plugins.py | 47 except VMLaunchFailure as excp: 48 if "plugin interface not enabled in this build" in excp.output: 52 raise excp
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | op_helper.c | 48 void raise_exception(CPUARMState *env, uint32_t excp, in raise_exception() argument 66 assert(!excp_is_internal(excp)); in raise_exception() 67 cs->exception_index = excp; in raise_exception() 73 void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome, in raise_exception_ra() argument 84 raise_exception(env, excp, syndrome, target_el); in raise_exception_ra() 323 static inline int check_wfx_trap(CPUARMState *env, bool is_wfe, uint32_t *excp) in check_wfx_trap() argument 328 *excp = EXCP_UDEF; in check_wfx_trap() 361 *excp = EXCP_MON_TRAP; in check_wfx_trap() 385 uint32_t excp; in HELPER() 386 int target_el = check_wfx_trap(env, false, &excp); in HELPER() [all …]
|
| /openbmc/qemu/target/hppa/ |
| H A D | op_helper.c | 32 G_NORETURN void HELPER(excp)(CPUHPPAState *env, int excp) in HELPER() argument 36 cs->exception_index = excp; in HELPER() 40 G_NORETURN void hppa_dynamic_excp(CPUHPPAState *env, int excp, uintptr_t ra) in hppa_dynamic_excp() argument 44 cs->exception_index = excp; in hppa_dynamic_excp() 330 int prot, excp, mmu_idx; in HELPER() 340 excp = hppa_get_physical_address(env, addr, mmu_idx, 0, 0, &phys, &prot); in HELPER() 341 if (excp >= 0) { in HELPER() 344 if (excp == EXCP_DTLB_MISS) { in HELPER() 345 excp = EXCP_NA_DTLB_MISS; in HELPER() 347 helper_excp(env, excp); in HELPER()
|
| H A D | mem_helper.c | 345 int prot, excp, mmu_idx; in hppa_cpu_get_phys_page_debug() local 353 excp = hppa_get_physical_address(&cpu->env, addr, mmu_idx, 0, 0, in hppa_cpu_get_phys_page_debug() 359 return excp == EXCP_DTLB_MISS ? -1 : phys; in hppa_cpu_get_phys_page_debug() 399 raise_exception_with_ior(CPUHPPAState *env, int excp, uintptr_t retaddr, in raise_exception_with_ior() argument 404 cs->exception_index = excp; in raise_exception_with_ior() 435 int prot, excp, a_prot; in hppa_cpu_tlb_fill_align() local 450 excp = hppa_get_physical_address(env, addr, mmu_idx, a_prot, memop, in hppa_cpu_tlb_fill_align() 452 if (unlikely(excp >= 0)) { in hppa_cpu_tlb_fill_align() 459 raise_exception_with_ior(env, excp, ra, addr, in hppa_cpu_tlb_fill_align() 693 int prot, excp; in HELPER() local [all …]
|
| /openbmc/qemu/target/mips/tcg/ |
| H A D | op_helper.c | 309 int excp; in mips_cpu_do_unaligned_access() local 316 excp = EXCP_AdES; in mips_cpu_do_unaligned_access() 318 excp = EXCP_AdEL; in mips_cpu_do_unaligned_access() 324 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/arm/ |
| H A D | tcg-stubs.c | 19 void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome, in raise_exception_ra() argument
|
| H A D | internals.h | 53 static inline bool excp_is_internal(int excp) in excp_is_internal() argument 58 return excp == EXCP_INTERRUPT in excp_is_internal() 59 || excp == EXCP_HLT in excp_is_internal() 60 || excp == EXCP_DEBUG in excp_is_internal() 61 || excp == EXCP_HALTED in excp_is_internal() 62 || excp == EXCP_EXCEPTION_EXIT in excp_is_internal() 63 || excp == EXCP_KERNEL_TRAP in excp_is_internal() 64 || excp == EXCP_SEMIHOST; in excp_is_internal() 288 G_NORETURN void raise_exception(CPUARMState *env, uint32_t excp, 294 G_NORETURN void raise_exception_ra(CPUARMState *env, uint32_t excp,
|
| /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() 1604 static void exit_nested_store_l2(PowerPCCPU *cpu, int excp, in exit_nested_store_l2() argument 1624 if (excp == POWERPC_EXCP_MCHECK || in exit_nested_store_l2() 1625 excp == POWERPC_EXCP_RESET || in exit_nested_store_l2() [all …]
|
| /openbmc/qemu/target/s390x/tcg/ |
| H A D | excp_helper.c | 151 int prot, excp; in s390_cpu_tlb_fill() local 164 excp = mmu_translate(env, vaddr, access_type, asc, &raddr, &prot, &tec); in s390_cpu_tlb_fill() 170 excp = mmu_translate_real(env, vaddr, access_type, &raddr, &prot, &tec); in s390_cpu_tlb_fill() 175 env->tlb_fill_exc = excp; in s390_cpu_tlb_fill() 178 if (!excp) { in s390_cpu_tlb_fill() 197 trigger_pgm_exception(env, excp); in s390_cpu_tlb_fill()
|
| H A D | misc_helper.c | 58 void HELPER(exception)(CPUS390XState *env, uint32_t excp) in HELPER() 62 HELPER_LOG("%s: exception %d\n", __func__, excp); in HELPER() 63 cs->exception_index = excp; in HELPER()
|
| /openbmc/qemu/target/xtensa/ |
| H A D | exc_helper.c | 36 void HELPER(exception)(CPUXtensaState *env, uint32_t excp) in HELPER() 40 cs->exception_index = excp; in HELPER() 41 if (excp == EXCP_YIELD) { in HELPER()
|
| /openbmc/qemu/target/alpha/ |
| H A D | helper.c | 515 G_NORETURN void helper_excp(CPUAlphaState *env, int excp, int error) in helper_excp() argument 519 cs->exception_index = excp; in helper_excp() 526 int excp, int error) in dynamic_excp() argument 530 cs->exception_index = excp; in dynamic_excp()
|
| /openbmc/qemu/target/loongarch/ |
| H A D | translate.h | 59 void generate_exception(DisasContext *ctx, int excp);
|
| /openbmc/qemu/target/loongarch/tcg/ |
| H A D | translate.c | 95 void generate_exception(DisasContext *ctx, int excp) in generate_exception() argument 98 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()
|