gem5/src
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
..
arch X86: Use the HandyM5Reg to avoid a register read and some logic in the TLB. 2012-05-28 21:56:23 -07:00
base Packet: Unify the use of PortID in packet and port 2012-05-30 05:29:42 -04:00
cpu Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
dev DMA: Split the DMA device and IO device into seperate files 2012-05-23 09:15:45 -04:00
doxygen Fix up doxygen. 2006-08-14 19:25:07 -04:00
kern gcc: Small fixes to compile with gcc 4.7 2012-05-30 05:31:48 -04:00
mem Bus: Split the bus into a non-coherent and coherent bus 2012-05-31 13:30:04 -04:00
python Config: Use the attribute naming and include ports in JSON 2012-05-23 09:16:39 -04:00
sim gcc: Small fixes to compile with gcc 4.7 2012-05-30 05:31:48 -04:00
unittest stats: fix compilation of unit test. 2012-05-10 18:04:28 -05:00
Doxyfile Fix up doxygen. 2006-08-14 19:25:07 -04:00
SConscript stats: fix compilation of unit test. 2012-05-10 18:04:28 -05:00