summaryrefslogtreecommitdiffstats
path: root/include/hw/timer
diff options
context:
space:
mode:
authorMichael S. Tsirkin2013-07-24 17:56:13 +0200
committerMichael S. Tsirkin2013-10-14 16:48:52 +0200
commit64e9df8d34e493e59c1920358257a7576a560a1a (patch)
treed39c6be4e2a3ccfe29a186c68e50cc18f224314a /include/hw/timer
parentpvpanic: add API to access io port (diff)
downloadqemu-64e9df8d34e493e59c1920358257a7576a560a1a.tar.gz
qemu-64e9df8d34e493e59c1920358257a7576a560a1a.tar.xz
qemu-64e9df8d34e493e59c1920358257a7576a560a1a.zip
hpet: add API to find it
Add API to find HPET using QOM. Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/timer')
-rw-r--r--include/hw/timer/hpet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/timer/hpet.h b/include/hw/timer/hpet.h
index 757f79fdd2..ab44bd31fd 100644
--- a/include/hw/timer/hpet.h
+++ b/include/hw/timer/hpet.h
@@ -71,4 +71,6 @@ struct hpet_fw_config
} QEMU_PACKED;
extern struct hpet_fw_config hpet_cfg;
+
+bool hpet_find(void);
#endif