mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Mark watchpoint features as unimplemented.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2643 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
62c5609aa5
commit
4e7a4a4e84
2 changed files with 9 additions and 3 deletions
|
@ -1444,13 +1444,16 @@ void op_mtc0_config2 (void)
|
|||
|
||||
void op_mtc0_watchlo0 (void)
|
||||
{
|
||||
env->CP0_WatchLo = (int32_t)T0;
|
||||
/* Watch exceptions for instructions, data loads, data stores
|
||||
not implemented. */
|
||||
env->CP0_WatchLo = (int32_t)(T0 & ~0x7);
|
||||
RETURN();
|
||||
}
|
||||
|
||||
void op_mtc0_watchhi0 (void)
|
||||
{
|
||||
env->CP0_WatchHi = T0 & 0x40FF0FF8;
|
||||
env->CP0_WatchHi = (T0 & 0x40FF0FF8);
|
||||
env->CP0_WatchHi &= ~(env->CP0_WatchHi & T0 & 0x7);
|
||||
RETURN();
|
||||
}
|
||||
|
||||
|
@ -1620,7 +1623,9 @@ void op_dmtc0_epc (void)
|
|||
|
||||
void op_dmtc0_watchlo0 (void)
|
||||
{
|
||||
env->CP0_WatchLo = T0;
|
||||
/* Watch exceptions for instructions, data loads, data stores
|
||||
not implemented. */
|
||||
env->CP0_WatchLo = T0 & ~0x7;
|
||||
RETURN();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue