![]() |
|
|||
File indexing completed on 2025-05-11 08:22:49
0001 /* 0002 * Cirrus EP7312 Startup code 0003 */ 0004 0005 /* 0006 * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com> 0007 * 0008 * The license and distribution terms for this file may be 0009 * found in the file LICENSE in this distribution or at 0010 * http://www.rtems.org/license/LICENSE. 0011 */ 0012 0013 #include <bsp.h> 0014 #include <bsp/irq-generic.h> 0015 #include <ep7312.h> 0016 #include <uart.h> 0017 0018 /* 0019 * NAME: bsp_start_default - BSP initialization function 0020 * 0021 * This function is called before RTEMS is initialized 0022 * This function also configures the CPU's memory protection unit. 0023 * 0024 * 0025 * RESTRICTIONS/LIMITATIONS: 0026 * Since RTEMS is not configured, no RTEMS functions can be called. 0027 * 0028 */ 0029 static void bsp_start_default( void ) 0030 { 0031 /* disable interrupts */ 0032 *EP7312_INTMR1 = 0; 0033 *EP7312_INTMR2 = 0; 0034 0035 /* 0036 * Init rtems interrupt management 0037 */ 0038 bsp_interrupt_initialize(); 0039 } /* bsp_start */ 0040 0041 /* 0042 * By making this a weak alias for bsp_start_default, a brave soul 0043 * can override the actual bsp_start routine used. 0044 */ 0045 void bsp_start (void) __attribute__ ((weak, alias("bsp_start_default")));
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |