mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Use mmap() within code_gen_alloc() for OpenBSD.
Signed-off-by: Brad Smith <brad@comstyle.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7ae63a517f
commit
cbb608a5c8
1 changed files with 2 additions and 1 deletions
3
exec.c
3
exec.c
|
@ -517,7 +517,8 @@ static void code_gen_alloc(unsigned long tb_size)
|
|||
exit(1);
|
||||
}
|
||||
}
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \
|
||||
|| defined(__DragonFly__) || defined(__OpenBSD__)
|
||||
{
|
||||
int flags;
|
||||
void *addr = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue