Re: [Qemu-devel] [PATCH 04/12 v9] linux-user: Support tilegx architecture in linux-user

2015-04-10 Thread Chen Gang
On 4/10/15 05:44, Peter Maydell wrote: On 27 March 2015 at 10:52, Chen Gang xili_gchen_5...@hotmail.com wrote: [...] + +#define ELF_CLASS ELFCLASS64 +#define ELF_DATAELFDATA2LSB +#define ELF_ARCHEM_TILEGX + +static inline void init_thread(struct target_pt_regs *regs, +

[Qemu-devel] [PATCH 04/12 v9] linux-user: Support tilegx architecture in linux-user

2015-03-27 Thread Chen Gang
Add main working flow feature, system call processing feature, and elf64 tilegx binary loading feature, based on Linux kernel tilegx 64-bit implementation. Signed-off-by: Chen Gang gang.chen.5...@gmail.com --- include/elf.h| 2 ++ linux-user/elfload.c | 23 ++