summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2022-10-22 17:04:30 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2022-10-31 11:32:07 +0100
commita1b05751faf7769cec3b1751da0239d2ced27b35 (patch)
treedf886884307b3438eb793163e5582521e1fdd620 /docs/devel/secure-coding-practices.rst
parent3ee15e807407defcd774586549a00674d58be970 (diff)
downloadfocaccia-qemu-a1b05751faf7769cec3b1751da0239d2ced27b35.tar.gz
focaccia-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 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions