mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
619205fd1f
commit
3637cf58f9
5 changed files with 25 additions and 6 deletions
|
@ -40,6 +40,7 @@ util-obj-y += buffer.o
|
|||
util-obj-y += timed-average.o
|
||||
util-obj-y += base64.o
|
||||
util-obj-y += log.o
|
||||
util-obj-y += pagesize.o
|
||||
util-obj-y += qdist.o
|
||||
util-obj-y += qht.o
|
||||
util-obj-y += range.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue