ruby: rename System.{hh,cc} to RubySystem.{hh,cc}
authorDavid Hashe <david.hashe@amd.com>
Wed, 16 Sep 2015 16:03:03 +0000 (12:03 -0400)
committerDavid Hashe <david.hashe@amd.com>
Wed, 16 Sep 2015 16:03:03 +0000 (12:03 -0400)
commitb6b972da99c22903671fd86c5d02dcc6657a18b8
tree0286c23b1f6e9c16a4c123c60a1155ebe75698e0
parent3edadb0bd3f74eeaadf45a40e08248707cc138a0
ruby: rename System.{hh,cc} to RubySystem.{hh,cc}

The eventual aim of this change is to pass RubySystem pointers through to
objects generated from the SLICC protocol code.

Because some of these objects need to dereference their RubySystem pointers,
they need access to the System.hh header file.

In src/mem/ruby/SConscript, the MakeInclude function creates single-line header
files in the build directory that do nothing except include the corresponding
header file from the source tree.

However, SLICC also generates a list of header files from its symbol table, and
writes it to mem/protocol/Types.hh in the build directory. This code assumes
that the header file name is the same as the class name.

The end result of this is the many of the generated slicc files try to include
RubySystem.hh, when the file they really need is System.hh. The path of least
resistence is just to rename System.hh to RubySystem.hh.

--HG--
rename : src/mem/ruby/system/System.cc => src/mem/ruby/system/RubySystem.cc
rename : src/mem/ruby/system/System.hh => src/mem/ruby/system/RubySystem.hh
39 files changed:
src/mem/ruby/common/Address.cc
src/mem/ruby/common/DataBlock.cc
src/mem/ruby/filters/BlockBloomFilter.cc
src/mem/ruby/filters/BulkBloomFilter.cc
src/mem/ruby/filters/LSB_CountingBloomFilter.cc
src/mem/ruby/filters/MultiGrainBloomFilter.cc
src/mem/ruby/filters/NonCountingBloomFilter.cc
src/mem/ruby/network/MessageBuffer.cc
src/mem/ruby/network/Network.cc
src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/OutVcState_d.cc
src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc
src/mem/ruby/network/simple/SimpleNetwork.cc
src/mem/ruby/network/simple/Throttle.cc
src/mem/ruby/network/simple/Throttle.hh
src/mem/ruby/slicc_interface/AbstractController.cc
src/mem/ruby/structures/BankedArray.cc
src/mem/ruby/structures/BankedArray.hh
src/mem/ruby/structures/CacheMemory.cc
src/mem/ruby/structures/DirectoryMemory.cc
src/mem/ruby/structures/Prefetcher.cc
src/mem/ruby/structures/Prefetcher.hh
src/mem/ruby/structures/RubyMemoryControl.cc
src/mem/ruby/structures/RubyMemoryControl.hh
src/mem/ruby/structures/TimerTable.cc
src/mem/ruby/structures/WireBuffer.cc
src/mem/ruby/system/CacheRecorder.cc
src/mem/ruby/system/DMASequencer.cc
src/mem/ruby/system/DMASequencer.hh
src/mem/ruby/system/RubyPort.hh
src/mem/ruby/system/RubySystem.cc [new file with mode: 0644]
src/mem/ruby/system/RubySystem.hh [new file with mode: 0644]
src/mem/ruby/system/RubySystem.py
src/mem/ruby/system/SConscript
src/mem/ruby/system/Sequencer.cc
src/mem/ruby/system/System.cc [deleted file]
src/mem/ruby/system/System.hh [deleted file]
src/mem/slicc/symbols/StateMachine.py
src/mem/slicc/symbols/Type.py