Ignore:
Timestamp:
Nov 14, 2012, 8:59:10 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
9d10cf90
Parents:
038e2f4a
git-author:
Sebastian Huber <sebastian.huber@…> (11/14/12 08:59:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/15/12 14:33:12)
Message:

score: Add RTEMS_FATAL_SOURCE_EXIT

Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/include/bsp.h

    r038e2f4a ra052181  
    2626
    2727#include <bspopts.h>
     28#include <bsp/default-initial-extension.h>
    2829
    2930#include <rtems.h>
     
    3334#include <rtems/irq-extension.h>
    3435
    35 #include <bsp/default-initial-extension.h>
    36 
    3736/* SPARC CPU variant: LEON3 */
    3837#define LEON3 1
     
    4645/* Maximum supported APBUARTs by BSP */
    4746#define BSP_NUMBER_OF_TERMIOS_PORTS 8
     47
     48#define BSP_RESET_BOARD_AT_EXIT 1
    4849
    4950/*
Note: See TracChangeset for help on using the changeset viewer.