diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-18 20:45:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-18 20:45:27 +0000 |
commit | a4d97d942b6e13cdd83e69308741f730091c13a1 (patch) | |
tree | edf7c3645314eabc69001f485a7e36faa5a750f8 /c/src/exec/score/cpu/a29k/rtems.c | |
parent | added AMD 29K port (diff) | |
download | rtems-a4d97d942b6e13cdd83e69308741f730091c13a1.tar.bz2 |
new files submitted by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com).
Diffstat (limited to 'c/src/exec/score/cpu/a29k/rtems.c')
-rw-r--r-- | c/src/exec/score/cpu/a29k/rtems.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/a29k/rtems.c b/c/src/exec/score/cpu/a29k/rtems.c new file mode 100644 index 0000000000..a5c8699a0f --- /dev/null +++ b/c/src/exec/score/cpu/a29k/rtems.c @@ -0,0 +1,48 @@ +/* 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. + * + * $Id$ + */ +#ifndef lint +static char _sccsid[] = "@(#)rtems.c 04/08/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() +{ +} + |