changeset 9b424e7adac5 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=9b424e7adac5
description:
arm: Identify table-walker requests
This patch ensures all page-table walks are flagged as such.
diffstat:
src/arch/arm/table_walker.cc | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (63 lines):
diff -r d4b162a57400 -r 9b424e7adac5 src/arch/arm/table_walker.cc
--- a/src/arch/arm/table_walker.cc Fri May 15 13:39:53 2015 -0400
+++ b/src/arch/arm/table_walker.cc Fri May 15 13:40:01 2015 -0400
@@ -525,9 +525,9 @@
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 @@
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 @@
}
if (currState->sctlr.c == 0) {
- flag = Request::UNCACHEABLE;
+ flag.set(Request::UNCACHEABLE);
}
if (currState->isSecure)
@@ -936,9 +936,9 @@
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 @@
return;
}
- Request::Flags flag = 0;
+ Request::Flags flag = Request::PT_WALK;
if (currState->isSecure)
flag.set(Request::SECURE);
@@ -1633,7 +1633,7 @@
return;
}
- Request::Flags flag = 0;
+ Request::Flags flag = Request::PT_WALK;
if (currState->secureLookup)
flag.set(Request::SECURE);
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev