/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | vcpreg.c | 27 void do_cp15_32(struct cpu_user_regs *regs, const union hsr hsr) in do_cp15_32() argument 35 advance_pc(regs, hsr); in do_cp15_32() 159 advance_pc(regs, hsr); in do_cp15_32() 162 void do_cp15_64(struct cpu_user_regs *regs, const union hsr hsr) in do_cp15_64() argument 166 advance_pc(regs, hsr); in do_cp15_64() 226 advance_pc(regs, hsr); in do_cp15_64() 229 void do_cp14_32(struct cpu_user_regs *regs, const union hsr hsr) in do_cp14_32() argument 357 advance_pc(regs, hsr); in do_cp14_32() 360 void do_cp14_64(struct cpu_user_regs *regs, const union hsr hsr) in do_cp14_64() argument 398 void do_cp14_dbg(struct cpu_user_regs *regs, const union hsr hsr) in do_cp14_dbg() argument [all …]
|
A D | vtimer.c | 254 static bool vtimer_emulate_cp32(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate_cp32() argument 256 struct hsr_cp32 cp32 = hsr.cp32; in vtimer_emulate_cp32() 263 switch ( hsr.bits & HSR_CP32_REGS_MASK ) in vtimer_emulate_cp32() 276 static bool vtimer_emulate_cp64(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate_cp64() argument 278 struct hsr_cp64 cp64 = hsr.cp64; in vtimer_emulate_cp64() 285 switch ( hsr.bits & HSR_CP64_REGS_MASK ) in vtimer_emulate_cp64() 296 static bool vtimer_emulate_sysreg(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate_sysreg() argument 298 struct hsr_sysreg sysreg = hsr.sysreg; in vtimer_emulate_sysreg() 305 switch ( hsr.bits & HSR_SYSREG_REGS_MASK ) in vtimer_emulate_sysreg() 321 bool vtimer_emulate(struct cpu_user_regs *regs, union hsr hsr) in vtimer_emulate() argument [all …]
|
A D | traps.c | 660 const union hsr hsr = { .bits = regs->hsr }; in inject_vabt_exception() local 1622 (hsr.ec >= 0x10 && hsr.ec != HSR_EC_SMC32) ) in check_conditional_instr() 1626 cond = hsr.cond.ccvalid ? hsr.cond.cc : -1; in check_conditional_instr() 1705 const union hsr hsr, in handle_raz_wi() argument 1724 const union hsr hsr, in handle_wo_wi() argument 1743 const union hsr hsr, in handle_ro_raz() argument 2104 const union hsr hsr = { .bits = regs->hsr }; in do_trap_guest_sync() local 2225 hsr.bits, hsr.ec, hsr.len, hsr.iss); in do_trap_guest_sync() 2232 const union hsr hsr = { .bits = regs->hsr }; in do_trap_hyp_sync() local 2254 if ( hsr.xabt.fsc == FSC_SEA && hsr.xabt.fnv ) in do_trap_hyp_sync() [all …]
|
A D | vsmc.c | 241 const union hsr hsr = { .bits = regs->hsr }; in vsmccc_handle_call() local 251 switch ( hsr.ec ) in vsmccc_handle_call() 258 if ( (hsr.iss & HSR_XXC_IMM_MASK) != 0) in vsmccc_handle_call() 307 void do_trap_smc(struct cpu_user_regs *regs, const union hsr hsr) in do_trap_smc() argument 311 if ( !check_conditional_instr(regs, hsr) ) in do_trap_smc() 313 advance_pc(regs, hsr); in do_trap_smc() 332 advance_pc(regs, hsr); in do_trap_smc() 334 inject_undef_exception(regs, hsr); in do_trap_smc() 339 const union hsr hsr = { .bits = regs->hsr }; in do_trap_hvc_smccc() local 348 inject_undef_exception(regs, hsr); in do_trap_hvc_smccc()
|
A D | vgic-v3.c | 1526 static bool vgic_v3_emulate_sysreg(struct cpu_user_regs *regs, union hsr hsr) in vgic_v3_emulate_sysreg() argument 1528 struct hsr_sysreg sysreg = hsr.sysreg; in vgic_v3_emulate_sysreg() 1530 ASSERT (hsr.ec == HSR_EC_SYSREG); in vgic_v3_emulate_sysreg() 1537 switch ( hsr.bits & HSR_SYSREG_REGS_MASK ) in vgic_v3_emulate_sysreg() 1547 static bool vgic_v3_emulate_cp64(struct cpu_user_regs *regs, union hsr hsr) in vgic_v3_emulate_cp64() argument 1549 struct hsr_cp64 cp64 = hsr.cp64; in vgic_v3_emulate_cp64() 1556 switch ( hsr.bits & HSR_CP64_REGS_MASK ) in vgic_v3_emulate_cp64() 1565 static bool vgic_v3_emulate_reg(struct cpu_user_regs *regs, union hsr hsr) in vgic_v3_emulate_reg() argument 1567 switch (hsr.ec) in vgic_v3_emulate_reg() 1570 return vgic_v3_emulate_sysreg(regs, hsr); in vgic_v3_emulate_reg() [all …]
|
A D | vgic.c | 587 bool vgic_emulate(struct cpu_user_regs *regs, union hsr hsr) in vgic_emulate() argument 593 return v->domain->arch.vgic.handler->emulate_reg(regs, hsr); in vgic_emulate()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | traps.h | 14 void advance_pc(struct cpu_user_regs *regs, const union hsr hsr); 20 const union hsr hsr, int min_el); 24 const union hsr hsr, int min_el); 28 const union hsr hsr, int min_el); 31 void do_cp15_32(struct cpu_user_regs *regs, const union hsr hsr); 32 void do_cp15_64(struct cpu_user_regs *regs, const union hsr hsr); 33 void do_cp14_32(struct cpu_user_regs *regs, const union hsr hsr); 34 void do_cp14_64(struct cpu_user_regs *regs, const union hsr hsr); 35 void do_cp14_dbg(struct cpu_user_regs *regs, const union hsr hsr); 36 void do_cp(struct cpu_user_regs *regs, const union hsr hsr); [all …]
|
A D | vreg.h | 12 static inline bool vreg_emulate_cp32(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_cp32() argument 15 struct hsr_cp32 cp32 = hsr.cp32; in vreg_emulate_cp32() 35 static inline bool vreg_emulate_cp64(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_cp64() argument 38 struct hsr_cp64 cp64 = hsr.cp64; in vreg_emulate_cp64() 67 static inline bool vreg_emulate_sysreg32(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_sysreg32() argument 70 struct hsr_sysreg sysreg = hsr.sysreg; in vreg_emulate_sysreg32() 85 static inline bool vreg_emulate_sysreg64(struct cpu_user_regs *regs, union hsr hsr, in vreg_emulate_sysreg64() argument 88 struct hsr_sysreg sysreg = hsr.sysreg; in vreg_emulate_sysreg64()
|
A D | vtimer.h | 26 extern bool vtimer_emulate(struct cpu_user_regs *regs, union hsr hsr);
|
A D | vgic.h | 145 bool (*emulate_reg)(struct cpu_user_regs *regs, union hsr hsr); 213 extern bool vgic_emulate(struct cpu_user_regs *regs, union hsr hsr);
|
A D | processor.h | 486 union hsr { union
|
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/ |
A D | vsysreg.c | 27 const union hsr hsr) in do_sysreg() argument 52 return handle_ro_raz(regs, regidx, hsr.sysreg.read, hsr, 1); in do_sysreg() 64 return handle_wo_wi(regs, regidx, hsr.sysreg.read, hsr, 1); in do_sysreg() 66 return handle_raz_wi(regs, regidx, hsr.sysreg.read, hsr, 1); in do_sysreg() 86 return handle_raz_wi(regs, regidx, hsr.sysreg.read, hsr, 1); in do_sysreg() 92 return handle_ro_raz(regs, regidx, hsr.sysreg.read, hsr, 0); in do_sysreg() 97 return handle_raz_wi(regs, regidx, hsr.sysreg.read, hsr, 1); in do_sysreg() 121 return handle_raz_wi(regs, regidx, hsr.sysreg.read, hsr, 1); in do_sysreg() 125 return handle_ro_raz(regs, regidx, hsr.sysreg.read, hsr, 0); in do_sysreg() 144 return handle_raz_wi(regs, regidx, hsr.sysreg.read, hsr, 1); in do_sysreg() [all …]
|
A D | traps.c | 35 union hsr hsr = { .bits = regs->hsr }; in do_bad_mode() local 39 hsr.bits, hsr.ec, hsr.len, hsr.iss); in do_bad_mode()
|
A D | asm-offsets.c | 30 OFFSET(UREGS_ESR_el2, struct cpu_user_regs, hsr); in __dummy__()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/ |
A D | traps.h | 7 const union hsr hsr);
|
A D | processor.h | 71 uint32_t hsr; /* ESR_EL2 */ member
|
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/ |
A D | asm-offsets.c | 29 OFFSET(UREGS_hsr, struct cpu_user_regs, hsr); in __dummy__()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm32/ |
A D | processor.h | 42 uint32_t hsr; /* Exception Syndrome */ member
|