cpu: fixed how O3 CPU executes an exit system call
[gem5.git] / src / cpu / thread_context.hh
index a570b9a00b66a8132f84475fa57d2cf3c9d1a902..6b9ff1a1205506b49d2a8cdaafd884ddb8f646c0 100644 (file)
@@ -111,6 +111,10 @@ class ThreadContext
         /// synchronization, etc.
         Suspended,
 
+        /// Trying to exit and waiting for an event to completely exit.
+        /// Entered when target executes an exit syscall.
+        Halting,
+
         /// Permanently shut down.  Entered when target executes
         /// m5exit pseudo-instruction.  When all contexts enter
         /// this state, the simulation will terminate.