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(CheckpointOut &cp) const |
135{ |
136 ThreadState::serialize(cp); 137 ::serialize(*tc, cp); |
138} 139 140 141void |
142SimpleThread::unserialize(CheckpointIn &cp) |
143{ |
144 ThreadState::unserialize(cp); 145 ::unserialize(*tc, cp); |
146} 147 148void 149SimpleThread::startup() 150{ 151 isa->startup(tc); 152} 153 --- 71 unchanged lines hidden --- |