thread_context.cc (5217:bb810bb8ca2d) thread_context.cc (5712:199d31b47f7b)
1/*
2 * Copyright (c) 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;

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

69 if (pc1 != pc2)
70 panic("PCs doesn't match, one: %#x, two: %#x", pc1, pc2);
71
72 Addr npc1 = one->readNextPC();
73 Addr npc2 = two->readNextPC();
74 if (npc1 != npc2)
75 panic("NPCs doesn't match, one: %#x, two: %#x", npc1, npc2);
76
1/*
2 * Copyright (c) 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;

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

69 if (pc1 != pc2)
70 panic("PCs doesn't match, one: %#x, two: %#x", pc1, pc2);
71
72 Addr npc1 = one->readNextPC();
73 Addr npc2 = two->readNextPC();
74 if (npc1 != npc2)
75 panic("NPCs doesn't match, one: %#x, two: %#x", npc1, npc2);
76
77 int id1 = one->readCpuId();
78 int id2 = two->readCpuId();
77 int id1 = one->cpuId();
78 int id2 = two->cpuId();
79 if (id1 != id2)
80 panic("CPU ids don't match, one: %d, two: %d", id1, id2);
81}
79 if (id1 != id2)
80 panic("CPU ids don't match, one: %d, two: %d", id1, id2);
81}