* core: Make segment granularity adjustable
Segments in x86 real mode have 16 byte granularity(4 address bits).
There are however systems (namely the Vautomation/ARC Turbo 186 cores)
that use 256 byte(8 address bits) instead to allow access to 16MiB memory.
Unfortunately fixed granularity is hard coded in lots of places in r2.
This patch adds asm.seggrn configuration and fixes the hardcoded
assumptions in core.
Signed-off-by: Dirk Eibach <eibach@gdsys.cc>
* anal_x86_cs: Make segment granularity adjustable
Fix hard coded segment granularity assumptions in capstone
anal module.
Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>