summaryrefslogtreecommitdiff
path: root/target-microblaze
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-04-12 00:42:28 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-04-12 00:42:28 +0200
commit357440ec762d531f850d48ef2753c18647f1de8d (patch)
tree372ffb534282ca25afa88005a0413b679f3fc3a7 /target-microblaze
parenta49dec7979fd8fd74b8419a0a5c5e6d83bea62c5 (diff)
downloadqemu-357440ec762d531f850d48ef2753c18647f1de8d.tar.gz
qemu-357440ec762d531f850d48ef2753c18647f1de8d.tar.bz2
qemu-357440ec762d531f850d48ef2753c18647f1de8d.zip
microblaze: Add stream-insn related constants
Based on a patch from: Alejandro Cabrera <aldaya@gmail.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze')
-rw-r--r--target-microblaze/cpu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index d0aee190ba..536222e4b8 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -79,6 +79,8 @@ struct CPUMBState;
#define ESR_DIZ (1<<11) /* Zone Protection */
#define ESR_S (1<<10) /* Store instruction */
+#define ESR_ESS_FSL_OFFSET 5
+
#define ESR_EC_FSL 0
#define ESR_EC_UNALIGNED_DATA 1
#define ESR_EC_ILLEGAL_OP 2
@@ -212,6 +214,13 @@ struct CPUMBState;
#define CC_EQ 0
#define NB_MMU_MODES 3
+
+#define STREAM_EXCEPTION (1 << 0)
+#define STREAM_ATOMIC (1 << 1)
+#define STREAM_TEST (1 << 2)
+#define STREAM_CONTROL (1 << 3)
+#define STREAM_NONBLOCK (1 << 4)
+
typedef struct CPUMBState {
uint32_t debug;
uint32_t btaken;