sim-card
/
qemu
Archived
10
0
Fork 0

Restrict CP0_PerfCnt to legal values.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3476 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-10-29 00:49:32 +00:00
parent 3cbee15b9a
commit 1b6fd0bc55
1 changed files with 1 additions and 1 deletions

View File

@ -1971,7 +1971,7 @@ void op_mtc0_depc (void)
void op_mtc0_performance0 (void)
{
env->CP0_Performance0 = T0; /* XXX */
env->CP0_Performance0 = T0 & 0x000007ff;
RETURN();
}