]> Git Repo - qemu.git/commit - util/pagesize.c
util: move qemu_real_host_page_size/mask to osdep.h
authorEmilio G. Cota <[email protected]>
Sat, 15 Jul 2017 07:24:27 +0000 (03:24 -0400)
committerRichard Henderson <[email protected]>
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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Emilio G. Cota <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
exec.c
include/exec/cpu-all.h
include/qemu/osdep.h
util/Makefile.objs
util/pagesize.c [new file with mode: 0644]
This page took 0.025815 seconds and 4 git commands to generate.