summaryrefslogtreecommitdiffstats
path: root/hw/net/e1000e.c
diff options
context:
space:
mode:
authorMark Cave-Ayland2018-02-09 19:51:37 +0100
committerDavid Gibson2018-02-11 00:14:51 +0100
commita797ec500ae90b201b9098655c8f875303f1d843 (patch)
tree43b4e36256fbd200cdced3270fb7de2d6befdfe5 /hw/net/e1000e.c
parentcuda: don't call cuda_update() when writing to ACR register (diff)
downloadqemu-a797ec500ae90b201b9098655c8f875303f1d843.tar.gz
qemu-a797ec500ae90b201b9098655c8f875303f1d843.tar.xz
qemu-a797ec500ae90b201b9098655c8f875303f1d843.zip
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/net/e1000e.c')
0 files changed, 0 insertions, 0 deletions