summaryrefslogtreecommitdiff
path: root/src/cpu/thread_state.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/thread_state.hh')
-rw-r--r--src/cpu/thread_state.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/thread_state.hh b/src/cpu/thread_state.hh
index 775f6fbd4..f937964ff 100644
--- a/src/cpu/thread_state.hh
+++ b/src/cpu/thread_state.hh
@@ -69,6 +69,8 @@ struct ThreadState {
int cpuId() const { return baseCpu->cpuId(); }
+ uint32_t socketId() const { return baseCpu->socketId(); }
+
int contextId() const { return _contextId; }
void setContextId(int id) { _contextId = id; }