source: rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c @ 0c0181d

4.115
Last change on this file since 0c0181d was 0c0181d, checked in by Jennifer Averett <jennifer.averett@…>, on 04/04/12 at 13:39:46

PR 1993 - Convert MIPS to PIC IRQ model

  • Property mode set to 100644
File size: 879 bytes
Line 
1/**
2 *  @file
3 * 
4 *  This routine starts the application.  It includes application,
5 *  board, and monitor specific initialization and configuration.
6 *  The generic CPU dependent initialization has been performed
7 *  before this routine is invoked.
8 */
9
10/*
11 *  COPYRIGHT (c) 1989-2012.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.com/license/LICENSE.
17 *
18 *  $Id$
19 */
20
21#include <string.h>
22
23#include <bsp.h>
24#include <libcpu/isr_entries.h>
25#include <bsp/irq-generic.h>
26
27void bsp_start( void );
28uint32_t bsp_clicks_per_microsecond;
29
30/*
31 *  bsp_start
32 *
33 *  This routine does the bulk of the system initialization.
34 */
35void bsp_start( void )
36{
37
38  bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ;
39
40  bsp_interrupt_initialize();
41}
Note: See TracBrowser for help on using the repository browser.