thread_state.hh (11005:e7f403b6b76f) | thread_state.hh (11168:f98eb2da15a4) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 49 unchanged lines hidden (view full) --- 58 */ 59struct ThreadState : public Serializable { 60 typedef ThreadContext::Status Status; 61 62 ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process); 63 64 virtual ~ThreadState(); 65 | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 49 unchanged lines hidden (view full) --- 58 */ 59struct ThreadState : public Serializable { 60 typedef ThreadContext::Status Status; 61 62 ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process); 63 64 virtual ~ThreadState(); 65 |
66 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; | 66 void serialize(CheckpointOut &cp) const override; |
67 | 67 |
68 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 68 void unserialize(CheckpointIn &cp) override; |
69 70 int cpuId() const { return baseCpu->cpuId(); } 71 72 uint32_t socketId() const { return baseCpu->socketId(); } 73 74 ContextID contextId() const { return _contextId; } 75 76 void setContextId(ContextID id) { _contextId = id; } --- 125 unchanged lines hidden --- | 69 70 int cpuId() const { return baseCpu->cpuId(); } 71 72 uint32_t socketId() const { return baseCpu->socketId(); } 73 74 ContextID contextId() const { return _contextId; } 75 76 void setContextId(ContextID id) { _contextId = id; } --- 125 unchanged lines hidden --- |