BaseSystem -> System
Make System an object that can be instantiated. For operating
systems that don't need any OS specific hacks.
python/m5/objects/AlphaConsole.py:
python/m5/objects/BaseCPU.py:
python/m5/objects/Tsunami.py:
BaseSystem -> System
--HG--
rename : python/m5/objects/BaseSystem.py => python/m5/objects/System.py
extra : convert_revision : e5d12db02abef1b0eda720b50dd2c09cb1ac5232
This commit is contained in:
@@ -7,4 +7,4 @@ class AlphaConsole(PioDevice):
|
||||
disk = Param.SimpleDisk("Simple Disk")
|
||||
num_cpus = Param.Int(1, "Number of CPUs")
|
||||
sim_console = Param.SimConsole(Parent.any, "The Simulator Console")
|
||||
system = Param.BaseSystem(Parent.any, "system object")
|
||||
system = Param.System(Parent.any, "system object")
|
||||
|
||||
@@ -9,7 +9,7 @@ class BaseCPU(SimObject):
|
||||
dtb = Param.AlphaDTB("Data TLB")
|
||||
itb = Param.AlphaITB("Instruction TLB")
|
||||
mem = Param.FunctionalMemory("memory")
|
||||
system = Param.BaseSystem(Parent.any, "system object")
|
||||
system = Param.System(Parent.any, "system object")
|
||||
else:
|
||||
workload = VectorParam.Process("processes to run")
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from m5 import *
|
||||
class BaseSystem(SimObject):
|
||||
class System(SimObject):
|
||||
type = 'BaseSystem'
|
||||
abstract = True
|
||||
boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency,
|
||||
"boot processor frequency")
|
||||
memctrl = Param.MemoryController(Parent.any, "memory controller")
|
||||
@@ -5,7 +5,7 @@ from Platform import Platform
|
||||
class Tsunami(Platform):
|
||||
type = 'Tsunami'
|
||||
pciconfig = Param.PciConfigAll("PCI configuration")
|
||||
system = Param.BaseSystem(Parent.any, "system")
|
||||
system = Param.System(Parent.any, "system")
|
||||
|
||||
class TsunamiCChip(FooPioDevice):
|
||||
type = 'TsunamiCChip'
|
||||
|
||||
Reference in New Issue
Block a user