physical.hh (7733:08d6a773d1b6) physical.hh (7770:6286bb50127e)
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;

--- 134 unchanged lines hidden (view full) ---

143 return !isLLSC; // only do write if not an sc
144 } else {
145 // iterate over list...
146 return checkLockedAddrList(pkt);
147 }
148 }
149
150 uint8_t *pmemAddr;
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;

--- 134 unchanged lines hidden (view full) ---

143 return !isLLSC; // only do write if not an sc
144 } else {
145 // iterate over list...
146 return checkLockedAddrList(pkt);
147 }
148 }
149
150 uint8_t *pmemAddr;
151 int pagePtr;
152 Tick lat;
153 Tick lat_var;
154 std::vector<MemoryPort*> ports;
155 typedef std::vector<MemoryPort*>::iterator PortIterator;
156
157 uint64_t _size;
158 uint64_t _start;
159 public:
151 Tick lat;
152 Tick lat_var;
153 std::vector<MemoryPort*> ports;
154 typedef std::vector<MemoryPort*>::iterator PortIterator;
155
156 uint64_t _size;
157 uint64_t _start;
158 public:
160 Addr new_page();
161 uint64_t size() { return _size; }
162 uint64_t start() { return _start; }
163
164 public:
165 typedef PhysicalMemoryParams Params;
166 PhysicalMemory(const Params *p);
167 virtual ~PhysicalMemory();
168

--- 26 unchanged lines hidden ---
159 uint64_t size() { return _size; }
160 uint64_t start() { return _start; }
161
162 public:
163 typedef PhysicalMemoryParams Params;
164 PhysicalMemory(const Params *p);
165 virtual ~PhysicalMemory();
166

--- 26 unchanged lines hidden ---