summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/pci/gr_rasta_io.c
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2017-05-05 15:42:45 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2017-05-14 12:31:59 +0200
commit8670c46470bca00738c348ae98ccd616ce2cf1c2 (patch)
treea7e3e0b8f2146d159005e3cdcae1884905a3d049 /c/src/lib/libbsp/sparc/shared/pci/gr_rasta_io.c
parentleon: allow SMP boot from any CPU (diff)
downloadrtems-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_rasta_io.c')
0 files changed, 0 insertions, 0 deletions