Home
last modified time | relevance | path

Searched refs:MIPS_HFLAG_KSU (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/target/mips/
H A Dinternal.h303 MIPS_HFLAG_F64 | MIPS_HFLAG_FPU | MIPS_HFLAG_KSU | in compute_hflags()
314 MIPS_HFLAG_KSU; in compute_hflags()
318 (((env->hflags & MIPS_HFLAG_KSU) != MIPS_HFLAG_UM) || in compute_hflags()
326 } else if (((env->hflags & MIPS_HFLAG_KSU) == MIPS_HFLAG_UM) && in compute_hflags()
331 if ((((env->hflags & MIPS_HFLAG_KSU) == MIPS_HFLAG_SM) && in compute_hflags()
333 (((env->hflags & MIPS_HFLAG_KSU) == MIPS_HFLAG_KM) && in compute_hflags()
341 !(env->hflags & MIPS_HFLAG_KSU)) { in compute_hflags()
350 if (((env->hflags & MIPS_HFLAG_KSU) != MIPS_HFLAG_KM) && in compute_hflags()
H A Dcpu.h1113 #define MIPS_HFLAG_KSU 0x00003 /* kernel/supervisor/user mode mask */ macro
1250 return hflags & MIPS_HFLAG_KSU; in hflags_mmu_index()
/openbmc/qemu/target/mips/tcg/sysemu/
H A Dtlb_helper.c1094 env->hflags &= ~(MIPS_HFLAG_KSU); in mips_cpu_do_interrupt()
1123 env->hflags &= ~(MIPS_HFLAG_KSU); in mips_cpu_do_interrupt()
1309 env->hflags &= ~(MIPS_HFLAG_KSU); in mips_cpu_do_interrupt()
/openbmc/qemu/target/mips/tcg/
H A Dtranslate.c11241 bool is_user = (ctx->hflags & MIPS_HFLAG_KSU) == MIPS_HFLAG_UM; in is_uhi()