Home
last modified time | relevance | path

Searched refs:exc_offset (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm64/kvm/hyp/
H A Dexception.c89 u64 exc_offset; in enter_exception64() local
94 exc_offset = CURRENT_EL_SP_ELx_VECTOR; in enter_exception64()
96 exc_offset = CURRENT_EL_SP_EL0_VECTOR; in enter_exception64()
98 exc_offset = LOWER_EL_AArch64_VECTOR; in enter_exception64()
100 exc_offset = LOWER_EL_AArch32_VECTOR; in enter_exception64()
118 *vcpu_pc(vcpu) = vbar + exc_offset + type; in enter_exception64()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c826 u64 sctlr, spsr_el1, spsr_el2, exc_offset = except_type_sync; in inject_host_exception() local
833 exc_offset += LOWER_EL_AArch64_VECTOR; in inject_host_exception()
836 exc_offset += LOWER_EL_AArch32_VECTOR; in inject_host_exception()
839 exc_offset += CURRENT_EL_SP_ELx_VECTOR; in inject_host_exception()
862 write_sysreg_el2(read_sysreg_el1(SYS_VBAR) + exc_offset, SYS_ELR); in inject_host_exception()