diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-01-04 14:22:10 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-01-07 15:07:41 +0100 |
commit | 50f3c42be544c40e91e0748875c075a2cdb8229b (patch) | |
tree | de750e999e94023f43f226f7a999f2acacc8b4ed /cpukit/score/cpu/arm/arm-exception-default.c | |
parent | arm: Change CPU_Exception_frame (diff) | |
download | rtems-50f3c42be544c40e91e0748875c075a2cdb8229b.tar.bz2 |
arm: Add and use _ARM_Exception_default()
Diffstat (limited to 'cpukit/score/cpu/arm/arm-exception-default.c')
-rw-r--r-- | cpukit/score/cpu/arm/arm-exception-default.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/arm-exception-default.c b/cpukit/score/cpu/arm/arm-exception-default.c new file mode 100644 index 0000000000..ec29f23431 --- /dev/null +++ b/cpukit/score/cpu/arm/arm-exception-default.c @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2013 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifdef HAVE_CONFIG_H + #include "config.h" +#endif + +#include <rtems/score/cpu.h> +#include <rtems/fatal.h> + +void _ARM_Exception_default( CPU_Exception_frame *frame ) +{ + rtems_fatal( RTEMS_FATAL_SOURCE_EXCEPTION, (rtems_fatal_code) frame ); +} |