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;
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();
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 ---