5
Last change
on this file since 9d41fca was
9d41fca,
checked in by Sebastian Huber <sebastian.huber@…>, on 02/27/19 at 10:39:29
|
bsp/altera-cyclone-v: Adjust Doxygen file groups
Update #3707.
|
-
Property mode set to
100644
|
File size:
973 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup RTEMSBSPsARMCycV |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * Copyright (c) 2015 embedded brains GmbH. All rights reserved. |
---|
9 | * |
---|
10 | * embedded brains GmbH |
---|
11 | * Dornierstr. 4 |
---|
12 | * 82178 Puchheim |
---|
13 | * Germany |
---|
14 | * <info@embedded-brains.de> |
---|
15 | * |
---|
16 | * The license and distribution terms for this file may be |
---|
17 | * found in the file LICENSE in this distribution or at |
---|
18 | * http://www.rtems.org/license/LICENSE. |
---|
19 | */ |
---|
20 | |
---|
21 | #include <bsp.h> |
---|
22 | #include <bsp/bootcard.h> |
---|
23 | #include <rtems/bspIo.h> |
---|
24 | #include <rtems/score/smpimpl.h> |
---|
25 | |
---|
26 | void bsp_fatal_extension( |
---|
27 | rtems_fatal_source src, |
---|
28 | bool always_set_to_false, |
---|
29 | rtems_fatal_code code |
---|
30 | ) |
---|
31 | { |
---|
32 | #ifdef RTEMS_SMP |
---|
33 | if (src == RTEMS_FATAL_SOURCE_SMP && code == SMP_FATAL_SHUTDOWN_RESPONSE) { |
---|
34 | while (true) { |
---|
35 | _ARM_Wait_for_event(); |
---|
36 | } |
---|
37 | } |
---|
38 | #endif |
---|
39 | |
---|
40 | #if BSP_PRINT_EXCEPTION_CONTEXT |
---|
41 | if (src == RTEMS_FATAL_SOURCE_EXCEPTION) { |
---|
42 | rtems_exception_frame_print((const rtems_exception_frame *) code); |
---|
43 | } |
---|
44 | #endif |
---|
45 | |
---|
46 | #if BSP_RESET_BOARD_AT_EXIT |
---|
47 | bsp_reset(); |
---|
48 | #endif |
---|
49 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.