OSDN Git Service

dump: Replace TARGET_PAGE_SIZE -> qemu_target_page_size()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 23 Feb 2023 22:38:59 +0000 (23:38 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commitc5d40b22e91cfddc7ba9e46c406bec3503cb3c71
treecb4fddb010521e9be5feb990ea7d172584fb0457
parentbb509d944129e9987d10d97a1dd4a3e099cd505d
dump: Replace TARGET_PAGE_SIZE -> qemu_target_page_size()

TARGET_PAGE_SIZE is target specific. In preparation of
making dump.c target-agnostic, replace the compile-time
TARGET_PAGE_SIZE definition by runtime qemu_target_page_size().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-3-philmd@linaro.org>
dump/dump.c