summaryrefslogtreecommitdiff
path: root/src/sim/tlb.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-27 18:30:58 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-27 18:30:58 -0700
commit13b1f7231c8a30fd0a7c7a5b0df6ba4c75430943 (patch)
tree6377f5c33e86dd3a3f3754bde721a39bc7c07a81 /src/sim/tlb.hh
parent703d10705ce4e5db0b388853ab8699e3c9d49835 (diff)
downloadgem5-13b1f7231c8a30fd0a7c7a5b0df6ba4c75430943.tar.xz
Address Translation: Make the Generic TLB only compile in SE mode.
--HG-- extra : convert_revision : 7eb9a78480174f754f51f75983ee5a1b31280bd3
Diffstat (limited to 'src/sim/tlb.hh')
-rw-r--r--src/sim/tlb.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/tlb.hh b/src/sim/tlb.hh
index b54eb501f..c4c171015 100644
--- a/src/sim/tlb.hh
+++ b/src/sim/tlb.hh
@@ -67,7 +67,7 @@ class GenericTLB : public GenericTLBBase
if(doSizeCheck && !isPowerOf2(size))
panic("Invalid request size!\n");
if (doAlignmentCheck && ((size - 1) & paddr))
- return Fault(new GenericAlignmentFault(paddr));
+ return new GenericAlignmentFault(paddr);
return NoFault;
}