pagetable.cc revision 5124
16145Snate@binkert.org/* 26145Snate@binkert.org * Copyright (c) 2007 The Hewlett-Packard Development Company 36145Snate@binkert.org * All rights reserved. 46145Snate@binkert.org * 56145Snate@binkert.org * Redistribution and use of this software in source and binary forms, 66145Snate@binkert.org * with or without modification, are permitted provided that the 76145Snate@binkert.org * following conditions are met: 86145Snate@binkert.org * 96145Snate@binkert.org * The software must be used only for Non-Commercial Use which means any 106145Snate@binkert.org * use which is NOT directed to receiving any direct monetary 116145Snate@binkert.org * compensation for, or commercial advantage from such use. Illustrative 126145Snate@binkert.org * examples of non-commercial use are academic research, personal study, 136145Snate@binkert.org * teaching, education and corporate research & development. 146145Snate@binkert.org * Illustrative examples of commercial use are distributing products for 156145Snate@binkert.org * commercial advantage and providing services using the software for 166145Snate@binkert.org * commercial advantage. 176145Snate@binkert.org * 186145Snate@binkert.org * If you wish to use this software or functionality therein that may be 196145Snate@binkert.org * covered by patents for commercial use, please contact: 206145Snate@binkert.org * Director of Intellectual Property Licensing 216145Snate@binkert.org * Office of Strategy and Technology 226145Snate@binkert.org * Hewlett-Packard Company 236145Snate@binkert.org * 1501 Page Mill Road 246145Snate@binkert.org * Palo Alto, California 94304 256145Snate@binkert.org * 266145Snate@binkert.org * Redistributions of source code must retain the above copyright notice, 276145Snate@binkert.org * this list of conditions and the following disclaimer. Redistributions 286145Snate@binkert.org * in binary form must reproduce the above copyright notice, this list of 296145Snate@binkert.org * conditions and the following disclaimer in the documentation and/or 307054Snate@binkert.org * other materials provided with the distribution. Neither the name of 317054Snate@binkert.org * the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 327054Snate@binkert.org * contributors may be used to endorse or promote products derived from 337054Snate@binkert.org * this software without specific prior written permission. No right of 347054Snate@binkert.org * sublicense is granted herewith. Derivatives of the software and 357054Snate@binkert.org * output created using the software may be prepared, but only for 367054Snate@binkert.org * Non-Commercial Uses. Derivatives of the software may be shared with 376145Snate@binkert.org * others provided: (i) the others agree to abide by the list of 386145Snate@binkert.org * conditions herein which includes the Non-Commercial Use restrictions; 397054Snate@binkert.org * and (ii) such Derivatives of the software include the above copyright 407054Snate@binkert.org * notice to acknowledge the contribution from this software where 416145Snate@binkert.org * applicable, this list of conditions and the disclaimer below. 427002Snate@binkert.org * 437454Snate@binkert.org * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 447002Snate@binkert.org * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 459389Sandreas.hansson@arm.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 469389Sandreas.hansson@arm.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 479274Snilay@cs.wisc.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 489274Snilay@cs.wisc.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 499274Snilay@cs.wisc.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 506145Snate@binkert.org * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 516145Snate@binkert.org * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 526145Snate@binkert.org * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 536145Snate@binkert.org * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 546145Snate@binkert.org * 556145Snate@binkert.org * Authors: Gabe Black 569274Snilay@cs.wisc.edu */ 577054Snate@binkert.org 587054Snate@binkert.org#include "arch/x86/pagetable.hh" 599274Snilay@cs.wisc.edu#include "sim/serialize.hh" 609274Snilay@cs.wisc.edu 617054Snate@binkert.orgnamespace X86ISA 626145Snate@binkert.org{ 639274Snilay@cs.wisc.edu 647454Snate@binkert.orgvoid 657454Snate@binkert.orgTlbEntry::serialize(std::ostream &os) 669499Snilay@cs.wisc.edu{ 677054Snate@binkert.org} 687054Snate@binkert.org 697454Snate@binkert.orgvoid 707054Snate@binkert.orgTlbEntry::unserialize(Checkpoint *cp, const std::string §ion) 717054Snate@binkert.org{ 727054Snate@binkert.org} 736145Snate@binkert.org 747054Snate@binkert.org} 757054Snate@binkert.org