Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/51831 )

Change subject: cpu: Move FuncUnit.py, its .cc and StaticInstFlags.py above Return.
......................................................................

cpu: Move FuncUnit.py, its .cc and StaticInstFlags.py above Return.

These two files can be used even with the NULL ISA since they don't
depend on anything that would require a NULL ISA specific definition.

Change-Id: Ie7d83fccf39218c40bd741c76a1c6c0ac7fe2f87
---
M src/cpu/SConscript
1 file changed, 16 insertions(+), 3 deletions(-)



diff --git a/src/cpu/SConscript b/src/cpu/SConscript
index f5b67d1..0aaca12 100644
--- a/src/cpu/SConscript
+++ b/src/cpu/SConscript
@@ -79,8 +79,12 @@
     'ExecFaulting', 'ExecUser', 'ExecKernel' ])
 CompoundFlag('ExecNoTicks', [ 'Exec', 'FmtTicksOff' ])

+Source('func_unit.cc')
 Source('pc_event.cc')

+SimObject('FuncUnit.py')
+SimObject('StaticInstFlags.py')
+
 if env['TARGET_ISA'] == 'null':
     Return()

@@ -93,13 +97,11 @@

 SimObject('BaseCPU.py')
 SimObject('CPUTracers.py')
-SimObject('FuncUnit.py')
 SimObject('TimingExpr.py')

 Source('activity.cc')
 Source('base.cc')
 Source('exetrace.cc')
-Source('func_unit.cc')
 Source('inteltrace.cc')
 Source('nativetrace.cc')
 Source('nop_static_inst.cc')
@@ -113,6 +115,5 @@
 Source('timing_expr.cc')

 SimObject('DummyChecker.py')
-SimObject('StaticInstFlags.py')
 Source('checker/cpu.cc')
 DebugFlag('Checker')

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/51831
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ie7d83fccf39218c40bd741c76a1c6c0ac7fe2f87
Gerrit-Change-Number: 51831
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to