summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hw/i8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i8259.c b/hw/i8259.c
index 00d5068ea1..6c2ddfff8c 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)