]> git.proxmox.com Git - mirror_qemu.git/commit
exec/cpu: Make host pages variables / macros 'target agnostic'
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 20 Jan 2022 00:08:36 +0000 (01:08 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Jan 2022 11:08:56 +0000 (12:08 +0100)
commitb269a70810aabe1dd5b2e475a25976fb7d6a0f3b
tree780fd8def3e741cbaa802f0f713ca5e2f5b1e904
parentde47b0ff40cae050a1ab674d7f4f097c12c527c6
exec/cpu: Make host pages variables / macros 'target agnostic'

"host" pages are related to the *host* not the *target*,
thus the qemu_host_page_size / qemu_host_page_mask variables
and the HOST_PAGE_ALIGN() / REAL_HOST_PAGE_ALIGN() macros
can be moved to "exec/cpu-common.h" which is target agnostic.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20220120000836.229419-1-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/exec/cpu-all.h
include/exec/cpu-common.h