diff options
author | Gene Wu <Gene.Wu@arm.com> | 2010-08-23 11:18:41 -0500 |
---|---|---|
committer | Gene Wu <Gene.Wu@arm.com> | 2010-08-23 11:18:41 -0500 |
commit | f29e09746a1380eb43d2309de37d56beec9afab7 (patch) | |
tree | 1a9254adf1c75aa136753a05c92e83095875772e /src/arch/arm/table_walker.hh | |
parent | 4b9de4243943086294d7a2d7ab81a134d4fe5a49 (diff) | |
download | gem5-f29e09746a1380eb43d2309de37d56beec9afab7.tar.xz |
ARM: Fix Uncachable TLB requests and decoding of xn bit
Diffstat (limited to 'src/arch/arm/table_walker.hh')
-rw-r--r-- | src/arch/arm/table_walker.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/table_walker.hh b/src/arch/arm/table_walker.hh index 12c839d54..2a93c4460 100644 --- a/src/arch/arm/table_walker.hh +++ b/src/arch/arm/table_walker.hh @@ -107,13 +107,13 @@ class TableWalker : public MemObject /** Is the translation global (no asid used)? */ bool global() const { - return bits(data, 4); + return bits(data, 17); } /** Is the translation not allow execution? */ bool xn() const { - return bits(data, 17); + return bits(data, 4); } /** Three bit access protection flags */ |