gem5/src
Ali Saidi 027dfa01e6 stop m5 from leaking like a sieve
don't create a new physPort/virtPort every time activateContext() is called
add the ability to tell a memory object to delete it's reference to a port and a method to have a port call deletePortRefs()
on the port owner as well as delete it's peer
still need to stop calling connectMemoPorts() every time activateContext() is called or we'll overflow the bus id and panic

src/cpu/thread_state.cc:
    if we hav ea (phys|virt)Port don't create a new on, have it delete it's peer and then reuse it
src/mem/bus.cc:
src/mem/bus.hh:
    add ability to delete a port by usig a hash_map instead of an array to store port ids
    add a function to do deleting
src/mem/cache/cache.hh:
src/mem/cache/cache_impl.hh:
src/mem/mem_object.cc:
src/mem/mem_object.hh:
    adda function to delete port references from a memory object
src/mem/port.cc:
src/mem/port.hh:
    add a removeConn function that tell the owener to delete any references to the port and then deletes its peer

--HG--
extra : convert_revision : 272f0c8f80e1cf1ab1750d8be5a6c9aa110b06a4
2007-03-08 18:57:15 -05:00
..
arch I missed a couple of WithEffects, this should do it 2007-03-07 21:51:44 -05:00
base Add some constructors and an output operator to the Twin??_t types so that o3 SPARC will compile again. 2007-03-07 17:46:05 +00:00
cpu stop m5 from leaking like a sieve 2007-03-08 18:57:15 -05:00
dev Move all of the parameters of the Root SimObject so they are 2007-03-06 11:13:43 -08:00
doxygen Fix up doxygen. 2006-08-14 19:25:07 -04:00
kern *MiscReg->*MiscRegNoEffect, *MiscRegWithEffect->*MiscReg 2007-03-07 15:04:31 -05:00
mem stop m5 from leaking like a sieve 2007-03-08 18:57:15 -05:00
python Cleanup 2007-03-06 22:16:18 -08:00
sim fix compiling of FS after Gabe's last compile 2007-03-07 21:50:09 -05:00
unittest Quick program to time how long ccprintf takes to write 2007-02-07 22:02:09 -08:00
Doxyfile Fix up doxygen. 2006-08-14 19:25:07 -04:00
SConscript Add some constructors and an output operator to the Twin??_t types so that o3 SPARC will compile again. 2007-03-07 17:46:05 +00:00