source: rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c @ 63c08c0

4.104.115
Last change on this file since 63c08c0 was 63c08c0, checked in by Joel Sherrill <joel.sherrill@…>, on 09/14/08 at 21:34:26

2008-09-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac, startup/bspstart.c: Split out bsp_get_work_area() into its own file and user BSP Framework to perform more initialization.
  • startup/bspgetworkarea.c: New file.
  • Property mode set to 100644
File size: 874 bytes
Line 
1/*
2 *  This routine starts the application.  It includes application,
3 *  board, and monitor specific initialization and configuration.
4 *  The generic CPU dependent initialization has been performed
5 *  before this routine is invoked.
6 *
7 *  COPYRIGHT (c) 1989-1999.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 *
14 *  $Id$
15 */
16
17#include <string.h>
18
19#include <bsp.h>
20#include <rtems/libio.h>
21#include <rtems/libcsupport.h>
22
23uint32_t bsp_clicks_per_microsecond;
24 
25/*
26 *  bsp_start
27 *
28 *  This routine does the bulk of the system initialization.
29 */
30void bsp_start( void )
31{
32
33  bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ;
34
35  mips_install_isr_entries(); /* Install generic MIPS exception handler */
36}
Note: See TracBrowser for help on using the repository browser.