Ruby.py (13885:d10ea5e56cb0) Ruby.py (13980:62a28c423e91)
1# Copyright (c) 2012, 2017-2018 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 142 unchanged lines hidden (view full) ---

151
152def create_system(options, full_system, system, piobus = None, dma_ports = [],
153 bootmem=None):
154
155 system.ruby = RubySystem()
156 ruby = system.ruby
157
158 # Generate pseudo filesystem
1# Copyright (c) 2012, 2017-2018 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 142 unchanged lines hidden (view full) ---

151
152def create_system(options, full_system, system, piobus = None, dma_ports = [],
153 bootmem=None):
154
155 system.ruby = RubySystem()
156 ruby = system.ruby
157
158 # Generate pseudo filesystem
159 FileSystemConfig.config_filesystem(options)
159 FileSystemConfig.config_filesystem(system, options)
160
161 # Create the network object
162 (network, IntLinkClass, ExtLinkClass, RouterClass, InterfaceClass) = \
163 Network.create_network(options, ruby)
164 ruby.network = network
165
166 protocol = buildEnv['PROTOCOL']
167 exec("from . import %s" % protocol)

--- 87 unchanged lines hidden ---
160
161 # Create the network object
162 (network, IntLinkClass, ExtLinkClass, RouterClass, InterfaceClass) = \
163 Network.create_network(options, ruby)
164 ruby.network = network
165
166 protocol = buildEnv['PROTOCOL']
167 exec("from . import %s" % protocol)

--- 87 unchanged lines hidden ---