1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 140 unchanged lines hidden (view full) --- 149 Addr new_page(); 150 uint64_t size() { return params()->addrRange.size(); } 151 152 struct Params 153 { 154 std::string name; 155 Range<Addr> addrRange; 156 Tick latency; |
157 bool zero; |
158 }; 159 160 protected: 161 Params *_params; 162 163 public: 164 const Params *params() const { return _params; } 165 PhysicalMemory(Params *p); --- 21 unchanged lines hidden --- |