diff options
author | Richard Henderson <rth@twiddle.net> | 2012-10-16 17:30:10 +1000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-10-20 07:54:04 +0000 |
commit | f1bc0bcc9dbbbf5674add3075b5efe0a93fe34f0 (patch) | |
tree | 759d3a2802259143da4da7ffe0d29a9ecf933fd7 /iov.c | |
parent | 5f072e1f3075bd869e0ace9f2545a85992ac0084 (diff) | |
download | qemu-f1bc0bcc9dbbbf5674add3075b5efe0a93fe34f0.zip qemu-f1bc0bcc9dbbbf5674add3075b5efe0a93fe34f0.tar.gz qemu-f1bc0bcc9dbbbf5674add3075b5efe0a93fe34f0.tar.bz2 |
exec: Split up and tidy code_gen_buffer
It now consists of:
A macro definition of MAX_CODE_GEN_BUFFER_SIZE with host-specific values,
A function size_code_gen_buffer that applies most of the reasoning for
choosing a buffer size,
Three variations of a function alloc_code_gen_buffer that contain all
of the logic for allocating executable memory via a given allocation
mechanism.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'iov.c')
0 files changed, 0 insertions, 0 deletions