physical.hh (3349:fec4a86fa212) physical.hh (3751:b422ffec62c1)
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;
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;
157 };
158
159 protected:
160 Params *_params;
161
162 public:
163 const Params *params() const { return _params; }
164 PhysicalMemory(Params *p);

--- 21 unchanged lines hidden ---
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 ---