thread_context.cc (5712:199d31b47f7b) thread_context.cc (5714:76abee886def)
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;

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

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->cpuId();
78 int id2 = two->cpuId();
79 if (id1 != id2)
80 panic("CPU ids don't match, one: %d, two: %d", id1, id2);
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;

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

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->cpuId();
78 int id2 = two->cpuId();
79 if (id1 != id2)
80 panic("CPU ids don't match, one: %d, two: %d", id1, id2);
81
82 id1 = one->contextId();
83 id2 = two->contextId();
84 if (id1 != id2)
85 panic("Context ids don't match, one: %d, two: %d", id1, id2);
86
87
81}
88}