pagetable.hh (10905:a6ca6831e775) | pagetable.hh (11168:f98eb2da15a4) |
---|---|
1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * Copyright (c) 2007 The Hewlett-Packard Development Company 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 135 unchanged lines hidden (view full) --- 144 } 145 146 // Return the page size in bytes 147 int size() 148 { 149 return (1 << logBytes); 150 } 151 | 1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * Copyright (c) 2007 The Hewlett-Packard Development Company 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 135 unchanged lines hidden (view full) --- 144 } 145 146 // Return the page size in bytes 147 int size() 148 { 149 return (1 << logBytes); 150 } 151 |
152 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 153 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 152 void serialize(CheckpointOut &cp) const override; 153 void unserialize(CheckpointIn &cp) override; |
154 }; 155 156 /** The size of each level of the page table expressed in base 2 157 * logarithmic values 158 */ 159 const std::vector<uint8_t> PageTableLayout = {9, 9, 9, 9}; 160 161 /* x86 specific PTE flags */ --- 64 unchanged lines hidden --- | 154 }; 155 156 /** The size of each level of the page table expressed in base 2 157 * logarithmic values 158 */ 159 const std::vector<uint8_t> PageTableLayout = {9, 9, 9, 9}; 160 161 /* x86 specific PTE flags */ --- 64 unchanged lines hidden --- |