diff options
Diffstat (limited to 'src/arch/mips/pagetable.hh')
-rwxr-xr-x | src/arch/mips/pagetable.hh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/arch/mips/pagetable.hh b/src/arch/mips/pagetable.hh index 8678eb7e4..992d6649b 100755 --- a/src/arch/mips/pagetable.hh +++ b/src/arch/mips/pagetable.hh @@ -83,7 +83,14 @@ struct TlbEntry { Addr _pageStart; TlbEntry() {} - TlbEntry(Addr asn, Addr vaddr, Addr paddr) : _pageStart(paddr) {} + TlbEntry(Addr asn, Addr vaddr, Addr paddr, + bool uncacheable, bool read_only) + : _pageStart(paddr) + { + if (uncacheable || read_only) + warn("MIPS TlbEntry does not support uncacheable" + " or read-only mappings\n"); + } Addr pageStart() { |