Ignore:
Timestamp:
May 6, 2016, 7:55:29 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
02ef5d9
Parents:
292dbff
git-author:
Chris Johns <chrisj@…> (05/06/16 07:55:29)
git-committer:
Chris Johns <chrisj@…> (05/11/16 01:45:01)
Message:

i386/pc386: Fix interrupt support.

Fix the interrupt and stop the spurious interrupt from happening.

The fix moves the EOI to C code and cleans that functionality out
of the asm part of the ISR handler.

The code checks the ISR and IRR registers on the enable.

Only ack the master for a slave IRQ if the slave has no other pending
requests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r292dbff r93fb8797  
    162162libbsp_a_SOURCES += ../../i386/shared/irq/irq.c
    163163libbsp_a_SOURCES += ../../i386/shared/irq/irq_init.c
     164libbsp_a_SOURCES += ../../i386/shared/irq/elcr.c
    164165libbsp_a_SOURCES += ../../shared/bootcard.c
    165166libbsp_a_SOURCES += ../../shared/sbrk.c
Note: See TracChangeset for help on using the changeset viewer.