summaryrefslogtreecommitdiff
path: root/src/arch/arm/isa/templates/misc.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-10-13 01:57:31 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-10-13 01:57:31 -0700
commit930c653270b1523cbeb32a4b48d1fd08eaac6eb8 (patch)
tree57a7c91f46975998626424123edada275e8649fb /src/arch/arm/isa/templates/misc.isa
parentb273e0be33049fc36b386b5ba183f69de53268c2 (diff)
downloadgem5-930c653270b1523cbeb32a4b48d1fd08eaac6eb8.tar.xz
Mem: Change the CLREX flag to CLEAR_LL.
CLREX is the name of an ARM instruction, not a name for this generic flag.
Diffstat (limited to 'src/arch/arm/isa/templates/misc.isa')
-rw-r--r--src/arch/arm/isa/templates/misc.isa3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/arm/isa/templates/misc.isa b/src/arch/arm/isa/templates/misc.isa
index 46af3f5b1..f8dac05f8 100644
--- a/src/arch/arm/isa/templates/misc.isa
+++ b/src/arch/arm/isa/templates/misc.isa
@@ -367,7 +367,8 @@ def template ClrexInitiateAcc {{
if (%(predicate_test)s)
{
if (fault == NoFault) {
- unsigned memAccessFlags = Request::CLREX|3|Request::LLSC;
+ unsigned memAccessFlags = Request::CLEAR_LL |
+ ArmISA::TLB::AlignWord | Request::LLSC;
fault = xc->read(0, (uint32_t&)Mem, memAccessFlags);
}
} else {