mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-03-02 03:26:07 +00:00
[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:
parent
b16658d39e
commit
3a64e583b6
2469
arch/M68K/M68Kdasm.c
2469
arch/M68K/M68Kdasm.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user