Ruby: Add RubySystem parameter to MemoryControl
This guarantees that RubySystem object is created before the MemoryController object is created.
This commit is contained in:
@@ -166,7 +166,8 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
|
||||
# Create the Ruby objects associated with the directory controller
|
||||
#
|
||||
|
||||
mem_cntrl = RubyMemoryControl(version = i)
|
||||
mem_cntrl = RubyMemoryControl(version = i,
|
||||
ruby_system = ruby_system)
|
||||
|
||||
dir_size = MemorySize('0B')
|
||||
dir_size.value = mem_module_size
|
||||
|
||||
Reference in New Issue
Block a user