scons: Add sim_object and enums arguments to SimObject().
This will explicitly declare what SimObject and Enum types need to be set up in C++, which will make importing all the SimObject modules during the setup phase of SCons uneccessary. Change-Id: Id2d7603daf33b236ceaa0789e2f089f589d34e62 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49406 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -46,12 +46,14 @@ Source('remote_gdb.cc', tags='power isa')
|
||||
Source('se_workload.cc', tags='power isa')
|
||||
Source('tlb.cc', tags='power isa')
|
||||
|
||||
SimObject('PowerDecoder.py', tags='power isa')
|
||||
SimObject('PowerInterrupts.py', tags='power isa')
|
||||
SimObject('PowerISA.py', tags='power isa')
|
||||
SimObject('PowerMMU.py', tags='power isa')
|
||||
SimObject('PowerSeWorkload.py', tags='power isa')
|
||||
SimObject('PowerTLB.py', tags='power isa')
|
||||
SimObject('PowerDecoder.py', sim_objects=['PowerDecoder'], tags='power isa')
|
||||
SimObject('PowerInterrupts.py', sim_objects=['PowerInterrupts'],
|
||||
tags='power isa')
|
||||
SimObject('PowerISA.py', sim_objects=['PowerISA'], tags='power isa')
|
||||
SimObject('PowerMMU.py', sim_objects=['PowerMMU'], tags='power isa')
|
||||
SimObject('PowerSeWorkload.py', sim_objects=[
|
||||
'PowerSEWorkload', 'PowerEmuLinux'], tags='power isa')
|
||||
SimObject('PowerTLB.py', sim_objects=['PowerTLB'], tags='power isa')
|
||||
|
||||
DebugFlag('Power', tags='power isa')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user