summaryrefslogtreecommitdiff
path: root/src/arch/arm/miscregs.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2014-10-29 23:18:24 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2014-10-29 23:18:24 -0500
commit9900629f83139ed213a440375ea32bc95333b8d9 (patch)
tree1cfe6a9e6f854d8f48c5bb1aa863b8c9c7db838a /src/arch/arm/miscregs.hh
parente3ee27c7b4da421676ca7d77c0953726259890d5 (diff)
downloadgem5-9900629f83139ed213a440375ea32bc95333b8d9.tar.xz
arm: Mark some miscregs (timer counter) registers at unverifiable.
The checker can't verify timer registers, so it should just grab the version from the executing CPU, otherwise it could get a larger value and diverge execution.
Diffstat (limited to 'src/arch/arm/miscregs.hh')
-rw-r--r--src/arch/arm/miscregs.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/arm/miscregs.hh b/src/arch/arm/miscregs.hh
index 3852caee8..930902543 100644
--- a/src/arch/arm/miscregs.hh
+++ b/src/arch/arm/miscregs.hh
@@ -677,6 +677,8 @@ namespace ArmISA
enum MiscRegInfo {
MISCREG_IMPLEMENTED,
+ MISCREG_UNVERIFIABLE, // Does the value change on every read (e.g. a
+ // arch generic counter)
MISCREG_WARN_NOT_FAIL, // If MISCREG_IMPLEMENTED is deasserted, it
// tells whether the instruction should raise a
// warning or fail