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
---
include/elf.h | 2 +
linux-user/elfload.c | 23
linux-user/main.c | 295 ++
On 6/13/15 21:10, Chen Gang wrote:
> +
> +void cpu_loop(CPUTLGState *env)
> +{
> +CPUState *cs = CPU(tilegx_env_get_cpu(env));
> +int trapnr;
> +
> +while (1) {
> +cpu_exec_start(cs);
> +trapnr = cpu_tilegx_exec(env);
> +cpu_exec_end(cs);
> +switch (trapn
On 7/19/15 19:31, Chen Gang wrote:
> On 6/13/15 21:10, Chen Gang wrote:
>> +
>> +void cpu_loop(CPUTLGState *env)
>> +{
>> +CPUState *cs = CPU(tilegx_env_get_cpu(env));
>> +int trapnr;
>> +
>> +while (1) {
>> +cpu_exec_start(cs);
>> +trapnr = cpu_tilegx_exec(env);
>> +