interrupts.cc (8799:dac1e33e07b0) interrupts.cc (8851:7e966326ef5b)
1/*
2 * Copyright (c) 2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

549 if (i != initialApicId) {
550 apics.push_back(i);
551 }
552 }
553 }
554 break;
555 }
556 pendingIPIs += apics.size();
1/*
2 * Copyright (c) 2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

549 if (i != initialApicId) {
550 apics.push_back(i);
551 }
552 }
553 }
554 break;
555 }
556 pendingIPIs += apics.size();
557 intPort->sendMessage(apics, message, timing);
557 intPort.sendMessage(apics, message, timing);
558 newVal = regs[APIC_INTERRUPT_COMMAND_LOW];
559 }
560 break;
561 case APIC_LVT_TIMER:
562 case APIC_LVT_THERMAL_SENSOR:
563 case APIC_LVT_PERFORMANCE_MONITORING_COUNTERS:
564 case APIC_LVT_LINT0:
565 case APIC_LVT_LINT1:

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

607 clock(0),
608 apicTimerEvent(this),
609 pendingSmi(false), smiVector(0),
610 pendingNmi(false), nmiVector(0),
611 pendingExtInt(false), extIntVector(0),
612 pendingInit(false), initVector(0),
613 pendingStartup(false), startupVector(0),
614 startedUp(false), pendingUnmaskableInt(false),
558 newVal = regs[APIC_INTERRUPT_COMMAND_LOW];
559 }
560 break;
561 case APIC_LVT_TIMER:
562 case APIC_LVT_THERMAL_SENSOR:
563 case APIC_LVT_PERFORMANCE_MONITORING_COUNTERS:
564 case APIC_LVT_LINT0:
565 case APIC_LVT_LINT1:

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

607 clock(0),
608 apicTimerEvent(this),
609 pendingSmi(false), smiVector(0),
610 pendingNmi(false), nmiVector(0),
611 pendingExtInt(false), extIntVector(0),
612 pendingInit(false), initVector(0),
613 pendingStartup(false), startupVector(0),
614 startedUp(false), pendingUnmaskableInt(false),
615 pendingIPIs(0), cpu(NULL)
615 pendingIPIs(0), cpu(NULL),
616 intSlavePort(name() + ".int_slave", this, this, latency)
616{
617 pioSize = PageBytes;
618 memset(regs, 0, sizeof(regs));
619 //Set the local apic DFR to the flat model.
620 regs[APIC_DESTINATION_FORMAT] = (uint32_t)(-1);
621 ISRV = 0;
622 IRRV = 0;
623}

--- 157 unchanged lines hidden ---
617{
618 pioSize = PageBytes;
619 memset(regs, 0, sizeof(regs));
620 //Set the local apic DFR to the flat model.
621 regs[APIC_DESTINATION_FORMAT] = (uint32_t)(-1);
622 ISRV = 0;
623 IRRV = 0;
624}

--- 157 unchanged lines hidden ---