85a86,95
> /** Keep track of all memories we can execute code out of
> * in our system
> */
> for (int x = 0; x < p->memories.size(); x++) {
> if (!p->memories[x])
> continue;
> memRanges.push_back(RangeSize(p->memories[x]->start(),
> p->memories[x]->size()));
> }
>
290a301,311
> bool
> System::isMemory(const Addr addr) const
> {
> std::list<Range<Addr> >::const_iterator i;
> for (i = memRanges.begin(); i != memRanges.end(); i++) {
> if (*i == addr)
> return true;
> }
> return false;
> }
>