mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 10:10:46 +00:00
gem5: updating plaform with base params
Gem5SimulationPlatfrom was not acceping base Platform's parameters, such as core_names, making it impossible to configure them on construction. This is rectified in this commit.
This commit is contained in:
parent
fef7c16b42
commit
d40e70d7f4
@ -27,11 +27,21 @@ from devlib.utils.ssh import AndroidGem5Connection, LinuxGem5Connection
|
|||||||
|
|
||||||
class Gem5SimulationPlatform(Platform):
|
class Gem5SimulationPlatform(Platform):
|
||||||
|
|
||||||
def __init__(self, name, host_output_dir, gem5_bin, gem5_args, gem5_virtio,
|
def __init__(self, name,
|
||||||
|
host_output_dir,
|
||||||
|
gem5_bin,
|
||||||
|
gem5_args,
|
||||||
|
gem5_virtio,
|
||||||
|
core_names=None,
|
||||||
|
core_clusters=None,
|
||||||
|
big_core=None,
|
||||||
|
model=None,
|
||||||
|
modules=None,
|
||||||
gem5_telnet_port=None):
|
gem5_telnet_port=None):
|
||||||
|
|
||||||
# First call the parent class
|
# First call the parent class
|
||||||
super(Gem5SimulationPlatform, self).__init__(name=name)
|
super(Gem5SimulationPlatform, self).__init__(name, core_names, core_cluster,
|
||||||
|
big_core, model, module)
|
||||||
|
|
||||||
# Start setting up the gem5 parameters/directories
|
# Start setting up the gem5 parameters/directories
|
||||||
# The gem5 subprocess
|
# The gem5 subprocess
|
||||||
|
Loading…
x
Reference in New Issue
Block a user