]> git.proxmox.com Git - mirror_qemu.git/commit
hw/mips_gictimer: provide API for retrieving frequency
authorPaul Burton <paul.burton@imgtec.com>
Thu, 8 Sep 2016 14:51:52 +0000 (15:51 +0100)
committerYongbok Kim <yongbok.kim@imgtec.com>
Tue, 21 Feb 2017 22:24:58 +0000 (22:24 +0000)
commiteb90ab9437ebb2dea77ebdf6c96488841ddbdd85
treebf55c239770cffee9c3e7bf1412482468b5bbb1a
parent08944be1d91779aec4346cc569f87e4c915a944c
hw/mips_gictimer: provide API for retrieving frequency

Provide a new function mips_gictimer_get_freq() which returns the
frequency at which a GIC timer will count. This will be useful for
boards which perform setup based upon this frequency.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
hw/timer/mips_gictimer.c
include/hw/timer/mips_gictimer.h