1/*
2 * Copyright (c) 2010-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
--- 53 unchanged lines hidden (view full) ---
62 thread->dumpFuncProfile();
63}
64
65template <class Impl>
66void
67O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
68{
69 ::takeOverFrom(*this, *old_context);
70
71 thread->kernelStats = old_context->getKernelStats();
72 thread->funcExeInst = old_context->readFuncExeInst();
73
74 thread->noSquashFromTC = false;
75 thread->trapPending = false;
76}
77
--- 204 unchanged lines hidden ---
2 * Copyright (c) 2010-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
--- 53 unchanged lines hidden (view full) ---
62 thread->dumpFuncProfile();
63}
64
65template <class Impl>
66void
67O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
68{
69 ::takeOverFrom(*this, *old_context);
70
71 thread->kernelStats = old_context->getKernelStats();
72 thread->funcExeInst = old_context->readFuncExeInst();
73
74 thread->noSquashFromTC = false;
75 thread->trapPending = false;
76}
77
--- 204 unchanged lines hidden ---