Received: from eggs.gnu.org ([2001:4830:134:3::10]:40160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrZpc-00055N-08 for qemu-devel@nongnu.org; Sun, 10 May 2015 18:36:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrZpX-0007wC-0B for qemu-devel@nongnu.org; Sun, 10 May 2015 18:36:19 -0400 Received: from blu004-omc1s33.hotmail.com ([65.55.116.44]:51449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrZpW-0007w7-SF for qemu-devel@nongnu.org; Sun, 10 May 2015 18:36:14 -0400 Message-ID: Date: Mon, 11 May 2015 06:36:23 +0800 From: Chen Gang MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 00/10 v10] tilegx: Firstly add tilegx target for linux-user List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , =?UTF-8?B?QW5kcmVhcyBGw6RyYg==?= =?UTF-8?B?ZXI=?= , "rth@twiddle.net" , Chris Metcalf Cc: "walt@tilera.com" , Riku Voipio , qemu-devel At present, it can run into glibc _init_malloc(), but cause assertion, which should be fixed, next. Since it already has quite a few of code, so send patches firstly, and next, continue fixing the issue. Chen Gang (10): linux-user: tilegx: Firstly add architecture related features linux-user: Support tilegx architecture in linux-user linux-user/syscall.c: conditionalize syscalls which are not defined in tilegx target-tilegx: Add opcode basic implementation from Tilera Corporation target-tilegx/opcode_tilegx.h: Modify it to fit qemu using target-tilegx: Add special register information from Tilera Corporation target-tilegx: Add cpu basic features for linux-user target-tilegx: Add helper features for linux-user target-tilegx: Generate tcg instructions to execute to _init_malloc in glib target-tilegx: Add TILE-Gx building files configure | 2 + default-configs/tilegx-linux-user.mak | 1 + include/elf.h | 2 + linux-user/elfload.c | 23 + linux-user/main.c | 148 ++ linux-user/syscall.c | 50 +- linux-user/syscall_defs.h | 14 +- linux-user/tilegx/syscall.h | 35 + linux-user/tilegx/syscall_nr.h | 278 ++++ linux-user/tilegx/target_cpu.h | 35 + linux-user/tilegx/target_signal.h | 29 + linux-user/tilegx/target_structs.h | 48 + linux-user/tilegx/termbits.h | 285 ++++ target-tilegx/Makefile.objs | 1 + target-tilegx/cpu.c | 143 ++ target-tilegx/cpu.h | 156 ++ target-tilegx/helper.c | 41 + target-tilegx/helper.h | 3 + target-tilegx/opcode_tilegx.h | 1405 ++++++++++++++++ target-tilegx/spr_def_64.h | 216 +++ target-tilegx/translate.c | 2889 +++++++++++++++++++++++++++++++++ 21 files changed, 5798 insertions(+), 6 deletions(-) create mode 100644 default-configs/tilegx-linux-user.mak create mode 100644 linux-user/tilegx/syscall.h create mode 100644 linux-user/tilegx/syscall_nr.h create mode 100644 linux-user/tilegx/target_cpu.h create mode 100644 linux-user/tilegx/target_signal.h create mode 100644 linux-user/tilegx/target_structs.h create mode 100644 linux-user/tilegx/termbits.h create mode 100644 target-tilegx/Makefile.objs create mode 100644 target-tilegx/cpu.c create mode 100644 target-tilegx/cpu.h create mode 100644 target-tilegx/helper.c create mode 100644 target-tilegx/helper.h create mode 100644 target-tilegx/opcode_tilegx.h create mode 100644 target-tilegx/spr_def_64.h create mode 100644 target-tilegx/translate.c -- 1.9.3