summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/SConscript2
-rw-r--r--src/sim/tlb.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/SConscript b/src/sim/SConscript
index 1753b33c0..b0af4c795 100644
--- a/src/sim/SConscript
+++ b/src/sim/SConscript
@@ -48,12 +48,12 @@ Source('simulate.cc')
Source('startup.cc')
Source('stat_control.cc')
Source('system.cc')
-Source('tlb.cc')
if env['FULL_SYSTEM']:
Source('arguments.cc')
Source('pseudo_inst.cc')
else:
+ Source('tlb.cc')
SimObject('Process.py')
Source('process.cc')
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;
}