]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/isa/vt82c686.c
vt82c686: Move common code to via_isa_realize
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 15 Oct 2021 01:06:20 +0000 (03:06 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 17 Oct 2021 22:41:36 +0000 (00:41 +0200)
commit3a2f166fe05ce4b00ca781d7abd08e6accd6e472
tree883c1b4f814213e50464b1836c3a54cad1b30ab5
parent7c8eae45c0c12c92055486184f779d57a7677948
vt82c686: Move common code to via_isa_realize

The vt82c686b_realize and vt8231_realize methods are almost identical,
factor out the common parts to a via_isa_realize function to avoid
code duplication.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <7cb7a16ff4daf8f48d576246255bea1fd355207c.1634259980.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/vt82c686.c