CPU: Remove Alpha-specific PC alignment check.
This commit is contained in:
@@ -84,7 +84,9 @@ PCEventQueue::schedule(PCEvent *event)
|
||||
bool
|
||||
PCEventQueue::doService(ThreadContext *tc)
|
||||
{
|
||||
Addr pc = tc->instAddr() & ~0x3;
|
||||
// This will fail to break on Alpha PALcode addresses, but that is
|
||||
// a rare use case.
|
||||
Addr pc = tc->instAddr();
|
||||
int serviced = 0;
|
||||
range_t range = equal_range(pc);
|
||||
for (iterator i = range.first; i != range.second; ++i) {
|
||||
@@ -92,7 +94,7 @@ PCEventQueue::doService(ThreadContext *tc)
|
||||
// another event. This for example, prevents two invocations
|
||||
// of the SkipFuncEvent. Maybe we should have separate PC
|
||||
// event queues for each processor?
|
||||
if (pc != (tc->instAddr() & ~0x3))
|
||||
if (pc != tc->instAddr())
|
||||
continue;
|
||||
|
||||
DPRINTF(PCEvent, "PC based event serviced at %#x: %s\n",
|
||||
|
||||
Reference in New Issue
Block a user