/xen/xen/arch/arm/ |
A D | vsmc.c | 37 static bool fill_uid(struct cpu_user_regs *regs, xen_uuid_t uuid) in fill_uid() 62 static bool fill_revision(struct cpu_user_regs *regs, uint32_t major, in fill_revision() 77 static bool fill_function_call_count(struct cpu_user_regs *regs, uint32_t cnt) in fill_function_call_count() 89 static bool handle_arch(struct cpu_user_regs *regs) in handle_arch() 162 static bool handle_hypervisor(struct cpu_user_regs *regs) in handle_hypervisor() 181 static bool handle_existing_apis(struct cpu_user_regs *regs) in handle_existing_apis() 190 static bool handle_sssc(struct cpu_user_regs *regs) in handle_sssc() 219 static bool vsmccc_handle_call(struct cpu_user_regs *regs) in vsmccc_handle_call() 298 void do_trap_smc(struct cpu_user_regs *regs, const union hsr hsr) in do_trap_smc() 328 void do_trap_hvc_smccc(struct cpu_user_regs *regs) in do_trap_hvc_smccc()
|
A D | traps.c | 933 void show_registers(const struct cpu_user_regs *regs) in show_registers() 1148 void show_stack(const struct cpu_user_regs *regs) in show_stack() 1674 void handle_raz_wi(struct cpu_user_regs *regs, in handle_raz_wi() 1693 void handle_wo_wi(struct cpu_user_regs *regs, in handle_wo_wi() 1712 void handle_ro_read_val(struct cpu_user_regs *regs, in handle_ro_read_val() 1733 inline void handle_ro_raz(struct cpu_user_regs *regs, in handle_ro_raz() 2046 void do_trap_guest_sync(struct cpu_user_regs *regs) in do_trap_guest_sync() 2179 void do_trap_hyp_sync(struct cpu_user_regs *regs) in do_trap_hyp_sync() 2217 void do_trap_hyp_serror(struct cpu_user_regs *regs) in do_trap_hyp_serror() 2227 void do_trap_irq(struct cpu_user_regs *regs) in do_trap_irq() [all …]
|
A D | vtimer.c | 38 #define ACCESS_ALLOWED(regs, user_gate) \ argument 165 static bool vtimer_cntp_ctl(struct cpu_user_regs *regs, uint32_t *r, bool read) in vtimer_cntp_ctl() 200 static bool vtimer_cntp_tval(struct cpu_user_regs *regs, uint32_t *r, in vtimer_cntp_tval() 234 static bool vtimer_cntp_cval(struct cpu_user_regs *regs, uint64_t *r, in vtimer_cntp_cval() 265 static bool vtimer_emulate_cp32(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate_cp32() 287 static bool vtimer_emulate_cp64(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate_cp64() 307 static bool vtimer_emulate_sysreg(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate_sysreg() 332 bool vtimer_emulate(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate()
|
A D | vcpreg.c | 331 void do_cp15_64(struct cpu_user_regs *regs, const union hsr hsr) in do_cp15_64() 401 void do_cp14_32(struct cpu_user_regs *regs, const union hsr hsr) in do_cp14_32() 532 void do_cp14_64(struct cpu_user_regs *regs, const union hsr hsr) in do_cp14_64() 570 void do_cp14_dbg(struct cpu_user_regs *regs, const union hsr hsr) in do_cp14_dbg() 602 void do_cp(struct cpu_user_regs *regs, const union hsr hsr) in do_cp()
|
A D | vm_event.c | 26 const struct cpu_user_regs *regs = guest_cpu_user_regs(); in vm_event_fill_regs() local 37 struct cpu_user_regs *regs = &v->arch.cpu_info->guest_cpu_user_regs; in vm_event_set_registers() local
|
/xen/xen/arch/arm/arm32/ |
A D | traps.c | 27 void do_trap_reset(struct cpu_user_regs *regs) in do_trap_reset() 32 void do_trap_undefined_instruction(struct cpu_user_regs *regs) in do_trap_undefined_instruction() 59 void do_trap_hypervisor_call(struct cpu_user_regs *regs) in do_trap_hypervisor_call() 64 void do_trap_prefetch_abort(struct cpu_user_regs *regs) in do_trap_prefetch_abort() 69 void do_trap_data_abort(struct cpu_user_regs *regs) in do_trap_data_abort()
|
A D | domain.c | 28 struct vcpu_guest_core_regs *regs) in vcpu_regs_hyp_to_user() 36 const struct vcpu_guest_core_regs *regs) in vcpu_regs_user_to_hyp()
|
/xen/xen/arch/x86/ |
A D | traps.c | 165 void show_code(const struct cpu_user_regs *regs) in show_code() 497 static void show_trace(const struct cpu_user_regs *regs) in show_trace() 546 void show_stack(const struct cpu_user_regs *regs) in show_stack() 852 static void do_trap(struct cpu_user_regs *regs) in do_trap() 1077 void do_invalid_op(struct cpu_user_regs *regs) in do_invalid_op() 1191 void do_int3(struct cpu_user_regs *regs) in do_int3() 1474 void do_page_fault(struct cpu_user_regs *regs) in do_page_fault() 1579 void do_general_protection(struct cpu_user_regs *regs) in do_general_protection() 1745 void do_nmi(const struct cpu_user_regs *regs) in do_nmi() 1838 void do_debug(struct cpu_user_regs *regs) in do_debug() [all …]
|
A D | gdbstub.c | 24 gdb_arch_signal_num(struct cpu_user_regs *regs, unsigned long cookie) in gdb_arch_signal_num() 46 gdb_arch_print_state(struct cpu_user_regs *regs) in gdb_arch_print_state() 52 gdb_arch_enter(struct cpu_user_regs *regs) in gdb_arch_enter() 58 gdb_arch_exit(struct cpu_user_regs *regs) in gdb_arch_exit() 64 gdb_arch_resume(struct cpu_user_regs *regs, in gdb_arch_resume()
|
A D | hypercall.c | 120 struct cpu_user_regs *regs = guest_cpu_user_regs(); in hypercall_create_continuation() local 174 struct cpu_user_regs *regs = &v->arch.user_regs; in arch_hypercall_tasklet_result() local 184 struct cpu_user_regs *regs; in hypercall_xlat_continuation() local
|
/xen/xen/include/asm-x86/ |
A D | debugger.h | 43 unsigned int vector, struct cpu_user_regs *regs) in debugger_trap_fatal() 53 unsigned int vector, struct cpu_user_regs *regs) in debugger_trap_entry() 80 unsigned int vector, struct cpu_user_regs *regs) in debugger_trap_fatal() 88 unsigned int vector, struct cpu_user_regs *regs) in debugger_trap_entry()
|
/xen/xen/arch/x86/x86_64/ |
A D | gdbstub.c | 26 gdb_arch_read_reg_array(struct cpu_user_regs *regs, struct gdb_context *ctx) in gdb_arch_read_reg_array() 60 gdb_arch_write_reg_array(struct cpu_user_regs *regs, const char* buf, in gdb_arch_write_reg_array() 67 gdb_arch_read_reg(unsigned long regnum, struct cpu_user_regs *regs, in gdb_arch_read_reg() 107 struct cpu_user_regs *regs, struct gdb_context *ctx) in gdb_arch_write_reg()
|
A D | traps.c | 40 static void read_registers(struct cpu_user_regs *regs, unsigned long crs[8]) in read_registers() 56 const struct cpu_user_regs *regs, unsigned long crs[8], in _show_registers() 96 void show_registers(const struct cpu_user_regs *regs) in show_registers() 164 const struct cpu_user_regs *regs = &v->arch.user_regs; in vcpu_show_registers() local 247 void do_double_fault(struct cpu_user_regs *regs) in do_double_fault()
|
/xen/xen/include/asm-x86/pv/ |
A D | traps.h | 50 static inline int pv_emulate_privileged_op(struct cpu_user_regs *regs) { return 0; } in pv_emulate_privileged_op() 51 static inline void pv_emulate_gate_op(struct cpu_user_regs *regs) {} in pv_emulate_gate_op() 52 static inline bool pv_emulate_invalid_op(struct cpu_user_regs *regs) { return true; } in pv_emulate_invalid_op()
|
/xen/xen/arch/x86/pv/ |
A D | emul-inv-op.c | 26 static int emulate_forced_invalid_op(struct cpu_user_regs *regs) in emulate_forced_invalid_op() 79 bool pv_emulate_invalid_op(struct cpu_user_regs *regs) in pv_emulate_invalid_op()
|
A D | iret.c | 53 struct cpu_user_regs *regs = guest_cpu_user_regs(); in do_iret() local 109 struct cpu_user_regs *regs = guest_cpu_user_regs(); in compat_iret() local
|
/xen/xen/include/asm-arm/ |
A D | event.h | 13 struct cpu_user_regs *regs = &v->arch.cpu_info->guest_cpu_user_regs; in vcpu_event_delivery_is_enabled() local 45 struct cpu_user_regs *regs = guest_cpu_user_regs(); in local_event_delivery_enable() local
|
A D | vreg.h | 12 static inline bool vreg_emulate_cp32(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_cp32() 35 static inline bool vreg_emulate_cp64(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_cp64() 67 static inline bool vreg_emulate_sysreg32(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_sysreg32() 85 static inline bool vreg_emulate_sysreg64(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_sysreg64()
|
/xen/xen/common/ |
A D | keyhandler.c | 81 void handle_keypress(unsigned char key, struct cpu_user_regs *regs) in handle_keypress() 138 void dump_execstate(struct cpu_user_regs *regs) in dump_execstate() 171 static void dump_registers(unsigned char key, struct cpu_user_regs *regs) in dump_registers() 244 static void reboot_machine(unsigned char key, struct cpu_user_regs *regs) in reboot_machine() 459 static void run_all_keyhandlers(unsigned char key, struct cpu_user_regs *regs) in run_all_keyhandlers() 484 static void do_debug_key(unsigned char key, struct cpu_user_regs *regs) in do_debug_key() 493 static void do_toggle_alt_key(unsigned char key, struct cpu_user_regs *regs) in do_toggle_alt_key()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | nestedsvm.c | 680 nsvm_vcpu_vmentry(struct vcpu *v, struct cpu_user_regs *regs, in nsvm_vcpu_vmentry() 738 nsvm_vcpu_vmrun(struct vcpu *v, struct cpu_user_regs *regs) in nsvm_vcpu_vmrun() 789 nsvm_vcpu_vmexit_inject(struct vcpu *v, struct cpu_user_regs *regs, in nsvm_vcpu_vmexit_inject() 932 struct cpu_user_regs *regs, uint64_t exitcode) in nsvm_vmcb_guest_intercepts_exitcode() 1022 nsvm_vmcb_prepare4vmexit(struct vcpu *v, struct cpu_user_regs *regs) in nsvm_vmcb_prepare4vmexit() 1347 nestedsvm_check_intercepts(struct vcpu *v, struct cpu_user_regs *regs, in nestedsvm_check_intercepts() 1417 nestedsvm_vmexit_n2n1(struct vcpu *v, struct cpu_user_regs *regs) in nestedsvm_vmexit_n2n1() 1441 nestedsvm_vcpu_vmexit(struct vcpu *v, struct cpu_user_regs *regs, in nestedsvm_vcpu_vmexit() 1496 void nsvm_vcpu_switch(struct cpu_user_regs *regs) in nsvm_vcpu_switch() 1601 void svm_vmexit_do_stgi(struct cpu_user_regs *regs, struct vcpu *v) in svm_vmexit_do_stgi() [all …]
|
A D | svm.c | 1039 void svm_vmenter_helper(const struct cpu_user_regs *regs) in svm_vmenter_helper() 1305 struct cpu_user_regs *regs = guest_cpu_user_regs(); in svm_inject_event() local 1764 struct vmcb_struct *vmcb, struct cpu_user_regs *regs) in svm_vmexit_do_cr_access() 2122 static void svm_do_msr_access(struct cpu_user_regs *regs) in svm_do_msr_access() 2150 struct cpu_user_regs *regs) in svm_vmexit_do_hlt() 2202 svm_vmexit_do_vmrun(struct cpu_user_regs *regs, in svm_vmexit_do_vmrun() 2250 struct cpu_user_regs *regs, in svm_vmexit_do_vmload() 2285 struct cpu_user_regs *regs, in svm_vmexit_do_vmsave() 2314 static int svm_is_erratum_383(struct cpu_user_regs *regs) in svm_is_erratum_383() 2344 struct vcpu *v, struct cpu_user_regs *regs) in svm_vmexit_mce_intercept() [all …]
|
/xen/xen/arch/arm/arm64/ |
A D | domain.c | 27 struct vcpu_guest_core_regs *regs) in vcpu_regs_hyp_to_user() 43 const struct vcpu_guest_core_regs *regs) in vcpu_regs_user_to_hyp()
|
/xen/xen/arch/x86/oprofile/ |
A D | backtrace.c | 130 const struct cpu_user_regs *regs) in valid_hypervisor_stack() 141 const struct cpu_user_regs *regs) in valid_hypervisor_stack() 147 void xenoprof_backtrace(struct vcpu *vcpu, const struct cpu_user_regs *regs, in xenoprof_backtrace()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vvmx.c | 370 static unsigned long reg_read(struct cpu_user_regs *regs, in reg_read() 376 static void reg_write(struct cpu_user_regs *regs, in reg_write() 403 static int decode_vmx_inst(struct cpu_user_regs *regs, in decode_vmx_inst() 479 static void vmsucceed(struct cpu_user_regs *regs) in vmsucceed() 495 static void vmfail_invalid(struct cpu_user_regs *regs) in vmfail_invalid() 1201 static void virtual_vmentry(struct cpu_user_regs *regs) in virtual_vmentry() 1429 static void virtual_vmexit(struct cpu_user_regs *regs) in virtual_vmexit() 1507 struct cpu_user_regs *regs = guest_cpu_user_regs(); in nvmx_switch_guest() local 1540 static int nvmx_handle_vmxon(struct cpu_user_regs *regs) in nvmx_handle_vmxon() 1592 static int nvmx_handle_vmxoff(struct cpu_user_regs *regs) in nvmx_handle_vmxoff() [all …]
|
/xen/xen/arch/arm/tee/ |
A D | optee.c | 923 static bool copy_std_request(struct cpu_user_regs *regs, in copy_std_request() 973 struct cpu_user_regs *regs, in copy_std_request_back() 1063 struct cpu_user_regs *regs, in handle_rpc_return() 1174 struct cpu_user_regs *regs, in do_call_with_arg() 1244 struct cpu_user_regs *regs) in handle_std_call() 1324 struct cpu_user_regs *regs, in issue_rpc_cmd_free() 1377 struct cpu_user_regs *regs, in handle_xen_rpc_return() 1411 struct cpu_user_regs *regs, in handle_rpc_cmd_alloc() 1535 struct cpu_user_regs *regs, in handle_rpc_func_alloc() 1621 static void handle_exchange_capabilities(struct cpu_user_regs *regs) in handle_exchange_capabilities() [all …]
|