diff options
author | Mark Cave-Ayland | 2018-02-09 19:51:35 +0100 |
---|---|---|
committer | David Gibson | 2018-02-11 00:10:10 +0100 |
commit | 27c5cee1c390b6d6ed852dd10d0822cbb91a847e (patch) | |
tree | f34fe2e21e945065a21574ccdaf42978c760b6e5 /hw/ppc/mac.h | |
parent | cuda: introduce CUDAState parameter to get_counter() (diff) | |
download | qemu-27c5cee1c390b6d6ed852dd10d0822cbb91a847e.tar.gz qemu-27c5cee1c390b6d6ed852dd10d0822cbb91a847e.tar.xz qemu-27c5cee1c390b6d6ed852dd10d0822cbb91a847e.zip |
cuda: rename frequency property to tb_frequency
This allows us to more easily differentiate between the timebase frequency used
to calibrate the MacOS timers and the actual frequency of the hardware clock as
indicated by CUDA_TIMER_FREQ.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[dwg: Revert some extraneous changes which break compile]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/mac.h')
-rw-r--r-- | hw/ppc/mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/mac.h b/hw/ppc/mac.h index b501af1653..fa78115c95 100644 --- a/hw/ppc/mac.h +++ b/hw/ppc/mac.h @@ -99,7 +99,7 @@ typedef struct CUDAState { CUDATimer timers[2]; uint32_t tick_offset; - uint64_t frequency; + uint64_t tb_frequency; uint8_t last_b; uint8_t last_acr; |