diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-06 18:11:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-06 18:11:41 +0000 |
commit | f198c63d6a1d172aef422353e42b41f8cb128275 (patch) | |
tree | f9f975562c842273fe349148c7bd58f9f38a8ee0 /c/src/exec/score/cpu/mips/rtems.c | |
parent | added MIPS port by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag (diff) | |
download | rtems-f198c63d6a1d172aef422353e42b41f8cb128275.tar.bz2 |
new file for MIPS port by Craig Lebakken (lebakken@minn.net) and
Derrick Ostertag (ostertag@transition.com).
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/mips/rtems.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/mips/rtems.c b/c/src/exec/score/cpu/mips/rtems.c new file mode 100644 index 0000000000..3128ef3379 --- /dev/null +++ b/c/src/exec/score/cpu/mips/rtems.c @@ -0,0 +1,49 @@ +/* rtems.c ===> rtems.S or rtems.s + * + * This file contains the single entry point code for + * the XXX implementation of RTEMS. + * + * NOTE: This is supposed to be a .S or .s file NOT a C file. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * rtems.c,v 1.4 1995/09/26 19:25:41 joel Exp + */ + +#ifndef lint +static char _sccsid[] = "@(#)rtems.c 03/15/96 1.1\n"; +#endif + +/* + * This is supposed to be an assembly file. This means that system.h + * and cpu.h should not be included in a "real" rtems file. + */ + +#include <rtems/system.h> +#include <rtems/score/cpu.h> +/* #include "asm.h> */ + +/* + * RTEMS + * + * This routine jumps to the directive indicated in the + * CPU defined register. This routine is used when RTEMS is + * linked by itself and placed in ROM. This routine is the + * first address in the ROM space for RTEMS. The user "calls" + * this address with the directive arguments in the normal place. + * This routine then jumps indirectly to the correct directive + * preserving the arguments. The directive should not realize + * it has been "wrapped" in this way. The table "_Entry_points" + * is used to look up the directive. + */ + +void RTEMS() +{ +} + |