diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-08 16:11:02 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-08 16:42:36 +0200 |
commit | 602d5ba27c774ba7da6edef086ef0ef9fd8a9a08 (patch) | |
tree | 5f63512b840e51a4631ccd9fd504a506f60383f4 /cpukit | |
parent | libtests/flashdisk01: Disable for small memory BSP (diff) | |
download | rtems-602d5ba27c774ba7da6edef086ef0ef9fd8a9a08.tar.bz2 |
bsps: Fix warnings
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/include/rtems/irq.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cpukit/include/rtems/irq.h b/cpukit/include/rtems/irq.h index ecebe9e63d..e0e57130ea 100644 --- a/cpukit/include/rtems/irq.h +++ b/cpukit/include/rtems/irq.h @@ -178,6 +178,27 @@ int BSP_install_rtems_shared_irq_handler (const rtems_irq_connect_data*); #endif /* + * Less cumbersome, alternate entry points; + * RETURNS: more traditional, 0 on success, nonzero on error + * + * The BSP_rtems_int_connect() and BSP_rtems_int_disconnect() functions are + * only present on some PowerPC BSPs. Do not use them. Use + * rtems_interrupt_handler_install() instead. + */ + +int BSP_rtems_int_connect( + rtems_irq_number n, + rtems_irq_hdl hdl, + rtems_irq_hdl_param p +); + +int BSP_rtems_int_disconnect( + rtems_irq_number n, + rtems_irq_hdl hdl, + rtems_irq_hdl_param p +); + +/* * ----------------- RTEMS Global Irq Handler Mngt Routines ---------------- */ /* |