tlb.hh (5543:3af77710f397) | tlb.hh (5877:9fe574944f31) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 54 unchanged lines hidden (view full) --- 63 TlbEntry() {} 64 TlbEntry(Addr asn, Addr vaddr, Addr paddr) : _pageStart(paddr) {} 65 66 Addr pageStart() 67 { 68 return _pageStart; 69 } 70 | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 54 unchanged lines hidden (view full) --- 63 TlbEntry() {} 64 TlbEntry(Addr asn, Addr vaddr, Addr paddr) : _pageStart(paddr) {} 65 66 Addr pageStart() 67 { 68 return _pageStart; 69 } 70 |
71 void 72 updateVaddr(Addr new_vaddr) {} 73 |
|
71 void serialize(std::ostream &os) 72 { 73 SERIALIZE_SCALAR(_pageStart); 74 } 75 76 void unserialize(Checkpoint *cp, const std::string §ion) 77 { 78 UNSERIALIZE_SCALAR(_pageStart); --- 89 unchanged lines hidden --- | 74 void serialize(std::ostream &os) 75 { 76 SERIALIZE_SCALAR(_pageStart); 77 } 78 79 void unserialize(Checkpoint *cp, const std::string §ion) 80 { 81 UNSERIALIZE_SCALAR(_pageStart); --- 89 unchanged lines hidden --- |