Address Translation: Make the Generic TLB only compile in SE mode.
--HG-- extra : convert_revision : 7eb9a78480174f754f51f75983ee5a1b31280bd3
This commit is contained in:
parent
703d10705c
commit
13b1f7231c
2 changed files with 2 additions and 2 deletions
|
@ -48,12 +48,12 @@ Source('simulate.cc')
|
||||||
Source('startup.cc')
|
Source('startup.cc')
|
||||||
Source('stat_control.cc')
|
Source('stat_control.cc')
|
||||||
Source('system.cc')
|
Source('system.cc')
|
||||||
Source('tlb.cc')
|
|
||||||
|
|
||||||
if env['FULL_SYSTEM']:
|
if env['FULL_SYSTEM']:
|
||||||
Source('arguments.cc')
|
Source('arguments.cc')
|
||||||
Source('pseudo_inst.cc')
|
Source('pseudo_inst.cc')
|
||||||
else:
|
else:
|
||||||
|
Source('tlb.cc')
|
||||||
SimObject('Process.py')
|
SimObject('Process.py')
|
||||||
|
|
||||||
Source('process.cc')
|
Source('process.cc')
|
||||||
|
|
|
@ -67,7 +67,7 @@ class GenericTLB : public GenericTLBBase
|
||||||
if(doSizeCheck && !isPowerOf2(size))
|
if(doSizeCheck && !isPowerOf2(size))
|
||||||
panic("Invalid request size!\n");
|
panic("Invalid request size!\n");
|
||||||
if (doAlignmentCheck && ((size - 1) & paddr))
|
if (doAlignmentCheck && ((size - 1) & paddr))
|
||||||
return Fault(new GenericAlignmentFault(paddr));
|
return new GenericAlignmentFault(paddr);
|
||||||
|
|
||||||
return NoFault;
|
return NoFault;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue