]> git.proxmox.com Git - mirror_qemu.git/commit - util/Makefile.objs
util: move qemu_real_host_page_size/mask to osdep.h
authorEmilio G. Cota <cota@braap.org>
Sat, 15 Jul 2017 07:24:27 +0000 (03:24 -0400)
committerRichard Henderson <rth@twiddle.net>
Tue, 10 Oct 2017 16:45:00 +0000 (09:45 -0700)
commit3637cf58f9441ad277fd70299a29d0e39b32c96c
tree002ca459e436bd62bfa5611ef308411aa5f19b82
parent619205fd1facd5078d127cd94e4713b590770f96
util: move qemu_real_host_page_size/mask to osdep.h

These only depend on the host and therefore belong in the common
osdep, not in a target-dependent object.

While at it, query the host during an init constructor, which guarantees
the page size will be well-defined throughout the execution of the program.

Suggested-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
exec.c
include/exec/cpu-all.h
include/qemu/osdep.h
util/Makefile.objs
util/pagesize.c [new file with mode: 0644]