From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql2DJ-0008Ci-8y for qemu-devel@nongnu.org; Sun, 24 Jul 2011 13:11:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ql2DI-00050T-1D for qemu-devel@nongnu.org; Sun, 24 Jul 2011 13:11:37 -0400 Received: from mail-fx0-f47.google.com ([209.85.161.47]:56785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql2DH-0004u6-LD for qemu-devel@nongnu.org; Sun, 24 Jul 2011 13:11:35 -0400 Received: by fxg11 with SMTP id 11so8353846fxg.34 for ; Sun, 24 Jul 2011 10:11:34 -0700 (PDT) From: Max Filippov Date: Sun, 24 Jul 2011 21:10:38 +0400 Message-Id: <1311527469-12963-1-git-send-email-jcmvbkbc@gmail.com> Subject: [Qemu-devel] [PATCH v2 00/31] target-xtensa: new target architecture List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jcmvbkbc@gmail.com 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