diff options
author | Bernhard Beschow | 2022-10-22 17:04:30 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2022-10-31 11:32:07 +0100 |
commit | a1b05751faf7769cec3b1751da0239d2ced27b35 (patch) | |
tree | df886884307b3438eb793163e5582521e1fdd620 /hw/mem | |
parent | hw/isa/piix3: Add size constraints to rcr_ops (diff) | |
download | qemu-a1b05751faf7769cec3b1751da0239d2ced27b35.tar.gz qemu-a1b05751faf7769cec3b1751da0239d2ced27b35.tar.xz qemu-a1b05751faf7769cec3b1751da0239d2ced27b35.zip |
hw/isa/piix3: Modernize reset handling
Rather than registering the reset handler via a function which
appends the handler to a global list, prefer to implement it as
a virtual method - PIIX4 does the same already.
Note that this means that piix3_reset can now also be called writing to
the relevant configuration space register on a PCI bridge.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20221022150508.26830-6-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/mem')
0 files changed, 0 insertions, 0 deletions