mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:56:38 +00:00
target: Rename cpu_get_phys_page_{,attrs_}debug
Rename cpu_phys_page_debug() and cpu_phys_page_attrs_debug() to cpu_phys_addr_debug() and cpu_phys_addr_attrs_debug(). Commit created with: sed -i -e 's/cpu_get_phys_page_debug/cpu_get_phys_addr_debug/g;s/cpu_get_phys_page_attrs_debug/cpu_get_phys_addr_attrs_debug/g' $(git grep -l cpu_get_phys_page) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260417173105.1648172-10-peter.maydell@linaro.org Message-ID: <20260430093810.2762539-11-peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
committed by
Philippe Mathieu-Daudé
parent
85ea0ab9e7
commit
d6aefbc524
@@ -619,7 +619,7 @@ bool qemu_plugin_translate_vaddr(uint64_t vaddr, uint64_t *hwaddr)
|
||||
#ifdef CONFIG_SOFTMMU
|
||||
g_assert(current_cpu);
|
||||
|
||||
uint64_t res = cpu_get_phys_page_debug(current_cpu, vaddr);
|
||||
uint64_t res = cpu_get_phys_addr_debug(current_cpu, vaddr);
|
||||
|
||||
if (res == (uint64_t)-1) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user