diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2017-05-05 15:42:45 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2017-05-14 12:31:59 +0200 |
commit | 8670c46470bca00738c348ae98ccd616ce2cf1c2 (patch) | |
tree | a7e3e0b8f2146d159005e3cdcae1884905a3d049 /c/src/lib/libbsp/sparc/shared/pci/gr_cpci_gr740.c | |
parent | leon: allow SMP boot from any CPU (diff) | |
download | rtems-8670c46470bca00738c348ae98ccd616ce2cf1c2.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/pci/gr_cpci_gr740.c')
0 files changed, 0 insertions, 0 deletions