|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] ARM hosts: code_gen_alloc() maps code buffer on top of libc heap |
Date: | Fri, 28 Oct 2011 18:14:16 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 10/28/2011 04:32 PM, Peter Maydell wrote:
I suspect we need to drop the MAP_FIXED requirement and fix the TCG code to cope with emitting code for longer-range branches for calls to host fns etc (calls/branches within the generated code should be ok to keep using the short-range branch insn I think). There is already no guarantee that the generated code and the host C code are within short branch range of each other...
Does USE_STATIC_CODE_GEN_BUFFER fix it? Do you know why "Currently it is not recommended to allocate big chunks of data in user mode"?
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |