![]() |
|
|||
File indexing completed on 2025-05-11 08:23:51
0001 /* main() 0002 * 0003 * This is the entry point for the application. It calls 0004 * the bsp_start routine to the actual dirty work. 0005 * 0006 * COPYRIGHT (c) 2005-2006 Kolja Waschk rtemsdev/ixo.de 0007 * Derived from no_cpu/no_bsp/startup/main.c 1.9, 0008 * COPYRIGHT (c) 1989-1999. 0009 * On-Line Applications Research Corporation (OAR). 0010 * 0011 * The license and distribution terms for this file may be 0012 * found in the file LICENSE in this distribution or at 0013 * http://www.rtems.org/license/LICENSE. 0014 */ 0015 0016 #include <rtems.h> 0017 #include <bsp.h> 0018 0019 int main( 0020 int argc, 0021 char **argv, 0022 char **environp 0023 ) 0024 { 0025 extern void bsp_start( int, char**, char ** ); 0026 0027 bsp_start( argc, argv, environp ); 0028 0029 /* 0030 * May be able to return to the "crt/start.s" code but also 0031 * may not be able to. Do something here which is board dependent. 0032 */ 0033 0034 rtems_fatal_error_occurred( 0 ); 0035 0036 return 0; /* just to satisfy the native compiler */ 0037 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |