[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 15/16 v1] tilegx: Match with the latest qemu master
From: |
Chen Gang |
Subject: |
[Qemu-devel] [PATCH 15/16 v1] tilegx: Match with the latest qemu master tree |
Date: |
Fri, 21 Aug 2015 05:47:59 +0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
The interface of cpu_exec and cpu_exec_init are changed, so qemu tilegx
should match with them.
Signed-off-by: Chen Gang <address@hidden>
---
linux-user/main.c | 2 +-
target-tilegx/cpu.c | 2 +-
target-tilegx/cpu.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index f0bda09..2d4b0b4 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -3644,7 +3644,7 @@ void cpu_loop(CPUTLGState *env)
while (1) {
cpu_exec_start(cs);
- trapnr = cpu_tilegx_exec(env);
+ trapnr = cpu_tilegx_exec(cs);
cpu_exec_end(cs);
switch (trapnr) {
case TILEGX_EXCP_SYSCALL:
diff --git a/target-tilegx/cpu.c b/target-tilegx/cpu.c
index 663fcb6..4793909 100644
--- a/target-tilegx/cpu.c
+++ b/target-tilegx/cpu.c
@@ -77,7 +77,7 @@ static void tilegx_cpu_initfn(Object *obj)
static bool tcg_initialized;
cs->env_ptr = env;
- cpu_exec_init(env);
+ cpu_exec_init(cs, &error_abort);
if (tcg_enabled() && !tcg_initialized) {
tcg_initialized = true;
diff --git a/target-tilegx/cpu.h b/target-tilegx/cpu.h
index 808f4e5..a7c812b 100644
--- a/target-tilegx/cpu.h
+++ b/target-tilegx/cpu.h
@@ -153,7 +153,7 @@ static inline TileGXCPU *tilegx_env_get_cpu(CPUTLGState
*env)
#include "exec/cpu-all.h"
void tilegx_tcg_init(void);
-int cpu_tilegx_exec(CPUTLGState *s);
+int cpu_tilegx_exec(CPUState *s);
int cpu_tilegx_signal_handler(int host_signum, void *pinfo, void *puc);
TileGXCPU *cpu_tilegx_init(const char *cpu_model);
--
1.9.3
- [Qemu-devel] [PATCH 09/16] target-tilegx: Generate tcg instructions to finish "Hello world", (continued)
- Message not available
- Message not available
- [Qemu-devel] [PATCH 00/16 v1] tilegx: Firstly add tilegx target for linux-user, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 01/16 v1] linux-user: tilegx: Firstly add architecture related features, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 02/16 v1] linux-user: Support tilegx architecture in linux-user, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 04/16 v1] target-tilegx: Add opcode basic implementation from Tilera Corporation, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 05/16 v1] target-tilegx/opcode_tilegx.h: Modify it to fit QEMU usage, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 09/16 v1] target-tilegx: Generate tcg instructions to finish "Hello world", Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 11/16 v1] target-tilegx: Add related feature to support iret instruction, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 14/16 v1] linux-user: main: Use negative qemu errno for syscall return errno, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 15/16 v1] tilegx: Match with the latest qemu master tree,
Chen Gang <=
- [Qemu-devel] [PATCH 16/16 v1] target-tilegx: Implement additional instructions in normal working flow, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 07/16 v1] target-tilegx: Add cpu basic features for linux-user, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 06/16 v1] target-tilegx: Add special register information from Tilera Corporation, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 08/16 v1] target-tilegx: Add several helpers for instructions translation, Chen Gang, 2015/08/20
- [Qemu-devel] [PATCH 03/16 v1] linux-user/syscall.c: conditionalize syscalls which are not defined in tilegx, Chen Gang, 2015/08/20
- Re: [Qemu-devel] [PATCH 00/16 v1] tilegx: Firstly add tilegx target for linux-user, Richard Henderson, 2015/08/21
- Message not available
- Message not available
- Message not available