]> git.proxmox.com Git - qemu.git/commitdiff
microblaze: Add constant for exception-code mask
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Mon, 11 Apr 2011 21:55:42 +0000 (23:55 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Mon, 11 Apr 2011 21:55:42 +0000 (23:55 +0200)
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-microblaze/cpu.h

index cc096474ff99dc817f3c1a07d28f749e89fdf21a..d0aee190ba634f4ee3d8d6a58a15f386dc5dc336 100644 (file)
@@ -91,6 +91,7 @@ struct CPUMBState;
 #define          ESR_EC_INSN_STORAGE    9
 #define          ESR_EC_DATA_TLB        10
 #define          ESR_EC_INSN_TLB        11
+#define          ESR_EC_MASK            31
 
 /* Floating Point Status Register (FSR) Bits */
 #define FSR_IO          (1<<4) /* Invalid operation */