4.104.114.84.95
Line | |
---|
1 | /* rtems.c ===> rtems.S or rtems.s |
---|
2 | * |
---|
3 | * This file contains the single entry point code for |
---|
4 | * the XXX implementation of RTEMS. |
---|
5 | * |
---|
6 | * NOTE: This is supposed to be a .S or .s file NOT a C file. |
---|
7 | * |
---|
8 | * COPYRIGHT (c) 1989-1999. |
---|
9 | * On-Line Applications Research Corporation (OAR). |
---|
10 | * |
---|
11 | * The license and distribution terms for this file may be |
---|
12 | * found in the file LICENSE in this distribution or at |
---|
13 | * http://www.OARcorp.com/rtems/license.html. |
---|
14 | * |
---|
15 | * $Id$ |
---|
16 | */ |
---|
17 | |
---|
18 | /* |
---|
19 | * This is supposed to be an assembly file. This means that system.h |
---|
20 | * and cpu.h should not be included in a "real" rtems file. |
---|
21 | */ |
---|
22 | |
---|
23 | #include <rtems/system.h> |
---|
24 | #include <rtems/score/cpu.h> |
---|
25 | /* #include "asm.h> */ |
---|
26 | |
---|
27 | /* |
---|
28 | * RTEMS |
---|
29 | * |
---|
30 | * This routine jumps to the directive indicated in the |
---|
31 | * CPU defined register. This routine is used when RTEMS is |
---|
32 | * linked by itself and placed in ROM. This routine is the |
---|
33 | * first address in the ROM space for RTEMS. The user "calls" |
---|
34 | * this address with the directive arguments in the normal place. |
---|
35 | * This routine then jumps indirectly to the correct directive |
---|
36 | * preserving the arguments. The directive should not realize |
---|
37 | * it has been "wrapped" in this way. The table "_Entry_points" |
---|
38 | * is used to look up the directive. |
---|
39 | */ |
---|
40 | |
---|
41 | void RTEMS() |
---|
42 | { |
---|
43 | } |
---|
44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.