Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/34169 )

Change subject: arch: Move many of the generic files outside an NULL guard.
......................................................................

arch: Move many of the generic files outside an NULL guard.

These files can be compiled successfully even if the ISA is the NULL
ISA.

Change-Id: I67133ea674f678f33b0aa1ef55af719f2869241d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34169
Reviewed-by: Andreas Sandberg <andreas.sandb...@arm.com>
Reviewed-by: Gabe Black <gabe.bl...@gmail.com>
Maintainer: Andreas Sandberg <andreas.sandb...@arm.com>
Maintainer: Gabe Black <gabe.bl...@gmail.com>
Tested-by: kokoro <noreply+kok...@google.com>
---
M src/arch/generic/SConscript
1 file changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Andreas Sandberg: Looks good to me, approved; Looks good to me, approved
  Gabe Black: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/arch/generic/SConscript b/src/arch/generic/SConscript
index 1df17e0..60b24d0 100644
--- a/src/arch/generic/SConscript
+++ b/src/arch/generic/SConscript
@@ -39,12 +39,6 @@
 Import('*')

 Source('htm.cc')
-
-if env['TARGET_ISA'] == 'null':
-    Return()
-
-Source('decode_cache.cc')
-Source('decoder.cc')
 Source('mmu.cc')

 SimObject('BaseInterrupts.py')
@@ -54,3 +48,9 @@
 SimObject('ISACommon.py')

 DebugFlag('TLB')
+
+if env['TARGET_ISA'] == 'null':
+    Return()
+
+Source('decode_cache.cc')
+Source('decoder.cc')

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/34169
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: I67133ea674f678f33b0aa1ef55af719f2869241d
Gerrit-Change-Number: 34169
Gerrit-PatchSet: 10
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-Reviewer: Andreas Sandberg <andreas.sandb...@arm.com>
Gerrit-Reviewer: Bobby R. Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Gabe Black <gabe.bl...@gmail.com>
Gerrit-Reviewer: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Jason Lowe-Power <power...@gmail.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to