Unicorn interface working with test app in 32bit and 64bit builds.

This commit is contained in:
xorstream
2017-01-20 17:27:22 +11:00
parent 1aeaf5c40d
commit 002151874a
17 changed files with 248 additions and 829 deletions

View File

@@ -977,7 +977,16 @@ typedef struct CPUX86State {
uint8_t nmi_injected;
uint8_t nmi_pending;
CPU_COMMON
#if NB_MMU_MODES == 0
#error NB_MMU_MODES is zero
#endif
#if CPU_TLB_SIZE == 0
#error CPU_TLB_SIZE is zero
#endif
#if CPU_VTLB_SIZE == 0
#error CPU_VTLB_SIZE is zero
#endif
CPU_COMMON
/* Fields from here on are preserved across CPU reset. */