]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Add function loongarch_get_addr_from_tlb
authorBibo Mao <maobibo@loongson.cn>
Wed, 23 Apr 2025 08:04:10 +0000 (16:04 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 24 Apr 2025 01:59:23 +0000 (09:59 +0800)
commita8d1b5bca5d234bfeaf215c079696735e5aafe71
treea6261b5ca3691e1816a22150c4c6318a55d9fcb8
parent4ac7eecb7439f6a978b44a0504a446c95f1bcc76
target/loongarch: Add function loongarch_get_addr_from_tlb

Function loongarch_get_addr_from_tlb() is added to get physical address
from TLB tables. TLB table only works in TCG mode, in future this
function will be moved to TCG directory.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250423080417.3739809-3-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
target/loongarch/cpu_helper.c