interrupts.cc (9090:e4e22240398f) | interrupts.cc (9157:e0bad9d7bbd6) |
---|---|
1/* 2 * Copyright (c) 2012 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 --- 605 unchanged lines hidden (view full) --- 614 } 615 regs[reg] = newVal; 616 return; 617} 618 619 620X86ISA::Interrupts::Interrupts(Params * p) : 621 BasicPioDevice(p), IntDev(this, p->int_latency), latency(p->pio_latency), | 1/* 2 * Copyright (c) 2012 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 --- 605 unchanged lines hidden (view full) --- 614 } 615 regs[reg] = newVal; 616 return; 617} 618 619 620X86ISA::Interrupts::Interrupts(Params * p) : 621 BasicPioDevice(p), IntDev(this, p->int_latency), latency(p->pio_latency), |
622 clock(0), | |
623 apicTimerEvent(this), 624 pendingSmi(false), smiVector(0), 625 pendingNmi(false), nmiVector(0), 626 pendingExtInt(false), extIntVector(0), 627 pendingInit(false), initVector(0), 628 pendingStartup(false), startupVector(0), 629 startedUp(false), pendingUnmaskableInt(false), 630 pendingIPIs(0), cpu(NULL), 631 intSlavePort(name() + ".int_slave", this, this, latency) 632{ | 622 apicTimerEvent(this), 623 pendingSmi(false), smiVector(0), 624 pendingNmi(false), nmiVector(0), 625 pendingExtInt(false), extIntVector(0), 626 pendingInit(false), initVector(0), 627 pendingStartup(false), startupVector(0), 628 startedUp(false), pendingUnmaskableInt(false), 629 pendingIPIs(0), cpu(NULL), 630 intSlavePort(name() + ".int_slave", this, this, latency) 631{ |
632 // Override the default clock 633 clock = 0; |
|
633 pioSize = PageBytes; 634 memset(regs, 0, sizeof(regs)); 635 //Set the local apic DFR to the flat model. 636 regs[APIC_DESTINATION_FORMAT] = (uint32_t)(-1); 637 ISRV = 0; 638 IRRV = 0; 639} 640 --- 156 unchanged lines hidden --- | 634 pioSize = PageBytes; 635 memset(regs, 0, sizeof(regs)); 636 //Set the local apic DFR to the flat model. 637 regs[APIC_DESTINATION_FORMAT] = (uint32_t)(-1); 638 ISRV = 0; 639 IRRV = 0; 640} 641 --- 156 unchanged lines hidden --- |