diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-22 16:53:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-22 16:53:46 +0000 |
commit | 8389628c1be0f40fb94c1d2859138a09616acf06 (patch) | |
tree | 0d58d8f544ace76749af5bfb6b0adac7f5cc191e /c/src/exec | |
parent | addition of optional user provided stack allocator means that we can not (diff) | |
download | rtems-8389628c1be0f40fb94c1d2859138a09616acf06.tar.bz2 |
updates from Tony Bennett
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/libcsupport/include/rtems/assoc.h | 2 | ||||
-rw-r--r-- | c/src/exec/libcsupport/include/rtems/error.h | 9 | ||||
-rw-r--r-- | c/src/exec/libcsupport/src/assoc.c | 3 | ||||
-rw-r--r-- | c/src/exec/libcsupport/src/error.c | 3 | ||||
-rw-r--r-- | c/src/exec/score/tools/hppa1.1/genoffsets.c | 41 |
5 files changed, 40 insertions, 18 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/assoc.h b/c/src/exec/libcsupport/include/rtems/assoc.h index f9a444374c..1982d654ac 100644 --- a/c/src/exec/libcsupport/include/rtems/assoc.h +++ b/c/src/exec/libcsupport/include/rtems/assoc.h @@ -1,6 +1,4 @@ /* - * @(#)assoc.h 1.4 - 95/10/25 - * * * Rtems associativity routines. Mainly used to convert a value from * one space to another (eg: our errno's to host errno's and v.v) diff --git a/c/src/exec/libcsupport/include/rtems/error.h b/c/src/exec/libcsupport/include/rtems/error.h index 621ee16f65..e4d8c77200 100644 --- a/c/src/exec/libcsupport/include/rtems/error.h +++ b/c/src/exec/libcsupport/include/rtems/error.h @@ -1,8 +1,4 @@ - /* - * @(#)error.h 1.3 - 95/10/25 - * - * * Defines and externs for rtems error reporting * * $Id$ @@ -24,7 +20,12 @@ const char *rtems_status_text(rtems_status_code); int rtems_error(int error_code, const char *printf_format, ...); +#ifdef __GNUC__ +void rtems_panic(const char *printf_format, ...) + __attribute__ ((__noreturn__)); +#else void rtems_panic(const char *printf_format, ...); +#endif extern int rtems_panic_in_progress; diff --git a/c/src/exec/libcsupport/src/assoc.c b/c/src/exec/libcsupport/src/assoc.c index a3eabdb3b5..74387a8c5b 100644 --- a/c/src/exec/libcsupport/src/assoc.c +++ b/c/src/exec/libcsupport/src/assoc.c @@ -1,7 +1,4 @@ /* - * @(#)assoc.c 1.6 - 95/10/25 - * - * * assoc.c * rtems assoc routines * diff --git a/c/src/exec/libcsupport/src/error.c b/c/src/exec/libcsupport/src/error.c index 715635072a..5bd481c3e6 100644 --- a/c/src/exec/libcsupport/src/error.c +++ b/c/src/exec/libcsupport/src/error.c @@ -1,7 +1,4 @@ /* - * @(#)error.c 1.6 - 95/12/12 - * - * * report errors and panics to RTEMS' stderr. * Currently just used by RTEMS monitor. * diff --git a/c/src/exec/score/tools/hppa1.1/genoffsets.c b/c/src/exec/score/tools/hppa1.1/genoffsets.c index 578259e83d..39f900b48a 100644 --- a/c/src/exec/score/tools/hppa1.1/genoffsets.c +++ b/c/src/exec/score/tools/hppa1.1/genoffsets.c @@ -1,12 +1,9 @@ /* - * @(#)genoffsets.c 1.7 - 95/09/25 - * - * * genoffsets.c * * This file generates the offsets.h for the HP PA-RISC port of RTEMS. * - * NOTE: It only prints the offset for structures actually used + * NOTE: It only prints the offset for structures actually used * by the assembly code. * * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. @@ -17,7 +14,6 @@ * notice must appear in all copies of this file and its derivatives. * * $Id$ - * */ #include <stdio.h> @@ -70,7 +66,7 @@ printf( (int) &((TYPE)0)->FIELD ); #define PRINT_SIZE( STRING, item ) \ - printf( "#define\t%s\t%d\t\t/* 0x%x */\n", \ + printf( "#ifdef ASM\n#define\t%s\t%d\t\t/* 0x%x */\n#endif\n", \ STRING, \ sizeof(item), \ sizeof(item) ); @@ -145,6 +141,39 @@ printf( PRINT_COMMENT("Context_Control_fp information"); + PRINT_IT( "FR0_OFFSET", Context_Control_fp *, fr0 ); + PRINT_IT( "FR1_OFFSET", Context_Control_fp *, fr1 ); + PRINT_IT( "FR2_OFFSET", Context_Control_fp *, fr2 ); + PRINT_IT( "FR3_OFFSET", Context_Control_fp *, fr3 ); + PRINT_IT( "FR4_OFFSET", Context_Control_fp *, fr4 ); + PRINT_IT( "FR5_OFFSET", Context_Control_fp *, fr5 ); + PRINT_IT( "FR6_OFFSET", Context_Control_fp *, fr6 ); + PRINT_IT( "FR7_OFFSET", Context_Control_fp *, fr7 ); + PRINT_IT( "FR8_OFFSET", Context_Control_fp *, fr8 ); + PRINT_IT( "FR9_OFFSET", Context_Control_fp *, fr9 ); + PRINT_IT( "FR10_OFFSET", Context_Control_fp *, fr10 ); + PRINT_IT( "FR11_OFFSET", Context_Control_fp *, fr11 ); + PRINT_IT( "FR12_OFFSET", Context_Control_fp *, fr12 ); + PRINT_IT( "FR13_OFFSET", Context_Control_fp *, fr13 ); + PRINT_IT( "FR14_OFFSET", Context_Control_fp *, fr14 ); + PRINT_IT( "FR15_OFFSET", Context_Control_fp *, fr15 ); + PRINT_IT( "FR16_OFFSET", Context_Control_fp *, fr16 ); + PRINT_IT( "FR17_OFFSET", Context_Control_fp *, fr17 ); + PRINT_IT( "FR18_OFFSET", Context_Control_fp *, fr18 ); + PRINT_IT( "FR19_OFFSET", Context_Control_fp *, fr19 ); + PRINT_IT( "FR20_OFFSET", Context_Control_fp *, fr20 ); + PRINT_IT( "FR21_OFFSET", Context_Control_fp *, fr21 ); + PRINT_IT( "FR22_OFFSET", Context_Control_fp *, fr22 ); + PRINT_IT( "FR23_OFFSET", Context_Control_fp *, fr23 ); + PRINT_IT( "FR24_OFFSET", Context_Control_fp *, fr24 ); + PRINT_IT( "FR25_OFFSET", Context_Control_fp *, fr25 ); + PRINT_IT( "FR26_OFFSET", Context_Control_fp *, fr26 ); + PRINT_IT( "FR27_OFFSET", Context_Control_fp *, fr27 ); + PRINT_IT( "FR28_OFFSET", Context_Control_fp *, fr28 ); + PRINT_IT( "FR29_OFFSET", Context_Control_fp *, fr29 ); + PRINT_IT( "FR30_OFFSET", Context_Control_fp *, fr30 ); + PRINT_IT( "FR31_OFFSET", Context_Control_fp *, fr31 ); + PRINT_SIZE("CPU_CONTEXT_FP_SIZE", Context_Control_fp); /* |