thread_context.cc (10935:acd48ddd725f) thread_context.cc (11005:e7f403b6b76f)
1/*
2 * Copyright (c) 2012 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

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

90 }
91 if (!(one->pcState() == two->pcState()))
92 panic("PC state doesn't match.");
93 int id1 = one->cpuId();
94 int id2 = two->cpuId();
95 if (id1 != id2)
96 panic("CPU ids don't match, one: %d, two: %d", id1, id2);
97
1/*
2 * Copyright (c) 2012 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

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

90 }
91 if (!(one->pcState() == two->pcState()))
92 panic("PC state doesn't match.");
93 int id1 = one->cpuId();
94 int id2 = two->cpuId();
95 if (id1 != id2)
96 panic("CPU ids don't match, one: %d, two: %d", id1, id2);
97
98 id1 = one->contextId();
99 id2 = two->contextId();
100 if (id1 != id2)
98 const ContextID cid1 = one->contextId();
99 const ContextID cid2 = two->contextId();
100 if (cid1 != cid2)
101 panic("Context ids don't match, one: %d, two: %d", id1, id2);
102
103
104}
105
106void
107serialize(ThreadContext &tc, CheckpointOut &cp)
108{

--- 90 unchanged lines hidden ---
101 panic("Context ids don't match, one: %d, two: %d", id1, id2);
102
103
104}
105
106void
107serialize(ThreadContext &tc, CheckpointOut &cp)
108{

--- 90 unchanged lines hidden ---