diff options
Diffstat (limited to 'bsps/m32c/m32cbsp/start/bspstart.c')
-rw-r--r-- | bsps/m32c/m32cbsp/start/bspstart.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bsps/m32c/m32cbsp/start/bspstart.c b/bsps/m32c/m32cbsp/start/bspstart.c new file mode 100644 index 0000000000..7fdd598ccf --- /dev/null +++ b/bsps/m32c/m32cbsp/start/bspstart.c @@ -0,0 +1,24 @@ +/* + * COPYRIGHT (c) 1989-2008. + * On-Line Applications Research Corporation (OAR). + * + * 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> +#include <bsp/bootcard.h> + +extern void sys_sbrk(int); + +/* + * This routine would usually do the bulk of the system initialization. + * But if a BSP doesn't need to do anything, it can use this version. + */ + +void bsp_start( void ) +{ + /* Tell the simulator not to test for heap/stack collision */ + sys_sbrk(0); +} |