Home
last modified time | relevance | path

Searched refs:MSR_VM (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/microblaze/include/asm/
H A Dregisters.h33 # define MSR_VM (1<<13) /* Virtual Mode */ macro
36 # define MSR_KERNEL (MSR_EE | MSR_VM)
/openbmc/linux/arch/microblaze/kernel/
H A Dprocess.c97 childregs->msr &= ~MSR_VM; in copy_thread()
101 ti->cpu_context.msr = (childregs->msr|MSR_VM); in copy_thread()
129 regs->msr &= ~MSR_VM; in start_thread()
/openbmc/qemu/target/microblaze/
H A Dcpu.h75 #define MSR_VM (1<<13) /* Virtual Mode */ macro
78 #define MSR_KERNEL MSR_EE|MSR_VM
284 #define MSR_TB_MASK (MSR_UM | MSR_VM | MSR_EE)
442 if (!(env->msr & MSR_VM) || !cpu->cfg.use_mmu) { in cpu_mmu_index()
H A Dhelper.c205 t = (msr & (MSR_VM | MSR_UM)) << 1; in mb_cpu_do_interrupt()
206 msr &= ~(MSR_VMS | MSR_UMS | MSR_VM | MSR_UM); in mb_cpu_do_interrupt()
H A Dtranslate.c1201 msr_to_set |= (dc->tb_flags & (MSR_UM | MSR_VM)) << 1; in trans_brki()
1203 ~(MSR_VMS | MSR_UMS | MSR_VM | MSR_UM)); in trans_brki()
1512 tcg_gen_andi_i32(tmp, tmp, MSR_VM | MSR_UM); in do_rti()
1513 tcg_gen_andi_i32(cpu_msr, cpu_msr, ~(MSR_VM | MSR_UM)); in do_rti()
1522 tcg_gen_andi_i32(cpu_msr, cpu_msr, ~(MSR_VM | MSR_UM | MSR_BIP)); in do_rtb()
1523 tcg_gen_andi_i32(tmp, tmp, (MSR_VM | MSR_UM)); in do_rtb()
1533 tcg_gen_andi_i32(tmp, tmp, (MSR_VM | MSR_UM)); in do_rte()
1534 tcg_gen_andi_i32(cpu_msr, cpu_msr, ~(MSR_VM | MSR_UM | MSR_EIP)); in do_rte()
H A Dcpu.c189 mb_cpu_write_msr(env, MSR_EE | MSR_IE | MSR_VM | MSR_UM); in mb_cpu_reset_hold()