interrupts.cc (9808:13ffc0066b76) interrupts.cc (9874:81c0ae6ffb9e)
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

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

644 bits(regs[APIC_TASK_PRIORITY], 7, 4)) {
645 DPRINTF(LocalApic, "Reported pending regular interrupt.\n");
646 return true;
647 }
648 }
649 return false;
650}
651
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

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

644 bits(regs[APIC_TASK_PRIORITY], 7, 4)) {
645 DPRINTF(LocalApic, "Reported pending regular interrupt.\n");
646 return true;
647 }
648 }
649 return false;
650}
651
652bool
653X86ISA::Interrupts::checkInterruptsRaw() const
654{
655 return pendingUnmaskableInt || pendingExtInt ||
656 (IRRV > ISRV && bits(IRRV, 7, 4) >
657 bits(regs[APIC_TASK_PRIORITY], 7, 4));
658}
659
652Fault
653X86ISA::Interrupts::getInterrupt(ThreadContext *tc)
654{
655 assert(checkInterrupts(tc));
656 // These are all probably fairly uncommon, so we'll make them easier to
657 // check for.
658 if (pendingUnmaskableInt) {
659 if (pendingSmi) {

--- 123 unchanged lines hidden ---
660Fault
661X86ISA::Interrupts::getInterrupt(ThreadContext *tc)
662{
663 assert(checkInterrupts(tc));
664 // These are all probably fairly uncommon, so we'll make them easier to
665 // check for.
666 if (pendingUnmaskableInt) {
667 if (pendingSmi) {

--- 123 unchanged lines hidden ---