sparc32 do not clear interrupts when masking
commit10760f0fa7c089e45d629d9ad2803c91f2bcb90f
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Sat, 16 Jan 2010 09:06:32 +0000 (16 09:06 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 16 Jan 2010 09:06:32 +0000 (16 09:06 +0000)
treedc7925f3633b86d5847286ff002bbcf4458c6757
parent694b9309462f07307d16f492961f01271f10c245
sparc32 do not clear interrupts when masking

Don't clear interrupts on disabling, because
* Sun4M_SystemArchitecture_edited2.pdf doesn't describe
  that masking or un-masking IRQ shall clear pending ones.

* Field tests also show that SPARCstation-20 doesn't
  clear them.

* The patch makes Solaris 2.5.1/2.6 boot ~1500 times
  faster (~20 seconds instead of ~8 hours)

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/slavio_intctl.c