2017-01-22 19:04:55 +03:00
|
|
|
/* Automatically generated by create_config - do not modify */
|
2017-04-21 10:26:21 +03:00
|
|
|
#define HOST_I386 1
|
|
|
|
#define CONFIG_WIN32 1
|
2021-10-03 17:14:44 +03:00
|
|
|
#define CONFIG_TCG 1
|
2017-01-16 09:21:12 +03:00
|
|
|
#define CONFIG_CPUID_H 1
|
2021-10-03 17:14:44 +03:00
|
|
|
// #define CONFIG_INT128 1
|
|
|
|
#define CONFIG_CMPXCHG128 1
|
2022-02-23 22:22:54 +03:00
|
|
|
// #define CONFIG_ATOMIC64 1
|
2021-10-03 17:14:44 +03:00
|
|
|
#define CONFIG_PLUGIN 1
|
2023-01-29 00:04:43 +03:00
|
|
|
|
|
|
|
// QEMU by default allocates (and commits) 1GB memory on Windows, and multiple Unicorn instances will result in OOM error easily.
|
|
|
|
// Unfortunately, Windows doesn't have a similar demand paging feature like mmap(), therefore a workaround is to use tcg regions mechanism.
|
|
|
|
// Note most Unicorn hacks (and even QEMU!) relies on the assumption that the translation memory won't run out and thus it might result
|
2023-01-29 00:18:39 +03:00
|
|
|
// in some unexpected errors. If that is case, define WIN32_QEMU_ALLOC_BUFFER to align with QEMU and Unicorn <= 2.0.1 behavior.
|
2023-01-29 00:04:43 +03:00
|
|
|
//
|
2023-01-29 00:18:39 +03:00
|
|
|
// #define WIN32_QEMU_ALLOC_BUFFER
|