From 8545364198da26f02f54343476947b8c11d17dfb Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Tue, 12 Apr 2011 00:42:28 +0200 Subject: [PATCH] microblaze: Add stream-insn related constants Based on a patch from: Alejandro Cabrera Signed-off-by: Edgar E. Iglesias --- target-microblaze/cpu.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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;