mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Support for address masking
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4882 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a5a52cf246
commit
2cade6a3f6
3 changed files with 58 additions and 33 deletions
|
|
@ -184,8 +184,9 @@ static inline TranslationBlock *tb_find_fast(void)
|
|||
pc = env->regs[15];
|
||||
#elif defined(TARGET_SPARC)
|
||||
#ifdef TARGET_SPARC64
|
||||
// Combined FPU enable bits . PRIV . DMMU enabled . IMMU enabled
|
||||
flags = (((env->pstate & PS_PEF) >> 1) | ((env->fprs & FPRS_FEF) << 2))
|
||||
// AM . Combined FPU enable bits . PRIV . DMMU enabled . IMMU enabled
|
||||
flags = ((env->pstate & PS_AM) << 2)
|
||||
| (((env->pstate & PS_PEF) >> 1) | ((env->fprs & FPRS_FEF) << 2))
|
||||
| (env->pstate & PS_PRIV) | ((env->lsu & (DMMU_E | IMMU_E)) >> 2);
|
||||
#else
|
||||
// FPU enable . Supervisor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue