Skip to content

Commit

Permalink
microblaze: cpu: Renumber EXCP_* constants to close gap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Tokarev committed Apr 30, 2015
1 parent 059ec9a commit 2161be3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions target-microblaze/cpu.h
Expand Up @@ -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
Expand Down

0 comments on commit 2161be3

Please sign in to comment.