forked from Imagelibrary/rtems
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
26 lines
528 B
C
26 lines
528 B
C
/*
|
|
* Copyright (c) 2008-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 <bsp.h>
|
|
|
|
void bsp_restart(void *addr)
|
|
{
|
|
rtems_interrupt_level level;
|
|
void (*start)(void) = addr;
|
|
|
|
(void) level;
|
|
rtems_interrupt_disable(level);
|
|
(*start)();
|
|
}
|