projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195f7e7
)
hw/isa/piix4: Add missing initialization
author
Bernhard Beschow
<shentey@gmail.com>
Sat, 22 Oct 2022 15:04:52 +0000
(17:04 +0200)
committer
Philippe Mathieu-Daudé
<philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000
(11:32 +0100)
PIIX3 clears its reset control register, so do the same in PIIX4.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <
20221022150508
.26830-28-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/isa/piix4.c
patch
|
blob
|
history
diff --git
a/hw/isa/piix4.c
b/hw/isa/piix4.c
index e05e65d3bcf7492dd4788b355380e61cf355fee5..9126eb9edf48020f67c58e5ab0e03bb2b6a6a461 100644
(file)
--- a/
hw/isa/piix4.c
+++ b/
hw/isa/piix4.c
@@
-140,6
+140,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_post_load(void *opaque, int version_id)