summaryrefslogtreecommitdiffstats
path: root/hw/ppc/mac.h
diff options
context:
space:
mode:
authorMark Cave-Ayland2018-02-09 19:51:35 +0100
committerDavid Gibson2018-02-11 00:10:10 +0100
commit27c5cee1c390b6d6ed852dd10d0822cbb91a847e (patch)
treef34fe2e21e945065a21574ccdaf42978c760b6e5 /hw/ppc/mac.h
parentcuda: introduce CUDAState parameter to get_counter() (diff)
downloadqemu-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.h2
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;