Ignore:
Timestamp:
Nov 14, 2012, 12:59:27 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b1e8a58
Parents:
b9bc399
git-author:
Sebastian Huber <sebastian.huber@…> (11/14/12 12:59:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/15/12 14:33:13)
Message:

bsps: Interrupt initialization error is fatal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/include/irq-generic.h

    rb9bc399 rdd8df59  
    1010 * Based on concepts of Pavel Pisa, Till Straumann and Eric Valette.
    1111 *
    12  * Copyright (c) 2008, 2009, 2010
    13  * embedded brains GmbH
    14  * Obere Lagerstr. 30
    15  * D-82178 Puchheim
    16  * Germany
    17  * <rtems@embedded-brains.de>
     12 * Copyright (c) 2008-2012 embedded brains GmbH.
     13 *
     14 *  embedded brains GmbH
     15 *  Obere Lagerstr. 30
     16 *  82178 Puchheim
     17 *  Germany
     18 *  <rtems@embedded-brains.de>
    1819 *
    1920 * The license and distribution terms for this file may be
     
    164165 *
    165166 * You must call this function before you can install, remove and dispatch
    166  * interrupt handlers.  The BSP specific bsp_interrupt_facility_initialize()
    167  * function will be called after all internals are initialized.  Initialization
    168  * is complete if everything was successful.
    169  */
    170 rtems_status_code bsp_interrupt_initialize(void);
     167 * interrupt handlers.  There is no protection against concurrent
     168 * initialization.  This function must be called at most once.  The BSP
     169 * specific bsp_interrupt_facility_initialize() function will be called after
     170 * all internals are initialized.  If the BSP specific initialization fails,
     171 * then this is a fatal error.  The fatal error source is
     172 * RTEMS_FATAL_SOURCE_BSP_GENERIC and the fatal error code is
     173 * BSP_GENERIC_FATAL_INTERRUPT_INITIALIZATION.
     174 */
     175void bsp_interrupt_initialize(void);
    171176
    172177/**
Note: See TracChangeset for help on using the changeset viewer.