source: rtems/c/src/lib/libbsp/shared/include/default-initial-extension.h @ e4b40531

4.11
Last change on this file since e4b40531 was e4b40531, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 14, 2012 at 11:37:24 AM

sapi: Add rtems_fatal_source and rtems_fatal_code

  • Property mode set to 100644
File size: 832 bytes
Line 
1/*
2 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#ifndef LIBBSP_SHARED_DEFAULT_INITIAL_EXTENSION_H
16#define LIBBSP_SHARED_DEFAULT_INITIAL_EXTENSION_H
17
18#include <rtems.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif /* __cplusplus */
23
24void bsp_fatal_extension(
25  rtems_fatal_source source,
26  bool is_internal,
27  rtems_fatal_code error
28);
29
30#define BSP_INITIAL_EXTENSION \
31  { NULL, NULL, NULL, NULL, NULL, NULL, NULL, bsp_fatal_extension }
32
33#ifdef __cplusplus
34}
35#endif /* __cplusplus */
36
37#endif /* LIBBSP_SHARED_DEFAULT_INITIAL_EXTENSION_H */
Note: See TracBrowser for help on using the repository browser.