qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 24/42] hw/isa/piix4: Add missing initialization


From: Bernhard Beschow
Subject: [PATCH 24/42] hw/isa/piix4: Add missing initialization
Date: Thu, 1 Sep 2022 18:25:55 +0200

PIIX3 clears its reset control register, so do the same in PIIX4.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
 hw/isa/piix4.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index 15f344dbb7..9e2f7b9b71 100644
--- a/hw/isa/piix4.c
+++ b/hw/isa/piix4.c
@@ -139,6 +139,8 @@ static void piix4_isa_reset(DeviceState *dev)
     pci_conf[0xab] = 0x00;
     pci_conf[0xac] = 0x00;
     pci_conf[0xae] = 0x00;
+
+    d->rcr = 0;
 }
 
 static int piix4_ide_post_load(void *opaque, int version_id)
-- 
2.37.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]