This series adds support for Tensilica Xtensa target. Port status: Linux for DC232B works in the qemu. Not implemented xtensa options: MAC16, floating point coprocessor, boolean option, cache option, debug option.
v1 -> v2 changes: - extract PS register and access control into separate patch; - implement all memory protection options; - GDB support. Max Filippov (31): target-xtensa: add target stubs target-xtensa: add target to the configure script target-xtensa: implement disas_xtensa_insn target-xtensa: implement narrow instructions target-xtensa: implement RT0 group target-xtensa: add sample board target-xtensa: implement conditional jumps target-xtensa: implement JX/RET0/CALLX target-xtensa: add special and user registers target-xtensa: implement RST3 group target-xtensa: implement shifts (ST1 and RST1 groups) target-xtensa: implement LSAI group target-xtensa: mark reserved and TBD opcodes target-xtensa: implement SYNC group target-xtensa: implement CACHE group target-xtensa: add PS register and access control target-xtensa: implement exceptions target-xtensa: implement RST2 group (32 bit mul/div/rem) target-xtensa: implement windowed registers target-xtensa: implement loop option target-xtensa: implement extended L32R target-xtensa: implement unaligned exception option target-xtensa: implement SIMCALL target-xtensa: implement interrupt option target-xtensa: implement accurate window check target-xtensa: implement CPENABLE and PRID SRs target-xtensa: implement relocatable vectors target-xtensa: add gdb support target-xtensa: implement memory protection options target-xtensa: add dc232b core and board MAINTAINERS: add xtensa maintainer MAINTAINERS | 13 + Makefile.target | 5 + arch_init.c | 2 + arch_init.h | 1 + configure | 12 +- cpu-exec.c | 8 + default-configs/xtensa-softmmu.mak | 1 + default-configs/xtensaeb-softmmu.mak | 1 + elf.h | 2 + gdbstub.c | 96 + hw/xtensa_dc232b.c | 112 ++ hw/xtensa_pic.c | 126 ++ hw/xtensa_sample.c | 106 ++ qemu-options.hx | 4 +- target-xtensa/cpu.h | 422 +++++ target-xtensa/exec.h | 39 + target-xtensa/gdb-config-dc232b.c | 261 +++ target-xtensa/gdb-config-sample-xtensa-core.c | 375 ++++ target-xtensa/helper.c | 745 ++++++++ target-xtensa/helpers.h | 31 + target-xtensa/machine.c | 38 + target-xtensa/op_helper.c | 662 +++++++ target-xtensa/translate.c | 2288 +++++++++++++++++++++++++ xtensa-semi.c | 223 +++ 24 files changed, 5570 insertions(+), 3 deletions(-) create mode 100644 default-configs/xtensa-softmmu.mak create mode 100644 default-configs/xtensaeb-softmmu.mak create mode 100644 hw/xtensa_dc232b.c create mode 100644 hw/xtensa_pic.c create mode 100644 hw/xtensa_sample.c create mode 100644 target-xtensa/cpu.h create mode 100644 target-xtensa/exec.h create mode 100644 target-xtensa/gdb-config-dc232b.c create mode 100644 target-xtensa/gdb-config-sample-xtensa-core.c create mode 100644 target-xtensa/helper.c create mode 100644 target-xtensa/helpers.h create mode 100644 target-xtensa/machine.c create mode 100644 target-xtensa/op_helper.c create mode 100644 target-xtensa/translate.c create mode 100644 xtensa-semi.c -- 1.7.3.4
