Ignore:
Timestamp:
Jun 20, 2013, 9:44:04 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
6307b1a
Parents:
5f91272
git-author:
Sebastian Huber <sebastian.huber@…> (06/20/13 09:44:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/21/13 08:26:10)
Message:

bsps: Move bsp_generic_fatal_code to new file

Add bsp_generic_fatal().

File:
1 edited

Legend:

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

    r5f91272 rade27c6  
    2424
    2525#include <bsp/irq-generic.h>
    26 #include <bsp/bootcard.h>
     26#include <bsp/generic-fatal.h>
    2727
    2828#include <stdlib.h>
     
    171171  sc = bsp_interrupt_facility_initialize();
    172172  if (sc != RTEMS_SUCCESSFUL) {
    173     rtems_fatal(
    174       RTEMS_FATAL_SOURCE_BSP_GENERIC,
    175       BSP_GENERIC_FATAL_INTERRUPT_INITIALIZATION
    176     );
     173    bsp_generic_fatal(BSP_GENERIC_FATAL_INTERRUPT_INITIALIZATION);
    177174  }
    178175
Note: See TracChangeset for help on using the changeset viewer.