From a128ba7cd1ab506e3468c82c1060a7fb4ad909b1 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Fri, 30 Mar 2012 09:42:36 -0400 Subject: Ruby: Remove the physMemPort and instead access memory directly This patch removes the physMemPort from the RubySequencer and instead uses the system pointer to access the physmem. The system already keeps track of the physmem and the valid memory address ranges, and with this patch we merely make use of that existing functionality. The memory is modified so that it is possible to call the access functions (atomic and functional) without going through the port, and the memory is allowed to be unconnected, i.e. have no ports (since Ruby does not attach it like the conventional memory system). --- configs/ruby/MESI_CMP_directory.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'configs/ruby/MESI_CMP_directory.py') diff --git a/configs/ruby/MESI_CMP_directory.py b/configs/ruby/MESI_CMP_directory.py index 4fdba3c27..28aba4a1b 100644 --- a/configs/ruby/MESI_CMP_directory.py +++ b/configs/ruby/MESI_CMP_directory.py @@ -96,8 +96,6 @@ def create_system(options, system, piobus, dma_devices, ruby_system): cpu_seq = RubySequencer(version = i, icache = l1i_cache, dcache = l1d_cache, - physMemPort = system.physmem.port, - physmem = system.physmem, ruby_system = ruby_system) l1_cntrl.sequencer = cpu_seq @@ -169,8 +167,6 @@ def create_system(options, system, piobus, dma_devices, ruby_system): # Create the Ruby objects associated with the dma controller # dma_seq = DMASequencer(version = i, - physMemPort = system.physmem.port, - physmem = system.physmem, ruby_system = ruby_system) dma_cntrl = DMA_Controller(version = i, -- cgit v1.2.3