summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/startup/bsppredriver.c
blob: a45d9d3b58f6bd6ba00c8d7876ca05bdb2ca3dc6 (plain) (tree)
1
2
3
4
5
6
7






                                          




                                                           
                                         


                
                         













                                                                   
/**
 * @file
 * @ingroup sparc_leon3
 * @brief Installs the BSP pre-driver hook
 */

/*
 *  COPYRIGHT (c) 2011
 *  Aeroflex Gaisler
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#include <bsp.h>
#include <bsp/bootcard.h>

/*
 *  bsp_predriver_hook
 *
 *  BSP predriver hook. Called just before drivers are initialized.
 *  Is used to initialize shared interrupt handling.
 */
void bsp_predriver_hook( void )
{
  /* Initialize shared interrupt handling, must be done after IRQ
   * controller has been found and initialized.
   */
  BSP_shared_interrupt_init();
}