summaryrefslogtreecommitdiff
path: root/src/arch/arm/types.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-06-23 14:49:56 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-11-22 16:12:38 +0000
commite80899c49a758d966ae47920c296325d64fea383 (patch)
tree5521bb4501cf4ebc7b3a60f05c8db466a70f81b9 /src/arch/arm/types.hh
parenteac97c91da74acb602c580b36415ab4c6b08b582 (diff)
downloadgem5-e80899c49a758d966ae47920c296325d64fea383.tar.xz
arch-arm: Add support for the brk instruction
Add support for software breakpoints as signalled by the aarch64 brk instruction. This introduces a new SoftwareBreakpoint fault. Change-Id: I93646c3298e09d7f7b0983108ba8937c7331297a Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com> Reviewed-on: https://gem5-review.googlesource.com/5721 Reviewed-by: Giacomo Gabrielli <Giacomo.Gabrielli@arm.com>
Diffstat (limited to 'src/arch/arm/types.hh')
-rw-r--r--src/arch/arm/types.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh
index 9fd945abe..30725811a 100644
--- a/src/arch/arm/types.hh
+++ b/src/arch/arm/types.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2012-2013 ARM Limited
+ * Copyright (c) 2010, 2012-2013, 2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -621,7 +621,8 @@ namespace ArmISA
EC_STACK_PTR_ALIGNMENT = 0x26,
EC_FP_EXCEPTION = 0x28,
EC_FP_EXCEPTION_64 = 0x2C,
- EC_SERROR = 0x2F
+ EC_SERROR = 0x2F,
+ EC_SOFTWARE_BREAKPOINT = 0x38,
};
/**