aboutsummaryrefslogtreecommitdiff
path: root/hw/sparc64
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2018-02-09 18:51:37 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2018-02-11 10:14:51 +1100
commita797ec500ae90b201b9098655c8f875303f1d843 (patch)
tree43b4e36256fbd200cdced3270fb7de2d6befdfe5 /hw/sparc64
parenteb0788cb73a3eda37a97be74d186164b0c0b58d7 (diff)
downloadqemu-a797ec500ae90b201b9098655c8f875303f1d843.zip
qemu-a797ec500ae90b201b9098655c8f875303f1d843.tar.gz
qemu-a797ec500ae90b201b9098655c8f875303f1d843.tar.bz2
cuda: set timer 1 frequency property to CUDA_TIMER_FREQ
Now that we have successfully decoupled the timebase frequency and the hardware timer frequency, set the timer 1 frequency property to CUDA_TIMER_FREQ and alter get_next_irq_time() to use it rather than the hard-coded constant. In addition to this we must now switch the tb_diff calculation over to use the timebase frequency now that the hardware clock frequency and the timebase frequency are different. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> [dwg: Correct a conflict due to a bug in an earlier patch] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/sparc64')
0 files changed, 0 insertions, 0 deletions