diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-07 17:03:37 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-07 17:03:37 +0000 |
commit | 6d5f237a592706773733e71e6da81dcd625fbb24 (patch) | |
tree | fd4799df1f00634075545a379697f9daac8c9166 /cpu-exec.c | |
parent | bc4edd79ee56bfa1c023006cf5a95631e0a52f18 (diff) | |
download | qemu-6d5f237a592706773733e71e6da81dcd625fbb24.zip qemu-6d5f237a592706773733e71e6da81dcd625fbb24.tar.gz qemu-6d5f237a592706773733e71e6da81dcd625fbb24.tar.bz2 |
CPU specific boot mode (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3542 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -181,10 +181,8 @@ static inline TranslationBlock *tb_find_fast(void) flags = (((env->pstate & PS_PEF) >> 1) | ((env->fprs & FPRS_FEF) << 2)) | (env->pstate & PS_PRIV) | ((env->lsu & (DMMU_E | IMMU_E)) >> 2); #else - // FPU enable . MMU Boot . MMU enabled . MMU no-fault . Supervisor - flags = (env->psref << 4) | (((env->mmuregs[0] & MMU_BM) >> 14) << 3) - | ((env->mmuregs[0] & (MMU_E | MMU_NF)) << 1) - | env->psrs; + // FPU enable . Supervisor + flags = (env->psref << 4) | env->psrs; #endif cs_base = env->npc; pc = env->pc; |