]> git.proxmox.com Git - mirror_qemu.git/commit
translate-all: use qemu_protect_rwx/none helpers
authorEmilio G. Cota <cota@braap.org>
Sat, 15 Jul 2017 06:38:57 +0000 (02:38 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Oct 2017 20:53:42 +0000 (13:53 -0700)
commitf51f315a676ec913a55ac27be4ef857f9f7ddc5c
treec48baaaefadaa438304a63c6a99d46bc5074e19c
parent5fa64b3130af9a45e7e2a904bde1f8cfb72be5c9
translate-all: use qemu_protect_rwx/none helpers

The helpers require the address and size to be page-aligned, so
do that before calling them.

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>
accel/tcg/translate-all.c