Aurelien Jarno wrote: > Hi! > > The current MIPS64 implementation assumes SEGBITS = 40 for all CPU. This > is correct for most CPU, but wrong for example for the 5K one, which has > SEGBITS = 42. > > This patch modifies the current code to use SEGBITS instead of an > hardcoded value. Instead of recomputing the corresponding mask each time > the value is computed in translate_init and stored in env.
Looks good, except that it breaks for me mips64el-softmmu... It hangs at the startup of userland. Thiemo