mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
disas: Split disas.c
The routines in disas-common.c are also used from disas-mon.c. Otherwise the rest of disassembly is only used from tcg. While we're at it, put host and target code into separate files. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b67c567b79
commit
c0d691ab84
8 changed files with 382 additions and 340 deletions
|
@ -14,7 +14,11 @@ common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
|
|||
common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
|
||||
common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
|
||||
common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
|
||||
common_ss.add(files('disas.c'))
|
||||
|
||||
common_ss.add(when: 'CONFIG_TCG', if_true: files(
|
||||
'disas-host.c',
|
||||
'disas-target.c',
|
||||
'objdump.c'
|
||||
))
|
||||
common_ss.add(files('disas-common.c'))
|
||||
system_ss.add(files('disas-mon.c'))
|
||||
specific_ss.add(capstone)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue