summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc176x/misc/restart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc176x/misc/restart.c')
-rw-r--r--c/src/lib/libbsp/arm/lpc176x/misc/restart.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/c/src/lib/libbsp/arm/lpc176x/misc/restart.c b/c/src/lib/libbsp/arm/lpc176x/misc/restart.c
deleted file mode 100644
index d6e5783f53..0000000000
--- a/c/src/lib/libbsp/arm/lpc176x/misc/restart.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * @file
- *
- * @ingroup lpc176x
- *
- * @brief Restart implementation.
- */
-
-/*
- * Copyright (c) 2011-2012 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.org/license/LICENSE.
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-void bsp_restart( const void *const addr )
-{
- rtems_interrupt_level level;
-
- void (*start) ( void ) = addr;
-
- rtems_interrupt_disable( level );
- (void) level; /* avoid set but not used warning */
- ( *start )();
-}