diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2015-04-29 08:34:29 +0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-04-30 16:05:48 +0300 |
commit | 2161be35ce57ed5b0da0b98f902d003bfebac2c9 (patch) | |
tree | b220e36263317b09632fb56b7ac0d31253a102c8 /target-microblaze | |
parent | 059ec9aa34fd3c5bfe65141741c671b3e80ac6e7 (diff) | |
download | qemu-2161be35ce57ed5b0da0b98f902d003bfebac2c9.zip qemu-2161be35ce57ed5b0da0b98f902d003bfebac2c9.tar.gz qemu-2161be35ce57ed5b0da0b98f902d003bfebac2c9.tar.bz2 |
microblaze: cpu: Renumber EXCP_* constants to close gap
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>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-microblaze')
-rw-r--r-- | target-microblaze/cpu.h | 10 |
1 files 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 |