X-Git-Url: http://rtime.felk.cvut.cz/gitweb/jailhouse.git/blobdiff_plain/0c0a0086c1deabf39aad0d3f0320da2874603139..89b3eb4ad43eb453b7c5d782f150a68e5b6dbec6:/hypervisor/arch/arm/include/asm/processor.h diff --git a/hypervisor/arch/arm/include/asm/processor.h b/hypervisor/arch/arm/include/asm/processor.h index c6144a7..907a28e 100644 --- a/hypervisor/arch/arm/include/asm/processor.h +++ b/hypervisor/arch/arm/include/asm/processor.h @@ -197,6 +197,8 @@ static inline bool is_el2(void) return (psr & PSR_MODE_MASK) == PSR_HYP_MODE; } +#define tlb_flush_guest() arm_write_sysreg(TLBIALL, 1) + #endif /* !__ASSEMBLY__ */ #endif /* !_JAILHOUSE_ASM_PROCESSOR_H */