simple_thread.cc (10537:47fe87b0cf97) | simple_thread.cc (10905:a6ca6831e775) |
---|---|
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; --- 117 unchanged lines hidden (view full) --- 126 if (FullSystem) 127 funcExeInst = oldContext->readFuncExeInst(); 128 129 _threadId = oldContext->threadId(); 130 _contextId = oldContext->contextId(); 131} 132 133void | 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; --- 117 unchanged lines hidden (view full) --- 126 if (FullSystem) 127 funcExeInst = oldContext->readFuncExeInst(); 128 129 _threadId = oldContext->threadId(); 130 _contextId = oldContext->contextId(); 131} 132 133void |
134SimpleThread::serialize(ostream &os) | 134SimpleThread::serialize(CheckpointOut &cp) const |
135{ | 135{ |
136 ThreadState::serialize(os); 137 ::serialize(*tc, os); | 136 ThreadState::serialize(cp); 137 ::serialize(*tc, cp); |
138} 139 140 141void | 138} 139 140 141void |
142SimpleThread::unserialize(Checkpoint *cp, const std::string §ion) | 142SimpleThread::unserialize(CheckpointIn &cp) |
143{ | 143{ |
144 ThreadState::unserialize(cp, section); 145 ::unserialize(*tc, cp, section); | 144 ThreadState::unserialize(cp); 145 ::unserialize(*tc, cp); |
146} 147 148void 149SimpleThread::startup() 150{ 151 isa->startup(tc); 152} 153 --- 71 unchanged lines hidden --- | 146} 147 148void 149SimpleThread::startup() 150{ 151 isa->startup(tc); 152} 153 --- 71 unchanged lines hidden --- |