* [Qemu-devel] [PATCH] mb: cpu: Renumber EXCP_* constants to close gap
@ 2015-04-29 5:40 Michael Tokarev
2015-04-29 5:42 ` Edgar E. Iglesias
0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2015-04-29 5:40 UTC (permalink / raw)
To: qemu-devel
Cc: qemu-trivial, Edgar E . Iglesias, Peter Crosthwaite, Michael Tokarev
After removal of EXCP_NMI there's a gap in EXCP_*
numbering. Let's remove it.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
Since I applied Peter's series already, without renumbering,
b/c he wanted to make no code changes and that's a good plan,
I send this renumbering as a separate change. Hopefully this
way it is possible to get Reviewed-by from Edgar for the whole
series including this my change in a separate patch, because
Edgar only gave his R-b for the series with the change :)
target-microblaze/cpu.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 6522af7..d389597 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -36,11 +36,11 @@ typedef struct CPUMBState CPUMBState;
#define ELF_MACHINE EM_MICROBLAZE
-#define EXCP_MMU 2
-#define EXCP_IRQ 3
-#define EXCP_BREAK 4
-#define EXCP_HW_BREAK 5
-#define EXCP_HW_EXCP 6
+#define EXCP_MMU 1
+#define EXCP_IRQ 2
+#define EXCP_BREAK 3
+#define EXCP_HW_BREAK 4
+#define EXCP_HW_EXCP 5
/* MicroBlaze-specific interrupt pending bits. */
#define CPU_INTERRUPT_NMI CPU_INTERRUPT_TGT_EXT_3
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] mb: cpu: Renumber EXCP_* constants to close gap
2015-04-29 5:40 [Qemu-devel] [PATCH] mb: cpu: Renumber EXCP_* constants to close gap Michael Tokarev
@ 2015-04-29 5:42 ` Edgar E. Iglesias
0 siblings, 0 replies; 2+ messages in thread
From: Edgar E. Iglesias @ 2015-04-29 5:42 UTC (permalink / raw)
To: Michael Tokarev; +Cc: qemu-trivial, Peter Crosthwaite, qemu-devel
On Wed, Apr 29, 2015 at 08:40:01AM +0300, Michael Tokarev wrote:
> After removal of EXCP_NMI there's a gap in EXCP_*
> numbering. Let's remove it.
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
>
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
> Since I applied Peter's series already, without renumbering,
> b/c he wanted to make no code changes and that's a good plan,
> I send this renumbering as a separate change. Hopefully this
> way it is possible to get Reviewed-by from Edgar for the whole
> series including this my change in a separate patch, because
> Edgar only gave his R-b for the series with the change :)
>
> target-microblaze/cpu.h | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
> index 6522af7..d389597 100644
> --- a/target-microblaze/cpu.h
> +++ b/target-microblaze/cpu.h
> @@ -36,11 +36,11 @@ typedef struct CPUMBState CPUMBState;
>
> #define ELF_MACHINE EM_MICROBLAZE
>
> -#define EXCP_MMU 2
> -#define EXCP_IRQ 3
> -#define EXCP_BREAK 4
> -#define EXCP_HW_BREAK 5
> -#define EXCP_HW_EXCP 6
> +#define EXCP_MMU 1
> +#define EXCP_IRQ 2
> +#define EXCP_BREAK 3
> +#define EXCP_HW_BREAK 4
> +#define EXCP_HW_EXCP 5
>
> /* MicroBlaze-specific interrupt pending bits. */
> #define CPU_INTERRUPT_NMI CPU_INTERRUPT_TGT_EXT_3
> --
> 2.1.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-29 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29 5:40 [Qemu-devel] [PATCH] mb: cpu: Renumber EXCP_* constants to close gap Michael Tokarev
2015-04-29 5:42 ` Edgar E. Iglesias
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.