Revision 94159135
b/target-mips/translate.c | ||
---|---|---|
12768 | 12768 |
|
12769 | 12769 |
#if defined(CONFIG_USER_ONLY) |
12770 | 12770 |
env->hflags = MIPS_HFLAG_UM; |
12771 |
/* Enable access to the SYNCI_Step register. */ |
|
12772 |
env->CP0_HWREna |= (1 << 1); |
|
12771 |
/* Enable access to the CPUNum, SYNCI_Step, CC, and CCRes RDHWR |
|
12772 |
hardware registers. */ |
|
12773 |
env->CP0_HWREna |= 0x0000000F; |
|
12773 | 12774 |
if (env->CP0_Config1 & (1 << CP0C1_FP)) { |
12774 | 12775 |
env->hflags |= MIPS_HFLAG_FPU; |
12775 | 12776 |
} |
Also available in: Unified diff