interrupts.cc (10542:7be879ff600c) interrupts.cc (10905:a6ca6831e775)
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

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

724 setRegArrayBit(APIC_IN_SERVICE_BASE, ISRV);
725 // Clear it out of the IRR.
726 clearRegArrayBit(APIC_INTERRUPT_REQUEST_BASE, IRRV);
727 updateIRRV();
728 }
729}
730
731void
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

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

724 setRegArrayBit(APIC_IN_SERVICE_BASE, ISRV);
725 // Clear it out of the IRR.
726 clearRegArrayBit(APIC_INTERRUPT_REQUEST_BASE, IRRV);
727 updateIRRV();
728 }
729}
730
731void
732X86ISA::Interrupts::serialize(std::ostream &os)
732X86ISA::Interrupts::serialize(CheckpointOut &cp) const
733{
734 SERIALIZE_ARRAY(regs, NUM_APIC_REGS);
735 SERIALIZE_SCALAR(pendingSmi);
736 SERIALIZE_SCALAR(smiVector);
737 SERIALIZE_SCALAR(pendingNmi);
738 SERIALIZE_SCALAR(nmiVector);
739 SERIALIZE_SCALAR(pendingExtInt);
740 SERIALIZE_SCALAR(extIntVector);

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

749 SERIALIZE_SCALAR(ISRV);
750 bool apicTimerEventScheduled = apicTimerEvent.scheduled();
751 SERIALIZE_SCALAR(apicTimerEventScheduled);
752 Tick apicTimerEventTick = apicTimerEvent.when();
753 SERIALIZE_SCALAR(apicTimerEventTick);
754}
755
756void
733{
734 SERIALIZE_ARRAY(regs, NUM_APIC_REGS);
735 SERIALIZE_SCALAR(pendingSmi);
736 SERIALIZE_SCALAR(smiVector);
737 SERIALIZE_SCALAR(pendingNmi);
738 SERIALIZE_SCALAR(nmiVector);
739 SERIALIZE_SCALAR(pendingExtInt);
740 SERIALIZE_SCALAR(extIntVector);

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

749 SERIALIZE_SCALAR(ISRV);
750 bool apicTimerEventScheduled = apicTimerEvent.scheduled();
751 SERIALIZE_SCALAR(apicTimerEventScheduled);
752 Tick apicTimerEventTick = apicTimerEvent.when();
753 SERIALIZE_SCALAR(apicTimerEventTick);
754}
755
756void
757X86ISA::Interrupts::unserialize(Checkpoint *cp, const std::string &section)
757X86ISA::Interrupts::unserialize(CheckpointIn &cp)
758{
759 UNSERIALIZE_ARRAY(regs, NUM_APIC_REGS);
760 UNSERIALIZE_SCALAR(pendingSmi);
761 UNSERIALIZE_SCALAR(smiVector);
762 UNSERIALIZE_SCALAR(pendingNmi);
763 UNSERIALIZE_SCALAR(nmiVector);
764 UNSERIALIZE_SCALAR(pendingExtInt);
765 UNSERIALIZE_SCALAR(extIntVector);

--- 27 unchanged lines hidden ---
758{
759 UNSERIALIZE_ARRAY(regs, NUM_APIC_REGS);
760 UNSERIALIZE_SCALAR(pendingSmi);
761 UNSERIALIZE_SCALAR(smiVector);
762 UNSERIALIZE_SCALAR(pendingNmi);
763 UNSERIALIZE_SCALAR(nmiVector);
764 UNSERIALIZE_SCALAR(pendingExtInt);
765 UNSERIALIZE_SCALAR(extIntVector);

--- 27 unchanged lines hidden ---