Home
last modified time | relevance | path

Searched refs:exc (Results 1 – 25 of 29) sorted by relevance

12

/qemu/target/alpha/
H A Dfpu_helper.c47 if (unlikely(exc)) { in soft_to_fpcr_exc()
78 if (exc) { in helper_fp_exc_raise()
79 env->fpcr |= exc; in helper_fp_exc_raise()
80 exc &= ~ignore; in helper_fp_exc_raise()
81 if (exc) { in helper_fp_exc_raise()
91 if (exc) { in helper_fp_exc_raise_s()
92 env->fpcr |= exc; in helper_fp_exc_raise_s()
101 if (!exc) { in helper_fp_exc_raise_s()
458 uint32_t exc; in do_cvttq() local
464 if (unlikely(exc)) { in do_cvttq()
[all …]
H A Dhelper.c539 int exc, uint64_t mask) in arith_excp() argument
541 env->trap_arg0 = exc; in arith_excp()
/qemu/python/scripts/
H A Dmkvenv.py394 except SystemExit as exc:
399 raise exc.__cause__ or exc.__context__ or exc
401 except subprocess.CalledProcessError as exc:
403 logger.error("cmd: %s", exc.cmd)
412 if exc.stdout:
414 lines.append(_stringify(exc.stdout))
416 if exc.stderr:
418 lines.append(_stringify(exc.stderr))
824 except KeyError as exc:
975 except Ouch as exc:
[all …]
/qemu/python/qemu/qmp/
H A Dutil.py176 def exception_summary(exc: BaseException) -> str:
183 name = type(exc).__qualname__
184 smod = type(exc).__module__
188 error = str(exc)
H A Dprotocol.py82 def __init__(self, error_message: str, exc: Exception):
87 self.exc: Exception = exc
90 cause = str(self.exc)
93 cause = exception_summary(self.exc)
H A Dqmp_client.py43 def __init__(self, error_message: str, exc: Exception):
45 self.exc = exc
H A Dqmp_shell.py554 if isinstance(err.exc, OSError):
607 if isinstance(err.exc, OSError):
/qemu/tests/qemu-iotests/
H A D29776 except subprocess.CalledProcessError as exc:
78 if exc.output:
79 print(exc.output)
H A D149270 except subprocess.CalledProcessError as exc:
271 check_cipher_support(config, exc.output)
H A Diotests.py294 except subprocess.CalledProcessError as exc:
296 if exc.returncode < 0:
304 return json.loads(exc.stdout)
557 except subprocess.CalledProcessError as exc:
558 if exc.returncode == 1:
H A D245220 except CalledProcessError as exc:
221 if 'O_DIRECT' in exc.stdout:
/qemu/tests/tcg/multiarch/gdbstub/
H A Dtest-proc-mappings.py13 except gdb.error as exc:
14 exc_str = str(exc)
H A Dcatch-syscalls.py23 except gdb.error as exc:
24 exc_str = str(exc)
/qemu/tests/qemu-iotests/tests/
H A Dimage-fleecing192 except CalledProcessError as exc:
194 log(exc.stdout)
238 except CalledProcessError as exc:
240 log(exc.stdout)
H A Dmirror-top-perms104 except machine.VMLaunchFailure as exc:
105 assert 'Is another process using the image' in exc.output
/qemu/target/arm/tcg/
H A Dtlb_helper.c179 uint32_t syn, exc, fsr, fsc; in arm_deliver_fault() local
223 exc = EXCP_GPC; in arm_deliver_fault()
247 exc = EXCP_PREFETCH_ABORT; in arm_deliver_fault()
256 exc = EXCP_DATA_ABORT; in arm_deliver_fault()
262 raise_exception(env, exc, syn, target_el); in arm_deliver_fault()
H A Dm_helper.c222 int exc; in v7m_stack_write() local
241 exc = ARMV7M_EXCP_SECURE; in v7m_stack_write()
253 exc = ARMV7M_EXCP_MEM; in v7m_stack_write()
269 exc = ARMV7M_EXCP_BUS; in v7m_stack_write()
310 int exc; in v7m_stack_read() local
321 exc = ARMV7M_EXCP_SECURE; in v7m_stack_read()
327 exc = ARMV7M_EXCP_MEM; in v7m_stack_read()
339 exc = ARMV7M_EXCP_BUS; in v7m_stack_read()
355 armv7m_nvic_set_pending(env->nvic, exc, exc_secure); in v7m_stack_read()
662 uint32_t addr = env->v7m.vecbase[targets_secure] + exc * 4; in arm_v7m_load_vector()
[all …]
/qemu/scripts/
H A Ddevice-crash-test41 except ModuleNotFoundError as exc:
367 exc = None
372 exc = this_exc
380 if exc is not None or ec != 0:
381 return {'exc': exc,
H A Dcompare-machine-types.py40 except ModuleNotFoundError as exc:
/qemu/python/qemu/machine/
H A Dmachine.py448 except BaseException as exc:
459 if isinstance(exc, Exception):
464 ) from exc
611 except Exception as exc:
612 if isinstance(exc, subprocess.TimeoutExpired):
618 from exc
/qemu/target/s390x/tcg/
H A Dmem_helper.c182 int size1, size2, exc; in access_prepare_nf() local
197 if (unlikely(exc)) { in access_prepare_nf()
198 return exc; in access_prepare_nf()
207 if (unlikely(exc)) { in access_prepare_nf()
208 return exc; in access_prepare_nf()
221 assert(!exc); in access_prepare()
903 int exc; in HELPER() local
917 if (exc) { in HELPER()
925 if (exc) { in HELPER()
2369 int flags, exc, cc; in HELPER() local
[all …]
H A Dfpu_helper.c46 uint8_t s390_softfloat_exc_to_ieee(unsigned int exc) in s390_softfloat_exc_to_ieee() argument
50 s390_exc |= (exc & float_flag_invalid) ? S390_IEEE_MASK_INVALID : 0; in s390_softfloat_exc_to_ieee()
51 s390_exc |= (exc & float_flag_divbyzero) ? S390_IEEE_MASK_DIVBYZERO : 0; in s390_softfloat_exc_to_ieee()
52 s390_exc |= (exc & float_flag_overflow) ? S390_IEEE_MASK_OVERFLOW : 0; in s390_softfloat_exc_to_ieee()
53 s390_exc |= (exc & float_flag_underflow) ? S390_IEEE_MASK_UNDERFLOW : 0; in s390_softfloat_exc_to_ieee()
54 s390_exc |= (exc & (float_flag_inexact | float_flag_invalid_cvti)) ? in s390_softfloat_exc_to_ieee()
/qemu/hw/intc/
H A Darmv7m_nvic.c149 static bool exc_is_banked(int exc) in exc_is_banked() argument
155 exc == ARMV7M_EXCP_MEM || in exc_is_banked()
156 exc == ARMV7M_EXCP_USAGE || in exc_is_banked()
157 exc == ARMV7M_EXCP_SVC || in exc_is_banked()
158 exc == ARMV7M_EXCP_PENDSV || in exc_is_banked()
159 exc == ARMV7M_EXCP_SYSTICK; in exc_is_banked()
178 if (exc >= NVIC_FIRST_IRQ) { in exc_targets_secure()
179 return !s->itns[exc]; in exc_targets_secure()
183 assert(!exc_is_banked(exc)); in exc_targets_secure()
185 switch (exc) { in exc_targets_secure()
[all …]
/qemu/python/qemu/utils/
H A Dqemu_ga_client.py292 if isinstance(err.exc, ConnectionError):
/qemu/target/s390x/
H A Ds390x-internal.h300 uint8_t s390_softfloat_exc_to_ieee(unsigned int exc);

12