Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/11276
Change subject: systemc: Add non-standard sc_status constants.
......................................................................
systemc: Add non-standard sc_status constants.
Change-Id: I02f52df318473906062035b188348fb875daad08
---
M src/systemc/ext/core/_using.hh
M src/systemc/ext/core/sc_main.hh
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/systemc/ext/core/_using.hh b/src/systemc/ext/core/_using.hh
index 331e3dd..da82700 100644
--- a/src/systemc/ext/core/_using.hh
+++ b/src/systemc/ext/core/_using.hh
@@ -80,6 +80,10 @@
using sc_core::SC_PAUSED;
using sc_core::SC_STOPPED;
using sc_core::SC_END_OF_SIMULATION;
+using sc_core::SC_END_OF_INITIALIZATION;
+using sc_core::SC_END_OF_UPDATE;
+using sc_core::SC_BEFORE_TIMESTEP;
+using sc_core::SC_STATUS_ANY;
using sc_core::sc_status;
using sc_core::sc_bind_proxy;
diff --git a/src/systemc/ext/core/sc_main.hh
b/src/systemc/ext/core/sc_main.hh
index 24e9350..b6f5ea1 100644
--- a/src/systemc/ext/core/sc_main.hh
+++ b/src/systemc/ext/core/sc_main.hh
@@ -87,7 +87,13 @@
SC_RUNNING = 0x10,
SC_PAUSED = 0x20,
SC_STOPPED = 0x40,
- SC_END_OF_SIMULATION = 0x80
+ SC_END_OF_SIMULATION = 0x80,
+
+ // Nonstandard
+ SC_END_OF_INITIALIZATION = 0x100,
+ SC_END_OF_UPDATE = 0x400,
+ SC_BEFORE_TIMESTEP = 0x800,
+ SC_STATUS_ANY = 0xdff
};
sc_status sc_get_status();
--
To view, visit https://gem5-review.googlesource.com/11276
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: I02f52df318473906062035b188348fb875daad08
Gerrit-Change-Number: 11276
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