mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user