diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2014-10-29 23:18:24 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2014-10-29 23:18:24 -0500 |
commit | 9900629f83139ed213a440375ea32bc95333b8d9 (patch) | |
tree | 1cfe6a9e6f854d8f48c5bb1aa863b8c9c7db838a /src/arch/arm/miscregs.hh | |
parent | e3ee27c7b4da421676ca7d77c0953726259890d5 (diff) | |
download | gem5-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.hh | 2 |
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 |