ruby: Make ruby #includes use full paths to the files they're including.
authorNathan Binkert <nate@binkert.org>
Mon, 11 May 2009 17:38:45 +0000 (10:38 -0700)
committerNathan Binkert <nate@binkert.org>
Mon, 11 May 2009 17:38:45 +0000 (10:38 -0700)
commit24da30e317cdbf4b628141d69b2d17dac5ae3822
tree190e2e14e278190d776dfd65a489f70700f4c8b0
parentd8c592a05d884560b3cbbe04d9e1ed9cf6575eaa
ruby: Make ruby #includes use full paths to the files they're including.
This basically means changing all #include statements and changing
autogenerated code so that it generates the correct paths.  Because
slicc generates #includes, I had to hard code the include paths to
mem/protocol.
344 files changed:
src/mem/gems_common/Allocator.hh
src/mem/gems_common/Map.hh
src/mem/gems_common/PrioHeap.hh
src/mem/gems_common/RefCnt_tester.cc
src/mem/gems_common/RefCountable.hh
src/mem/gems_common/Vector.hh
src/mem/gems_common/ioutil/attrlex.ll
src/mem/gems_common/ioutil/attrparse.yy
src/mem/gems_common/ioutil/confio.cc
src/mem/gems_common/ioutil/confio.hh
src/mem/gems_common/ioutil/initvar.cc
src/mem/gems_common/ioutil/vardecl.hh
src/mem/gems_common/util.cc
src/mem/gems_common/util.hh
src/mem/ruby/buffers/MessageBuffer.cc
src/mem/ruby/buffers/MessageBuffer.hh
src/mem/ruby/buffers/MessageBufferNode.cc
src/mem/ruby/buffers/MessageBufferNode.hh
src/mem/ruby/common/Address.cc
src/mem/ruby/common/Address.hh
src/mem/ruby/common/BigSet.cc
src/mem/ruby/common/BigSet.hh
src/mem/ruby/common/Consumer.hh
src/mem/ruby/common/DataBlock.cc
src/mem/ruby/common/DataBlock.hh
src/mem/ruby/common/Debug.cc
src/mem/ruby/common/Driver.cc
src/mem/ruby/common/Driver.hh
src/mem/ruby/common/Global.cc
src/mem/ruby/common/Global.hh
src/mem/ruby/common/Histogram.cc
src/mem/ruby/common/Histogram.hh
src/mem/ruby/common/Message.cc
src/mem/ruby/common/NetDest.cc
src/mem/ruby/common/NetDest.hh
src/mem/ruby/common/OptBigSet.cc
src/mem/ruby/common/OptBigSet.hh
src/mem/ruby/common/Set.cc
src/mem/ruby/common/Set.hh
src/mem/ruby/common/SubBlock.cc
src/mem/ruby/common/SubBlock.hh
src/mem/ruby/config/RubyConfig.cc
src/mem/ruby/config/RubyConfig.hh
src/mem/ruby/eventqueue/RubyEventQueue.cc
src/mem/ruby/eventqueue/RubyEventQueue.hh
src/mem/ruby/eventqueue/RubyEventQueueNode.cc
src/mem/ruby/eventqueue/RubyEventQueueNode.hh
src/mem/ruby/init.cc
src/mem/ruby/network/Network.hh
src/mem/ruby/network/garnet-fixed-pipeline/CreditLink_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/GarnetNetwork_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/GarnetNetwork_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/InputUnit_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/InputUnit_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/NetworkHeader.hh
src/mem/ruby/network/garnet-fixed-pipeline/NetworkInterface_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/NetworkInterface_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/NetworkLink_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/NetworkLink_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/OutVcState_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/OutVcState_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/OutputUnit_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/OutputUnit_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/Router_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/Router_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/RoutingUnit_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/RoutingUnit_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/SWallocator_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/SWallocator_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/Switch_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/Switch_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/VCallocator_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/VCallocator_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/VirtualChannel_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/VirtualChannel_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/flitBuffer_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/flitBuffer_d.hh
src/mem/ruby/network/garnet-fixed-pipeline/flit_d.cc
src/mem/ruby/network/garnet-fixed-pipeline/flit_d.hh
src/mem/ruby/network/garnet-flexible-pipeline/FlexibleConsumer.hh
src/mem/ruby/network/garnet-flexible-pipeline/GarnetNetwork.cc
src/mem/ruby/network/garnet-flexible-pipeline/GarnetNetwork.hh
src/mem/ruby/network/garnet-flexible-pipeline/InVcState.cc
src/mem/ruby/network/garnet-flexible-pipeline/InVcState.hh
src/mem/ruby/network/garnet-flexible-pipeline/NetworkConfig.hh
src/mem/ruby/network/garnet-flexible-pipeline/NetworkInterface.cc
src/mem/ruby/network/garnet-flexible-pipeline/NetworkInterface.hh
src/mem/ruby/network/garnet-flexible-pipeline/NetworkLink.cc
src/mem/ruby/network/garnet-flexible-pipeline/NetworkLink.hh
src/mem/ruby/network/garnet-flexible-pipeline/OutVcState.cc
src/mem/ruby/network/garnet-flexible-pipeline/OutVcState.hh
src/mem/ruby/network/garnet-flexible-pipeline/Router.cc
src/mem/ruby/network/garnet-flexible-pipeline/Router.hh
src/mem/ruby/network/garnet-flexible-pipeline/VCarbiter.cc
src/mem/ruby/network/garnet-flexible-pipeline/VCarbiter.hh
src/mem/ruby/network/garnet-flexible-pipeline/flit.cc
src/mem/ruby/network/garnet-flexible-pipeline/flit.hh
src/mem/ruby/network/garnet-flexible-pipeline/flitBuffer.cc
src/mem/ruby/network/garnet-flexible-pipeline/flitBuffer.hh
src/mem/ruby/network/orion/NetworkPower.cc
src/mem/ruby/network/orion/SIM_power.hh
src/mem/ruby/network/orion/power_arbiter.cc
src/mem/ruby/network/orion/power_arbiter.hh
src/mem/ruby/network/orion/power_array.cc
src/mem/ruby/network/orion/power_bus.cc
src/mem/ruby/network/orion/power_crossbar.cc
src/mem/ruby/network/orion/power_ll.cc
src/mem/ruby/network/orion/power_router_init.cc
src/mem/ruby/network/orion/power_router_init.hh
src/mem/ruby/network/orion/power_static.cc
src/mem/ruby/network/orion/power_static.hh
src/mem/ruby/network/orion/power_utils.cc
src/mem/ruby/network/simple/PerfectSwitch.cc
src/mem/ruby/network/simple/PerfectSwitch.hh
src/mem/ruby/network/simple/SimpleNetwork.cc
src/mem/ruby/network/simple/SimpleNetwork.hh
src/mem/ruby/network/simple/Switch.cc
src/mem/ruby/network/simple/Switch.hh
src/mem/ruby/network/simple/Throttle.cc
src/mem/ruby/network/simple/Throttle.hh
src/mem/ruby/network/simple/Topology.cc
src/mem/ruby/network/simple/Topology.hh
src/mem/ruby/profiler/AccessTraceForAddress.cc
src/mem/ruby/profiler/AccessTraceForAddress.hh
src/mem/ruby/profiler/AddressProfiler.cc
src/mem/ruby/profiler/AddressProfiler.hh
src/mem/ruby/profiler/CacheProfiler.cc
src/mem/ruby/profiler/CacheProfiler.hh
src/mem/ruby/profiler/Profiler.cc
src/mem/ruby/profiler/Profiler.hh
src/mem/ruby/profiler/StoreTrace.cc
src/mem/ruby/profiler/StoreTrace.hh
src/mem/ruby/profiler/XactProfiler.cc
src/mem/ruby/profiler/XactProfiler.hh
src/mem/ruby/recorder/CacheRecorder.cc
src/mem/ruby/recorder/CacheRecorder.hh
src/mem/ruby/recorder/TraceRecord.cc
src/mem/ruby/recorder/TraceRecord.hh
src/mem/ruby/recorder/Tracer.cc
src/mem/ruby/recorder/Tracer.hh
src/mem/ruby/slicc_interface/AbstractCacheEntry.cc
src/mem/ruby/slicc_interface/AbstractCacheEntry.hh
src/mem/ruby/slicc_interface/AbstractChip.cc
src/mem/ruby/slicc_interface/AbstractChip.hh
src/mem/ruby/slicc_interface/Message.hh
src/mem/ruby/slicc_interface/NetworkMessage.hh
src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh
src/mem/ruby/slicc_interface/RubySlicc_Profiler_interface.cc
src/mem/ruby/slicc_interface/RubySlicc_Profiler_interface.hh
src/mem/ruby/slicc_interface/RubySlicc_Util.hh
src/mem/ruby/slicc_interface/RubySlicc_includes.hh
src/mem/ruby/system/AbstractBloomFilter.hh
src/mem/ruby/system/AbstractMemOrCache.hh
src/mem/ruby/system/AbstractReplacementPolicy.hh
src/mem/ruby/system/BlockBloomFilter.cc
src/mem/ruby/system/BlockBloomFilter.hh
src/mem/ruby/system/BulkBloomFilter.cc
src/mem/ruby/system/BulkBloomFilter.hh
src/mem/ruby/system/CacheMemory.hh
src/mem/ruby/system/DirectoryMemory.cc
src/mem/ruby/system/DirectoryMemory.hh
src/mem/ruby/system/GenericBloomFilter.cc
src/mem/ruby/system/GenericBloomFilter.hh
src/mem/ruby/system/H3BloomFilter.cc
src/mem/ruby/system/H3BloomFilter.hh
src/mem/ruby/system/LRUPolicy.hh
src/mem/ruby/system/LSB_CountingBloomFilter.cc
src/mem/ruby/system/LSB_CountingBloomFilter.hh
src/mem/ruby/system/MachineID.hh
src/mem/ruby/system/MemoryControl.cc
src/mem/ruby/system/MemoryControl.hh
src/mem/ruby/system/MemoryNode.cc
src/mem/ruby/system/MemoryNode.hh
src/mem/ruby/system/MultiBitSelBloomFilter.cc
src/mem/ruby/system/MultiBitSelBloomFilter.hh
src/mem/ruby/system/MultiGrainBloomFilter.cc
src/mem/ruby/system/MultiGrainBloomFilter.hh
src/mem/ruby/system/NodeID.hh
src/mem/ruby/system/NodePersistentTable.cc
src/mem/ruby/system/NodePersistentTable.hh
src/mem/ruby/system/NonCountingBloomFilter.cc
src/mem/ruby/system/NonCountingBloomFilter.hh
src/mem/ruby/system/PerfectCacheMemory.hh
src/mem/ruby/system/PersistentArbiter.cc
src/mem/ruby/system/PersistentArbiter.hh
src/mem/ruby/system/PersistentTable.cc
src/mem/ruby/system/PersistentTable.hh
src/mem/ruby/system/PseudoLRUPolicy.hh
src/mem/ruby/system/Sequencer.cc
src/mem/ruby/system/Sequencer.hh
src/mem/ruby/system/StoreBuffer.cc
src/mem/ruby/system/StoreBuffer.hh
src/mem/ruby/system/StoreCache.cc
src/mem/ruby/system/StoreCache.hh
src/mem/ruby/system/System.cc
src/mem/ruby/system/System.hh
src/mem/ruby/system/TBETable.hh
src/mem/ruby/system/TimerTable.cc
src/mem/ruby/system/TimerTable.hh
src/mem/ruby/tester/BarrierGenerator.cc
src/mem/ruby/tester/BarrierGenerator.hh
src/mem/ruby/tester/Check.cc
src/mem/ruby/tester/Check.hh
src/mem/ruby/tester/CheckTable.cc
src/mem/ruby/tester/CheckTable.hh
src/mem/ruby/tester/DetermGETXGenerator.cc
src/mem/ruby/tester/DetermGETXGenerator.hh
src/mem/ruby/tester/DetermInvGenerator.cc
src/mem/ruby/tester/DetermInvGenerator.hh
src/mem/ruby/tester/DetermSeriesGETSGenerator.cc
src/mem/ruby/tester/DetermSeriesGETSGenerator.hh
src/mem/ruby/tester/DeterministicDriver.cc
src/mem/ruby/tester/DeterministicDriver.hh
src/mem/ruby/tester/Instruction.cc
src/mem/ruby/tester/Instruction.hh
src/mem/ruby/tester/RaceyDriver.cc
src/mem/ruby/tester/RaceyDriver.hh
src/mem/ruby/tester/RequestGenerator.cc
src/mem/ruby/tester/RequestGenerator.hh
src/mem/ruby/tester/SpecifiedGenerator.cc
src/mem/ruby/tester/SpecifiedGenerator.hh
src/mem/ruby/tester/SyntheticDriver.cc
src/mem/ruby/tester/SyntheticDriver.hh
src/mem/ruby/tester/Tester.cc
src/mem/ruby/tester/Tester.hh
src/mem/ruby/tester/XactAbortRequestGenerator.cc
src/mem/ruby/tester/XactAbortRequestGenerator.hh
src/mem/ruby/tester/XactRequestGenerator.cc
src/mem/ruby/tester/XactRequestGenerator.hh
src/mem/ruby/tester/main.cc
src/mem/ruby/tester/main.hh
src/mem/ruby/tester/test_framework.cc
src/mem/ruby/tester/test_framework.hh
src/mem/slicc/ast/AST.cc
src/mem/slicc/ast/AST.hh
src/mem/slicc/ast/ASTs.hh
src/mem/slicc/ast/ActionDeclAST.cc
src/mem/slicc/ast/ActionDeclAST.hh
src/mem/slicc/ast/AssignStatementAST.cc
src/mem/slicc/ast/AssignStatementAST.hh
src/mem/slicc/ast/CheckAllocateStatementAST.cc
src/mem/slicc/ast/CheckAllocateStatementAST.hh
src/mem/slicc/ast/CheckStopSlotsStatementAST.cc
src/mem/slicc/ast/CheckStopSlotsStatementAST.hh
src/mem/slicc/ast/ChipComponentAccessAST.cc
src/mem/slicc/ast/ChipComponentAccessAST.hh
src/mem/slicc/ast/CopyHeadStatementAST.cc
src/mem/slicc/ast/CopyHeadStatementAST.hh
src/mem/slicc/ast/DeclAST.cc
src/mem/slicc/ast/DeclAST.hh
src/mem/slicc/ast/DeclListAST.cc
src/mem/slicc/ast/DeclListAST.hh
src/mem/slicc/ast/EnqueueStatementAST.cc
src/mem/slicc/ast/EnqueueStatementAST.hh
src/mem/slicc/ast/EnumDeclAST.cc
src/mem/slicc/ast/EnumDeclAST.hh
src/mem/slicc/ast/EnumExprAST.cc
src/mem/slicc/ast/EnumExprAST.hh
src/mem/slicc/ast/ExprAST.cc
src/mem/slicc/ast/ExprAST.hh
src/mem/slicc/ast/ExprStatementAST.cc
src/mem/slicc/ast/ExprStatementAST.hh
src/mem/slicc/ast/FormalParamAST.cc
src/mem/slicc/ast/FormalParamAST.hh
src/mem/slicc/ast/FuncCallExprAST.cc
src/mem/slicc/ast/FuncCallExprAST.hh
src/mem/slicc/ast/FuncDeclAST.cc
src/mem/slicc/ast/FuncDeclAST.hh
src/mem/slicc/ast/IfStatementAST.cc
src/mem/slicc/ast/IfStatementAST.hh
src/mem/slicc/ast/InPortDeclAST.cc
src/mem/slicc/ast/InPortDeclAST.hh
src/mem/slicc/ast/InfixOperatorExprAST.cc
src/mem/slicc/ast/InfixOperatorExprAST.hh
src/mem/slicc/ast/LiteralExprAST.cc
src/mem/slicc/ast/LiteralExprAST.hh
src/mem/slicc/ast/Location.cc
src/mem/slicc/ast/Location.hh
src/mem/slicc/ast/MachineAST.cc
src/mem/slicc/ast/MachineAST.hh
src/mem/slicc/ast/MemberExprAST.cc
src/mem/slicc/ast/MemberExprAST.hh
src/mem/slicc/ast/MethodCallExprAST.cc
src/mem/slicc/ast/MethodCallExprAST.hh
src/mem/slicc/ast/ObjDeclAST.cc
src/mem/slicc/ast/ObjDeclAST.hh
src/mem/slicc/ast/OutPortDeclAST.cc
src/mem/slicc/ast/OutPortDeclAST.hh
src/mem/slicc/ast/PairAST.cc
src/mem/slicc/ast/PairAST.hh
src/mem/slicc/ast/PairListAST.cc
src/mem/slicc/ast/PairListAST.hh
src/mem/slicc/ast/PeekStatementAST.cc
src/mem/slicc/ast/PeekStatementAST.hh
src/mem/slicc/ast/ReturnStatementAST.cc
src/mem/slicc/ast/ReturnStatementAST.hh
src/mem/slicc/ast/StatementAST.cc
src/mem/slicc/ast/StatementAST.hh
src/mem/slicc/ast/StatementListAST.cc
src/mem/slicc/ast/StatementListAST.hh
src/mem/slicc/ast/TransitionDeclAST.cc
src/mem/slicc/ast/TransitionDeclAST.hh
src/mem/slicc/ast/TypeAST.cc
src/mem/slicc/ast/TypeAST.hh
src/mem/slicc/ast/TypeDeclAST.cc
src/mem/slicc/ast/TypeDeclAST.hh
src/mem/slicc/ast/TypeFieldAST.cc
src/mem/slicc/ast/TypeFieldAST.hh
src/mem/slicc/ast/TypeFieldEnumAST.cc
src/mem/slicc/ast/TypeFieldEnumAST.hh
src/mem/slicc/ast/TypeFieldMemberAST.cc
src/mem/slicc/ast/TypeFieldMemberAST.hh
src/mem/slicc/ast/TypeFieldMethodAST.cc
src/mem/slicc/ast/TypeFieldMethodAST.hh
src/mem/slicc/ast/VarExprAST.cc
src/mem/slicc/ast/VarExprAST.hh
src/mem/slicc/generator/fileio.cc
src/mem/slicc/generator/fileio.hh
src/mem/slicc/generator/html_gen.cc
src/mem/slicc/generator/html_gen.hh
src/mem/slicc/generator/mif_gen.cc
src/mem/slicc/generator/mif_gen.hh
src/mem/slicc/main.cc
src/mem/slicc/main.hh
src/mem/slicc/parser/lexer.ll
src/mem/slicc/parser/parser.yy
src/mem/slicc/slicc_global.hh
src/mem/slicc/symbols/Action.hh
src/mem/slicc/symbols/Event.hh
src/mem/slicc/symbols/Func.cc
src/mem/slicc/symbols/Func.hh
src/mem/slicc/symbols/State.hh
src/mem/slicc/symbols/StateMachine.cc
src/mem/slicc/symbols/StateMachine.hh
src/mem/slicc/symbols/Symbol.cc
src/mem/slicc/symbols/Symbol.hh
src/mem/slicc/symbols/SymbolTable.cc
src/mem/slicc/symbols/SymbolTable.hh
src/mem/slicc/symbols/Transition.cc
src/mem/slicc/symbols/Transition.hh
src/mem/slicc/symbols/Type.cc
src/mem/slicc/symbols/Type.hh
src/mem/slicc/symbols/Var.cc
src/mem/slicc/symbols/Var.hh