/* * Copyright (c) 2008-2012 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 * 82178 Puchheim * Germany * * * 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. */ #include void bsp_restart(void *addr) { rtems_interrupt_level level; void (*start)(void) = addr; rtems_interrupt_disable(level); (*start)(); }