Demand paging on Windows
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#ifndef QEMU_CPU_H
|
||||
#define QEMU_CPU_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "exec/hwaddr.h"
|
||||
#include "exec/memattrs.h"
|
||||
#include "qemu/bitmap.h"
|
||||
|
||||
@@ -35,6 +35,11 @@
|
||||
#include "tcg-apple-jit.h"
|
||||
#include "qemu/int128.h"
|
||||
|
||||
// Unicorn: Default region size for win32
|
||||
#if defined(_WIN32) && !defined(USE_STATIC_CODE_GEN_BUFFER)
|
||||
#define UC_TCG_REGION_PAGES_COUNT (128)
|
||||
#endif
|
||||
|
||||
/* XXX: make safe guess about sizes */
|
||||
#define MAX_OP_PER_INSTR 266
|
||||
|
||||
|
||||
Reference in New Issue
Block a user