qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] icount mode


From: Wu, Wentong
Subject: [Qemu-devel] icount mode
Date: Mon, 24 Jun 2019 14:20:21 +0000

Hi all,

Recently I'm using Qemu TCG icount mode, from the code I found Qemu timers run 
at 1GHz, and for ArmV7M example, there will be conversion factor from qemu 
timer to SysTick frequency which will be calculated by NANOSECONDS_PER_SECOND / 
SYSCLK_FRQ.
But the shift value also define the target cpu frequency(2^N ns /one 
instruction), and both frequencies will be used together to calculate the guest 
timer, so I think there is buggy because of the different frequency, can anyone 
give some explanation for this? Thanks a lot!

Also can anyone give some hints about how to give the shift value when use 
icount TCG mode?


Thanks
Wentong Wu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]