pagetable.cc (5124:3d8c50376609) | pagetable.cc (5184:8782de2949e5) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 41 unchanged lines hidden (view full) --- 50 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 51 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 53 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * 55 * Authors: Gabe Black 56 */ 57 | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 41 unchanged lines hidden (view full) --- 50 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 51 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 53 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * 55 * Authors: Gabe Black 56 */ 57 |
58#include "arch/x86/isa_traits.hh" |
|
58#include "arch/x86/pagetable.hh" 59#include "sim/serialize.hh" 60 61namespace X86ISA 62{ 63 | 59#include "arch/x86/pagetable.hh" 60#include "sim/serialize.hh" 61 62namespace X86ISA 63{ 64 |
65TlbEntry::TlbEntry(Addr asn, Addr _vaddr, Addr _paddr) : 66 paddr(_paddr), vaddr(_vaddr), size(PageBytes), writable(true), user(true), 67 uncacheable(false), global(false), patBit(0), noExec(false) 68{} 69 |
|
64void 65TlbEntry::serialize(std::ostream &os) 66{ 67} 68 69void 70TlbEntry::unserialize(Checkpoint *cp, const std::string §ion) 71{ 72} 73 74} | 70void 71TlbEntry::serialize(std::ostream &os) 72{ 73} 74 75void 76TlbEntry::unserialize(Checkpoint *cp, const std::string §ion) 77{ 78} 79 80} |