Jason Lowe-Power has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/46379 )

Change subject: sim: Make SEWorkload an abstract SimObject
......................................................................

sim: Make SEWorkload an abstract SimObject

As far as I can tell, each ISA must subclass the SEWorkload anyway. By
not being abstract, the params system automatically adds a create()
function that should never be used and can conflict with
TheISA::SEWorkload.

Change-Id: I971a52fb63c3e0bf287f3761706cda34dc9cf931
Signed-off-by: Jason Lowe-Power <ja...@lowepower.com>
---
M src/sim/Workload.py
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/src/sim/Workload.py b/src/sim/Workload.py
index 91c1c55..e957de6 100644
--- a/src/sim/Workload.py
+++ b/src/sim/Workload.py
@@ -65,6 +65,7 @@
     type = 'SEWorkload'
     cxx_header = "sim/se_workload.hh"
     cxx_class = 'SEWorkload'
+    abstract = True

     @classmethod
     def _is_compatible_with(cls, obj):

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/46379
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: I971a52fb63c3e0bf287f3761706cda34dc9cf931
Gerrit-Change-Number: 46379
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Lowe-Power <power...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
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