[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v2 1/2] target/hexagon: rename HEX_EXCP_*=>HEX_CAUSE_*
From: |
ltaylorsimpson |
Subject: |
RE: [PATCH v2 1/2] target/hexagon: rename HEX_EXCP_*=>HEX_CAUSE_* |
Date: |
Mon, 26 Aug 2024 19:44:33 -0600 |
> -----Original Message-----
> From: Brian Cain <bcain@quicinc.com>
> Sent: Monday, August 26, 2024 6:27 PM
> To: qemu-devel@nongnu.org
> Cc: bcain@quicinc.com; quic_mathbern@quicinc.com;
> sidneym@quicinc.com; quic_mliebel@quicinc.com;
> ltaylorsimpson@gmail.com; Laurent Vivier <laurent@vivier.eu>
> Subject: [PATCH v2 1/2] target/hexagon: rename
> HEX_EXCP_*=>HEX_CAUSE_*
>
> The values previously used for "HEX_EXCP_*" were the cause code
> definitions and not the event numbers. So in this commit, we update the
> names to reflect the cause codes. In HEX_EVENT_TRAP0's case, we add a
> new "HEX_EVENT_*" with the correct event number.
>
> Signed-off-by: Brian Cain <bcain@quicinc.com>
> ---
> linux-user/hexagon/cpu_loop.c | 4 ++--
> target/hexagon/cpu.h | 2 +-
> target/hexagon/cpu_bits.h | 15 ++++++++-------
> target/hexagon/gen_tcg.h | 2 +-
> target/hexagon/translate.c | 6 +++---
> 5 files changed, 15 insertions(+), 14 deletions(-)
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>