Changeset 8670c464 in rtems for c/src/lib/libbsp

Timestamp:
05/05/17 13:42:45 (7 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
5, master
Children:
ce76b9d2
Parents:
aa19873
git-author:
Daniel Hellstrom <daniel@…> (05/05/17 13:42:45)
git-committer:
Daniel Hellstrom <daniel@…> (05/14/17 10:31:59)
Message:

leon, genirq: SMP support for PCI peripherals

The common interrupt layer for GRLIB PCI perihperals is prepared for SMP
support by this patch. The existing locking (interrupt disabling) is
replaced by a new requirement on the user to implement locking before
calling the genirq API. This approach avoids taking more locks than
necessary.

The split up of the locks also introduces that the user must allocate
memory to describe ISR handlers, to avoid calling malloc()/free() while
possessing a spin-lock and interrupts are globally disabled.

(No files)

Note: See TracChangeset for help on using the changeset viewer.