Re: [PATCH v3 08/20] target/mips: Move cp0_count_ns to CPUMIPSState

2020-10-11 Thread Jiaxun Yang
在 2020/10/11 上午4:43, Philippe Mathieu-Daudé 写道: Currently the CP0 timer period is fixed at 10 ns, corresponding to a fixed CPU frequency of 200 MHz (using half the speed of the CPU). In few commits we will be able to use a different CPU frequency. In preparation, move the cp0_count_ns variabl

[PATCH v3 08/20] target/mips: Move cp0_count_ns to CPUMIPSState

2020-10-10 Thread Philippe Mathieu-Daudé
Currently the CP0 timer period is fixed at 10 ns, corresponding to a fixed CPU frequency of 200 MHz (using half the speed of the CPU). In few commits we will be able to use a different CPU frequency. In preparation, move the cp0_count_ns variable to CPUMIPSState so we can modify it. Signed-off-by