include: Move qemu_mprotect_*() to new qemu/mprotect.h
commitf2241d16eaa142b4092b11ace48f2a0472bf4ad6
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Feb 2022 20:08:53 +0000 (8 20:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Feb 2022 13:30:20 +0000 (21 13:30 +0000)
treec9054274241f849364296f27cc04578bb22fd7a6
parentb85ea5fa2f0bc281b9700a51ba69aebcc76b108c
include: Move qemu_mprotect_*() to new qemu/mprotect.h

The qemu_mprotect_*() family of functions are used in very few files;
move them from osdep.h to a new qemu/mprotect.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220208200856.3558249-3-peter.maydell@linaro.org
include/qemu/mprotect.h [new file with mode: 0644]
include/qemu/osdep.h
tcg/region.c
util/osdep.c