physical.cc (9405:c0a0593510db) | physical.cc (9409:e399b6c18b76) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 311 unchanged lines hidden (view full) --- 320{ 321 // unserialize the locked addresses and map them to the 322 // appropriate memory controller 323 vector<Addr> lal_addr; 324 vector<int> lal_cid; 325 arrayParamIn(cp, section, "lal_addr", lal_addr); 326 arrayParamIn(cp, section, "lal_cid", lal_cid); 327 for(size_t i = 0; i < lal_addr.size(); ++i) { | 1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 311 unchanged lines hidden (view full) --- 320{ 321 // unserialize the locked addresses and map them to the 322 // appropriate memory controller 323 vector<Addr> lal_addr; 324 vector<int> lal_cid; 325 arrayParamIn(cp, section, "lal_addr", lal_addr); 326 arrayParamIn(cp, section, "lal_cid", lal_cid); 327 for(size_t i = 0; i < lal_addr.size(); ++i) { |
328 AddrRangeMap<AbstractMemory*>::iterator m = addrMap.find(lal_addr[i]); | 328 AddrRangeMap<AbstractMemory*>::const_iterator m = 329 addrMap.find(lal_addr[i]); |
329 m->second->addLockedAddr(LockedAddr(lal_addr[i], lal_cid[i])); 330 } 331 332 // unserialize the backing stores 333 unsigned int nbr_of_stores; 334 UNSERIALIZE_SCALAR(nbr_of_stores); 335 336 for (unsigned int i = 0; i < nbr_of_stores; ++i) { --- 83 unchanged lines hidden --- | 330 m->second->addLockedAddr(LockedAddr(lal_addr[i], lal_cid[i])); 331 } 332 333 // unserialize the backing stores 334 unsigned int nbr_of_stores; 335 UNSERIALIZE_SCALAR(nbr_of_stores); 336 337 for (unsigned int i = 0; i < nbr_of_stores; ++i) { --- 83 unchanged lines hidden --- |