mbox series

[v2,0/2] target/hexagon: event codes

Message ID 20240827002631.3492200-1-bcain@quicinc.com
Headers show
Series target/hexagon: event codes | expand

Message

Brian Cain Aug. 27, 2024, 12:26 a.m. UTC
Changes in v2:

* Fixed the HEX_EVENT_{INVALID*,PRIV*,etc} - several of these were actually
cause codes, just like TRAP0.
* I combined "Rename HEX_EXCP_ => HEX_EVENT_" and "rename HEX_EVENT_TRAP0=>HEX_CAUSE_TRAP0"
into a single commit.

Brian Cain (2):
  target/hexagon: rename HEX_EXCP_*=>HEX_CAUSE_*
  target/hexagon: add enums for event, cause

 linux-user/hexagon/cpu_loop.c |  4 ++--
 target/hexagon/cpu.h          |  2 +-
 target/hexagon/cpu_bits.h     | 21 ++++++++++++++-------
 target/hexagon/gen_tcg.h      |  2 +-
 target/hexagon/translate.c    |  6 +++---
 5 files changed, 21 insertions(+), 14 deletions(-)