simple_thread.cc (9461:67a6ba6604c8) simple_thread.cc (9478:ba80f7d4f452)
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;

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

103{
104 delete tc;
105}
106
107void
108SimpleThread::takeOverFrom(ThreadContext *oldContext)
109{
110 ::takeOverFrom(*tc, *oldContext);
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;

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

103{
104 delete tc;
105}
106
107void
108SimpleThread::takeOverFrom(ThreadContext *oldContext)
109{
110 ::takeOverFrom(*tc, *oldContext);
111 decoder.takeOverFrom(oldContext->getDecoderPtr());
111
112 kernelStats = oldContext->getKernelStats();
113 funcExeInst = oldContext->readFuncExeInst();
114 storeCondFailures = 0;
115}
116
117void
118SimpleThread::copyState(ThreadContext *oldContext)

--- 96 unchanged lines hidden ---
112
113 kernelStats = oldContext->getKernelStats();
114 funcExeInst = oldContext->readFuncExeInst();
115 storeCondFailures = 0;
116}
117
118void
119SimpleThread::copyState(ThreadContext *oldContext)

--- 96 unchanged lines hidden ---