1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +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:
Sergei Trofimov 2017-02-27 17:17:31 +00:00
parent fef7c16b42
commit d40e70d7f4

View File

@ -27,11 +27,21 @@ from devlib.utils.ssh import AndroidGem5Connection, LinuxGem5Connection
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):
# 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
# The gem5 subprocess