Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 115) sorted by relevance

12345

/qemu/target/mips/tcg/
H A Dexception.c49 do_raise_exception_err(env, exception, error_code, 0); in helper_raise_exception_err()
52 void helper_raise_exception(CPUMIPSState *env, uint32_t exception) in helper_raise_exception() argument
54 do_raise_exception(env, exception, GETPC()); in helper_raise_exception()
62 static void raise_exception(CPUMIPSState *env, uint32_t exception) in raise_exception() argument
64 do_raise_exception(env, exception, 0); in raise_exception()
131 const char *mips_exception_name(int32_t exception) in mips_exception_name() argument
133 if (exception < 0 || exception > EXCP_LAST) { in mips_exception_name()
136 return excp_names[exception]; in mips_exception_name()
139 void do_raise_exception_err(CPUMIPSState *env, uint32_t exception, in do_raise_exception_err() argument
145 __func__, exception, mips_exception_name(exception), in do_raise_exception_err()
[all …]
H A Dtcg-internal.h28 const char *mips_exception_name(int32_t exception);
30 G_NORETURN void do_raise_exception_err(CPUMIPSState *env, uint32_t exception,
35 uint32_t exception, in do_raise_exception() argument
38 do_raise_exception_err(env, exception, 0, pc); in do_raise_exception()
/qemu/target/openrisc/
H A Dinterrupt.c33 int exception = cs->exception_index; in openrisc_cpu_do_interrupt() local
39 if (exception == EXCP_ILLEGAL) { in openrisc_cpu_do_interrupt()
63 if (exception == EXCP_SYSCALL || exception == EXCP_FPE) { in openrisc_cpu_do_interrupt()
68 if (exception > 0 && exception < EXCP_NR) { in openrisc_cpu_do_interrupt()
88 int_name[exception]); in openrisc_cpu_do_interrupt()
90 hwaddr vect_pc = exception << 8; in openrisc_cpu_do_interrupt()
99 cpu_abort(cs, "Unhandled exception 0x%x\n", exception); in openrisc_cpu_do_interrupt()
H A Dmmu.c98 int exception) in raise_mmu_exception() argument
102 cs->exception_index = exception; in raise_mmu_exception()
/qemu/tests/tcg/s390x/
H A Dsignals-s390x.c44 enum exception { enum
54 enum exception exception; member
78 switch (expected.exception) { in handle_signal()
110 static void check_sigsegv(void *func, enum exception exception, in check_sigsegv() argument
118 prot = exception == exception_translation ? PROT_NONE : PROT_READ; in check_sigsegv()
121 if (exception == exception_translation) { in check_sigsegv()
131 expected.exception = exception; in check_sigsegv()
161 expected.exception = exception_operation; in main_1()
/qemu/target/ppc/
H A Duser_only_helper.c31 int exception, error_code; in ppc_cpu_record_sigsegv() local
41 exception = POWERPC_EXCP_ISI; in ppc_cpu_record_sigsegv()
44 exception = POWERPC_EXCP_DSI; in ppc_cpu_record_sigsegv()
52 cs->exception_index = exception; in ppc_cpu_record_sigsegv()
H A Dtrace-events29 kvm_handle_debug_exception(void) "handle debug exception"
30 kvm_handle_nmi_exception(void) "handle NMI exception"
33 ppc_excp_rfi(uint64_t nip, uint64_t msr) "Return from exception at 0x%" PRIx64 " with flags 0x%016"…
34 ppc_excp_dsi(uint64_t dsisr, uint64_t dar) "DSI exception: DSISR=0x%" PRIx64 " DAR=0x%" PRIx64
35 ppc_excp_isi(uint64_t msr, uint64_t nip) "ISI exception: msr=0x%016" PRIx64 " nip=0x%" PRIx64
36 ppc_excp_fp_ignore(void) "Ignore floating point exception"
38 ppc_excp_print(const char *excp) "%s exception"
/qemu/tests/qemu-iotests/tests/
H A Dmigration-permissions77 if 'Is another process using the image' not in ctx.exception.stdout:
78 raise ctx.exception
91 if 'Is another process using the image' not in ctx.exception.stdout:
92 raise ctx.exception
/qemu/target/xtensa/
H A Dwin_helper.c129 HELPER(exception)(env, EXC_WINDOW_OVERFLOW4); in HELPER() local
132 HELPER(exception)(env, EXC_WINDOW_OVERFLOW8); in HELPER() local
135 HELPER(exception)(env, EXC_WINDOW_OVERFLOW12); in HELPER()
178 HELPER(exception)(env, EXC_WINDOW_UNDERFLOW4); in HELPER() local
180 HELPER(exception)(env, EXC_WINDOW_UNDERFLOW8); in HELPER() local
182 HELPER(exception)(env, EXC_WINDOW_UNDERFLOW12); in HELPER() local
H A Dexc_helper.c37 void HELPER(exception)(CPUXtensaState *env, uint32_t excp) in HELPER() argument
68 HELPER(exception)(env, vector); in HELPER() local
95 HELPER(exception)(env, EXC_DEBUG); in HELPER() local
118 HELPER(exception)(env, EXCP_HLT); in HELPER() local
/qemu/target/arm/tcg/
H A Dtlb_helper.c188 (env->exception.syndrome & ARM_EL_VNCR); in arm_deliver_fault()
249 syn = merge_syn_data_abort(env->exception.syndrome, fi, target_el, in arm_deliver_fault()
260 env->exception.vaddress = addr; in arm_deliver_fault()
261 env->exception.fsr = fsr; in arm_deliver_fault()
287 env->exception.vaddress = pc; in helper_exception_pc_alignment()
293 env->exception.fsr = compute_fsr_fsc(env, &fi, target_el, mmu_idx, &fsc); in helper_exception_pc_alignment()
H A Dm-nocp.decode1 # M-profile UserFault.NOCP exception handling
23 # range of coprocessor-space encodings, with the exception of
30 # the NOCP exception; otherwise we let the insn through to the main decode.
/qemu/python/tests/
H A Dprotocol.py315 self.assertIsInstance(context.exception.exc, OSError)
317 context.exception.error_message,
391 context.exception.error_message,
394 self.assertEqual(context.exception.state, Runstate.CONNECTING)
395 self.assertEqual(context.exception.required, Runstate.IDLE)
513 self.assertEqual(context.exception.error_message, error_message)
514 self.assertEqual(context.exception.state, current_state)
515 self.assertEqual(context.exception.required, Runstate.IDLE)
/qemu/target/riscv/insn_trans/
H A Dtrans_rvzawrs.c.inc51 * should raise an exception when the implementation-specific bounded time
54 * exception, as handled by the wrs.nto helper.
60 /* We only get here when helper_wrs_nto() doesn't raise an exception. */
/qemu/docs/sphinx/
H A Ddepfile.py35 def write_depfile(app, exception): argument
36 if exception:
/qemu/linux-user/aarch64/
H A Dcpu_loop.c118 ec = syn_get_ec(env->exception.syndrome); in cpu_loop()
123 fsc = extract32(env->exception.syndrome, 0, 6); in cpu_loop()
153 force_sig_fault(si_signo, si_code, env->exception.vaddress); in cpu_loop()
/qemu/target/loongarch/
H A Dinternals.h24 uint32_t exception,
27 const char *loongarch_exception_name(int32_t exception);
/qemu/target/mips/tcg/sysemu/
H A Dtlb_helper.c513 exception = EXCP_AdES; in raise_mmu_exception()
515 exception = EXCP_AdEL; in raise_mmu_exception()
521 exception = EXCP_TLBS; in raise_mmu_exception()
523 exception = EXCP_TLBL; in raise_mmu_exception()
530 exception = EXCP_TLBS; in raise_mmu_exception()
532 exception = EXCP_TLBL; in raise_mmu_exception()
537 exception = EXCP_LTLBL; in raise_mmu_exception()
542 exception = EXCP_TLBXI; in raise_mmu_exception()
544 exception = EXCP_TLBL; in raise_mmu_exception()
550 exception = EXCP_TLBRI; in raise_mmu_exception()
[all …]
/qemu/docs/specs/
H A Dppc-xive.rst127 - hypervisor exception
128 - O/S exception
132 Each exception has a state independent from the others called a Thread
169 Register (NSR) is updated to notify the presence of an exception for
188 exception. Storage should be provided by the inheriting classes.
196 four sets of registers, one for each exception that can be delivered
/qemu/pc-bios/
H A Dpetalogix-s3adsp1800.dts61 xlnx,div-zero-exception = <0x00>;
62 xlnx,dopb-bus-exception = <0x00>;
66 xlnx,fpu-exception = <0x00>;
68 xlnx,fsl-exception = <0x00>;
76 xlnx,ill-opcode-exception = <0x00>;
80 xlnx,iopb-bus-exception = <0x00>;
/qemu/linux-headers/LICENSES/exceptions/
H A DLinux-syscall-note5 This exception is used together with one of the above SPDX-Licenses
8 To use this exception add it with the keyword WITH to one of the
/qemu/bsd-user/arm/
H A Dtarget_arch_cpu.h157 switch (env->exception.fsr & 0x1f) { in target_cpu_loop()
179 force_sig_fault(si_signo, si_code, env->exception.vaddress); in target_cpu_loop()
/qemu/target/loongarch/tcg/
H A Dop_helper.c21 void helper_raise_exception(CPULoongArchState *env, uint32_t exception) in helper_raise_exception() argument
23 do_raise_exception(env, exception, GETPC()); in helper_raise_exception()
/qemu/target/arm/
H A Dkvm.c1103 events.exception.serror_pending = env->serror.pending; in kvm_put_vcpu_events()
1110 events.exception.serror_esr = env->serror.esr; in kvm_put_vcpu_events()
1146 env->serror.pending = events.exception.serror_pending; in kvm_get_vcpu_events()
1147 env->serror.has_esr = events.exception.serror_has_esr; in kvm_get_vcpu_events()
1148 env->serror.esr = events.exception.serror_esr; in kvm_get_vcpu_events()
1331 events.exception.ext_dabt_pending = 1; in kvm_arm_handle_dabt_nisv()
1413 env->exception.syndrome = debug_exit->hsr; in kvm_arm_handle_debug()
1414 env->exception.vaddress = debug_exit->far; in kvm_arm_handle_debug()
1415 env->exception.target_el = 1; in kvm_arm_handle_debug()
1964 env->exception.target_el = 1; in kvm_inject_arm_sea()
[all …]
/qemu/target/microblaze/
H A Dop_helper.c36 int exception = ctrl & STREAM_EXCEPTION; in helper_put() local
42 exception ? "e" : "", in helper_put()
53 int exception = ctrl & STREAM_EXCEPTION; in helper_get() local
59 exception ? "e" : "", in helper_get()

12345