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:
@@ -41,11 +41,11 @@ Import('*')
|
||||
Source('htm.cc')
|
||||
Source('mmu.cc')
|
||||
|
||||
SimObject('BaseInterrupts.py')
|
||||
SimObject('BaseISA.py')
|
||||
SimObject('BaseMMU.py')
|
||||
SimObject('BaseTLB.py')
|
||||
SimObject('InstDecoder.py')
|
||||
SimObject('BaseInterrupts.py', sim_objects=['BaseInterrupts'])
|
||||
SimObject('BaseISA.py', sim_objects=['BaseISA'])
|
||||
SimObject('BaseMMU.py', sim_objects=['BaseMMU'])
|
||||
SimObject('BaseTLB.py', sim_objects=['BaseTLB'], enums=['TypeTLB'])
|
||||
SimObject('InstDecoder.py', sim_objects=['InstDecoder'])
|
||||
|
||||
DebugFlag('PageTableWalker',
|
||||
"Page table walker state machine debugging")
|
||||
|
||||
Reference in New Issue
Block a user