[M68K] Multi instance support, reentrance support

Implement reentrance support by using an internal private structure
m68k_info.
Only g_instruction_table is still global as it's read only, and
will be initialized once, by the first instance.
Related to issue #494

typedef struct m68k_info {
	MCInst *inst;
	uint pc;        /* program counter */
	uint ir;        /* instruction register */
	uint type;
	unsigned int address_mask; /* Address mask to simulate address lines */
} m68k_info;

Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
This commit is contained in:
Nicolas PLANEL 2015-10-04 20:07:57 +11:00
parent b16658d39e
commit 3a64e583b6

File diff suppressed because it is too large Load Diff