Lines Matching refs:cpu_user_regs
63 BUILD_BUG_ON((sizeof (struct cpu_user_regs)) & 0xf); in check_stack_alignment_constraints()
64 BUILD_BUG_ON((offsetof(struct cpu_user_regs, spsr_el1)) & 0xf); in check_stack_alignment_constraints()
65 BUILD_BUG_ON((offsetof(struct cpu_user_regs, lr)) & 0xf); in check_stack_alignment_constraints()
68 BUILD_BUG_ON((sizeof (struct cpu_user_regs)) & 0x7); in check_stack_alignment_constraints()
69 BUILD_BUG_ON((offsetof(struct cpu_user_regs, sp_usr)) & 0x7); in check_stack_alignment_constraints()
235 static register_t *select_user_reg(struct cpu_user_regs *regs, int reg) in select_user_reg()
245 #define REGOFFS(R) offsetof(struct cpu_user_regs, R) in select_user_reg()
302 register_t get_user_reg(struct cpu_user_regs *regs, int reg) in get_user_reg()
310 void set_user_reg(struct cpu_user_regs *regs, int reg, register_t value) in set_user_reg()
405 static void cpsr_switch_mode(struct cpu_user_regs *regs, int mode) in cpsr_switch_mode()
436 static void inject_undef32_exception(struct cpu_user_regs *regs) in inject_undef32_exception()
461 static void inject_abt32_exception(struct cpu_user_regs *regs, in inject_abt32_exception()
518 static void inject_dabt32_exception(struct cpu_user_regs *regs, in inject_dabt32_exception()
524 static void inject_pabt32_exception(struct cpu_user_regs *regs, in inject_pabt32_exception()
535 static vaddr_t exception_handler64(struct cpu_user_regs *regs, vaddr_t offset) in exception_handler64()
550 void inject_undef64_exception(struct cpu_user_regs *regs, int instr_len) in inject_undef64_exception()
574 static void inject_abt64_exception(struct cpu_user_regs *regs, in inject_abt64_exception()
607 static void inject_dabt64_exception(struct cpu_user_regs *regs, in inject_dabt64_exception()
614 static void inject_iabt64_exception(struct cpu_user_regs *regs, in inject_iabt64_exception()
623 void inject_undef_exception(struct cpu_user_regs *regs, const union hsr hsr) in inject_undef_exception()
633 static void inject_iabt_exception(struct cpu_user_regs *regs, in inject_iabt_exception()
645 static void inject_dabt_exception(struct cpu_user_regs *regs, in inject_dabt_exception()
658 static void inject_vabt_exception(struct cpu_user_regs *regs) in inject_vabt_exception()
699 static void __do_trap_serror(struct cpu_user_regs *regs, bool guest) in __do_trap_serror()
789 static void show_registers_32(struct cpu_user_regs *regs, in show_registers_32()
866 static void show_registers_64(struct cpu_user_regs *regs, in show_registers_64()
927 static void _show_registers(struct cpu_user_regs *regs, in _show_registers()
983 void show_registers(struct cpu_user_regs *regs) in show_registers()
1029 static void show_guest_stack(struct vcpu *v, struct cpu_user_regs *regs) in show_guest_stack()
1163 static void show_trace(struct cpu_user_regs *regs) in show_trace()
1198 void show_stack(struct cpu_user_regs *regs) in show_stack()
1225 void show_execution_state(struct cpu_user_regs *regs) in show_execution_state()
1251 void do_unexpected_trap(const char *msg, struct cpu_user_regs *regs) in do_unexpected_trap()
1258 int do_bug_frame(struct cpu_user_regs *regs, vaddr_t pc) in do_bug_frame()
1336 static void do_trap_brk(struct cpu_user_regs *regs, const union hsr hsr) in do_trap_brk()
1362 struct cpu_user_regs *regs = guest_cpu_user_regs(); in do_deprecated_hypercall()
1428 static void do_debug_trap(struct cpu_user_regs *regs, unsigned int code) in do_debug_trap()
1473 static void do_trap_hypercall(struct cpu_user_regs *regs, register_t *nr, in do_trap_hypercall()
1599 int check_conditional_instr(struct cpu_user_regs *regs, const union hsr hsr) in check_conditional_instr()
1661 void advance_pc(struct cpu_user_regs *regs, const union hsr hsr) in advance_pc()
1702 void handle_raz_wi(struct cpu_user_regs *regs, in handle_raz_wi()
1721 void handle_wo_wi(struct cpu_user_regs *regs, in handle_wo_wi()
1740 void handle_ro_raz(struct cpu_user_regs *regs, in handle_ro_raz()
1865 static void do_trap_instr_abort_guest(struct cpu_user_regs *regs, in do_trap_instr_abort_guest()
1938 static bool try_handle_mmio(struct cpu_user_regs *regs, in try_handle_mmio()
1999 static void do_trap_data_abort_guest(struct cpu_user_regs *regs, in do_trap_data_abort_guest()
2085 static void enter_hypervisor_head(struct cpu_user_regs *regs) in enter_hypervisor_head()
2102 void do_trap_guest_sync(struct cpu_user_regs *regs) in do_trap_guest_sync()
2230 void do_trap_hyp_sync(struct cpu_user_regs *regs) in do_trap_hyp_sync()
2270 void do_trap_hyp_serror(struct cpu_user_regs *regs) in do_trap_hyp_serror()
2277 void do_trap_guest_serror(struct cpu_user_regs *regs) in do_trap_guest_serror()
2284 void do_trap_irq(struct cpu_user_regs *regs) in do_trap_irq()
2290 void do_trap_fiq(struct cpu_user_regs *regs) in do_trap_fiq()