source: rtems/bsps/mips/hurricane/start/bspstart.c @ e0dd8a5a

5
Last change on this file since e0dd8a5a was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 866 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.org/license/LICENSE.
17 */
18
19#include <string.h>
20
21#include <bsp.h>
22#include <libcpu/isr_entries.h>
23#include <bsp/irq-generic.h>
24
25void bsp_start( void );
26uint32_t bsp_clicks_per_microsecond;
27
28/*
29 *  bsp_start
30 *
31 *  This routine does the bulk of the system initialization.
32 */
33void bsp_start( void )
34{
35
36  bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ;
37
38  bsp_interrupt_initialize();
39}
Note: See TracBrowser for help on using the repository browser.