Lines Matching refs:context

63     arch_exception_context_t context = {};  in try_dispatch_user_data_fault_exception()  local
65 context.frame = iframe; in try_dispatch_user_data_fault_exception()
66 context.esr = esr; in try_dispatch_user_data_fault_exception()
67 context.far = far; in try_dispatch_user_data_fault_exception()
72 zx_status_t status = dispatch_user_exception(type, &context); in try_dispatch_user_data_fault_exception()
424 void arch_dump_exception_context(const arch_exception_context_t* context) { in arch_dump_exception_context() argument
425 uint32_t ec = BITS_SHIFT(context->esr, 31, 26); in arch_dump_exception_context()
426 uint32_t iss = BITS(context->esr, 24, 0); in arch_dump_exception_context()
433 context->frame->elr, context->far, in arch_dump_exception_context()
434 BITS(context->esr, 5, 0), in arch_dump_exception_context()
442 context->frame->elr, context->far, in arch_dump_exception_context()
447 dump_iframe(context->frame); in arch_dump_exception_context()
450 if (is_user_address(context->frame->usp)) { in arch_dump_exception_context()
452 if (arch_copy_from_user(buf, (void*)context->frame->usp, sizeof(buf)) == ZX_OK) { in arch_dump_exception_context()
453 printf("bottom of user stack at 0x%lx:\n", (vaddr_t)context->frame->usp); in arch_dump_exception_context()
454 hexdump_ex(buf, sizeof(buf), context->frame->usp); in arch_dump_exception_context()
460 zx_exception_context_t* zx_context = &report->context; in arch_fill_in_exception_context()
474 arch_exception_context_t context = {}; in arch_dispatch_user_policy_exception() local
475 context.frame = &frame; in arch_dispatch_user_policy_exception()
476 return dispatch_user_exception(ZX_EXCP_POLICY_ERROR, &context); in arch_dispatch_user_policy_exception()