OSDN Git Service

pl050: QOM'ify pl050_keyboard and pl050_mouse
authorAndreas Färber <afaerber@suse.de>
Fri, 26 Jul 2013 16:49:24 +0000 (18:49 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:06:57 +0000 (21:06 +0200)
commit3e5dd364d933ccc066cbea8620bdc16525e19230
tree25ca5f8c5a47c8e051a6d1daf65ac458b58ff02f
parente607f25a620e769cb6a231314aa13804723ab734
pl050: QOM'ify pl050_keyboard and pl050_mouse

Introduce an abstract type pl050 and let pl050_keyboar and pl050_mouse
inherit from it, using different instance_init functions.
Introduce a type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/input/pl050.c