source: rtems/c/src/lib/libbsp/m32c/m32cbsp/startup/bspstart.c @ 0fd07a10

4.104.115
Last change on this file since 0fd07a10 was 0fd07a10, checked in by Joel Sherrill <joel.sherrill@…>, on 10/02/08 at 21:34:36

2008-10-02 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, ChangeLog?, Makefile.am, bsp_specs, configure.ac, preinstall.am, console/console-io.c, console/syscalls.S, include/.cvsignore, include/bsp.h, start/start.S, startup/bspstart.c, startup/crtn.S, startup/linkcmds, timer/timer.c, tools/.cvsignore, tools/Makefile.am, tools/configure.ac, tools/runtest.in: New files.
  • Property mode set to 100644
File size: 592 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2008.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#include <bsp.h>
13#include <bsp/bootcard.h>
14
15extern void sys_sbrk(int);
16
17/*
18 * This routine would usually do the bulk of the system initialization.
19 * But if a BSP doesn't need to do anything, it can use this version.
20 */
21
22void bsp_start( void )
23{
24  /* Tell the simulator not to test for heap/stack collision */
25  sys_sbrk(0);
26}
Note: See TracBrowser for help on using the repository browser.