[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 10/11] target/sparc: call plugin trap callbacks
From: |
Alex Bennée |
Subject: |
Re: [RFC PATCH v3 10/11] target/sparc: call plugin trap callbacks |
Date: |
Thu, 09 Jan 2025 13:46:49 +0000 |
User-agent: |
mu4e 1.12.8; emacs 29.4 |
Julian Ganz <neither@nut.email> writes:
> We recently introduced API for registering callbacks for trap related
> events as well as the corresponding hook functions. Due to differences
> between architectures, the latter need to be called from target specific
> code.
>
> This change places hooks for SPARC (32bit and 64bit) targets. We treat
> any interrupt other than EXTINT and IVEC as exceptions as they appear to
> be synchroneous events.
> ---
> target/sparc/int32_helper.c | 7 +++++++
> target/sparc/int64_helper.c | 10 ++++++++++
> 2 files changed, 17 insertions(+)
>
> diff --git a/target/sparc/int32_helper.c b/target/sparc/int32_helper.c
> index f2dd8bcb2e..86b21eecb6 100644
> --- a/target/sparc/int32_helper.c
> +++ b/target/sparc/int32_helper.c
> @@ -24,6 +24,7 @@
> #include "exec/cpu_ldst.h"
> #include "exec/log.h"
> #include "sysemu/runstate.h"
> +#include "qemu/plugin.h"
Also a merge failure due to tidying up of target/sparc/sysemu
directories.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [RFC PATCH v3 10/11] target/sparc: call plugin trap callbacks,
Alex Bennée <=