tlb.hh (10474:799c8ee4ecba) | tlb.hh (10558:426665ec11a9) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * Copyright (c) 2007-2008 The Florida State University 5 * Copyright (c) 2009 The University of Edinburgh 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 48 unchanged lines hidden (view full) --- 57struct TlbEntry 58{ 59 Addr _pageStart; 60 61 TlbEntry() 62 { 63 } 64 | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * Copyright (c) 2007-2008 The Florida State University 5 * Copyright (c) 2009 The University of Edinburgh 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 48 unchanged lines hidden (view full) --- 57struct TlbEntry 58{ 59 Addr _pageStart; 60 61 TlbEntry() 62 { 63 } 64 |
65 TlbEntry(Addr asn, Addr vaddr, Addr paddr) | 65 TlbEntry(Addr asn, Addr vaddr, Addr paddr, 66 bool uncacheable, bool read_only) |
66 : _pageStart(paddr) 67 { | 67 : _pageStart(paddr) 68 { |
69 if (uncacheable || read_only) 70 warn("Power TlbEntry does not support uncacheable" 71 " or read-only mappings\n"); |
|
68 } 69 70 void 71 updateVaddr(Addr new_vaddr) 72 { 73 panic("unimplemented"); 74 } 75 --- 103 unchanged lines hidden --- | 72 } 73 74 void 75 updateVaddr(Addr new_vaddr) 76 { 77 panic("unimplemented"); 78 } 79 --- 103 unchanged lines hidden --- |