aboutsummaryrefslogtreecommitdiff
path: root/target/microblaze/cpu.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2019-10-30 14:09:37 +0100
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2020-04-30 12:11:03 +0200
commit1507e5f62e047fb78700f3e14c988d16a3a52ead (patch)
tree5fc37919eed16e820ba6909d31a9f856a4b3fcbc /target/microblaze/cpu.h
parent622cc7305cdfe2402950d21bc2160a76646bf259 (diff)
downloadqemu-1507e5f62e047fb78700f3e14c988d16a3a52ead.zip
qemu-1507e5f62e047fb78700f3e14c988d16a3a52ead.tar.gz
qemu-1507e5f62e047fb78700f3e14c988d16a3a52ead.tar.bz2
target/microblaze: Add the unaligned-exceptions property
Add the unaligned-exceptions property to control if the core traps unaligned memory accesses. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Luc Michel <luc.michel@greensocs.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target/microblaze/cpu.h')
-rw-r--r--target/microblaze/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index 3c07f9b..ef9081d 100644
--- a/target/microblaze/cpu.h
+++ b/target/microblaze/cpu.h
@@ -306,6 +306,7 @@ struct MicroBlazeCPU {
bool illegal_opcode_exception;
bool opcode_0_illegal;
bool div_zero_exception;
+ bool unaligned_exceptions;
char *version;
uint8_t pvr;
} cfg;