diff options
author | Mark Cave-Ayland | 2018-02-09 19:51:37 +0100 |
---|---|---|
committer | David Gibson | 2018-02-11 00:14:51 +0100 |
commit | a797ec500ae90b201b9098655c8f875303f1d843 (patch) | |
tree | 43b4e36256fbd200cdced3270fb7de2d6befdfe5 /hw/net/e1000e.c | |
parent | cuda: don't call cuda_update() when writing to ACR register (diff) | |
download | qemu-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