2 * Arm PrimeCell PL050 Keyboard / Mouse Interface
4 * Copyright (c) 2006-2007 CodeSourcery.
5 * Written by Paul Brook
7 * This code is licensed under the GPL.
13 #include "hw/sysbus.h"
14 #include "migration/vmstate.h"
15 #include "hw/input/ps2.h"
18 struct PL050DeviceClass
{
19 SysBusDeviceClass parent_class
;
21 DeviceRealize parent_realize
;
24 #define TYPE_PL050 "pl050"
25 OBJECT_DECLARE_TYPE(PL050State
, PL050DeviceClass
, PL050
)
28 SysBusDevice parent_obj
;
40 #define TYPE_PL050_KBD_DEVICE "pl050_keyboard"
41 OBJECT_DECLARE_SIMPLE_TYPE(PL050KbdState
, PL050_KBD_DEVICE
)
43 struct PL050KbdState
{
44 PL050State parent_obj
;
49 #define TYPE_PL050_MOUSE_DEVICE "pl050_mouse"
50 OBJECT_DECLARE_SIMPLE_TYPE(PL050MouseState
, PL050_MOUSE_DEVICE
)
52 struct PL050MouseState
{
53 PL050State parent_obj
;