qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6] target-tilegx: Support iret instruction and


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v6] target-tilegx: Support iret instruction and related special registers
Date: Wed, 7 Oct 2015 20:27:16 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 10/07/2015 10:21 AM, Chen Gang wrote:
From fa0950e403bbb98989117f632215ae0e698457d7 Mon Sep 17 00:00:00 2001
From: Chen Gang<address@hidden>
Date: Sun, 4 Oct 2015 17:41:14 +0800
Subject: [PATCH v6] target-tilegx: Support iret instruction and related special 
registers

EX_CONTEXT_0_0 is used for jumping address, and EX_CONTEXT_0_1 is for
INTERRUPT_CRITICAL_SECTION, which should only be 0 or 1 in user mode, or
it will cause target SIGILL (and the patch doesn't support system mode).

Signed-off-by: Chen Gang<address@hidden>
---
  target-tilegx/cpu.h       |  2 ++
  target-tilegx/helper.c    | 22 ++++++++++++++++++++++
  target-tilegx/helper.h    |  1 +
  target-tilegx/translate.c | 14 +++++++++++++-
  4 files changed, 38 insertions(+), 1 deletion(-)

Applied.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]