Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/11284
Change subject: systemc: Add the nonstandard sc_user exception type.
......................................................................
systemc: Add the nonstandard sc_user exception type.
This type is not in the spec but is used in the tests.
Change-Id: I4537a33b0b5dcb3c72a091276d601c244c4a3862
---
M src/systemc/ext/utils/sc_exception.hh
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/systemc/ext/utils/sc_exception.hh
b/src/systemc/ext/utils/sc_exception.hh
index 3bd8fb0..8e02ea9 100644
--- a/src/systemc/ext/utils/sc_exception.hh
+++ b/src/systemc/ext/utils/sc_exception.hh
@@ -37,6 +37,14 @@
typedef std::exception sc_exception;
+// Nonstandard
+class sc_user
+{
+ public:
+ sc_user() {}
+ sc_user(const sc_user &) {}
+};
+
} // namespace sc_core
#endif //__SYSTEMC_EXT_UTIL_SC_EXCEPTION_HH__
--
To view, visit https://gem5-review.googlesource.com/11284
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I4537a33b0b5dcb3c72a091276d601c244c4a3862
Gerrit-Change-Number: 11284
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev