fix partial writes with a functional memory hack
authorAli Saidi <saidi@eecs.umich.edu>
Mon, 7 May 2007 18:42:03 +0000 (14:42 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Mon, 7 May 2007 18:42:03 +0000 (14:42 -0400)
commit0dfc29a023ff407846ea4f200547e2b2d9de9c1a
treeea900fcfbb26455082766dfc99e39ab529f14e9c
parentb7292a1713afb95572dd0d379dcbb39d0bfd9191
fix partial writes with a functional memory hack
figure out the block size from devices attached to the bus otherwise use a default block size when no devices that care are attached

configs/common/FSConfig.py:
src/mem/bridge.cc:
src/mem/bridge.hh:
src/python/m5/objects/Bridge.py:
    fix partial writes with a functional memory hack
src/mem/bus.cc:
src/mem/bus.hh:
src/python/m5/objects/Bus.py:
    figure out the block size from devices attached to the bus otherwise use a default block size when no devices that care are attached
src/mem/packet.cc:
    fix WriteInvalidateResp to not be a request that needs a response since it isn't
src/mem/port.hh:
    by default return 0 for deviceBlockSize instead of panicing. This makes finding the block size the bus should use easier

--HG--
extra : convert_revision : 3fcfe95f9f392ef76f324ee8bd1d7f6de95c1a64
configs/common/FSConfig.py
src/mem/bridge.cc
src/mem/bridge.hh
src/mem/bus.cc
src/mem/bus.hh
src/mem/packet.cc
src/mem/port.hh
src/python/m5/objects/Bridge.py
src/python/m5/objects/Bus.py