mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
Fix CP0_IntCtl handling.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2645 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c50da3df61
commit
c090a8f440
2 changed files with 6 additions and 2 deletions
|
@ -5405,6 +5405,9 @@ void cpu_reset (CPUMIPSState *env)
|
|||
/* SMP not implemented */
|
||||
env->CP0_EBase = 0x80000000;
|
||||
env->CP0_Status = (1 << CP0St_BEV) | (1 << CP0St_ERL);
|
||||
/* vectored interrupts not implemented, timer on int 7,
|
||||
no performance counters. */
|
||||
env->CP0_IntCtl = 0xe0000000;
|
||||
env->CP0_WatchLo = 0;
|
||||
env->CP0_WatchHi = 0;
|
||||
/* Count register increments in debug mode, EJTAG version 1 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue