summaryrefslogtreecommitdiffstats
path: root/include/hw/isa
diff options
context:
space:
mode:
authorBALATON Zoltan2021-01-09 21:16:36 +0100
committerPhilippe Mathieu-Daudé2021-02-21 19:42:34 +0100
commite1a69736e5985ac2d45977d4d6482ab9cca71db8 (patch)
treee154dbdc6012e761daaaff4072fb05d0a1be6056 /include/hw/isa
parentvt82c686: Set user_creatable=false for VT82C686B_PM (diff)
downloadqemu-e1a69736e5985ac2d45977d4d6482ab9cca71db8.tar.gz
qemu-e1a69736e5985ac2d45977d4d6482ab9cca71db8.tar.xz
qemu-e1a69736e5985ac2d45977d4d6482ab9cca71db8.zip
vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it
The vt82c686b-pm model can be shared between VT82C686B and VT8231. The only difference between the two is the device id in what we emulate so make an abstract via-pm model by renaming appropriately and add types for vt82c686b-pm and vt8231-pm based on it. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <34969fc7be984fa070479bfb9f748993a0aef31b.1610223397.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include/hw/isa')
-rw-r--r--include/hw/isa/vt82c686.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/isa/vt82c686.h b/include/hw/isa/vt82c686.h
index 5b0a1ffe72..9b6d610e83 100644
--- a/include/hw/isa/vt82c686.h
+++ b/include/hw/isa/vt82c686.h
@@ -4,6 +4,7 @@
#define TYPE_VT82C686B_ISA "vt82c686b-isa"
#define TYPE_VT82C686B_SUPERIO "vt82c686b-superio"
#define TYPE_VT82C686B_PM "vt82c686b-pm"
+#define TYPE_VT8231_PM "vt8231-pm"
#define TYPE_VIA_AC97 "via-ac97"
#define TYPE_VIA_MC97 "via-mc97"