summaryrefslogtreecommitdiffstats
path: root/docs/system/mux-chardev.rst.inc
diff options
context:
space:
mode:
authorStafford Horne2022-06-15 01:40:16 +0200
committerStafford Horne2022-09-04 08:02:57 +0200
commit557e37071d4d4e6de577f5a4dfb012a6a733f319 (patch)
tree48fa8f0a9eb89b08f59dd094a39b8e354544148e /docs/system/mux-chardev.rst.inc
parenthw/openrisc: Add PCI bus support to virt (diff)
downloadqemu-557e37071d4d4e6de577f5a4dfb012a6a733f319.tar.gz
qemu-557e37071d4d4e6de577f5a4dfb012a6a733f319.tar.xz
qemu-557e37071d4d4e6de577f5a4dfb012a6a733f319.zip
hw/openrisc: Initialize timer time at startup
The last_clk time was initialized at zero, this means when we calculate the first delta we will calculate 0 vs current time which could cause unnecessary hops. This patch moves timer initialization to the cpu reset. There are two resets registered here: 1. Per cpu timer mask (ttmr) reset. 2. Global cpu timer (last_clk and ttcr) reset, attached to the first cpu only. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'docs/system/mux-chardev.rst.inc')
0 files changed, 0 insertions, 0 deletions