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