gem5/src/mem
Andreas Hansson 0d32940711 Bus: Split the bus into a non-coherent and coherent bus
This patch introduces a class hierarchy of buses, a non-coherent one,
and a coherent one, splitting the existing bus functionality. By doing
so it also enables further specialisation of the two types of buses.

A non-coherent bus connects a number of non-snooping masters and
slaves, and routes the request and response packets based on the
address. The request packets issued by the master connected to a
non-coherent bus could still snoop in caches attached to a coherent
bus, as is the case with the I/O bus and memory bus in most system
configurations. No snoops will, however, reach any master on the
non-coherent bus itself. The non-coherent bus can be used as a
template for modelling PCI, PCIe, and non-coherent AMBA and OCP buses,
and is typically used for the I/O buses.

A coherent bus connects a number of (potentially) snooping masters and
slaves, and routes the request and response packets based on the
address, and also forwards all requests to the snoopers and deals with
the snoop responses. The coherent bus can be used as a template for
modelling QPI, HyperTransport, ACE and coherent OCP buses, and is
typically used for the L1-to-L2 buses and as the main system
interconnect.

The configuration scripts are updated to use a NoncoherentBus for all
peripheral and I/O buses.

A bit of minor tidying up has also been done.

--HG--
rename : src/mem/bus.cc => src/mem/coherent_bus.cc
rename : src/mem/bus.hh => src/mem/coherent_bus.hh
rename : src/mem/bus.cc => src/mem/noncoherent_bus.cc
rename : src/mem/bus.hh => src/mem/noncoherent_bus.hh
2012-05-31 13:30:04 -04:00
..
cache Bus: Turn the PortId into a transport function parameter 2012-05-30 05:30:24 -04:00
config Fixes to get prefetching working again. 2009-02-16 08:56:40 -08:00
protocol MOESI_hammer: tbe allocation and dependent wakeup fixes 2012-04-06 13:47:07 -07:00
ruby Ruby: Remove the unused src/mem/ruby/common/Driver.* files. 2012-05-22 11:35:58 -05:00
slicc clang/gcc: Fix compilation issues with clang 3.0 and gcc 4.6 2012-04-14 05:43:31 -04:00
abstract_mem.cc gem5: assert before indexing intro arrays to verify bounds 2012-05-10 18:04:27 -05:00
abstract_mem.hh MEM: Enable multiple distributed generalized memories 2012-04-06 13:46:31 -04:00
AbstractMemory.py MEM: Enable multiple distributed generalized memories 2012-04-06 13:46:31 -04:00
bridge.cc Bridge: Split deferred request, response and sender state 2012-05-30 05:28:06 -04:00
bridge.hh Packet: Unify the use of PortID in packet and port 2012-05-30 05:29:42 -04:00
Bridge.py MEM: Introduce the master/slave port roles in the Python classes 2012-02-13 06:43:09 -05:00
bus.cc Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
bus.hh Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
Bus.py Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
coherent_bus.cc Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
coherent_bus.hh Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
comm_monitor.cc MEM: Add the communication monitor 2012-05-09 04:37:45 -04:00
comm_monitor.hh MEM: Add the communication monitor 2012-05-09 04:37:45 -04:00
CommMonitor.py MEM: Add the communication monitor 2012-05-09 04:37:45 -04:00
fs_translating_port_proxy.cc mem: fix bug with CopyStringOut and null string termination. 2012-05-10 18:04:27 -05:00
fs_translating_port_proxy.hh MEM: Introduce the master/slave port sub-classes in C++ 2012-03-30 09:40:11 -04:00
mem_object.cc MEM: Introduce the master/slave port sub-classes in C++ 2012-03-30 09:40:11 -04:00
mem_object.hh MEM: Introduce the master/slave port sub-classes in C++ 2012-03-30 09:40:11 -04:00
MemObject.py Major changes to how SimObjects are created and initialized. Almost all 2007-07-23 21:51:38 -07:00
mport.cc MEM: Separate snoops and normal memory requests/responses 2012-04-14 05:45:07 -04:00
mport.hh MEM: Separate requests and responses for timing accesses 2012-05-01 13:40:42 -04:00
noncoherent_bus.cc Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
noncoherent_bus.hh Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
packet.cc Packet: Cleaning up packet command and attribute 2012-05-23 09:18:04 -04:00
packet.hh Packet: Unify the use of PortID in packet and port 2012-05-30 05:29:42 -04:00
packet_access.hh arch: nuke arch/isa_specific.hh and move stuff to generated config/the_isa.hh 2009-09-23 08:34:21 -07:00
packet_queue.cc MEM: Separate requests and responses for timing accesses 2012-05-01 13:40:42 -04:00
packet_queue.hh MEM: Separate requests and responses for timing accesses 2012-05-01 13:40:42 -04:00
page_table.cc Another merge with the main repository. 2012-01-07 02:16:37 -08:00
page_table.hh SE/FS: Get rid of includes of config/full_system.hh. 2011-11-18 02:20:22 -08:00
physical.cc MEM: Enable multiple distributed generalized memories 2012-04-06 13:46:31 -04:00
physical.hh MEM: Enable multiple distributed generalized memories 2012-04-06 13:46:31 -04:00
port.cc Packet: Unify the use of PortID in packet and port 2012-05-30 05:29:42 -04:00
port.hh Packet: Unify the use of PortID in packet and port 2012-05-30 05:29:42 -04:00
port_proxy.cc MEM: Remove the Broadcast destination from the packet 2012-04-14 05:45:55 -04:00
port_proxy.hh MEM: Introduce the master/slave port sub-classes in C++ 2012-03-30 09:40:11 -04:00
qport.hh MEM: Separate requests and responses for timing accesses 2012-05-01 13:40:42 -04:00
request.hh mem: fix cache stats to use request ids correctly 2012-02-12 16:07:39 -06:00
SConscript Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
se_translating_port_proxy.cc MEM: Introduce the master/slave port sub-classes in C++ 2012-03-30 09:40:11 -04:00
se_translating_port_proxy.hh MEM: Introduce the master/slave port sub-classes in C++ 2012-03-30 09:40:11 -04:00
simple_mem.cc MEM: Enable multiple distributed generalized memories 2012-04-06 13:46:31 -04:00
simple_mem.hh MEM: Enable multiple distributed generalized memories 2012-04-06 13:46:31 -04:00
SimpleMemory.py MEM: Enable multiple distributed generalized memories 2012-04-06 13:46:31 -04:00
tport.cc MEM: Separate requests and responses for timing accesses 2012-05-01 13:40:42 -04:00
tport.hh MEM: Separate requests and responses for timing accesses 2012-05-01 13:40:42 -04:00