]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/isa/vt82c686.c
hw/isa/vt82c686: Resolve chip-specific realize methods
authorBernhard Beschow <shentey@gmail.com>
Thu, 1 Sep 2022 11:41:15 +0000 (13:41 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000 (11:32 +0100)
commit8e4022a8d6934d02c0d95058a6e9b0e0f93f36b2
tree0215372434a4b55023a9b52385bbed0cb2167851
parent7208429223963c405c62fa2611398f1aa8033593
hw/isa/vt82c686: Resolve chip-specific realize methods

The object creation now happens in chip-specific init methods which
allows the realize methods to be consolidated into one method. Shifting
the logic into the init methods has the addidional advantage that the
parent object's init methods are called implicitly - like constructors
in object-oriented languages.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220901114127.53914-2-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/vt82c686.c