aboutsummaryrefslogtreecommitdiff
path: root/hw/i8259.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-29 15:52:14 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-29 15:52:14 +0000
commit4dbe19e18139a9e6f736630707e6e459696cbb5f (patch)
treed4207adb0111f22d27b83db099a53e5fad5bb23f /hw/i8259.c
parenta1e7547389feeea0c777f558f47a0185f3fe2543 (diff)
downloadqemu-4dbe19e18139a9e6f736630707e6e459696cbb5f.zip
qemu-4dbe19e18139a9e6f736630707e6e459696cbb5f.tar.gz
qemu-4dbe19e18139a9e6f736630707e6e459696cbb5f.tar.bz2
ELCR is not reset by PIC reset (bug report by malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1867 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/i8259.c')
-rw-r--r--hw/i8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i8259.c b/hw/i8259.c
index 00d5068..6c2ddff 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -271,7 +271,7 @@ static void pic_reset(void *opaque)
s->rotate_on_auto_eoi = 0;
s->special_fully_nested_mode = 0;
s->init4 = 0;
- s->elcr = 0;
+ /* Note: ELCR is not reset */
}
static void pic_ioport_write(void *opaque, uint32_t addr, uint32_t val)