summary refs log tree commit diff stats
path: root/hw/timer
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-04-23 16:04:13 +0800
committerSong Gao <gaosong@loongson.cn>2025-04-24 10:02:48 +0800
commitd192494a685ff6b132caec8ebdfdbcdcd04408b9 (patch)
tree6330efed0db8911afae653e4d78ba3caefb34d21 /hw/timer
parent566bf2de87160a8a2fe5a1ba1a2f31f6869f4f80 (diff)
downloadfocaccia-qemu-d192494a685ff6b132caec8ebdfdbcdcd04408b9.tar.gz
focaccia-qemu-d192494a685ff6b132caec8ebdfdbcdcd04408b9.zip
target/loongarch: Set function loongarch_map_address() with common code
Function loongarch_map_address is to get physical address from virtual
address, it is used by qmp commands to dump memory from virtual
address.

It is used by kvm mode also, here move function loongarch_map_address()
out of macro CONFIG_TCG. And it is common code, the similar with
function loongarch_page_table_walker().

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250423080417.3739809-6-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions