diff options
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/types.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/types.hh b/src/base/types.hh index 3d53e6ba0..bc5c715ce 100644 --- a/src/base/types.hh +++ b/src/base/types.hh @@ -181,6 +181,10 @@ const Addr MaxAddr = (Addr)-1; typedef int16_t ThreadID; const ThreadID InvalidThreadID = (ThreadID)-1; +/** Globally unique thread context ID */ +typedef int ContextID; +const ContextID InvalidContextID = (ContextID)-1; + /** * Port index/ID type, and a symbolic name for an invalid port id. */ |