diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-05-15 13:40:01 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-05-15 13:40:01 -0400 |
commit | 99d3fa594565660d8d51fbda005e3c2213723fef (patch) | |
tree | 136147a093aa08e987f64e5ab44afea8d7b03950 /src/arch/arm | |
parent | bd583d00f96cd6e8bb0669e2aacc9dfad1eda2b1 (diff) | |
download | gem5-99d3fa594565660d8d51fbda005e3c2213723fef.tar.xz |
arm: Identify table-walker requests
This patch ensures all page-table walks are flagged as such.
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/table_walker.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/arm/table_walker.cc b/src/arch/arm/table_walker.cc index 91e7f601e..e92971b7d 100644 --- a/src/arch/arm/table_walker.cc +++ b/src/arch/arm/table_walker.cc @@ -525,9 +525,9 @@ TableWalker::processWalk() return f; } - Request::Flags flag = 0; + Request::Flags flag = Request::PT_WALK; if (currState->sctlr.c == 0) { - flag = Request::UNCACHEABLE; + flag.set(Request::UNCACHEABLE); } bool delayed; @@ -553,7 +553,7 @@ TableWalker::processWalkLPAE() statWalkWaitTime.sample(curTick() - currState->startTime); - Request::Flags flag = 0; + Request::Flags flag = Request::PT_WALK; if (currState->isSecure) flag.set(Request::SECURE); @@ -689,7 +689,7 @@ TableWalker::processWalkLPAE() } if (currState->sctlr.c == 0) { - flag = Request::UNCACHEABLE; + flag.set(Request::UNCACHEABLE); } if (currState->isSecure) @@ -936,9 +936,9 @@ TableWalker::processWalkAArch64() return f; } - Request::Flags flag = 0; + Request::Flags flag = Request::PT_WALK; if (currState->sctlr.c == 0) { - flag = Request::UNCACHEABLE; + flag.set(Request::UNCACHEABLE); } currState->longDesc.lookupLevel = start_lookup_level; @@ -1452,7 +1452,7 @@ TableWalker::doL1Descriptor() return; } - Request::Flags flag = 0; + Request::Flags flag = Request::PT_WALK; if (currState->isSecure) flag.set(Request::SECURE); @@ -1633,7 +1633,7 @@ TableWalker::doLongDescriptor() return; } - Request::Flags flag = 0; + Request::Flags flag = Request::PT_WALK; if (currState->secureLookup) flag.set(Request::SECURE); |