From 4dbe19e18139a9e6f736630707e6e459696cbb5f Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 29 Apr 2006 15:52:14 +0000 Subject: [PATCH] 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 --- hw/i8259.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4