]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/region.c
tcg: Return the map protection from alloc_code_gen_buffer
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Mar 2021 19:59:37 +0000 (13:59 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Jun 2021 00:42:40 +0000 (17:42 -0700)
commit7be9ebcf924c04b22f4c4cf990f51da4259b07c3
tree3c5375f3cf4b56e01076188d2717f8b05c8ad772
parent032a4b1ba09ab15bb9331a75d49db186e782c00c
tcg: Return the map protection from alloc_code_gen_buffer

Change the interface from a boolean error indication to a
negative error vs a non-negative protection.  For the moment
this is only interface change, not making use of the new data.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/region.c