diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-04-12 00:42:28 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-04-12 00:42:28 +0200 |
commit | 8545364198da26f02f54343476947b8c11d17dfb (patch) | |
tree | 372ffb534282ca25afa88005a0413b679f3fc3a7 | |
parent | 2e42d52d95d613e38961727e6bac2028681340e3 (diff) | |
download | qemu-8545364198da26f02f54343476947b8c11d17dfb.zip qemu-8545364198da26f02f54343476947b8c11d17dfb.tar.gz qemu-8545364198da26f02f54343476947b8c11d17dfb.tar.bz2 |
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>
-rw-r--r-- | target-microblaze/cpu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index d0aee19..536222e 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; |