mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/arm: Split out arm_env_mmu_index
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
9d6847904b
commit
b7770d72f5
6 changed files with 22 additions and 17 deletions
|
@ -40,6 +40,11 @@
|
|||
#define BANK_HYP 6
|
||||
#define BANK_MON 7
|
||||
|
||||
static inline int arm_env_mmu_index(CPUARMState *env)
|
||||
{
|
||||
return EX_TBFLAG_ANY(env->hflags, MMUIDX);
|
||||
}
|
||||
|
||||
static inline bool excp_is_internal(int excp)
|
||||
{
|
||||
/* Return true if this exception number represents a QEMU-internal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue