Home
last modified time | relevance | path

Searched refs:hcr_el2 (Results 1 – 8 of 8) sorted by relevance

/hafnium-2.8-rc0/src/arch/aarch64/
A Dsysregs.h50 uint64_t hcr_el2 = read_msr(hcr_el2); in vhe_switch_to_host_or_guest() local
53 hcr_el2 &= ~HCR_EL2_TGE; in vhe_switch_to_host_or_guest()
55 hcr_el2 |= HCR_EL2_TGE; in vhe_switch_to_host_or_guest()
57 write_msr(hcr_el2, hcr_el2); in vhe_switch_to_host_or_guest()
A Dmm.c141 uintreg_t hcr_el2; member
913 arch_mm_config.hcr_el2 = 0; in arch_mm_init()
915 arch_mm_config.hcr_el2 |= (HCR_EL2_E2H | HCR_EL2_TGE); in arch_mm_init()
/hafnium-2.8-rc0/src/arch/aarch64/hypervisor/
A Dhandler.c274 r->hyp_state.hcr_el2 |= HCR_EL2_VI; in set_virtual_irq()
276 r->hyp_state.hcr_el2 &= ~HCR_EL2_VI; in set_virtual_irq()
286 uintreg_t hcr_el2 = vcpu->regs.hyp_state.hcr_el2; in set_virtual_irq_current() local
289 hcr_el2 |= HCR_EL2_VI; in set_virtual_irq_current()
291 hcr_el2 &= ~HCR_EL2_VI; in set_virtual_irq_current()
293 vcpu->regs.hyp_state.hcr_el2 = hcr_el2; in set_virtual_irq_current()
303 r->hyp_state.hcr_el2 |= HCR_EL2_VF; in set_virtual_fiq()
315 uintreg_t hcr_el2 = vcpu->regs.hyp_state.hcr_el2; in set_virtual_fiq_current() local
318 hcr_el2 |= HCR_EL2_VF; in set_virtual_fiq_current()
320 hcr_el2 &= ~HCR_EL2_VF; in set_virtual_fiq_current()
[all …]
A Dfeature_id.c178 regs->hyp_state.hcr_el2 |= HCR_EL2_TERR; in feature_set_traps()
224 regs->hyp_state.hcr_el2 |= HCR_EL2_TLOR; in feature_set_traps()
231 regs->hyp_state.hcr_el2 &= ~(HCR_EL2_APK | HCR_EL2_API); in feature_set_traps()
A Dcpu.c111 r->hyp_state.hcr_el2 = in arch_regs_reset()
A Dhypervisor_entry.S255 msr hcr_el2, x5
A Dexceptions.S874 msr hcr_el2, x1
903 msr hcr_el2, x2
/hafnium-2.8-rc0/src/arch/aarch64/inc/hf/arch/
A Dtypes.h85 uintreg_t hcr_el2; member

Completed in 14 milliseconds