From ac200c1ba1ed071354d578bdc2e7feec81b10baf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Sep 2004 20:34:01 +0000 Subject: 2004-09-29 Joel Sherrill * configure.ac, libmisc/cpuuse/README, libmisc/stackchk/README, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am, score/include/rtems/score/mppkt.h: i960 obsoleted and all references removed. --- cpukit/ChangeLog | 7 +++++++ cpukit/configure.ac | 1 - cpukit/libmisc/cpuuse/README | 33 +++----------------------------- cpukit/libmisc/stackchk/README | 3 --- cpukit/librpc/src/xdr/xdr_float.c | 1 - cpukit/score/cpu/Makefile.am | 2 +- cpukit/score/include/rtems/score/mppkt.h | 7 +++---- 7 files changed, 14 insertions(+), 40 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index ed1ad60ee1..76e04cda0f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2004-09-29 Joel Sherrill + + * configure.ac, libmisc/cpuuse/README, libmisc/stackchk/README, + librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am, + score/include/rtems/score/mppkt.h: i960 obsoleted and all references + removed. + 2004-09-29 Joel Sherrill * score/cpu/i960/.cvsignore, score/cpu/i960/ChangeLog, diff --git a/cpukit/configure.ac b/cpukit/configure.ac index bd4c6b4fd9..0eeab728d6 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -285,7 +285,6 @@ score/cpu/avr/Makefile score/cpu/c4x/Makefile score/cpu/h8300/Makefile score/cpu/i386/Makefile -score/cpu/i960/Makefile score/cpu/m68k/Makefile score/cpu/mips/Makefile score/cpu/or32/Makefile diff --git a/cpukit/libmisc/cpuuse/README b/cpukit/libmisc/cpuuse/README index 20e76f07bc..bd3cc55e34 100644 --- a/cpukit/libmisc/cpuuse/README +++ b/cpukit/libmisc/cpuuse/README @@ -2,40 +2,13 @@ # $Id$ # -This directory contains a stack bounds checker. It provides two +This directory contains a CPU usage reported. It provides two primary features: - + check for stack overflow at each context switch - + provides an educated guess at each task's stack usage - -The stack overflow check at context switch works by looking for -a 16 byte pattern at the logical end of the stack to be corrupted. -The "guesser" assumes that the entire stack was prefilled with a known -pattern and assumes that the pattern is still in place if the memory -has not been used as a stack. - -Both of these can be fooled by pushing large holes onto the stack -and not writing to them... or (much more unlikely) writing the -magic patterns into memory. - -This code has not been extensively tested. It is provided as a tool -for RTEMS users to catch the most common mistake in multitasking -systems ... too little stack space. Suggestions and comments are appreciated. + + provides an educated guess at each task's CPU usage NOTES: -1. Stack usage information is questionable on CPUs which push - large holes on stack. - -2. The stack checker has a tendency to generate a fault when - trying to print the helpful diagnostic message. If it comes - out, congratulations. If not, then the variable Stack_check_Blown_task - contains a pointer to the TCB of the offending task. This - is usually enough to go on. - -FUTURE: +1. CPU usage is "docked" by a clock tick at each context switch. -1. Determine how/if gcc will generate stack probe calls and support that. -2. Get accurate stack usage numbers on i960.. it pushes very large - holes on the stack. diff --git a/cpukit/libmisc/stackchk/README b/cpukit/libmisc/stackchk/README index 0f6e2f2b10..5421a77434 100644 --- a/cpukit/libmisc/stackchk/README +++ b/cpukit/libmisc/stackchk/README @@ -51,6 +51,3 @@ NOTES: FUTURE: 1. Determine how/if gcc will generate stack probe calls and support that. - -2. Get accurate stack usage numbers on i960.. it pushes very large - holes on the stack. diff --git a/cpukit/librpc/src/xdr/xdr_float.c b/cpukit/librpc/src/xdr/xdr_float.c index 5ae61ef38a..c2c8c5e577 100644 --- a/cpukit/librpc/src/xdr/xdr_float.c +++ b/cpukit/librpc/src/xdr/xdr_float.c @@ -60,7 +60,6 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_float.c,v 1.7 1999/08/28 00 defined(__H8300__) || defined(__H8300H__) || defined(__H8300S__) || \ defined(__hppa__) || \ defined(__i386__) || \ - defined(__i960__) || \ defined(__m68k__) || defined(__mc68000__) || \ defined(__mips__) || \ defined(__ns32k__) || \ diff --git a/cpukit/score/cpu/Makefile.am b/cpukit/score/cpu/Makefile.am index 3d9c6eb8ac..37e01b39bd 100644 --- a/cpukit/score/cpu/Makefile.am +++ b/cpukit/score/cpu/Makefile.am @@ -4,7 +4,7 @@ SUBDIRS = @RTEMS_CPU@ -DIST_SUBDIRS = arm c4x h8300 i386 i960 m68k mips no_cpu or32 powerpc sh \ +DIST_SUBDIRS = arm c4x h8300 i386 m68k mips no_cpu or32 powerpc sh \ sparc unix DIST_SUBDIRS += avr diff --git a/cpukit/score/include/rtems/score/mppkt.h b/cpukit/score/include/rtems/score/mppkt.h index b4cff19342..3c70225cc1 100644 --- a/cpukit/score/include/rtems/score/mppkt.h +++ b/cpukit/score/include/rtems/score/mppkt.h @@ -54,10 +54,9 @@ typedef enum { * The following record contains the prefix for every packet * passed between nodes in an MP system. * - * NOTE: This structure is padded to insure that anything - * following it is on a 16 byte boundary. This is - * the most stringent structure alignment rule - * encountered yet (i960CA). + * NOTE: This structure is padded to ensure that anything following it + * is on a 16 byte boundary. This is the most stringent structure + * alignment rule encountered yet. */ typedef struct { -- cgit v1.2.3