-off-by: Kwok Cheung Yeung
---
linux-user/main.c | 56 ++-
1 file changed, 35 insertions(+), 21 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 5c2f7b2..8eaf33a 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
Decode trap instructions during the handling of an EXCP_BREAK or EXCP_TRAP
according to the current ISA mode.
Signed-off-by: Kwok Cheung Yeung
---
linux-user/main.c | 46 +++---
1 file changed, 43 insertions(+), 3 deletions(-)
v2->v3: Handle microM
Decode trap instructions during the handling of an EXCP_TRAP according to
the current ISA mode.
Signed-off-by: Kwok Cheung Yeung
---
linux-user/main.c | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
v2: Read microMIPS instructions sequentially as 16-bit values to
On 19/07/2013 3:52 PM, Peter Maydell wrote:
On 19 July 2013 15:47, Kwok Cheung Yeung wrote:
Decode trap instructions during the handling of an EXCP_TRAP according to
the current ISA mode.
Signed-off-by: Kwok Cheung Yeung
---
linux-user/main.c | 20 ++--
1 file changed, 18
Decode trap instructions during the handling of a EXCP_TRAP according to
the current ISA mode.
Signed-off-by: Kwok Cheung Yeung
---
linux-user/main.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 7f15d3d..c417e26 100644
--- a
or set accordingly. Bit 0 of the PC is then cleared.
Signed-off-by: Kwok Cheung Yeung
---
linux-user/signal.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 1055507..dc34ae7 100644
--- a/linux-user/signal.c
+++ b/linux-user
reused.
MIPS_HFLAG_BMASK in hflags is cleared, otherwise QEMU may treat the
first instruction of the signal handler as a delay slot instruction.
Signed-off-by: Kwok Cheung Yeung
---
linux-user/signal.c | 3 ++-
target-mips/cpu.h| 1 +
target-mips/helper.c | 4 ++--
3 files changed, 5
Add fixes for signal return and delay slot instructions
- Refactor code
Kwok Cheung Yeung (2):
linux-user: Fix MIPS ISA transitions during signal handling
linux-user: Save the correct resume address for MIPS signal handling
linux-user/signal.c | 16 +++-
target-mips/cpu.h|
: Kwok Cheung Yeung
---
linux-user/signal.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 1055507..abfb382 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -2662,6 +2662,11 @@ static void setup_frame(int sig, struct
: Kwok Cheung Yeung
---
linux-user/signal.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 1055507..abfb382 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -2662,6 +2662,11 @@ static void setup_frame(int sig, struct
10 matches
Mail list logo