qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/4] TriCore exception patches


From: Bastian Koppelmann
Subject: [Qemu-devel] [PATCH v2 0/4] TriCore exception patches
Date: Mon, 15 Feb 2016 14:10:42 +0100

Hi,

this series add the infrastructure to generate and handle tricore exceptions
and adds three types of exceptions (context management,illegal opcodes, and
register-pair) which I tested so far. However more patches will follow that add
the missing exceptions that make sense to QEMU.

Richard, am I right that cpu_exec_interrupt() saves the pre-interrupt state
for asynchronous exceptions, like helper_exception_raise_sync() does for 
synchronous exceptions in this patch?

Cheers,
Bastian

v1 -> v2:
    - replace helper raise_exception_error by raise_exception_sync,
      that takes care of saving the pre-interrupt state for synchronous
      exceptions.
    - rewrite of generate_trap() in translate.c. It directly
      calls the raise_exception_sync helper instead of saving the
      pre-interrupt state itself.    
    - drop PATCH[2/5]: target-tricore: Save the pc before CSA operations for 
exceptions

Bastian Koppelmann (4):
  target-tricore: Add trap handling
  target-tricore: add context managment trap generation
  target-tricore: add illegal opcode trap generation
  target-tricore: add opd trap generation

 target-tricore/cpu-qom.h   |   2 +-
 target-tricore/cpu.c       |   2 +-
 target-tricore/cpu.h       |   1 +
 target-tricore/helper.c    |  16 ++
 target-tricore/helper.h    |   3 +
 target-tricore/op_helper.c | 146 +++++++++++++-
 target-tricore/translate.c | 472 ++++++++++++++++++++++++++++++++++++++++++---
 7 files changed, 610 insertions(+), 32 deletions(-)

-- 
2.7.1




reply via email to

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