simple_thread.cc (2864:eab7ff8f6d72) | simple_thread.cc (2915:1f4d02556ac1) |
---|---|
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; --- 182 unchanged lines hidden (view full) --- 191{ 192 // copy over functional state 193 _status = oldContext->status(); 194 copyArchRegs(oldContext); 195 cpuId = oldContext->readCpuId(); 196#if !FULL_SYSTEM 197 funcExeInst = oldContext->readFuncExeInst(); 198#endif | 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; --- 182 unchanged lines hidden (view full) --- 191{ 192 // copy over functional state 193 _status = oldContext->status(); 194 copyArchRegs(oldContext); 195 cpuId = oldContext->readCpuId(); 196#if !FULL_SYSTEM 197 funcExeInst = oldContext->readFuncExeInst(); 198#endif |
199 inst = oldContext->getInst(); |
|
199} 200 201void 202SimpleThread::serialize(ostream &os) 203{ 204 ThreadState::serialize(os); 205 regs.serialize(os); 206 // thread_num and cpu_id are deterministic from the config --- 125 unchanged lines hidden --- | 200} 201 202void 203SimpleThread::serialize(ostream &os) 204{ 205 ThreadState::serialize(os); 206 regs.serialize(os); 207 // thread_num and cpu_id are deterministic from the config --- 125 unchanged lines hidden --- |