![]() |
|
|||
File indexing completed on 2025-05-11 08:22:49
0001 /* 0002 * By Yang Xi <hiyangxi@gmail.com>. 0003 * 0004 * The license and distribution terms for this file may be 0005 * found in the file LICENSE in this distribution or at 0006 * http://www.rtems.org/license/LICENSE. 0007 */ 0008 0009 #include <bsp.h> 0010 #include <bsp/irq-generic.h> 0011 #include <rtems/libcsupport.h> 0012 #include <rtems/libio.h> 0013 #include <pxa255.h> 0014 0015 /* 0016 * 0017 * NAME: bsp_start_default - BSP initialization function 0018 * 0019 * DESCRIPTION: 0020 * This function is called before RTEMS is initialized and used 0021 * adjust the kernel's configuration. 0022 * 0023 * This function also configures the CPU's memory protection unit. 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 XSCALE_INT_ICMR = 0x0; 0033 bsp_interrupt_initialize(); 0034 } /* bsp_start */ 0035 0036 /* 0037 * By making this a weak alias for bsp_start_default, a brave soul 0038 * can override the actual bsp_start routine used. 0039 */ 0040 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 |
![]() ![]() |