interrupts.cc (9807:63d7362bbdf2) | interrupts.cc (9808:13ffc0066b76) |
---|---|
1/* 2 * Copyright (c) 2012-2013 ARM Limited 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 --- 594 unchanged lines hidden (view full) --- 603 break; 604 } 605 regs[reg] = newVal; 606 return; 607} 608 609 610X86ISA::Interrupts::Interrupts(Params * p) | 1/* 2 * Copyright (c) 2012-2013 ARM Limited 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 --- 594 unchanged lines hidden (view full) --- 603 break; 604 } 605 regs[reg] = newVal; 606 return; 607} 608 609 610X86ISA::Interrupts::Interrupts(Params * p) |
611 : BasicPioDevice(p), IntDevice(this, p->int_latency), | 611 : BasicPioDevice(p, PageBytes), IntDevice(this, p->int_latency), |
612 apicTimerEvent(this), 613 pendingSmi(false), smiVector(0), 614 pendingNmi(false), nmiVector(0), 615 pendingExtInt(false), extIntVector(0), 616 pendingInit(false), initVector(0), 617 pendingStartup(false), startupVector(0), 618 startedUp(false), pendingUnmaskableInt(false), 619 pendingIPIs(0), cpu(NULL), 620 intSlavePort(name() + ".int_slave", this, this) 621{ | 612 apicTimerEvent(this), 613 pendingSmi(false), smiVector(0), 614 pendingNmi(false), nmiVector(0), 615 pendingExtInt(false), extIntVector(0), 616 pendingInit(false), initVector(0), 617 pendingStartup(false), startupVector(0), 618 startedUp(false), pendingUnmaskableInt(false), 619 pendingIPIs(0), cpu(NULL), 620 intSlavePort(name() + ".int_slave", this, this) 621{ |
622 pioSize = PageBytes; | |
623 memset(regs, 0, sizeof(regs)); 624 //Set the local apic DFR to the flat model. 625 regs[APIC_DESTINATION_FORMAT] = (uint32_t)(-1); 626 ISRV = 0; 627 IRRV = 0; 628} 629 630 --- 153 unchanged lines hidden --- | 622 memset(regs, 0, sizeof(regs)); 623 //Set the local apic DFR to the flat model. 624 regs[APIC_DESTINATION_FORMAT] = (uint32_t)(-1); 625 ISRV = 0; 626 IRRV = 0; 627} 628 629 --- 153 unchanged lines hidden --- |