Lines Matching defs:esr

61     uint32_t esr, uint64_t far) {
66 context.esr = esr;
79 zx_excp_type_t type, struct arm64_iframe_long* iframe, uint32_t esr) {
80 return try_dispatch_user_data_fault_exception(type, iframe, esr, 0);
83 __NO_RETURN static void exception_die(struct arm64_iframe_long* iframe, uint32_t esr) {
86 uint32_t ec = BITS_SHIFT(esr, 31, 26);
87 uint32_t il = BIT(esr, 25);
88 uint32_t iss = BITS(esr, 24, 0);
91 printf("ESR 0x%x: ec 0x%x, il 0x%x, iss 0x%x\n", esr, ec, il, iss);
99 uint32_t esr) {
104 exception_die(iframe, esr);
106 try_dispatch_user_exception(ZX_EXCP_UNDEFINED_INSTRUCTION, iframe, esr);
110 uint32_t esr) {
114 exception_die(iframe, esr);
116 try_dispatch_user_exception(ZX_EXCP_SW_BREAKPOINT, iframe, esr);
120 uint32_t esr) {
124 exception_die(iframe, esr);
126 try_dispatch_user_exception(ZX_EXCP_HW_BREAKPOINT, iframe, esr);
130 uint32_t esr) {
135 exception_die(iframe, esr);
141 uint32_t esr) {
144 uint32_t ec = BITS_SHIFT(esr, 31, 26);
145 uint32_t iss = BITS(esr, 24, 0);
156 ", is_user %d, FAR %" PRIx64 ", esr 0x%x, iss 0x%x\n",
157 iframe->elr, is_user, far, esr, iss);
171 if (try_dispatch_user_data_fault_exception(ZX_EXCP_FATAL_PAGE_FAULT, iframe, esr, far) == ZX_OK)
177 exception_die(iframe, esr);
181 uint32_t esr) {
184 uint32_t ec = BITS_SHIFT(esr, 31, 26);
185 uint32_t iss = BITS(esr, 24, 0);
200 ", is_user %d, FAR %#" PRIx64 ", esr 0x%x, iss 0x%x\n",
201 iframe->elr, is_user, far, esr, iss);
230 if (try_dispatch_user_data_fault_exception(excp_type, iframe, esr, far) == ZX_OK)
245 exception_die(iframe, esr);
254 struct arm64_iframe_long* iframe, uint exception_flags, uint32_t esr) {
255 uint32_t ec = BITS_SHIFT(esr, 31, 26);
265 arm64_unknown_handler(iframe, exception_flags, esr);
270 arm64_brk_handler(iframe, exception_flags, esr);
274 arm64_fpu_handler(iframe, exception_flags, esr);
279 exception_die(iframe, esr);
283 arm64_instruction_abort_handler(iframe, exception_flags, esr);
287 arm64_data_abort_handler(iframe, exception_flags, esr);
291 arm64_step_handler(iframe, exception_flags, esr);
298 exception_die(iframe, esr);
302 if (try_dispatch_user_exception(ZX_EXCP_GENERAL, iframe, esr) == ZX_OK)
305 exception_die(iframe, esr);
403 uint32_t ec = BITS_SHIFT(context->esr, 31, 26);
404 uint32_t iss = BITS(context->esr, 24, 0);
412 BITS(context->esr, 5, 0),
440 zx_context->arch.u.arm_64.esr = arch_context->esr;