Lines Matching refs:hflags
113 int user_mode = (env->hflags & MIPS_HFLAG_MODE) == MIPS_HFLAG_UM;
114 int supervisor_mode = (env->hflags & MIPS_HFLAG_MODE) == MIPS_HFLAG_SM;
124 qemu_log("user mode %d h %08x\n", user_mode, env->hflags);
358 saved_hflags = env->hflags;
366 env->hflags = MIPS_HFLAG_KM;
404 env->hflags = saved_hflags;
434 env->hflags = saved_hflags;
603 (env->hflags & MIPS_HFLAG_DM))
630 if (env->hflags & MIPS_HFLAG_BMASK) {
634 env->hflags &= ~MIPS_HFLAG_BMASK;
639 env->hflags |= MIPS_HFLAG_DM | MIPS_HFLAG_64 | MIPS_HFLAG_CP0;
640 env->hflags &= ~(MIPS_HFLAG_KSU);
656 if (env->hflags & MIPS_HFLAG_BMASK) {
660 env->hflags &= ~MIPS_HFLAG_BMASK;
665 env->hflags |= MIPS_HFLAG_64 | MIPS_HFLAG_CP0;
666 env->hflags &= ~(MIPS_HFLAG_KSU);
771 if (env->hflags & MIPS_HFLAG_BMASK) {
781 env->hflags |= MIPS_HFLAG_64 | MIPS_HFLAG_CP0;
782 env->hflags &= ~(MIPS_HFLAG_KSU);
784 env->hflags &= ~MIPS_HFLAG_BMASK;