4.104.114.84.95
Last change
on this file since 969de1f3 was
ca7858bb,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/00 at 19:28:11
|
Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb. This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.
An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU. This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
|
-
Property mode set to
100644
|
File size:
816 bytes
|
Line | |
---|
1 | /* |
---|
2 | * A simple main which can be used on any embedded target. |
---|
3 | * |
---|
4 | * This style of initialization insures that the C++ global |
---|
5 | * constructors are executed after RTEMS is initialized. |
---|
6 | * |
---|
7 | * Thanks to Chris Johns <cjohns@plessey.com.au> for this idea. |
---|
8 | * |
---|
9 | * COPYRIGHT (c) 1989-1999. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.OARcorp.com/rtems/license.html. |
---|
15 | * |
---|
16 | * $Id$ |
---|
17 | */ |
---|
18 | |
---|
19 | #include <bsp.h> |
---|
20 | |
---|
21 | char *rtems_progname; |
---|
22 | |
---|
23 | extern rtems_interrupt_level bsp_isr_level; |
---|
24 | |
---|
25 | int main(int argc, char **argv) |
---|
26 | { |
---|
27 | if ((argc > 0) && argv && argv[0]) |
---|
28 | rtems_progname = argv[0]; |
---|
29 | else |
---|
30 | rtems_progname = "RTEMS"; |
---|
31 | |
---|
32 | rtems_initialize_executive_late( bsp_isr_level ); |
---|
33 | |
---|
34 | return 0; |
---|
35 | } |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.