Changeset 7bcfbbc in mainline for kernel/generic/include/ddi/irq.h


Ignore:
Timestamp:
2007-04-07T23:30:59Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac88c93
Parents:
7e58979
Message:

support the possibility to send EOI or Interrupt Acknowledgement
prior to processing the interrupt
(this is essential on some architectures to prevent preemption deadlock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ddi/irq.h

    r7e58979 r7bcfbbc  
    122122         */
    123123        SPINLOCK_DECLARE(lock);
     124       
     125        /** Send EOI before processing the interrupt.
     126         *  This is essential for timer interrupt which
     127         *  has to be acknowledged before doing preemption
     128         *  to make sure another timer interrupt will
     129         *  be eventually generated.
     130         */
     131        bool preack;
    124132
    125133        /** Unique device number. -1 if not yet assigned. */
     
    128136        /** Actual IRQ number. -1 if not yet assigned. */
    129137        inr_t inr;
    130         /** Trigger level of the IRQ.*/
     138        /** Trigger level of the IRQ. */
    131139        irq_trigger_t trigger;
    132140        /** Claim ownership of the IRQ. */
Note: See TracChangeset for help on using the changeset viewer.