thread_context.cc (13622:ba31c2a23eca) | thread_context.cc (13865:cca49fc49c57) |
---|---|
1/* 2 * Copyright (c) 2012, 2016-2017 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 149 unchanged lines hidden (view full) --- 158 DPRINTF(Quiesce, "%s: quiesceTick until %lu\n", cpu->name(), resume); 159 160 suspend(); 161 if (getKernelStats()) 162 getKernelStats()->quiesce(); 163} 164 165void | 1/* 2 * Copyright (c) 2012, 2016-2017 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 149 unchanged lines hidden (view full) --- 158 DPRINTF(Quiesce, "%s: quiesceTick until %lu\n", cpu->name(), resume); 159 160 suspend(); 161 if (getKernelStats()) 162 getKernelStats()->quiesce(); 163} 164 165void |
166serialize(ThreadContext &tc, CheckpointOut &cp) | 166serialize(const ThreadContext &tc, CheckpointOut &cp) |
167{ 168 using namespace TheISA; 169 170 RegVal floatRegs[NumFloatRegs]; 171 for (int i = 0; i < NumFloatRegs; ++i) 172 floatRegs[i] = tc.readFloatRegFlat(i); 173 // This is a bit ugly, but needed to maintain backwards 174 // compatibility. --- 107 unchanged lines hidden --- | 167{ 168 using namespace TheISA; 169 170 RegVal floatRegs[NumFloatRegs]; 171 for (int i = 0; i < NumFloatRegs; ++i) 172 floatRegs[i] = tc.readFloatRegFlat(i); 173 // This is a bit ugly, but needed to maintain backwards 174 // compatibility. --- 107 unchanged lines hidden --- |