simple_thread.cc (5712:199d31b47f7b) simple_thread.cc (5714:76abee886def)
1/*
2 * Copyright (c) 2001-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;

--- 168 unchanged lines hidden (view full) ---

177{
178 // copy over functional state
179 _status = oldContext->status();
180 copyArchRegs(oldContext);
181#if !FULL_SYSTEM
182 funcExeInst = oldContext->readFuncExeInst();
183#endif
184 inst = oldContext->getInst();
1/*
2 * Copyright (c) 2001-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;

--- 168 unchanged lines hidden (view full) ---

177{
178 // copy over functional state
179 _status = oldContext->status();
180 copyArchRegs(oldContext);
181#if !FULL_SYSTEM
182 funcExeInst = oldContext->readFuncExeInst();
183#endif
184 inst = oldContext->getInst();
185
186 _contextId = oldContext->contextId();
185}
186
187void
188SimpleThread::serialize(ostream &os)
189{
190 ThreadState::serialize(os);
191 regs.serialize(cpu, os);
192 // thread_num and cpu_id are deterministic from the config

--- 96 unchanged lines hidden ---
187}
188
189void
190SimpleThread::serialize(ostream &os)
191{
192 ThreadState::serialize(os);
193 regs.serialize(cpu, os);
194 // thread_num and cpu_id are deterministic from the config

--- 96 unchanged lines hidden ---