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