change log for rtems (2011-12-07)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Dec 7 20:53:21 UTC 2011
*gedare*:
2011-12-05 Sebastien Bourdeauducq <seb at tmplab.org>
* milkymist_midi/midi.c: move MIDI message detection from higher layers
to the MIDI interrupt handler
M 1.6 c/src/lib/libbsp/lm32/shared/ChangeLog
M 1.3 c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c
diff -u rtems/c/src/lib/libbsp/lm32/shared/ChangeLog:1.5 rtems/c/src/lib/libbsp/lm32/shared/ChangeLog:1.6
--- rtems/c/src/lib/libbsp/lm32/shared/ChangeLog:1.5 Sun Nov 27 11:33:00 2011
+++ rtems/c/src/lib/libbsp/lm32/shared/ChangeLog Mon Dec 5 09:21:50 2011
@@ -1,3 +1,8 @@
+2011-12-05 Sebastien Bourdeauducq <seb at tmplab.org>
+
+ * milkymist_midi/midi.c: move MIDI message detection from higher layers
+ to the MIDI interrupt handler
+
2011-11-27 Sebastien Bourdeauducq <seb at tmplab.org>
PR 1972/bsps
diff -u rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c:1.2 rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c:1.3
--- rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c:1.2 Sun Nov 27 11:26:32 2011
+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c Mon Dec 5 09:21:50 2011
@@ -26,6 +26,8 @@
#define DEVICE_NAME "/dev/midi"
static rtems_id midi_q;
+static unsigned char *midi_p = NULL;
+static unsigned char midi_msg[3];
static rtems_isr interrupt_handler(rtems_vector_number n)
{
@@ -34,7 +36,23 @@
while (MM_READ(MM_MIDI_STAT) & MIDI_STAT_RX_EVT) {
msg = MM_READ(MM_MIDI_RXTX);
MM_WRITE(MM_MIDI_STAT, MIDI_STAT_RX_EVT);
- rtems_message_queue_send(midi_q, &msg, 1);
+
+ if ((msg & 0xf8) == 0xf8)
+ continue; /* ignore system real-time */
+
+ if (msg & 0x80)
+ midi_p = midi_msg; /* status byte */
+
+ if (!midi_p)
+ continue; /* ignore extra or unsynchronized data */
+
+ *midi_p++ = msg;
+
+ if (midi_p == midi_msg+3) {
+ /* received a complete MIDI message */
+ rtems_message_queue_send(midi_q, midi_msg, 3);
+ midi_p = NULL;
+ }
}
lm32_interrupt_ack(1 << MM_IRQ_MIDI);
}
@@ -53,8 +71,8 @@
sc = rtems_message_queue_create(
rtems_build_name('M', 'I', 'D', 'I'),
- 64,
- 1,
+ 32,
+ 3,
0,
&midi_q
);
*gedare*:
2011-12-05 Gedare Bloom <gedare at rtems.org>
* ChangeLog: Add PR number to ChangeLog entry
M 1.7 c/src/lib/libbsp/lm32/shared/ChangeLog
diff -u rtems/c/src/lib/libbsp/lm32/shared/ChangeLog:1.6 rtems/c/src/lib/libbsp/lm32/shared/ChangeLog:1.7
--- rtems/c/src/lib/libbsp/lm32/shared/ChangeLog:1.6 Mon Dec 5 09:21:50 2011
+++ rtems/c/src/lib/libbsp/lm32/shared/ChangeLog Mon Dec 5 09:22:51 2011
@@ -1,5 +1,10 @@
+2011-12-05 Gedare Bloom <gedare at rtems.org>
+
+ * ChangeLog: Add PR number to ChangeLog entry
+
2011-12-05 Sebastien Bourdeauducq <seb at tmplab.org>
+ PR 1979/bsps
* milkymist_midi/midi.c: move MIDI message detection from higher layers
to the MIDI interrupt handler
*joel*:
2011-11-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
PR 1967/cpukit
* score/include/rtems/score/object.h,
score/src/objectinitializeinformation.c: Remove
OBJECTS_NAME_ALIGNMENT and uses.
M 1.2997 cpukit/ChangeLog
M 1.84 cpukit/score/include/rtems/score/object.h
M 1.24 cpukit/score/src/objectinitializeinformation.c
diff -u rtems/cpukit/ChangeLog:1.2996 rtems/cpukit/ChangeLog:1.2997
--- rtems/cpukit/ChangeLog:1.2996 Mon Nov 28 11:51:46 2011
+++ rtems/cpukit/ChangeLog Tue Nov 29 15:55:18 2011
@@ -1,3 +1,10 @@
+2011-11-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ PR 1967/cpukit
+ * score/include/rtems/score/object.h,
+ score/src/objectinitializeinformation.c: Remove
+ OBJECTS_NAME_ALIGNMENT and uses.
+
2011-11-28 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1941/cpukit
diff -u rtems/cpukit/score/include/rtems/score/object.h:1.83 rtems/cpukit/score/include/rtems/score/object.h:1.84
--- rtems/cpukit/score/include/rtems/score/object.h:1.83 Fri Jun 24 12:52:57 2011
+++ rtems/cpukit/score/include/rtems/score/object.h Tue Nov 29 15:55:18 2011
@@ -65,13 +65,6 @@
} Objects_Name;
/**
- * Space for object names is allocated in multiples of this.
- *
- * NOTE: Must be a power of 2. Matches the name manipulation routines.
- */
-#define OBJECTS_NAME_ALIGNMENT sizeof( uint32_t )
-
-/**
* Functions which compare names are prototyped like this.
*/
typedef bool (*Objects_Name_comparators)(
diff -u rtems/cpukit/score/src/objectinitializeinformation.c:1.23 rtems/cpukit/score/src/objectinitializeinformation.c:1.24
--- rtems/cpukit/score/src/objectinitializeinformation.c:1.23 Sun Jul 24 18:55:14 2011
+++ rtems/cpukit/score/src/objectinitializeinformation.c Tue Nov 29 15:55:18 2011
@@ -128,18 +128,12 @@
/*
* Calculate the maximum name length
*
- * NOTE: Always 4 bytes long in Class so aligned. It is POSIX name
- * lengths that may be an odd number of bytes.
+ * NOTE: Either 4 bytes for Classic API names or an arbitrary
+ * number for POSIX names which are strings that may be
+ * an odd number of bytes.
*/
- name_length = maximum_name_length;
- #if defined(RTEMS_POSIX_API)
- if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )
- name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &
- ~(OBJECTS_NAME_ALIGNMENT-1);
- #endif
-
- information->name_length = name_length;
+ information->name_length = maximum_name_length;
_Chain_Initialize_empty( &information->Inactive );
@@ -164,12 +158,12 @@
if ( (supports_global == true) && _System_state_Is_multiprocessing ) {
information->global_table =
- (Chain_Control *) _Workspace_Allocate_or_fatal_error(
- (_Objects_Maximum_nodes + 1) * sizeof(Chain_Control)
- );
+ (Chain_Control *) _Workspace_Allocate_or_fatal_error(
+ (_Objects_Maximum_nodes + 1) * sizeof(Chain_Control)
+ );
for ( index=1; index <= _Objects_Maximum_nodes ; index++ )
- _Chain_Initialize_empty( &information->global_table[ index ] );
+ _Chain_Initialize_empty( &information->global_table[ index ] );
}
else
information->global_table = NULL;
*joel*:
2011-11-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
* Makefile.am: Add shared/startup/bsp-start-memcpy.S
M 1.40 c/src/lib/libbsp/arm/lpc32xx/ChangeLog
M 1.16 c/src/lib/libbsp/arm/lpc32xx/Makefile.am
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.39 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.40
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.39 Tue Oct 18 13:25:15 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog Tue Nov 29 22:48:11 2011
@@ -1,3 +1,7 @@
+2011-11-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ * Makefile.am: Add shared/startup/bsp-start-memcpy.S
+
2011-10-18 Jennifer Averett <Jennifer.Averett at OARcorp.com>
PR 1917/bsps
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.15 rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.16
--- rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.15 Tue Oct 18 13:25:15 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am Tue Nov 29 22:48:11 2011
@@ -94,6 +94,7 @@
../../shared/src/stackalloc.c \
../../shared/src/uart-output-char.c \
../shared/abort/simple_abort.c
+libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
# Startup
libbsp_a_SOURCES += startup/bspstart.c \
*joel*:
2011-12-02 Joel Sherrill <joel.sherrill at oarcorp.com>
* libcsupport/include/sys/termios.h: Add _POSIX_VDISABLE.
M 1.3008 cpukit/ChangeLog
M 1.11 cpukit/libcsupport/include/sys/termios.h
diff -u rtems/cpukit/ChangeLog:1.3007 rtems/cpukit/ChangeLog:1.3008
--- rtems/cpukit/ChangeLog:1.3007 Fri Dec 2 07:47:27 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 10:42:41 2011
@@ -1,3 +1,7 @@
+2011-12-02 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * libcsupport/include/sys/termios.h: Add _POSIX_VDISABLE.
+
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/tasks.c: Make _RTEMS_tasks_Create_extension,
diff -u rtems/cpukit/libcsupport/include/sys/termios.h:1.10 rtems/cpukit/libcsupport/include/sys/termios.h:1.11
--- rtems/cpukit/libcsupport/include/sys/termios.h:1.10 Fri Jun 24 12:52:55 2011
+++ rtems/cpukit/libcsupport/include/sys/termios.h Fri Dec 2 10:42:42 2011
@@ -38,6 +38,12 @@
cc_t c_cc[NCCS]; /* control characters */
};
+/**
+ * This value is used to disable processing of a member of c_cc
+ * in the struct termios.
+ */
+#define _POSIX_VDISABLE 0
+
/* c_cc characters */
#define VINTR 0
#define VQUIT 1
*joel*:
2011-12-02 Joel Sherrill <joel.sherrill at oarcorp.com>
* start/start.S: Add bsp_reset() label to exit point.
M 1.186 c/src/lib/libbsp/powerpc/psim/ChangeLog
M 1.13 c/src/lib/libbsp/powerpc/psim/start/start.S
diff -u rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog:1.185 rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog:1.186
--- rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog:1.185 Sat Jun 11 12:23:33 2011
+++ rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog Fri Dec 2 10:44:46 2011
@@ -1,3 +1,7 @@
+2011-12-02 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * start/start.S: Add bsp_reset() label to exit point.
+
2011-06-11 Joel Sherrill <joel.sherrill at oarcorp.com>
* Makefile.am, configure.ac: runtest for this BSP obsoleted by
diff -u rtems/c/src/lib/libbsp/powerpc/psim/start/start.S:1.12 rtems/c/src/lib/libbsp/powerpc/psim/start/start.S:1.13
--- rtems/c/src/lib/libbsp/powerpc/psim/start/start.S:1.12 Tue Dec 1 19:46:45 2009
+++ rtems/c/src/lib/libbsp/powerpc/psim/start/start.S Fri Dec 2 10:44:46 2011
@@ -127,6 +127,8 @@
li r3, 0 /* command line */
bl FUNC_NAME(boot_card)
+ .globl FUNC_NAME(bsp_reset)
+FUNC_NAME(bsp_reset):
li 10,99 /* 0x63 */
sc
*joel*:
2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
* version.texi: Update to match when files in directory where last
touched.
M 1.24 doc/new_chapters/ChangeLog
M 1.11 doc/new_chapters/version.texi
M 1.19 doc/relnotes/ChangeLog
M 1.11 doc/relnotes/version.texi
diff -u rtems/doc/new_chapters/ChangeLog:1.23 rtems/doc/new_chapters/ChangeLog:1.24
--- rtems/doc/new_chapters/ChangeLog:1.23 Thu Jun 21 13:52:55 2007
+++ rtems/doc/new_chapters/ChangeLog Mon Dec 5 15:34:02 2011
@@ -1,3 +1,8 @@
+2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ * version.texi: Update to match when files in directory where last
+ touched.
+
2007-06-21 Joel Sherrill <joel.sherrill at OARcorp.com>
* new_chapters.texi: Print table of contents in front of manual where
diff -u rtems/doc/new_chapters/version.texi:1.10 rtems/doc/new_chapters/version.texi:1.11
--- rtems/doc/new_chapters/version.texi:1.10 Fri Jun 11 02:45:46 2010
+++ rtems/doc/new_chapters/version.texi Mon Dec 5 15:34:03 2011
@@ -1,4 +1,4 @@
- at set UPDATED 27 June 2007
- at set UPDATED-MONTH June 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/relnotes/ChangeLog:1.18 rtems/doc/relnotes/ChangeLog:1.19
--- rtems/doc/relnotes/ChangeLog:1.18 Thu Jun 21 13:52:57 2007
+++ rtems/doc/relnotes/ChangeLog Mon Dec 5 15:34:13 2011
@@ -1,3 +1,8 @@
+2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ * version.texi: Update to match when files in directory where last
+ touched.
+
2007-06-21 Joel Sherrill <joel.sherrill at OARcorp.com>
* relnotes.texi: Print table of contents in front of manual where it
diff -u rtems/doc/relnotes/version.texi:1.10 rtems/doc/relnotes/version.texi:1.11
--- rtems/doc/relnotes/version.texi:1.10 Fri Jun 11 02:45:46 2010
+++ rtems/doc/relnotes/version.texi Mon Dec 5 15:34:13 2011
@@ -1,4 +1,4 @@
- at set UPDATED 27 June 2007
- at set UPDATED-MONTH June 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
*joel*:
2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
* ada_user/version.texi, bsp_howto/version.texi,
cpu_supplement/version.texi, develenv/version.texi,
filesystem/version.texi, networking/version.texi,
porting/version.texi, posix1003.1/version.texi,
posix_users/version.texi, shell/version.texi, started/version.texi,
user/version.texi: Update to match when files in directory where last
touched.
M 1.322 doc/ChangeLog
M 1.11 doc/ada_user/version.texi
M 1.12 doc/bsp_howto/version.texi
M 1.2 doc/cpu_supplement/version.texi
M 1.11 doc/develenv/version.texi
M 1.11 doc/filesystem/version.texi
M 1.11 doc/networking/version.texi
M 1.12 doc/porting/version.texi
M 1.11 doc/posix1003.1/version.texi
M 1.12 doc/posix_users/version.texi
M 1.2 doc/shell/version.texi
M 1.12 doc/started/version.texi
M 1.11 doc/user/version.texi
diff -u rtems/doc/ChangeLog:1.321 rtems/doc/ChangeLog:1.322
--- rtems/doc/ChangeLog:1.321 Fri Nov 18 14:04:02 2011
+++ rtems/doc/ChangeLog Mon Dec 5 15:34:17 2011
@@ -1,3 +1,13 @@
+2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ * ada_user/version.texi, bsp_howto/version.texi,
+ cpu_supplement/version.texi, develenv/version.texi,
+ filesystem/version.texi, networking/version.texi,
+ porting/version.texi, posix1003.1/version.texi,
+ posix_users/version.texi, shell/version.texi, started/version.texi,
+ user/version.texi: Update to match when files in directory where last
+ touched.
+
2011-11-18 Jennifer Averett <Jennifer.Averett at OARcorp.com>
* user/conf.t: Added a bsp override option for MAXIMUM_DEVICES.
diff -u rtems/doc/ada_user/version.texi:1.10 rtems/doc/ada_user/version.texi:1.11
--- rtems/doc/ada_user/version.texi:1.10 Fri Jun 11 02:45:45 2010
+++ rtems/doc/ada_user/version.texi Mon Dec 5 15:34:17 2011
@@ -1,4 +1,4 @@
- at set UPDATED 11 June 2010
- at set UPDATED-MONTH June 2010
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/bsp_howto/version.texi:1.11 rtems/doc/bsp_howto/version.texi:1.12
--- rtems/doc/bsp_howto/version.texi:1.11 Fri Jun 11 02:45:45 2010
+++ rtems/doc/bsp_howto/version.texi Mon Dec 5 15:34:17 2011
@@ -1,4 +1,4 @@
- at set UPDATED 4 August 2009
- at set UPDATED-MONTH August 2009
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/cpu_supplement/version.texi:1.1 rtems/doc/cpu_supplement/version.texi:1.2
--- rtems/doc/cpu_supplement/version.texi:1.1 Fri Jun 11 02:45:45 2010
+++ rtems/doc/cpu_supplement/version.texi Mon Dec 5 15:34:17 2011
@@ -1,4 +1,4 @@
- at set UPDATED 11 June 2010
- at set UPDATED-MONTH June 2010
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/develenv/version.texi:1.10 rtems/doc/develenv/version.texi:1.11
--- rtems/doc/develenv/version.texi:1.10 Fri Jun 11 02:45:46 2010
+++ rtems/doc/develenv/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 6 December 2007
- at set UPDATED-MONTH December 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/filesystem/version.texi:1.10 rtems/doc/filesystem/version.texi:1.11
--- rtems/doc/filesystem/version.texi:1.10 Fri Jun 11 02:45:46 2010
+++ rtems/doc/filesystem/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 27 June 2007
- at set UPDATED-MONTH June 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/networking/version.texi:1.10 rtems/doc/networking/version.texi:1.11
--- rtems/doc/networking/version.texi:1.10 Fri Jun 11 02:45:46 2010
+++ rtems/doc/networking/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 27 June 2007
- at set UPDATED-MONTH June 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/porting/version.texi:1.11 rtems/doc/porting/version.texi:1.12
--- rtems/doc/porting/version.texi:1.11 Fri Jun 11 02:45:46 2010
+++ rtems/doc/porting/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 27 June 2007
- at set UPDATED-MONTH June 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/posix1003.1/version.texi:1.10 rtems/doc/posix1003.1/version.texi:1.11
--- rtems/doc/posix1003.1/version.texi:1.10 Fri Jun 11 02:45:46 2010
+++ rtems/doc/posix1003.1/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 27 June 2007
- at set UPDATED-MONTH June 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/posix_users/version.texi:1.11 rtems/doc/posix_users/version.texi:1.12
--- rtems/doc/posix_users/version.texi:1.11 Fri Jun 11 02:45:46 2010
+++ rtems/doc/posix_users/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 27 June 2007
- at set UPDATED-MONTH June 2007
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/shell/version.texi:1.1 rtems/doc/shell/version.texi:1.2
--- rtems/doc/shell/version.texi:1.1 Fri Jun 11 02:45:46 2010
+++ rtems/doc/shell/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 29 February 2008
- at set UPDATED-MONTH February 2008
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/started/version.texi:1.11 rtems/doc/started/version.texi:1.12
--- rtems/doc/started/version.texi:1.11 Tue Dec 14 10:51:17 2010
+++ rtems/doc/started/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 14 December 2010
- at set UPDATED-MONTH December 2010
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
diff -u rtems/doc/user/version.texi:1.10 rtems/doc/user/version.texi:1.11
--- rtems/doc/user/version.texi:1.10 Fri Jun 11 02:45:46 2010
+++ rtems/doc/user/version.texi Mon Dec 5 15:34:18 2011
@@ -1,4 +1,4 @@
- at set UPDATED 11 November 2009
- at set UPDATED-MONTH November 2009
+ at set UPDATED 23 November 2011
+ at set UPDATED-MONTH November 2011
@set EDITION 4.10.99.0
@set VERSION 4.10.99.0
*joel*:
2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1793/doc
* .cvsignore, new_chapters.texi: Convert from texi2www to texi2html.
M 1.10 doc/new_chapters/.cvsignore
M 1.25 doc/new_chapters/ChangeLog
M 1.17 doc/new_chapters/new_chapters.texi
diff -u rtems/doc/new_chapters/.cvsignore:1.9 rtems/doc/new_chapters/.cvsignore:1.10
--- rtems/doc/new_chapters/.cvsignore:1.9 Fri Jun 11 02:40:00 2010
+++ rtems/doc/new_chapters/.cvsignore Tue Dec 6 09:12:39 2011
@@ -21,6 +21,4 @@
new_chapters.toc
new_chapters.tp
new_chapters.vr
-rtems_footer.html
-rtems_header.html
rtmonuse.texi
diff -u rtems/doc/new_chapters/ChangeLog:1.24 rtems/doc/new_chapters/ChangeLog:1.25
--- rtems/doc/new_chapters/ChangeLog:1.24 Mon Dec 5 15:34:02 2011
+++ rtems/doc/new_chapters/ChangeLog Tue Dec 6 09:12:39 2011
@@ -1,3 +1,8 @@
+2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1793/doc
+ * .cvsignore, new_chapters.texi: Convert from texi2www to texi2html.
+
2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
* version.texi: Update to match when files in directory where last
diff -u rtems/doc/new_chapters/new_chapters.texi:1.16 rtems/doc/new_chapters/new_chapters.texi:1.17
--- rtems/doc/new_chapters/new_chapters.texi:1.16 Thu Jun 21 13:52:55 2007
+++ rtems/doc/new_chapters/new_chapters.texi Tue Dec 6 09:12:39 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -82,11 +82,8 @@
@include error.texi
@include monitor.texi
- at ifinfo
@node Top, , (dir), (dir)
- at top posix_users_new
-
-This is the online version of the RTEMS POSIX API User's Guide
+ at top RTEMS POSIX API User's Guide
@menu
* Error Reporting Support::
@@ -95,12 +92,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, , Top
@unnumbered Command and Variable Index
*joel*:
2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1793/doc
* .cvsignore, install.texi, intro.texi, probrep.texi, relnotes.texi,
status.texi: Convert from texi2www to texi2html.
M 1.8 doc/relnotes/.cvsignore
M 1.20 doc/relnotes/ChangeLog
M 1.9 doc/relnotes/install.texi
M 1.12 doc/relnotes/intro.texi
M 1.6 doc/relnotes/probrep.texi
M 1.20 doc/relnotes/relnotes.texi
M 1.12 doc/relnotes/status.texi
diff -u rtems/doc/relnotes/.cvsignore:1.7 rtems/doc/relnotes/.cvsignore:1.8
--- rtems/doc/relnotes/.cvsignore:1.7 Fri Jun 11 02:40:00 2010
+++ rtems/doc/relnotes/.cvsignore Tue Dec 6 09:12:41 2011
@@ -17,5 +17,3 @@
relnotes.toc
relnotes.tp
relnotes.vr
-rtems_footer.html
-rtems_header.html
diff -u rtems/doc/relnotes/ChangeLog:1.19 rtems/doc/relnotes/ChangeLog:1.20
--- rtems/doc/relnotes/ChangeLog:1.19 Mon Dec 5 15:34:13 2011
+++ rtems/doc/relnotes/ChangeLog Tue Dec 6 09:12:41 2011
@@ -1,3 +1,9 @@
+2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1793/doc
+ * .cvsignore, install.texi, intro.texi, probrep.texi, relnotes.texi,
+ status.texi: Convert from texi2www to texi2html.
+
2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
* version.texi: Update to match when files in directory where last
diff -u rtems/doc/relnotes/install.texi:1.8 rtems/doc/relnotes/install.texi:1.9
--- rtems/doc/relnotes/install.texi:1.8 Fri Sep 19 13:03:51 2003
+++ rtems/doc/relnotes/install.texi Tue Dec 6 09:12:41 2011
@@ -1,16 +1,13 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Installation Procedure, Installation Procedure Introduction, Introduction Documentation, Top
- at end ifinfo
@chapter Installation Procedure
- at ifinfo
@menu
* Installation Procedure Introduction::
* Installation Procedure RTEMS FTP Site Organization::
@@ -18,20 +15,15 @@
* Installation Procedure Installing a Cross-Development GNU Toolset::
* Installation Procedure Installing RTEMS::
@end menu
- at end ifinfo
- at ifinfo
@node Installation Procedure Introduction, Installation Procedure RTEMS FTP Site Organization, Installation Procedure, Installation Procedure
- at end ifinfo
@section Introduction
This chapter describes the process of installing and
configuring RTEMS and a cross-development environment based on
freely available tools and libraries.
- at ifinfo
@node Installation Procedure RTEMS FTP Site Organization, Installation Procedure Unarchiving the RTEMS and GNU Components, Installation Procedure Introduction, Installation Procedure
- at end ifinfo
@section RTEMS FTP Site Organization
RTEMS is distributed only via anonymous ftp.
@@ -57,9 +49,7 @@
The complete source code and documentation set for
the C language implementation of RTEMS is provided.
- at ifinfo
@node Installation Procedure Unarchiving the RTEMS and GNU Components, Installation Procedure Installing a Cross-Development GNU Toolset, Installation Procedure RTEMS FTP Site Organization, Installation Procedure
- at end ifinfo
@section Unarchiving the RTEMS and GNU Components
Many of the components of the RTEMS release are
@@ -124,9 +114,7 @@
@end group
@end example
- at ifinfo
@node Installation Procedure Installing a Cross-Development GNU Toolset, Installation Procedure Installing RTEMS, Installation Procedure Unarchiving the RTEMS and GNU Components, Installation Procedure
- at end ifinfo
@section Installing a Cross-Development GNU Toolset
This sections describes how to build and install the
@@ -164,9 +152,7 @@
NOTE: For "UNIX" processors, the native compiler binary utilities
should be used.
- at ifinfo
@node Installation Procedure Installing RTEMS, Development Environment Status, Installation Procedure Installing a Cross-Development GNU Toolset, Installation Procedure
- at end ifinfo
@section Installing RTEMS
For instructions on building and installing RTEMS, please refer to
diff -u rtems/doc/relnotes/intro.texi:1.11 rtems/doc/relnotes/intro.texi:1.12
--- rtems/doc/relnotes/intro.texi:1.11 Wed Sep 29 15:21:37 2004
+++ rtems/doc/relnotes/intro.texi Tue Dec 6 09:12:41 2011
@@ -1,21 +1,17 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Introduction, Introduction Supporting Tools, Top, Top
- at end ifinfo
@chapter Introduction
- at ifinfo
@menu
* Introduction Supporting Tools::
* Introduction Documentation::
@end menu
- at end ifinfo
This document describes the contents, installation
procedure, and current status of Release @value{VERSION} of the RTEMS
@@ -54,18 +50,14 @@
Please replace rtems_user@@your_email_goes_here.com with your
email address.
- at ifinfo
@node Introduction Supporting Tools, GNU Development Tools, Introduction, Introduction
- at end ifinfo
@section Supporting Tools
- at ifinfo
@menu
* GNU Development Tools::
* ANSI C Libraries::
* GNU C Library::
* Cygnus NEWLIB C Library::
@end menu
- at end ifinfo
This section discusses the freely available tools and
libraries which are part of the RTEMS Development Environment.
@@ -90,9 +82,7 @@
email address. The FAQ for crossgcc is in the /pub/embedded/crossgcc
directory on ftp.cygnus.com (205.180.83.42).
- at ifinfo
@node GNU Development Tools, ANSI C Libraries, Introduction Supporting Tools, Introduction Supporting Tools
- at end ifinfo
@subsection GNU Development Tools
Numerous GNU tools are used in the RTEMS Development
@@ -121,9 +111,7 @@
embedded developers. Of especial interest on this site are the
directories /pub/newlib and /pub/embedded.
- at ifinfo
@node ANSI C Libraries, GNU C Library, GNU Development Tools, Introduction Supporting Tools
- at end ifinfo
@subsection ANSI C Libraries
This section discusses the following freely
@@ -139,9 +127,7 @@
distribution. It is the responsibility of the user to obtain
and install a C Library separately.
- at ifinfo
@node GNU C Library, Cygnus NEWLIB C Library, ANSI C Libraries, Introduction Supporting Tools
- at end ifinfo
@subsection GNU C Library
The GNU C Library is a robust and well-documented C
@@ -163,9 +149,7 @@
The primary ftp site for this library is
prep.ai.mit.edu (18.71.0.38).
- at ifinfo
@node Cygnus NEWLIB C Library, Introduction Documentation, GNU C Library, Introduction Supporting Tools
- at end ifinfo
@subsection Cygnus NEWLIB C Library
The Cygnus NEWLIB C Library was specifically designed
@@ -177,9 +161,7 @@
The primary ftp site for this library is ftp.cygnus.com (205.180.83.42).
- at ifinfo
@node Introduction Documentation, Installation Procedure, Cygnus NEWLIB C Library, Introduction
- at end ifinfo
@section Documentation
The RTEMS Documentation Set is provided online at
diff -u rtems/doc/relnotes/probrep.texi:1.5 rtems/doc/relnotes/probrep.texi:1.6
--- rtems/doc/relnotes/probrep.texi:1.5 Thu Jan 17 15:47:45 2002
+++ rtems/doc/relnotes/probrep.texi Tue Dec 6 09:12:41 2011
@@ -1,5 +1,5 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -8,9 +8,7 @@
- at ifinfo
@node RTEMS PROBLEM REPORT, Command and Variable Index, RTEMS Problem Reporting, Top
- at end ifinfo
@chapter RTEMS PROBLEM REPORT
@example
diff -u rtems/doc/relnotes/relnotes.texi:1.19 rtems/doc/relnotes/relnotes.texi:1.20
--- rtems/doc/relnotes/relnotes.texi:1.19 Thu Jun 21 13:52:57 2007
+++ rtems/doc/relnotes/relnotes.texi Tue Dec 6 09:12:41 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -76,11 +76,8 @@
@include status.texi
@include probrep.texi
- at ifinfo
@node Top, Introduction, (dir), (dir)
- at top relnotes
-
-This is the online version of the RTEMS Release Notes.
+ at top RTEMS Release Notes
@menu
* Introduction::
@@ -91,12 +88,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, RTEMS PROBLEM REPORT, Top
@unnumbered Command and Variable Index
diff -u rtems/doc/relnotes/status.texi:1.11 rtems/doc/relnotes/status.texi:1.12
--- rtems/doc/relnotes/status.texi:1.11 Wed Oct 14 08:08:39 2009
+++ rtems/doc/relnotes/status.texi Tue Dec 6 09:12:41 2011
@@ -1,29 +1,23 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Development Environment Status, Development Environment Status RTEMS Executive Status, Installation Procedure Installing RTEMS, Top
- at end ifinfo
@chapter Development Environment Status
- at ifinfo
@menu
* Development Environment Status RTEMS Executive Status::
* Development Environment Status Development Environment Status::
* Development Environment Status Known Problems::
@end menu
- at end ifinfo
This chapter will describe the current status of
release version @value{VERSION} of the RTEMS Development Environment.
- at ifinfo
@node Development Environment Status RTEMS Executive Status, Development Environment Status Development Environment Status, Development Environment Status, Development Environment Status
- at end ifinfo
@section RTEMS Executive Status
Release @value{VERSION} of the RTEMS Executive contains support
@@ -112,9 +106,7 @@
I/O only using this library. Support for the reentrancy
capabilities of newlib is provided in the RTEMS distribution.
- at ifinfo
@node Development Environment Status Development Environment Status, Development Environment Status Known Problems, Development Environment Status RTEMS Executive Status, Development Environment Status
- at end ifinfo
@section Development Environment Status
This section details the versions of the tools used
@@ -131,41 +123,31 @@
@end itemize
- at ifinfo
@node Development Environment Status Known Problems, Executive Problems, Development Environment Status Development Environment Status, Development Environment Status
- at end ifinfo
@section Known Problems
- at ifinfo
@menu
* Executive Problems::
* Development Environment Problems::
* RTEMS Problem Reporting::
@end menu
- at end ifinfo
Problems which are known to exist at the time of
release are described in the following sections. These are
provided as warnings to the user and where possible, workarounds
are provided until the problem is corrected.
- at ifinfo
@node Executive Problems, Development Environment Problems, Development Environment Status Known Problems, Development Environment Status Known Problems
- at end ifinfo
@subsection Executive Problems
There are no known bugs in the executive itself.
- at ifinfo
@node Development Environment Problems, RTEMS Problem Reporting, Executive Problems, Development Environment Status Known Problems
- at end ifinfo
@subsection Development Environment Problems
There are no known major problems with the
development environment.
- at ifinfo
@node RTEMS Problem Reporting, RTEMS PROBLEM REPORT, Development Environment Problems, Development Environment Status Known Problems
- at end ifinfo
@subsection RTEMS Problem Reporting
The RTEMS Project uses the GNATS Problem Reporting and Tracking System.
*joel*:
2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1793/doc
* Makefile.am, configure.ac, bmenu/bmenu2.c: Convert from texi2www to
texi2html.
* texi2www/ChangeLog, texi2www/Makefile.am, texi2www/dir-arrow.gif,
texi2www/missing-arrow.gif, texi2www/next-arrow.gif,
texi2www/prev-arrow.gif, texi2www/texi2dvi, texi2www/texi2www,
texi2www/texi2www.texi, texi2www/up-arrow.gif: Removed.
M 1.20 doc/tools/ChangeLog
M 1.11 doc/tools/Makefile.am
M 1.5 doc/tools/bmenu/bmenu2.c
M 1.15 doc/tools/configure.ac
R 1.7 doc/tools/texi2www/ChangeLog
R 1.7 doc/tools/texi2www/Makefile.am
R 1.2 doc/tools/texi2www/dir-arrow.gif
R 1.1 doc/tools/texi2www/missing-arrow.gif
R 1.1 doc/tools/texi2www/next-arrow.gif
R 1.1 doc/tools/texi2www/prev-arrow.gif
R 1.5 doc/tools/texi2www/texi2dvi
R 1.15 doc/tools/texi2www/texi2www
R 1.3 doc/tools/texi2www/texi2www.texi
R 1.1 doc/tools/texi2www/up-arrow.gif
diff -u rtems/doc/tools/ChangeLog:1.19 rtems/doc/tools/ChangeLog:1.20
--- rtems/doc/tools/ChangeLog:1.19 Wed Feb 2 09:01:17 2011
+++ rtems/doc/tools/ChangeLog Tue Dec 6 09:12:43 2011
@@ -1,3 +1,13 @@
+2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1793/doc
+ * Makefile.am, configure.ac, bmenu/bmenu2.c: Convert from texi2www to
+ texi2html.
+ * texi2www/ChangeLog, texi2www/Makefile.am, texi2www/dir-arrow.gif,
+ texi2www/missing-arrow.gif, texi2www/next-arrow.gif,
+ texi2www/prev-arrow.gif, texi2www/texi2dvi, texi2www/texi2www,
+ texi2www/texi2www.texi, texi2www/up-arrow.gif: Removed.
+
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff -u rtems/doc/tools/Makefile.am:1.10 rtems/doc/tools/Makefile.am:1.11
--- rtems/doc/tools/Makefile.am:1.10 Thu Feb 13 21:29:01 2003
+++ rtems/doc/tools/Makefile.am Tue Dec 6 09:12:43 2011
@@ -3,4 +3,5 @@
EXTRA_DIST = word-replace2
-SUBDIRS = bmenu texi2www
+SUBDIRS = bmenu
+#texi2www
diff -u rtems/doc/tools/bmenu/bmenu2.c:1.4 rtems/doc/tools/bmenu/bmenu2.c:1.5
--- rtems/doc/tools/bmenu/bmenu2.c:1.4 Thu Dec 10 12:09:59 2009
+++ rtems/doc/tools/bmenu/bmenu2.c Tue Dec 6 09:12:43 2011
@@ -12,7 +12,7 @@
* + previous of the first node
* + next of the last node
*
- * COPYRIGHT (c) 1988-2002.
+ * COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
* All rights reserved.
*
@@ -777,7 +777,7 @@
if ( menu_items == 0 ) {
new_line = AllocateLine();
- strcpy( new_line->Contents, "@ifinfo" );
+ strcpy( new_line->Contents, "" ); /* "@ifinfo" ); */
_Chain_Insert( menu_insert_point->Node.previous, &new_line->Node );
new_line = AllocateLine();
@@ -808,7 +808,7 @@
_Chain_Insert( menu_insert_point->Node.previous, &new_line->Node );
new_line = AllocateLine();
- strcpy( new_line->Contents, "@end ifinfo" );
+ strcpy( new_line->Contents, "" ); /* "@end ifinfo" ); */
_Chain_Insert( menu_insert_point->Node.previous, &new_line->Node );
}
diff -u rtems/doc/tools/configure.ac:1.14 rtems/doc/tools/configure.ac:1.15
--- rtems/doc/tools/configure.ac:1.14 Wed Feb 2 09:01:17 2011
+++ rtems/doc/tools/configure.ac Tue Dec 6 09:12:43 2011
@@ -21,8 +21,8 @@
dnl Checks for library functions.
AC_CHECK_FUNCS(strdup strstr)
+# texi2www/Makefile
AC_CONFIG_FILES([Makefile
bmenu/Makefile
-texi2www/Makefile
])
AC_OUTPUT
*joel*:
2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1793/doc
* .cvsignore, Makefile.am, README, configure.ac, index.html.in,
main.am, project.am, ada_user/.cvsignore, ada_user/ada_user.texi,
ada_user/example.texi, bsp_howto/.cvsignore,
bsp_howto/bsp_howto.texi, cpu_supplement/.cvsignore,
cpu_supplement/cpu_supplement.texi, cpu_supplement/preface.texi,
develenv/.cvsignore, develenv/develenv.texi, develenv/intro.texi,
filesystem/.cvsignore, filesystem/filesystem.texi,
filesystem/preface.texi, networking/.cvsignore,
networking/networking.texi, networking/preface.texi,
porting/.cvsignore, porting/porting.texi, porting/preface.texi,
posix1003.1/.cvsignore, posix1003.1/posix1003_1.texi,
posix_users/.cvsignore, posix_users/posix_users.texi,
posix_users/preface.texi, shell/.cvsignore, shell/preface.texi,
shell/shell.texi, started/.cvsignore, started/started.texi,
user/.cvsignore, user/c_user.texi, user/dirstat.texi,
user/example.texi, user/glossary.texi, user/preface.texi: Convert
from texi2www to texi2html.
* texi2html_init.in: New file.
* rtems_footer.html.in, rtems_header.html.in: Removed.
M 1.4 doc/.cvsignore
M 1.323 doc/ChangeLog
M 1.26 doc/Makefile.am
M 1.7 doc/README
M 1.9 doc/ada_user/.cvsignore
M 1.28 doc/ada_user/ada_user.texi
M 1.6 doc/ada_user/example.texi
M 1.11 doc/bsp_howto/.cvsignore
M 1.21 doc/bsp_howto/bsp_howto.texi
M 1.35 doc/configure.ac
M 1.9 doc/cpu_supplement/.cvsignore
M 1.9 doc/cpu_supplement/cpu_supplement.texi
M 1.4 doc/cpu_supplement/preface.texi
M 1.10 doc/develenv/.cvsignore
M 1.24 doc/develenv/develenv.texi
M 1.7 doc/develenv/intro.texi
M 1.9 doc/filesystem/.cvsignore
M 1.20 doc/filesystem/filesystem.texi
M 1.7 doc/filesystem/preface.texi
M 1.27 doc/index.html.in
M 1.8 doc/main.am
M 1.9 doc/networking/.cvsignore
M 1.17 doc/networking/networking.texi
M 1.8 doc/networking/preface.texi
M 1.9 doc/porting/.cvsignore
M 1.12 doc/porting/porting.texi
M 1.4 doc/porting/preface.texi
M 1.9 doc/posix1003.1/.cvsignore
M 1.16 doc/posix1003.1/posix1003_1.texi
M 1.9 doc/posix_users/.cvsignore
M 1.20 doc/posix_users/posix_users.texi
M 1.12 doc/posix_users/preface.texi
M 1.20 doc/project.am
R 1.7 doc/rtems_footer.html.in
R 1.4 doc/rtems_header.html.in
M 1.5 doc/shell/.cvsignore
M 1.6 doc/shell/preface.texi
M 1.4 doc/shell/shell.texi
M 1.13 doc/started/.cvsignore
M 1.22 doc/started/started.texi
A 1.1 doc/texi2html_init.in
M 1.15 doc/user/.cvsignore
M 1.34 doc/user/c_user.texi
M 1.15 doc/user/dirstat.texi
M 1.13 doc/user/example.texi
M 1.8 doc/user/glossary.texi
M 1.19 doc/user/preface.texi
diff -u rtems/doc/.cvsignore:1.3 rtems/doc/.cvsignore:1.4
--- rtems/doc/.cvsignore:1.3 Mon Oct 21 07:11:28 2002
+++ rtems/doc/.cvsignore Tue Dec 6 09:12:46 2011
@@ -10,7 +10,5 @@
mdate-sh
missing
mkinstalldirs
-rtems_footer.html
-rtems_header.html
-rtems_support.html
+texi2html_init
texinfo.tex
diff -u rtems/doc/ChangeLog:1.322 rtems/doc/ChangeLog:1.323
--- rtems/doc/ChangeLog:1.322 Mon Dec 5 15:34:17 2011
+++ rtems/doc/ChangeLog Tue Dec 6 09:12:46 2011
@@ -1,3 +1,26 @@
+2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1793/doc
+ * .cvsignore, Makefile.am, README, configure.ac, index.html.in,
+ main.am, project.am, ada_user/.cvsignore, ada_user/ada_user.texi,
+ ada_user/example.texi, bsp_howto/.cvsignore,
+ bsp_howto/bsp_howto.texi, cpu_supplement/.cvsignore,
+ cpu_supplement/cpu_supplement.texi, cpu_supplement/preface.texi,
+ develenv/.cvsignore, develenv/develenv.texi, develenv/intro.texi,
+ filesystem/.cvsignore, filesystem/filesystem.texi,
+ filesystem/preface.texi, networking/.cvsignore,
+ networking/networking.texi, networking/preface.texi,
+ porting/.cvsignore, porting/porting.texi, porting/preface.texi,
+ posix1003.1/.cvsignore, posix1003.1/posix1003_1.texi,
+ posix_users/.cvsignore, posix_users/posix_users.texi,
+ posix_users/preface.texi, shell/.cvsignore, shell/preface.texi,
+ shell/shell.texi, started/.cvsignore, started/started.texi,
+ user/.cvsignore, user/c_user.texi, user/dirstat.texi,
+ user/example.texi, user/glossary.texi, user/preface.texi: Convert
+ from texi2www to texi2html.
+ * texi2html_init.in: New file.
+ * rtems_footer.html.in, rtems_header.html.in: Removed.
+
2011-12-05 Joel Sherrill <joel.sherrilL at OARcorp.com>
* ada_user/version.texi, bsp_howto/version.texi,
diff -u rtems/doc/Makefile.am:1.25 rtems/doc/Makefile.am:1.26
--- rtems/doc/Makefile.am:1.25 Tue Dec 14 10:51:16 2010
+++ rtems/doc/Makefile.am Tue Dec 6 09:12:46 2011
@@ -15,7 +15,7 @@
html_DATA = index.html HELP.html
endif
-EXTRA_DIST = HELP.html rtems_header.html.in rtems_footer.html.in
+EXTRA_DIST = HELP.html
EXTRA_DIST += common/cpright.texi common/setup.texi \
common/treedef.tex common/rtems.texi.in
diff -u rtems/doc/README:1.6 rtems/doc/README:1.7
--- rtems/doc/README:1.6 Tue Jul 30 18:57:35 2002
+++ rtems/doc/README Tue Dec 6 09:12:46 2011
@@ -7,8 +7,12 @@
The following tools are used in the production of this documentation:
TeX
-texinfo 4.0
-texi2www-960103 (included in tree)
+texi2html 1.82
+texinfo-tex 4.13a
+
+texi2html will be deprecated in the upcomine texinfo release. At that point,
+we will need to provide support for texi2any.pl as an alternative means to
+produce html output.
This was used by the authors to generate the directory tree figure
in the texinfo printed version:
@@ -29,9 +33,6 @@
cd rtems-XXX/doc
../bootstrap
./configure --enable-maintainer-mode
-cd tools ; make
-cd ..
-make info
make all
make install
@@ -49,8 +50,3 @@
Making a Preformatted Distribution
==================================
Install and tar it up. :)
-
-Common Problems
-===============
-
-TeX pool_size too small.
diff -u rtems/doc/ada_user/.cvsignore:1.8 rtems/doc/ada_user/.cvsignore:1.9
--- rtems/doc/ada_user/.cvsignore:1.8 Wed Mar 16 12:51:09 2011
+++ rtems/doc/ada_user/.cvsignore Tue Dec 6 09:12:47 2011
@@ -26,8 +26,6 @@
mdate-sh
ObjectId-16Bits.pdf
ObjectId-32Bits.pdf
-rtems_footer.html
-rtems_header.html
rtemspie.pdf
semaphore_attributes.pdf
states.pdf
diff -u rtems/doc/ada_user/ada_user.texi:1.27 rtems/doc/ada_user/ada_user.texi:1.28
--- rtems/doc/ada_user/ada_user.texi:1.27 Mon Nov 9 08:36:14 2009
+++ rtems/doc/ada_user/ada_user.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2008.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -115,11 +115,8 @@
@include user/dirstat.texi
@include example.texi
@include user/glossary.texi
- at ifinfo
@node Top, List of Figures, (dir), (dir)
- at top ada_user
-
-This is the online version of the RTEMS Ada User's Guide.
+ at top RTEMS Applications Ada User's Guide
@menu
* List of Figures::
@@ -159,12 +156,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, Glossary, Top
@unnumbered Command and Variable Index
diff -u rtems/doc/ada_user/example.texi:1.5 rtems/doc/ada_user/example.texi:1.6
--- rtems/doc/ada_user/example.texi:1.5 Thu Jan 17 15:47:44 2002
+++ rtems/doc/ada_user/example.texi Tue Dec 6 09:12:47 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Example Application, Glossary, Directive Status Codes, Top
- at end ifinfo
@chapter Example Application
@example
diff -u rtems/doc/bsp_howto/.cvsignore:1.10 rtems/doc/bsp_howto/.cvsignore:1.11
--- rtems/doc/bsp_howto/.cvsignore:1.10 Fri Jun 11 02:40:00 2010
+++ rtems/doc/bsp_howto/.cvsignore Tue Dec 6 09:12:47 2011
@@ -8,6 +8,7 @@
bsp_howto.cp
bsp_howto.dvi
bsp_howto.fn
+bsp_howto.fns
bsp_howto*.html
bsp_howto.info
bsp_howto.ky
@@ -35,8 +36,6 @@
network.texi
nvmem.texi
rtc.texi
-rtems_footer.html
-rtems_header.html
shmsupp.texi
support.texi
target.texi
diff -u rtems/doc/bsp_howto/bsp_howto.texi:1.20 rtems/doc/bsp_howto/bsp_howto.texi:1.21
--- rtems/doc/bsp_howto/bsp_howto.texi:1.20 Tue Jul 28 13:02:25 2009
+++ rtems/doc/bsp_howto/bsp_howto.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2009.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -78,11 +78,8 @@
@include analog.texi
@include discrete.texi
- at ifinfo
@node Top, Introduction, (dir), (dir)
- at top bsp_howto
-
-This is the online version of the RTEMS BSP and Device Driver Development Guide.
+ at top RTEMS BSP and Device Driver Development Guide
@menu
* Introduction::
@@ -108,12 +105,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, , Top
@unnumbered Command and Variable Index
diff -u rtems/doc/configure.ac:1.34 rtems/doc/configure.ac:1.35
--- rtems/doc/configure.ac:1.34 Fri Mar 4 10:20:41 2011
+++ rtems/doc/configure.ac Tue Dec 6 09:12:46 2011
@@ -75,8 +75,8 @@
AC_CHECK_PROGS(PERL,perl)
-TEXI2WWW='$(PERL) $(top_srcdir)/tools/texi2www/texi2www'
-AC_SUBST(TEXI2WWW)
+AC_CHECK_PROGS(TEXI2HTML,texi2html)
+AC_SUBST(TEXI2HTML)
AC_CHECK_PROGS(GS,gs)
AM_CONDITIONAL(GS,test x"$GS" != x"")
@@ -168,5 +168,6 @@
new_chapters/Makefile
cpu_supplement/Makefile
shell/Makefile
+texi2html_init
])
AC_OUTPUT
diff -u rtems/doc/cpu_supplement/.cvsignore:1.8 rtems/doc/cpu_supplement/.cvsignore:1.9
--- rtems/doc/cpu_supplement/.cvsignore:1.8 Fri Mar 4 12:47:52 2011
+++ rtems/doc/cpu_supplement/.cvsignore Tue Dec 6 09:12:47 2011
@@ -32,8 +32,6 @@
mdate-sh
mips.texi
powerpc.texi
-rtems_footer.html
-rtems_header.html
rtemspie.pdf
sh.texi
sparc.texi
diff -u rtems/doc/cpu_supplement/cpu_supplement.texi:1.8 rtems/doc/cpu_supplement/cpu_supplement.texi:1.9
--- rtems/doc/cpu_supplement/cpu_supplement.texi:1.8 Fri Mar 4 12:47:52 2011
+++ rtems/doc/cpu_supplement/cpu_supplement.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2009.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -71,11 +71,8 @@
@include sh.texi
@include sparc.texi
@include sparc64.texi
- at ifinfo
@node Top, Preface, (dir), (dir)
- at top cpu_supplement
-
-This is the online version of the RTEMS CPU Architecture Supplement.
+ at top RTEMS CPU Architecture Supplement
@menu
* Preface::
@@ -95,12 +92,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, , Top
@unnumbered Command and Variable Index
diff -u rtems/doc/cpu_supplement/preface.texi:1.3 rtems/doc/cpu_supplement/preface.texi:1.4
--- rtems/doc/cpu_supplement/preface.texi:1.3 Mon Sep 14 09:50:39 2009
+++ rtems/doc/cpu_supplement/preface.texi Tue Dec 6 09:12:47 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2006.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Preface, Port Specific Information, Top, Top
- at end ifinfo
@unnumbered Preface
The Real Time Executive for Multiprocessor Systems
diff -u rtems/doc/develenv/.cvsignore:1.9 rtems/doc/develenv/.cvsignore:1.10
--- rtems/doc/develenv/.cvsignore:1.9 Fri Jun 11 02:40:00 2010
+++ rtems/doc/develenv/.cvsignore Tue Dec 6 09:12:47 2011
@@ -18,7 +18,5 @@
Makefile
Makefile.in
mdate-sh
-rtems_footer.html
-rtems_header.html
sample.texi
utils.texi
diff -u rtems/doc/develenv/develenv.texi:1.23 rtems/doc/develenv/develenv.texi:1.24
--- rtems/doc/develenv/develenv.texi:1.23 Tue Nov 27 13:31:05 2007
+++ rtems/doc/develenv/develenv.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1989-2007.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -77,11 +77,8 @@
@include sample.texi
@include utils.texi
- at ifinfo
@node Top, Introduction, (dir), (dir)
- at top develenv
-
-This is the online version of the RTEMS Development Environment Guide.
+ at top RTEMS Development Environment Guide
@menu
* Introduction::
@@ -92,12 +89,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, RTEMS Specific Utilities unhex - Convert Hexadecimal File into Binary Equivalent, Top
@unnumbered Command and Variable Index
diff -u rtems/doc/develenv/intro.texi:1.6 rtems/doc/develenv/intro.texi:1.7
--- rtems/doc/develenv/intro.texi:1.6 Tue Nov 27 13:31:05 2007
+++ rtems/doc/develenv/intro.texi Tue Dec 6 09:12:47 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1989-2007.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Introduction, Directory Structure, Top, Top
- at end ifinfo
@chapter Introduction
This document describes the RTEMS development
diff -u rtems/doc/filesystem/.cvsignore:1.8 rtems/doc/filesystem/.cvsignore:1.9
--- rtems/doc/filesystem/.cvsignore:1.8 Fri Jun 11 02:40:00 2010
+++ rtems/doc/filesystem/.cvsignore Tue Dec 6 09:12:47 2011
@@ -25,7 +25,5 @@
miniimfs.texi
mounting.texi
patheval.texi
-rtems_footer.html
-rtems_header.html
syscalls.texi
tftp.texi
diff -u rtems/doc/filesystem/filesystem.texi:1.19 rtems/doc/filesystem/filesystem.texi:1.20
--- rtems/doc/filesystem/filesystem.texi:1.19 Thu Jun 21 13:53:00 2007
+++ rtems/doc/filesystem/filesystem.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -67,11 +67,8 @@
@include imfs.texi
@include miniimfs.texi
@include tftp.texi
- at ifinfo
@node Top, Preface, (dir), (dir)
- at top filesystem
-
-This is the online version of the RTEMS Filesystem Design Guide.
+ at top RTEMS Filesystem Design Guide
@menu
* Preface::
@@ -87,12 +84,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, , Top
@unnumbered Command and Variable Index
diff -u rtems/doc/filesystem/preface.texi:1.6 rtems/doc/filesystem/preface.texi:1.7
--- rtems/doc/filesystem/preface.texi:1.6 Thu Jan 17 15:47:45 2002
+++ rtems/doc/filesystem/preface.texi Tue Dec 6 09:12:47 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Preface, , Top, Top
- at end ifinfo
@unnumbered Preface
This document describes the implementation of the RTEMS filesystem
diff -u rtems/doc/index.html.in:1.26 rtems/doc/index.html.in:1.27
--- rtems/doc/index.html.in:1.26 Thu May 12 11:26:51 2011
+++ rtems/doc/index.html.in Tue Dec 6 09:12:46 2011
@@ -16,7 +16,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/started.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="started/index.html">
+ <A HREF="started/started.html">
Getting Started with RTEMS</A>
</LI>
@@ -26,7 +26,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/c_user.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="c_user/index.html">
+ <A HREF="c_user/c_user.html">
RTEMS Applications C User's Guide</A>
</LI>
@@ -36,7 +36,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/posix_users.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="posix_users/index.html">
+ <A HREF="posix_users/posix_users.html">
RTEMS POSIX API User's Guide</A>
</LI>
@@ -46,8 +46,8 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/networking.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="networking/index.html">
- RTEMS Network Supplement</A>
+ <A HREF="networking/networking.html">
+ RTEMS TCP/IP Networking Supplement</A>
</LI>
<LI><A HREF="../pdf/shell.pdf">
@@ -56,8 +56,8 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/shell.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="shell/index.html">
- RTEMS Shell</A>
+ <A HREF="shell/shell.html">
+ RTEMS Shell User's Guide</A>
</LI>
</MENU>
<LI>Ada Manuals</LI>
@@ -68,7 +68,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/ada_user.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="ada_user/index.html">
+ <A HREF="ada_user/ada_user.html">
RTEMS Applications Ada User's Guide</A>
</LI>
</MENU>
@@ -81,7 +81,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/bsp_howto.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="bsp_howto/index.html">
+ <A HREF="bsp_howto/bsp_howto.html">
RTEMS BSP and Device Driver Development Guide</A>
</LI>
@@ -91,8 +91,8 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/cpu_supplement.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="cpu_supplement/index.html">
- RTEMS CPU Supplement</A>
+ <A HREF="cpu_supplement/cpu_supplement.html">
+ RTEMS CPU Architecture Supplement</A>
</LI>
<LI><A HREF="../pdf/develenv.pdf">
@@ -101,7 +101,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/develenv.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="develenv/index.html">
+ <A HREF="develenv/develenv.html">
RTEMS Development Environment Guide</A>
</LI>
@@ -111,7 +111,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/porting.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="porting/index.html">
+ <A HREF="porting/porting.html">
RTEMS Porting Guide</A>
</LI>
@@ -121,7 +121,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/posix1003_1.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="posix1003_1/index.html">
+ <A HREF="posix1003_1/posix1003_1.html">
RTEMS POSIX 1003.1 Compliance Guide</A>
</LI>
@@ -131,7 +131,7 @@
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/filesystem.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="filesystem/index.html">
+ <A HREF="filesystem/filesystem.html">
RTEMS Filesystem Design Guide</A>
</LI>
</MENU>
diff -u rtems/doc/main.am:1.7 rtems/doc/main.am:1.8
--- rtems/doc/main.am:1.7 Fri Jun 11 05:57:22 2010
+++ rtems/doc/main.am Tue Dec 6 09:12:46 2011
@@ -2,9 +2,7 @@
html_projectdir = $(htmldir)/$(PROJECT)
endif
-TEXI2WWW_ARGS=\
--I $(srcdir) -I $(top_srcdir) -I $(top_builddir) \
--dirfile ../index.html \
--header rtems_header.html \
--footer rtems_footer.html \
--icons ../images
+TEXI2HTML_ARGS=\
+-D use-html --split node \
+--init-file=$(top_builddir)/texi2html_init \
+-I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
diff -u rtems/doc/networking/.cvsignore:1.8 rtems/doc/networking/.cvsignore:1.9
--- rtems/doc/networking/.cvsignore:1.8 Fri Jun 11 02:40:00 2010
+++ rtems/doc/networking/.cvsignore Tue Dec 6 09:12:47 2011
@@ -24,7 +24,5 @@
networktasks.texi
PCIreg.pdf
recvbd.pdf
-rtems_footer.html
-rtems_header.html
servers.texi
testing.texi
diff -u rtems/doc/networking/networking.texi:1.16 rtems/doc/networking/networking.texi:1.17
--- rtems/doc/networking/networking.texi:1.16 Thu Jun 21 13:53:00 2007
+++ rtems/doc/networking/networking.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -65,11 +65,8 @@
@include testing.texi
@include servers.texi
@include decdriver.texi
- at ifinfo
@node Top, Preface, (dir), (dir)
- at top networking
-
-This is the online version of the RTEMS Network Supplement.
+ at top RTEMS TCP/IP Networking Supplement
@menu
* Preface::
@@ -83,12 +80,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, List of Ethernet cards using the DEC chip, Top
@unnumbered Command and Variable Index
diff -u rtems/doc/networking/preface.texi:1.7 rtems/doc/networking/preface.texi:1.8
--- rtems/doc/networking/preface.texi:1.7 Thu Oct 2 07:52:38 2003
+++ rtems/doc/networking/preface.texi Tue Dec 6 09:12:47 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Preface, Network Task Structure and Data Flow, Top, Top
- at end ifinfo
@unnumbered Preface
This document describes the RTEMS specific parts of the FreeBSD TCP/IP
diff -u rtems/doc/porting/.cvsignore:1.8 rtems/doc/porting/.cvsignore:1.9
--- rtems/doc/porting/.cvsignore:1.8 Fri Jun 11 02:40:00 2010
+++ rtems/doc/porting/.cvsignore Tue Dec 6 09:12:47 2011
@@ -27,7 +27,5 @@
porting.tp
porting.vr
prioritybitmap.texi
-rtems_footer.html
-rtems_header.html
sourcecode.texi
taskcontext.texi
diff -u rtems/doc/porting/porting.texi:1.11 rtems/doc/porting/porting.texi:1.12
--- rtems/doc/porting/porting.texi:1.11 Thu Jun 21 13:53:00 2007
+++ rtems/doc/porting/porting.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -94,11 +94,8 @@
@include prioritybitmap.texi
@include codetuning.texi
@include miscellaneous.texi
- at ifinfo
@node Top, Preface, (dir), (dir)
- at top porting
-
-This is the online version of the RTEMS Porting Guide.
+ at top RTEMS Porting Guide
@menu
* Preface::
@@ -116,12 +113,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, Miscellaneous Endian Swap Unsigned Integers, Top
@unnumbered Command and Variable Index
diff -u rtems/doc/porting/preface.texi:1.3 rtems/doc/porting/preface.texi:1.4
--- rtems/doc/porting/preface.texi:1.3 Thu Jan 17 15:47:45 2002
+++ rtems/doc/porting/preface.texi Tue Dec 6 09:12:47 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Preface, Development Tools, Top, Top
- at end ifinfo
@unnumbered Preface
The purpose of this manual is to provide a roadmap to those people porting
diff -u rtems/doc/posix1003.1/.cvsignore:1.8 rtems/doc/posix1003.1/.cvsignore:1.9
--- rtems/doc/posix1003.1/.cvsignore:1.8 Fri Jun 11 02:40:00 2010
+++ rtems/doc/posix1003.1/.cvsignore Tue Dec 6 09:12:47 2011
@@ -39,5 +39,3 @@
posix1003_1.toc
posix1003_1.tp
posix1003_1.vr
-rtems_footer.html
-rtems_header.html
diff -u rtems/doc/posix1003.1/posix1003_1.texi:1.15 rtems/doc/posix1003.1/posix1003_1.texi:1.16
--- rtems/doc/posix1003.1/posix1003_1.texi:1.15 Thu Jun 21 13:53:00 2007
+++ rtems/doc/posix1003.1/posix1003_1.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -81,9 +81,7 @@
@ifnottex
@node Top, Preface, (dir), (dir)
- at top posix1003_1
-
-This is the online version of the RTEMS POSIX 1003.1 Compliance Guide.
+ at top RTEMS POSIX 1003.1 Compliance Guide
@menu
* Preface::
@@ -109,12 +107,7 @@
* Command and Variable Index::
* Concept Index::
@end menu
-
@end ifnottex
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
@node Command and Variable Index, Concept Index, Overall Summary, Top
@unnumbered Command and Variable Index
diff -u rtems/doc/posix_users/.cvsignore:1.8 rtems/doc/posix_users/.cvsignore:1.9
--- rtems/doc/posix_users/.cvsignore:1.8 Fri Jun 11 02:40:00 2010
+++ rtems/doc/posix_users/.cvsignore Tue Dec 6 09:12:47 2011
@@ -38,8 +38,6 @@
posix_users.vr
procenv.texi
process.texi
-rtems_footer.html
-rtems_header.html
sched.texi
semaphores.texi
signal.texi
diff -u rtems/doc/posix_users/posix_users.texi:1.19 rtems/doc/posix_users/posix_users.texi:1.20
--- rtems/doc/posix_users/posix_users.texi:1.19 Mon Jan 10 10:14:07 2011
+++ rtems/doc/posix_users/posix_users.texi Tue Dec 6 09:12:47 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -104,11 +104,8 @@
@include libc.texi
@include libm.texi
@include status.texi
- at ifinfo
@node Top, Preface, (dir), (dir)
- at top posix_users
-
-This is the online version of the RTEMS POSIX API User's Guide
+ at top RTEMS POSIX API User's Guide
@menu
* Preface::
@@ -138,12 +135,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, , Top
@unnumbered Command and Variable Index
diff -u rtems/doc/posix_users/preface.texi:1.11 rtems/doc/posix_users/preface.texi:1.12
--- rtems/doc/posix_users/preface.texi:1.11 Fri Feb 27 12:04:44 2009
+++ rtems/doc/posix_users/preface.texi Tue Dec 6 09:12:48 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Preface, , Top, Top
- at end ifinfo
@unnumbered Preface
This is the User's Guide for the POSIX API support
diff -u rtems/doc/project.am:1.19 rtems/doc/project.am:1.20
--- rtems/doc/project.am:1.19 Fri Jun 11 02:40:00 2010
+++ rtems/doc/project.am Tue Dec 6 09:12:46 2011
@@ -42,25 +42,16 @@
## HTML
SUFFIXES += .html
-rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
- @sed -e s%\.\./images/%$(top_builddir)/images/%g \
- -e s%\@VERSION\@%@VERSION@%g \
- < $< > $@
-rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
- @sed -e s%\.\./images/%$(top_builddir)/%g \
- -e s%\@VERSION\@%@VERSION@%g \
- < $< > $@
-
-index.html $(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS) \
- rtems_header.html rtems_footer.html
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
+$(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS)
+ rm -rf $(PROJECT).html
+ $(TEXI2HTML) $(TEXI2HTML_ARGS) --menu $< $<
+ -rm -rf $(PROJECT)
-MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
- rtems_footer.html
+MOSTLYCLEANFILES += index.html $(PROJECT)*.html
## Common installation points
if USE_HTML
-html_project_DATA = index.html $(PROJECT)*.html
+html_project_DATA = $(PROJECT)*.html
endif
if USE_DVI
diff -u rtems/doc/shell/.cvsignore:1.4 rtems/doc/shell/.cvsignore:1.5
--- rtems/doc/shell/.cvsignore:1.4 Fri Jun 11 02:40:00 2010
+++ rtems/doc/shell/.cvsignore Tue Dec 6 09:12:48 2011
@@ -30,5 +30,3 @@
Makefile
Makefile.in
mdate-sh
-rtems_footer.html
-rtems_header.html
diff -u rtems/doc/shell/preface.texi:1.5 rtems/doc/shell/preface.texi:1.6
--- rtems/doc/shell/preface.texi:1.5 Mon Feb 28 15:58:30 2011
+++ rtems/doc/shell/preface.texi Tue Dec 6 09:12:48 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2008.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Preface, Configuration and Initialization, Top, Top
- at end ifinfo
@unnumbered Preface
Real-time embedded systems vary widely based upon their
@@ -27,7 +25,7 @@
@smallexample
Welcome to rtems-4.10.99.0(SPARC/w/FPU/sis)
-COPYRIGHT (c) 1989-2008.
+COPYRIGHT (c) 1989-2011.
On-Line Applications Research Corporation (OAR).
Login into RTEMS
diff -u rtems/doc/shell/shell.texi:1.3 rtems/doc/shell/shell.texi:1.4
--- rtems/doc/shell/shell.texi:1.3 Thu Feb 28 18:23:04 2008
+++ rtems/doc/shell/shell.texi Tue Dec 6 09:12:48 2011
@@ -7,7 +7,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2008.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -72,11 +72,8 @@
@include memory.texi
@include rtems.texi
@include network.texi
- at ifinfo
@node Top, Preface, (dir), (dir)
- at top shell
-
-This is the online version of the RTEMS Shell User's Guide.
+ at top RTEMS Shell User's Guide
@menu
* Preface::
@@ -91,12 +88,6 @@
* Command Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Function and Variable Index, Concept Index, Network Commands route - show or manipulate the ip routing table, Top
@unnumbered Function and Variable Index
@printindex fn
diff -u rtems/doc/started/.cvsignore:1.12 rtems/doc/started/.cvsignore:1.13
--- rtems/doc/started/.cvsignore:1.12 Fri Jun 11 02:40:00 2010
+++ rtems/doc/started/.cvsignore Tue Dec 6 09:12:48 2011
@@ -10,8 +10,6 @@
nextstep.texi
nt.texi
require.texi
-rtems_footer.html
-rtems_header.html
sample.texi
started
started-?
diff -u rtems/doc/started/started.texi:1.21 rtems/doc/started/started.texi:1.22
--- rtems/doc/started/started.texi:1.21 Tue Dec 14 10:51:17 2010
+++ rtems/doc/started/started.texi Tue Dec 6 09:12:48 2011
@@ -8,7 +8,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2010.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -67,9 +67,8 @@
@include nextstep.texi
@include nt.texi
- at ifinfo
@node Top, Introduction, (dir), (dir)
- at top started
+ at top Getting Started With RTEMS
This is the online version of the Getting Started with RTEMS.
@@ -86,11 +85,6 @@
@c * Command and Variable Index::
@c * Concept Index::
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
@c @node Command and Variable Index, Concept Index, Installing GCC AND NEWLIB, Top
@c @unnumbered Command and Variable Index
diff -u /dev/null rtems/doc/texi2html_init.in:1.1
--- /dev/null Wed Dec 7 14:52:40 2011
+++ rtems/doc/texi2html_init.in Tue Dec 6 09:12:47 2011
@@ -0,0 +1,19 @@
+my $button_text = '<a href="../index.html">Library</a>';
+push @SECTION_BUTTONS, \$button_text;
+push @CHAPTER_BUTTONS, \$button_text;
+push @MISC_BUTTONS, \$button_text;
+push @TOP_BUTTONS, \$button_text;
+
+$AFTER_BODY_OPEN =
+'<A HREF="http://www.rtems.com" target="Text Frame">
+<IMG align=right BORDER=0 SRC="../images/rtems_logo.jpg" ALT="RTEMS
+Logo"> </A>
+<H1>RTEMS @VERSION@ On-Line Library</H1>
+';
+
+$PRE_BODY_CLOSE =
+'Copyright © 1988-2011
+<A HREF="http://www.oarcorp.com" target="Text Frame">OAR Corporation</A>
+';
+
+1;
diff -u rtems/doc/user/.cvsignore:1.14 rtems/doc/user/.cvsignore:1.15
--- rtems/doc/user/.cvsignore:1.14 Fri Jun 11 02:40:00 2010
+++ rtems/doc/user/.cvsignore Tue Dec 6 09:12:48 2011
@@ -45,8 +45,6 @@
overview.texi
part.texi
region.texi
-rtems_footer.html
-rtems_header.html
rtemspie.pdf
rtmon.texi
schedule.texi
diff -u rtems/doc/user/c_user.texi:1.33 rtems/doc/user/c_user.texi:1.34
--- rtems/doc/user/c_user.texi:1.33 Mon Sep 19 20:06:48 2011
+++ rtems/doc/user/c_user.texi Tue Dec 6 09:12:48 2011
@@ -7,7 +7,7 @@
@c %**end of header
@c
- at c COPYRIGHT (c) 1988-2011.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@@ -31,14 +31,14 @@
@ifset use-ascii
@dircategory RTEMS On-Line Manual
@direntry
-* RTEMS C User: (c_user). The C User's Guide.
+* RTEMS C User: (C Users Guide). The C User's Guide.
@end direntry
@end ifset
@c @syncodeindex fn cp
@c variable substitution info:
@c
- at set is-C
+ at set is-C 1
@clear is-Ada
@set LANGUAGE C
@set STRUCTURE structure
@@ -114,11 +114,8 @@
@include dirstat.texi
@include example.texi
@include glossary.texi
- at ifinfo
@node Top, List of Figures, (dir), (dir)
- at top c_user
-
-This is the online version of the RTEMS C User's Guide.
+ at top RTEMS Applications C User's Guide
@menu
* List of Figures::
@@ -158,12 +155,6 @@
* Concept Index::
@end menu
- at end ifinfo
- at c
- at c
- at c Need to copy the emacs stuff and "trailer stuff" (index, toc) into here
- at c
-
@node Command and Variable Index, Concept Index, Glossary, Top
@unnumbered Command and Variable Index
diff -u rtems/doc/user/dirstat.texi:1.14 rtems/doc/user/dirstat.texi:1.15
--- rtems/doc/user/dirstat.texi:1.14 Fri Aug 13 12:31:37 2010
+++ rtems/doc/user/dirstat.texi Tue Dec 6 09:12:48 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2006.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Directive Status Codes, Example Application, Chains Prepend a Node, Top
- at end ifinfo
@chapter Directive Status Codes
@table @b
@item @code{@value{RPREFIX}SUCCESSFUL} - successful completion
diff -u rtems/doc/user/example.texi:1.12 rtems/doc/user/example.texi:1.13
--- rtems/doc/user/example.texi:1.12 Thu Apr 5 10:27:18 2007
+++ rtems/doc/user/example.texi Tue Dec 6 09:12:48 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Example Application, Glossary, Directive Status Codes, Top
- at end ifinfo
@chapter Example Application
@example
diff -u rtems/doc/user/glossary.texi:1.7 rtems/doc/user/glossary.texi:1.8
--- rtems/doc/user/glossary.texi:1.7 Thu Jan 17 15:47:47 2002
+++ rtems/doc/user/glossary.texi Tue Dec 6 09:12:48 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Glossary, Command and Variable Index, Example Application, Top
- at end ifinfo
@chapter Glossary
@table @b
diff -u rtems/doc/user/preface.texi:1.18 rtems/doc/user/preface.texi:1.19
--- rtems/doc/user/preface.texi:1.18 Mon Nov 9 08:36:14 2009
+++ rtems/doc/user/preface.texi Tue Dec 6 09:12:48 2011
@@ -1,14 +1,12 @@
@c
- at c COPYRIGHT (c) 1988-2002.
+ at c COPYRIGHT (c) 1989-2011.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
- at ifinfo
@node Preface, Overview, List of Figures, Top
- at end ifinfo
@unnumbered Preface
In recent years, the cost required to develop a
*joel*:
2011-12-07 Joel Sherrill <joel.sherrill at oarcorp.com>
* user/conf.t: Move @findex for CONFIGURE_MICROSECONDS_PER_TICK to
where it should be.
M 1.324 doc/ChangeLog
M 1.76 doc/user/conf.t
diff -u rtems/doc/ChangeLog:1.323 rtems/doc/ChangeLog:1.324
--- rtems/doc/ChangeLog:1.323 Tue Dec 6 09:12:46 2011
+++ rtems/doc/ChangeLog Wed Dec 7 14:04:04 2011
@@ -1,3 +1,8 @@
+2011-12-07 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * user/conf.t: Move @findex for CONFIGURE_MICROSECONDS_PER_TICK to
+ where it should be.
+
2011-12-06 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1793/doc
diff -u rtems/doc/user/conf.t:1.75 rtems/doc/user/conf.t:1.76
--- rtems/doc/user/conf.t:1.75 Fri Nov 18 14:04:02 2011
+++ rtems/doc/user/conf.t Wed Dec 7 14:04:05 2011
@@ -238,6 +238,7 @@
until you run out of all available memory rather then just until you
run out of RTEMS Workspace.
+ at findex CONFIGURE_MICROSECONDS_PER_TICK
@item @code{CONFIGURE_MICROSECONDS_PER_TICK} is the length
of time between clock ticks. By default, this is set to
10000 microseconds.
@@ -259,7 +260,6 @@
By default, RTEMS supports 256 priority levels ranging from 0 to 255 so
the default value for this field is 255.
- at findex CONFIGURE_MICROSECONDS_PER_TICK
@fnindex CONFIGURE_MINIMUM_STACK_SIZE
@item @code{CONFIGURE_MINIMUM_STACK_SIZE} is set to the number of bytes
the application wants the minimum stack size to be for every task or
*joel* (on branch rtems-4-10-branch):
2011-12-07 Joel Sherrill <joel.sherrilL at OARcorp.com>
PR 1984/doc
* user/conf.t: Change CONFIGURE_MINIMUM_STACK_SIZE to
CONFIGURE_MINIMUM_TASK_STACK_SIZE.
M 1.325 doc/ChangeLog
M 1.210.2.31 doc/ChangeLog
M 1.274.2.17 doc/ChangeLog
M 1.77 doc/user/conf.t
M 1.52.2.3 doc/user/conf.t
M 1.64.2.3 doc/user/conf.t
diff -u rtems/doc/ChangeLog:1.324 rtems/doc/ChangeLog:1.325
--- rtems/doc/ChangeLog:1.324 Wed Dec 7 14:04:04 2011
+++ rtems/doc/ChangeLog Wed Dec 7 14:08:42 2011
@@ -1,3 +1,9 @@
+2011-12-07 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ PR 1984/doc
+ * user/conf.t: Change CONFIGURE_MINIMUM_STACK_SIZE to
+ CONFIGURE_MINIMUM_TASK_STACK_SIZE.
+
2011-12-07 Joel Sherrill <joel.sherrill at oarcorp.com>
* user/conf.t: Move @findex for CONFIGURE_MICROSECONDS_PER_TICK to
diff -u rtems/doc/ChangeLog:1.210.2.30 rtems/doc/ChangeLog:1.210.2.31
--- rtems/doc/ChangeLog:1.210.2.30 Fri Jul 29 14:51:49 2011
+++ rtems/doc/ChangeLog Wed Dec 7 14:09:00 2011
@@ -1,3 +1,9 @@
+2011-12-07 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ PR 1984/doc
+ * user/conf.t: Change CONFIGURE_MINIMUM_STACK_SIZE to
+ CONFIGURE_MINIMUM_TASK_STACK_SIZE.
+
2011-07-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
PR 1864/doc
diff -u rtems/doc/ChangeLog:1.274.2.16 rtems/doc/ChangeLog:1.274.2.17
--- rtems/doc/ChangeLog:1.274.2.16 Fri Jul 29 14:50:32 2011
+++ rtems/doc/ChangeLog Wed Dec 7 14:08:49 2011
@@ -1,3 +1,9 @@
+2011-12-07 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ PR 1984/doc
+ * user/conf.t: Change CONFIGURE_MINIMUM_STACK_SIZE to
+ CONFIGURE_MINIMUM_TASK_STACK_SIZE.
+
2011-07-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
PR 1864/doc
diff -u rtems/doc/user/conf.t:1.76 rtems/doc/user/conf.t:1.77
--- rtems/doc/user/conf.t:1.76 Wed Dec 7 14:04:05 2011
+++ rtems/doc/user/conf.t Wed Dec 7 14:08:42 2011
@@ -260,6 +260,8 @@
By default, RTEMS supports 256 priority levels ranging from 0 to 255 so
the default value for this field is 255.
+ at fnindex CONFIGURE_MINIMUM_TASK_STACK_SIZE
+ at item @code{CONFIGURE_MINIMUM_TASK_STACK_SIZE} is set to the number of bytes
@fnindex CONFIGURE_MINIMUM_STACK_SIZE
@item @code{CONFIGURE_MINIMUM_STACK_SIZE} is set to the number of bytes
the application wants the minimum stack size to be for every task or
diff -u rtems/doc/user/conf.t:1.52.2.2 rtems/doc/user/conf.t:1.52.2.3
--- rtems/doc/user/conf.t:1.52.2.2 Fri Jul 29 14:51:49 2011
+++ rtems/doc/user/conf.t Wed Dec 7 14:09:01 2011
@@ -210,6 +210,7 @@
is NULL indicating that the BSP is to determine the location
of the RTEMS RAM Workspace.
+ at findex CONFIGURE_MICROSECONDS_PER_TICK
@item @code{CONFIGURE_MICROSECONDS_PER_TICK} is the length
of time between clock ticks. By default, this is set to
10000 microseconds.
@@ -231,9 +232,8 @@
By default, RTEMS supports 256 priority levels ranging from 0 to 255 so
the default value for this field is 255.
- at findex CONFIGURE_MICROSECONDS_PER_TICK
- at fnindex CONFIGURE_MINIMUM_STACK_SIZE
- at item @code{CONFIGURE_MINIMUM_STACK_SIZE} is set to the number of bytes
+ at fnindex CONFIGURE_MINIMUM_TASK_STACK_SIZE
+ at item @code{CONFIGURE_MINIMUM_TASK_STACK_SIZE} is set to the number of bytes
the application wants the minimum stack size to be for every task or
thread in the system. By default, this is set to the recommended minimum
stack size for this processor.
diff -u rtems/doc/user/conf.t:1.64.2.2 rtems/doc/user/conf.t:1.64.2.3
--- rtems/doc/user/conf.t:1.64.2.2 Fri Jul 29 14:50:32 2011
+++ rtems/doc/user/conf.t Wed Dec 7 14:08:49 2011
@@ -237,6 +237,7 @@
until you run out of all available memory rather then just until you
run out of RTEMS Workspace.
+ at findex CONFIGURE_MICROSECONDS_PER_TICK
@item @code{CONFIGURE_MICROSECONDS_PER_TICK} is the length
of time between clock ticks. By default, this is set to
10000 microseconds.
@@ -258,9 +259,8 @@
By default, RTEMS supports 256 priority levels ranging from 0 to 255 so
the default value for this field is 255.
- at findex CONFIGURE_MICROSECONDS_PER_TICK
- at fnindex CONFIGURE_MINIMUM_STACK_SIZE
- at item @code{CONFIGURE_MINIMUM_STACK_SIZE} is set to the number of bytes
+ at fnindex CONFIGURE_MINIMUM_TASK_STACK_SIZE
+ at item @code{CONFIGURE_MINIMUM_TASK_STACK_SIZE} is set to the number of bytes
the application wants the minimum stack size to be for every task or
thread in the system. By default, this is set to the recommended minimum
stack size for this processor.
*sh*:
2011-12-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1975/misc
* libchip/ide/ata.c, libchip/ide/ata_util.c: Fixed warnings.
M 1.576 c/src/ChangeLog
M 1.44 c/src/libchip/ide/ata.c
M 1.2 c/src/libchip/ide/ata_util.c
diff -u rtems/c/src/ChangeLog:1.575 rtems/c/src/ChangeLog:1.576
--- rtems/c/src/ChangeLog:1.575 Fri Dec 2 23:16:57 2011
+++ rtems/c/src/ChangeLog Mon Dec 5 03:21:10 2011
@@ -1,3 +1,8 @@
+2011-12-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ PR 1975/misc
+ * libchip/ide/ata.c, libchip/ide/ata_util.c: Fixed warnings.
+
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* libchip/ide/ata.c: Make ata_interrupt_handler static.
diff -u rtems/c/src/libchip/ide/ata.c:1.43 rtems/c/src/libchip/ide/ata.c:1.44
--- rtems/c/src/libchip/ide/ata.c:1.43 Fri Dec 2 23:16:57 2011
+++ rtems/c/src/libchip/ide/ata.c Mon Dec 5 03:21:11 2011
@@ -421,7 +421,10 @@
ata_req_t *areq;
uint16_t byte; /* emphasize that only 8 low bits is meaningful */
ata_queue_msg_t msg;
- uint8_t i, dev;
+ uint8_t i;
+#if 0
+ uint8_t dev;
+#endif
uint16_t val;
ISR_Level level;
@@ -434,9 +437,11 @@
areq = (ata_req_t *)rtems_chain_first(&ata_ide_ctrls[ctrl_minor].reqs);
_ISR_Enable(level);
+#if 0
/* get ATA device identifier (0 or 1) */
dev = areq->regs.regs[IDE_REGISTER_DEVICE_HEAD] &
IDE_REGISTER_DEVICE_HEAD_DEV;
+#endif
/* execute device select protocol */
ide_controller_write_register(ctrl_minor, IDE_REGISTER_DEVICE_HEAD,
@@ -742,11 +747,15 @@
ata_pio_in_protocol(rtems_device_minor_number ctrl_minor, ata_req_t *areq)
{
uint16_t val;
+#if 0
uint8_t dev;
+#endif
ata_queue_msg_t msg;
+#if 0
dev = areq->regs.regs[IDE_REGISTER_DEVICE_HEAD] &
IDE_REGISTER_DEVICE_HEAD_DEV;
+#endif
if (areq->cnt)
{
@@ -786,15 +795,19 @@
ata_pio_out_protocol(rtems_device_minor_number ctrl_minor, ata_req_t *areq)
{
uint16_t val;
+#if 0
uint8_t dev;
+#endif
ata_queue_msg_t msg;
#if ATA_DEBUG
ata_printf("ata_pio_out_protocol:\n");
#endif
+#if 0
dev = areq->regs.regs[IDE_REGISTER_DEVICE_HEAD] &
IDE_REGISTER_DEVICE_HEAD_DEV;
+#endif
if (areq->cnt == 0)
{
diff -u rtems/c/src/libchip/ide/ata_util.c:1.1 rtems/c/src/libchip/ide/ata_util.c:1.2
--- rtems/c/src/libchip/ide/ata_util.c:1.1 Tue Aug 17 08:54:50 2010
+++ rtems/c/src/libchip/ide/ata_util.c Mon Dec 5 03:21:11 2011
@@ -35,14 +35,19 @@
ata_req_t *areq)
{
uint16_t byte;/* emphasize that only 8 low bits is meaningful */
- uint8_t i, dev;
+ uint8_t i;
+#if 0
+ uint8_t dev;
+#endif
uint16_t val, val1;
volatile unsigned retries;
assert(areq);
+#if 0
dev = areq->regs.regs[IDE_REGISTER_DEVICE_HEAD] &
IDE_REGISTER_DEVICE_HEAD_DEV;
+#endif
ide_controller_write_register(ctrl_minor, IDE_REGISTER_DEVICE_HEAD,
areq->regs.regs[IDE_REGISTER_DEVICE_HEAD]);
*sh*:
2011-12-06 Petr Benes <benesp16 at fel.cvut.cz>
PR 1980/testing
* spedfsched02/task1.c, spedfsched02/init.c: Fixed initialization.
M 1.500 testsuites/sptests/ChangeLog
M 1.3 testsuites/sptests/spedfsched02/init.c
M 1.4 testsuites/sptests/spedfsched02/task1.c
diff -u rtems/testsuites/sptests/ChangeLog:1.499 rtems/testsuites/sptests/ChangeLog:1.500
--- rtems/testsuites/sptests/ChangeLog:1.499 Sat Nov 26 12:07:33 2011
+++ rtems/testsuites/sptests/ChangeLog Tue Dec 6 02:21:38 2011
@@ -1,3 +1,8 @@
+2011-12-06 Petr Benes <benesp16 at fel.cvut.cz>
+
+ PR 1980/testing
+ * spedfsched02/task1.c, spedfsched02/init.c: Fixed initialization.
+
2011-11-26 Gedare Bloom <gedare at rtems.org>
PR 1964
diff -u rtems/testsuites/sptests/spedfsched02/init.c:1.2 rtems/testsuites/sptests/spedfsched02/init.c:1.3
--- rtems/testsuites/sptests/spedfsched02/init.c:1.2 Thu Sep 29 11:20:49 2011
+++ rtems/testsuites/sptests/spedfsched02/init.c Tue Dec 6 02:21:38 2011
@@ -28,6 +28,8 @@
#define CONFIGURE_INIT
#include "system.h"
+rtems_task_priority Prio[7] = { 0, 2, 2, 2, 2, 100, 1 };
+
rtems_task Init(
rtems_task_argument argument
)
@@ -35,6 +37,8 @@
uint32_t index;
rtems_status_code status;
+ Priorities = Prio;
+
puts( "\n\n*** TEST EDF Scheduler 2 ***" );
Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
diff -u rtems/testsuites/sptests/spedfsched02/task1.c:1.3 rtems/testsuites/sptests/spedfsched02/task1.c:1.4
--- rtems/testsuites/sptests/spedfsched02/task1.c:1.3 Tue Oct 4 10:18:16 2011
+++ rtems/testsuites/sptests/spedfsched02/task1.c Tue Dec 6 02:21:38 2011
@@ -31,7 +31,6 @@
uint32_t Periods[7] = { 0, 2, 2, 2, 2, 100, 0 };
uint32_t Iterations[7] = { 0, 50, 50, 50, 50, 1, TA6_ITERATIONS };
-rtems_task_priority Prio[7] = { 0, 2, 2, 2, 2, 100, 1 };
rtems_task Task_1_through_6(
rtems_task_argument argument
@@ -44,8 +43,6 @@
uint32_t failed;
rtems_status_code status;
- Priorities = Prio;
-
status = rtems_rate_monotonic_create( argument, &rmid );
directive_failed( status, "rtems_rate_monotonic_create" );
put_name( Task_name[ argument ], FALSE );
*sh*:
2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
* make/custom/lpc24xx.inc: Flags for EABI tool chain.
M 1.77 c/src/lib/libbsp/arm/lpc24xx/ChangeLog
M 1.9 c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc
diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.76 rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.77
--- rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.76 Tue Nov 8 04:39:45 2011
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog Tue Dec 6 07:52:48 2011
@@ -1,3 +1,7 @@
+2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * make/custom/lpc24xx.inc: Flags for EABI tool chain.
+
2011-11-08 Sebastian Huber <sebastian.huber at embedded-brains.de>
* include/lpc17xx.h: New file.
diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc:1.8 rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc:1.9
--- rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc:1.8 Thu Jul 21 10:32:08 2011
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc Tue Dec 6 07:52:48 2011
@@ -8,7 +8,6 @@
RTEMS_CPU = arm
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm7tdmi-s -mfpu=vfp -mfloat-abi=soft -mthumb \
- -fno-schedule-insns2 -fno-peephole2
+CPU_CFLAGS = -mcpu=arm7tdmi-s -mthumb
CFLAGS_OPTIMIZE_V = -Os -g
*sh*:
2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
* misc/system-clocks.c: New file.
* Makefile.am: Reflect change from above.
* include/nand-mlc.h: Fixed lpc32xx_mlc_is_bad_page().
* make/custom/lpc32xx.inc, make/custom/lpc32xx_mzx_stage_1.cfg: Flags
for EABI tool chain.
* configure.ac, include/bsp.h, include/lpc32xx.h, misc/emc.c,
misc/i2c.c, rtc/rtc-config.c, startup/bspstarthooks.c: Avoid compile
time ARM_CLK and HCLK.
M 1.41 c/src/lib/libbsp/arm/lpc32xx/ChangeLog
M 1.17 c/src/lib/libbsp/arm/lpc32xx/Makefile.am
M 1.12 c/src/lib/libbsp/arm/lpc32xx/configure.ac
M 1.10 c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
M 1.15 c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h
M 1.7 c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h
M 1.3 c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx.inc
M 1.2 c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_mzx_stage_1.cfg
M 1.4 c/src/lib/libbsp/arm/lpc32xx/misc/emc.c
M 1.3 c/src/lib/libbsp/arm/lpc32xx/misc/i2c.c
A 1.1 c/src/lib/libbsp/arm/lpc32xx/misc/system-clocks.c
M 1.6 c/src/lib/libbsp/arm/lpc32xx/rtc/rtc-config.c
M 1.12 c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.40 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.41
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.40 Tue Nov 29 22:48:11 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog Tue Dec 6 08:01:55 2011
@@ -1,3 +1,14 @@
+2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * misc/system-clocks.c: New file.
+ * Makefile.am: Reflect change from above.
+ * include/nand-mlc.h: Fixed lpc32xx_mlc_is_bad_page().
+ * make/custom/lpc32xx.inc, make/custom/lpc32xx_mzx_stage_1.cfg: Flags
+ for EABI tool chain.
+ * configure.ac, include/bsp.h, include/lpc32xx.h, misc/emc.c,
+ misc/i2c.c, rtc/rtc-config.c, startup/bspstarthooks.c: Avoid compile
+ time ARM_CLK and HCLK.
+
2011-11-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
* Makefile.am: Add shared/startup/bsp-start-memcpy.S
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.16 rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.17
--- rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.16 Tue Nov 29 22:48:11 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am Tue Dec 6 08:01:55 2011
@@ -82,23 +82,23 @@
libbsp_a_LIBADD =
# Shared
-libbsp_a_SOURCES += ../../shared/bootcard.c \
- ../../shared/bspclean.c \
- ../../shared/bspgetworkarea.c \
- ../../shared/bsplibc.c \
- ../../shared/bsppost.c \
- ../../shared/bsppredriverhook.c \
- ../../shared/bsppretaskinghook.c \
- ../../shared/gnatinstallhandler.c \
- ../../shared/sbrk.c \
- ../../shared/src/stackalloc.c \
- ../../shared/src/uart-output-char.c \
- ../shared/abort/simple_abort.c
+libbsp_a_SOURCES += ../../shared/bootcard.c
+libbsp_a_SOURCES += ../../shared/bspclean.c
+libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
+libbsp_a_SOURCES += ../../shared/bsplibc.c
+libbsp_a_SOURCES += ../../shared/bsppost.c
+libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
+libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
+libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
+libbsp_a_SOURCES += ../../shared/sbrk.c
+libbsp_a_SOURCES += ../../shared/src/stackalloc.c
+libbsp_a_SOURCES += ../../shared/src/uart-output-char.c
+libbsp_a_SOURCES += ../shared/abort/simple_abort.c
libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
# Startup
-libbsp_a_SOURCES += startup/bspstart.c \
- startup/bspreset.c
+libbsp_a_SOURCES += startup/bspreset.c
+libbsp_a_SOURCES += startup/bspstart.c
# IRQ
libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
@@ -126,16 +126,17 @@
rtc/rtc-config.c
# Misc
-libbsp_a_SOURCES += misc/timer.c \
- misc/nand-mlc.c \
- misc/nand-mlc-read-blocks.c \
- misc/nand-mlc-write-blocks.c \
- misc/nand-mlc-erase-block-safe.c \
- misc/restart.c \
- misc/boot.c \
- misc/emc.c \
- misc/mmu.c \
- misc/i2c.c
+libbsp_a_SOURCES += misc/boot.c
+libbsp_a_SOURCES += misc/emc.c
+libbsp_a_SOURCES += misc/i2c.c
+libbsp_a_SOURCES += misc/mmu.c
+libbsp_a_SOURCES += misc/nand-mlc.c
+libbsp_a_SOURCES += misc/nand-mlc-erase-block-safe.c
+libbsp_a_SOURCES += misc/nand-mlc-read-blocks.c
+libbsp_a_SOURCES += misc/nand-mlc-write-blocks.c
+libbsp_a_SOURCES += misc/restart.c
+libbsp_a_SOURCES += misc/system-clocks.c
+libbsp_a_SOURCES += misc/timer.c
# SSP
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac:1.11 rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac:1.12
--- rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac:1.11 Mon Mar 28 04:00:00 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac Tue Dec 6 08:01:55 2011
@@ -31,12 +31,6 @@
RTEMS_BSPOPTS_SET([LPC32XX_OSCILLATOR_RTC],[*],[32768U])
RTEMS_BSPOPTS_HELP([LPC32XX_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
-RTEMS_BSPOPTS_SET([LPC32XX_ARM_CLK],[*],[208000000U])
-RTEMS_BSPOPTS_HELP([LPC32XX_ARM_CLK],[ARM clock in Hz])
-
-RTEMS_BSPOPTS_SET([LPC32XX_HCLK],[*],[104000000U])
-RTEMS_BSPOPTS_HELP([LPC32XX_HCLK],[AHB bus clock in Hz])
-
RTEMS_BSPOPTS_SET([LPC32XX_PERIPH_CLK],[*],[13000000U])
RTEMS_BSPOPTS_HELP([LPC32XX_PERIPH_CLK],[peripheral clock in Hz])
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h:1.9 rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h:1.10
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h:1.9 Thu May 19 07:11:36 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h Tue Dec 6 08:01:55 2011
@@ -7,12 +7,13 @@
*/
/*
- * Copyright (c) 2009, 2010
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * <rtems at embedded-brains.de>
+ * Copyright (c) 2009-2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems at embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
@@ -110,6 +111,33 @@
} while (elapsed < delay);
}
+#if LPC32XX_OSCILLATOR_MAIN == 13000000U
+ #define LPC32XX_HCLKPLL_CTRL_INIT_VALUE \
+ (HCLK_PLL_POWER | HCLK_PLL_DIRECT | HCLK_PLL_M(16 - 1))
+ #define LPC32XX_HCLKDIV_CTRL_INIT_VALUE \
+ (HCLK_DIV_HCLK(2 - 1) | HCLK_DIV_PERIPH_CLK(16 - 1) | HCLK_DIV_DDRAM_CLK(1))
+#else
+ #error "unexpected main oscillator frequency"
+#endif
+
+bool lpc32xx_start_pll_setup(
+ uint32_t hclkpll_ctrl,
+ uint32_t hclkdiv_ctrl,
+ bool force
+);
+
+uint32_t lpc32xx_sysclk(void);
+
+uint32_t lpc32xx_hclkpll_clk(void);
+
+uint32_t lpc32xx_periph_clk(void);
+
+uint32_t lpc32xx_hclk(void);
+
+uint32_t lpc32xx_arm_clk(void);
+
+uint32_t lpc32xx_dram_clk(void);
+
void bsp_restart(void *addr);
#define BSP_CONSOLE_UART_BASE LPC32XX_BASE_UART_5
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.14 rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.15
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.14 Thu Sep 22 02:09:07 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h Tue Dec 6 08:01:55 2011
@@ -201,8 +201,11 @@
#define HCLK_PLL_LOCK BSP_BIT32(0)
#define HCLK_PLL_M(val) BSP_FLD32(val, 1, 8)
+#define HCLK_PLL_M_GET(reg) BSP_FLD32GET(reg, 1, 8)
#define HCLK_PLL_N(val) BSP_FLD32(val, 9, 10)
+#define HCLK_PLL_N_GET(reg) BSP_FLD32GET(reg, 9, 10)
#define HCLK_PLL_P(val) BSP_FLD32(val, 11, 12)
+#define HCLK_PLL_P_GET(reg) BSP_FLD32GET(reg, 11, 12)
#define HCLK_PLL_FBD_FCLKOUT BSP_BIT32(13)
#define HCLK_PLL_DIRECT BSP_BIT32(14)
#define HCLK_PLL_BYPASS BSP_BIT32(15)
@@ -217,8 +220,11 @@
*/
#define HCLK_DIV_HCLK(val) BSP_FLD32(val, 0, 1)
+#define HCLK_DIV_HCLK_GET(reg) BSP_FLD32GET(reg, 0, 1)
#define HCLK_DIV_PERIPH_CLK(val) BSP_FLD32(val, 2, 6)
+#define HCLK_DIV_PERIPH_CLK_GET(reg) BSP_FLD32GET(reg, 2, 6)
#define HCLK_DIV_DDRAM_CLK(val) BSP_FLD32(val, 7, 8)
+#define HCLK_DIV_DDRAM_CLK_GET(reg) BSP_FLD32GET(reg, 7, 8)
/** @} */
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h:1.6 rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h:1.7
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h:1.6 Thu Sep 22 02:09:07 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h Tue Dec 6 08:01:55 2011
@@ -392,10 +392,25 @@
uint32_t page_buffer_1 [MLC_LARGE_DATA_WORD_COUNT]
);
+/**
+ * @brief Checks if the page spare area indicates to a bad page.
+ *
+ * If the first (byte offset 0) or sixth (byte offset 5) byte of the spare area
+ * has a value other than 0xff, then it returns @true (the page is bad), else
+ * it returns @a false (the page is not bad).
+ *
+ * Samsung uses the sixth byte to indicate a bad page. Mircon uses the first
+ * and sixth byte to indicate a bad page.
+ *
+ * This functions works only for small page flashes.
+ */
static inline bool lpc32xx_mlc_is_bad_page(const uint32_t *spare)
{
- uint32_t valid_block_mask = 0xff00;
- return (spare [1] & valid_block_mask) != valid_block_mask;
+ uint32_t first_byte_mask = 0x000000ff;
+ uint32_t sixth_byte_mask = 0x0000ff00;
+
+ return (spare [0] & first_byte_mask) != first_byte_mask
+ || (spare [1] & sixth_byte_mask) != sixth_byte_mask;
}
/** @} */
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx.inc:1.2 rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx.inc:1.3
--- rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx.inc:1.2 Thu Sep 22 02:09:07 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx.inc Tue Dec 6 08:01:55 2011
@@ -8,7 +8,6 @@
RTEMS_CPU = arm
-CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm926ej-s -mfpu=vfp -mfloat-abi=soft -mthumb \
- -fno-schedule-insns2
+CPU_CFLAGS = -mcpu=arm926ej-s -mthumb
-CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V ?= -O2 -g
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_mzx_stage_1.cfg:1.1 rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_mzx_stage_1.cfg:1.2
--- rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_mzx_stage_1.cfg:1.1 Wed Jun 23 03:27:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_mzx_stage_1.cfg Tue Dec 6 08:01:55 2011
@@ -4,4 +4,6 @@
# $Id$
#
+CFLAGS_OPTIMIZE_V = -Os -g
+
include $(RTEMS_ROOT)/make/custom/lpc32xx.inc
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c:1.3 rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c:1.4
--- rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c:1.3 Thu May 19 07:11:36 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c Tue Dec 6 08:01:55 2011
@@ -93,9 +93,6 @@
void lpc32xx_emc_init(const lpc32xx_emc_dynamic_config *dyn_cfg)
{
- /* Enable clock */
- LPC32XX_HCLKDIV_CTRL |= HCLK_DIV_DDRAM_CLK(1);
-
/* Enable buffers in AHB ports */
emc_ahb [0].control = EMC_AHB_PORT_BUFF_EN;
emc_ahb [3].control = EMC_AHB_PORT_BUFF_EN;
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/misc/i2c.c:1.2 rtems/c/src/lib/libbsp/arm/lpc32xx/misc/i2c.c:1.3
--- rtems/c/src/lib/libbsp/arm/lpc32xx/misc/i2c.c:1.2 Mon Aug 8 07:33:22 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/misc/i2c.c Tue Dec 6 08:01:55 2011
@@ -7,12 +7,13 @@
*/
/*
- * Copyright (c) 2010
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * <rtems at embedded-brains.de>
+ * Copyright (c) 2010-2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems at embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
@@ -51,31 +52,28 @@
return lpc32xx_i2c_clock(i2c, clock_in_hz);
}
-#if LPC32XX_HCLK != 104000000U
- #error "unexpected HCLK"
-#endif
-
rtems_status_code lpc32xx_i2c_clock(
volatile lpc32xx_i2c *i2c,
unsigned clock_in_hz
)
{
+ uint32_t clk_div = lpc32xx_hclk() / clock_in_hz;
uint32_t clk_lo = 0;
uint32_t clk_hi = 0;
switch (clock_in_hz) {
case 100000:
- clk_lo = 520;
- clk_hi = 520;
+ clk_lo = clk_div / 2;
break;
case 400000:
- clk_lo = 166;
- clk_hi = 94;
+ clk_lo = (64 * clk_div) / 100;
break;
default:
return RTEMS_INVALID_CLOCK;
}
+ clk_hi = clk_div - clk_lo;
+
i2c->clk_lo = clk_lo;
i2c->clk_hi = clk_hi;
diff -u /dev/null rtems/c/src/lib/libbsp/arm/lpc32xx/misc/system-clocks.c:1.1
--- /dev/null Wed Dec 7 14:52:43 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/misc/system-clocks.c Tue Dec 6 08:01:55 2011
@@ -0,0 +1,140 @@
+/**
+ * @file
+ *
+ * @ingroup lpc32xx
+ *
+ * @brief System clocks.
+ */
+
+/*
+ * Copyright (c) 2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems at embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#include <bsp.h>
+#include <bsp/lpc32xx.h>
+
+uint32_t lpc32xx_sysclk(void)
+{
+ uint32_t sysclk_ctrl = LPC32XX_SYSCLK_CTRL;
+
+ return (sysclk_ctrl & 0x1) == 0 ?
+ LPC32XX_OSCILLATOR_MAIN
+ : (397 * LPC32XX_OSCILLATOR_RTC);
+}
+
+uint32_t lpc32xx_hclkpll_clk(void)
+{
+ uint32_t sysclk = lpc32xx_sysclk();
+ uint32_t hclkpll_ctrl = LPC32XX_HCLKPLL_CTRL;
+ uint32_t m = HCLK_PLL_M_GET(hclkpll_ctrl) + 1;
+ uint32_t n = HCLK_PLL_N_GET(hclkpll_ctrl) + 1;
+ uint32_t p = 1U << HCLK_PLL_P_GET(hclkpll_ctrl);
+ uint32_t hclkpll_clk = 0;
+
+ if ((hclkpll_ctrl & HCLK_PLL_BYPASS) != 0) {
+ if ((hclkpll_ctrl & HCLK_PLL_DIRECT) != 0) {
+ hclkpll_clk = sysclk;
+ } else {
+ hclkpll_clk = sysclk / (2 * p);
+ }
+ } else {
+ if ((hclkpll_ctrl & HCLK_PLL_DIRECT) != 0) {
+ hclkpll_clk = (m * sysclk) / n;
+ } else {
+ if ((hclkpll_ctrl & HCLK_PLL_FBD_FCLKOUT) != 0) {
+ hclkpll_clk = m * (sysclk / n);
+ } else {
+ hclkpll_clk = (m / (2 * p)) * (sysclk / n);
+ }
+ }
+ }
+
+ return hclkpll_clk;
+}
+
+uint32_t lpc32xx_periph_clk(void)
+{
+ uint32_t pwr_ctrl = LPC32XX_PWR_CTRL;
+ uint32_t periph_clk = 0;
+
+ if ((pwr_ctrl & PWR_NORMAL_RUN_MODE) != 0) {
+ uint32_t hclkdiv_ctrl = LPC32XX_HCLKDIV_CTRL;
+ uint32_t div = HCLK_DIV_PERIPH_CLK_GET(hclkdiv_ctrl) + 1;
+
+ periph_clk = lpc32xx_hclkpll_clk() / div;
+ } else {
+ periph_clk = lpc32xx_sysclk();
+ }
+
+ return periph_clk;
+}
+
+uint32_t lpc32xx_hclk(void)
+{
+ uint32_t pwr_ctrl = LPC32XX_PWR_CTRL;
+ uint32_t hclk = 0;
+
+ if ((pwr_ctrl & PWR_HCLK_USES_PERIPH_CLK) != 0) {
+ hclk = lpc32xx_periph_clk();
+ } else {
+ if ((pwr_ctrl & PWR_NORMAL_RUN_MODE) != 0) {
+ uint32_t hclkdiv_ctrl = LPC32XX_HCLKDIV_CTRL;
+ uint32_t div = 1U << HCLK_DIV_HCLK_GET(hclkdiv_ctrl);
+
+ hclk = lpc32xx_hclkpll_clk() / div;
+ } else {
+ hclk = lpc32xx_sysclk();
+ }
+ }
+
+ return hclk;
+}
+
+uint32_t lpc32xx_arm_clk(void)
+{
+ uint32_t pwr_ctrl = LPC32XX_PWR_CTRL;
+ uint32_t arm_clk = 0;
+
+ if ((pwr_ctrl & PWR_HCLK_USES_PERIPH_CLK) != 0) {
+ arm_clk = lpc32xx_periph_clk();
+ } else {
+ if ((pwr_ctrl & PWR_NORMAL_RUN_MODE) != 0) {
+ arm_clk = lpc32xx_hclkpll_clk();
+ } else {
+ arm_clk = lpc32xx_sysclk();
+ }
+ }
+
+ return arm_clk;
+}
+
+uint32_t lpc32xx_dram_clk(void)
+{
+ uint32_t hclkdiv_ctrl = LPC32XX_HCLKDIV_CTRL;
+ uint32_t div = HCLK_DIV_DDRAM_CLK_GET(hclkdiv_ctrl);
+ uint32_t dram_clk = 0;
+
+ if (div != 0) {
+ uint32_t pwr_ctrl = LPC32XX_PWR_CTRL;
+
+ if ((pwr_ctrl & PWR_NORMAL_RUN_MODE) != 0) {
+ dram_clk = lpc32xx_hclkpll_clk();
+ } else {
+ dram_clk = lpc32xx_sysclk();
+ }
+
+ dram_clk /= div;
+ }
+
+ return dram_clk;
+}
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/rtc/rtc-config.c:1.5 rtems/c/src/lib/libbsp/arm/lpc32xx/rtc/rtc-config.c:1.6
--- rtems/c/src/lib/libbsp/arm/lpc32xx/rtc/rtc-config.c:1.5 Fri Feb 11 05:48:17 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/rtc/rtc-config.c Tue Dec 6 08:01:55 2011
@@ -7,12 +7,13 @@
*/
/*
- * Copyright (c) 2009
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * <rtems at embedded-brains.de>
+ * Copyright (c) 2009-2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems at embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
@@ -40,7 +41,7 @@
static void lpc32xx_rtc_set(uint32_t val)
{
- unsigned i = LPC32XX_ARM_CLK / LPC32XX_OSCILLATOR_RTC;
+ unsigned i = lpc32xx_arm_clk() / LPC32XX_OSCILLATOR_RTC;
lpc32xx.rtc.ctrl |= LPC32XX_RTC_CTRL_STOP;
lpc32xx.rtc.ucount = val;
diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c:1.11 rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c:1.12
--- rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c:1.11 Mon Mar 28 04:00:01 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c Tue Dec 6 08:01:55 2011
@@ -7,21 +7,20 @@
*/
/*
- * Copyright (c) 2009
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * <rtems at embedded-brains.de>
+ * Copyright (c) 2009-2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems at embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*/
-#include <stdbool.h>
-
-#include <bspopts.h>
+#include <bsp.h>
#include <bsp/start.h>
#include <bsp/lpc32xx.h>
#include <bsp/mmu.h>
@@ -44,7 +43,7 @@
LINKER_SYMBOL(lpc32xx_translation_table_base);
-static void BSP_START_TEXT_SECTION clear_bss(void)
+static BSP_START_TEXT_SECTION void clear_bss(void)
{
const int *end = (const int *) bsp_section_bss_end;
int *out = (int *) bsp_section_bss_begin;
@@ -134,7 +133,7 @@
}
};
- static void BSP_START_TEXT_SECTION set_translation_table_entries(
+ static BSP_START_TEXT_SECTION void set_translation_table_entries(
uint32_t *ttb,
const lpc32xx_mmu_config *config
)
@@ -151,7 +150,7 @@
}
}
- static void BSP_START_TEXT_SECTION
+ static BSP_START_TEXT_SECTION void
setup_translation_table_and_enable_mmu(uint32_t ctrl)
{
uint32_t const dac =
@@ -179,7 +178,7 @@
}
#endif
-static void BSP_START_TEXT_SECTION setup_mmu_and_cache(void)
+static BSP_START_TEXT_SECTION void setup_mmu_and_cache(void)
{
uint32_t ctrl = 0;
@@ -198,36 +197,56 @@
#endif
}
-#if LPC32XX_OSCILLATOR_MAIN != 13000000U
- #error "unexpected main oscillator frequency"
-#endif
-
-static void BSP_START_TEXT_SECTION setup_pll(void)
+BSP_START_TEXT_SECTION bool lpc32xx_start_pll_setup(
+ uint32_t hclkpll_ctrl,
+ uint32_t hclkdiv_ctrl,
+ bool force
+)
{
uint32_t pwr_ctrl = LPC32XX_PWR_CTRL;
+ bool settings_ok =
+ ((LPC32XX_HCLKPLL_CTRL ^ hclkpll_ctrl) & BSP_MSK32(1, 16)) == 0
+ && ((LPC32XX_HCLKDIV_CTRL ^ hclkdiv_ctrl) & BSP_MSK32(0, 8)) == 0;
+
+ if ((pwr_ctrl & PWR_NORMAL_RUN_MODE) == 0 || (!settings_ok && force)) {
+ /* Disable HCLK PLL output */
+ LPC32XX_PWR_CTRL = pwr_ctrl & ~PWR_NORMAL_RUN_MODE;
- if ((pwr_ctrl & PWR_NORMAL_RUN_MODE) == 0) {
- /* Enable HCLK PLL */
- LPC32XX_HCLKPLL_CTRL = HCLK_PLL_POWER | HCLK_PLL_DIRECT | HCLK_PLL_M(16 - 1);
+ /* Configure HCLK PLL */
+ LPC32XX_HCLKPLL_CTRL = hclkpll_ctrl;
while ((LPC32XX_HCLKPLL_CTRL & HCLK_PLL_LOCK) == 0) {
/* Wait */
}
/* Setup HCLK divider */
- LPC32XX_HCLKDIV_CTRL = HCLK_DIV_HCLK(2 - 1) | HCLK_DIV_PERIPH_CLK(16 - 1);
+ LPC32XX_HCLKDIV_CTRL = hclkdiv_ctrl;
/* Enable HCLK PLL output */
LPC32XX_PWR_CTRL = pwr_ctrl | PWR_NORMAL_RUN_MODE;
}
+
+ return settings_ok;
+}
+
+#if LPC32XX_OSCILLATOR_MAIN != 13000000U
+ #error "unexpected main oscillator frequency"
+#endif
+
+static BSP_START_TEXT_SECTION void setup_pll(void)
+{
+ uint32_t hclkpll_ctrl = LPC32XX_HCLKPLL_CTRL_INIT_VALUE;
+ uint32_t hclkdiv_ctrl = LPC32XX_HCLKDIV_CTRL_INIT_VALUE;
+
+ lpc32xx_start_pll_setup(hclkpll_ctrl, hclkdiv_ctrl, false);
}
-void BSP_START_TEXT_SECTION bsp_start_hook_0(void)
+BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
{
setup_pll();
setup_mmu_and_cache();
}
-static void BSP_START_TEXT_SECTION stop_dma_activities(void)
+static BSP_START_TEXT_SECTION void stop_dma_activities(void)
{
#ifdef LPC32XX_STOP_GPDMA
LPC32XX_DO_STOP_GPDMA;
@@ -242,7 +261,7 @@
#endif
}
-static void BSP_START_TEXT_SECTION setup_uarts(void)
+static BSP_START_TEXT_SECTION void setup_uarts(void)
{
uint32_t uartclk_ctrl = 0;
@@ -277,7 +296,7 @@
#endif
}
-static void BSP_START_TEXT_SECTION setup_timer(void)
+static BSP_START_TEXT_SECTION void setup_timer(void)
{
volatile lpc_timer *timer = LPC32XX_STANDARD_TIMER;
@@ -292,7 +311,7 @@
timer->tcr = LPC_TIMER_TCR_EN;
}
-void BSP_START_TEXT_SECTION bsp_start_hook_1(void)
+BSP_START_TEXT_SECTION void bsp_start_hook_1(void)
{
stop_dma_activities();
setup_uarts();
*sh*:
2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
* rtems/powerpc/registers.h: More register defines.
M 1.170 cpukit/score/cpu/powerpc/ChangeLog
M 1.40 cpukit/score/cpu/powerpc/rtems/powerpc/registers.h
diff -u rtems/cpukit/score/cpu/powerpc/ChangeLog:1.169 rtems/cpukit/score/cpu/powerpc/ChangeLog:1.170
--- rtems/cpukit/score/cpu/powerpc/ChangeLog:1.169 Tue Sep 27 04:17:37 2011
+++ rtems/cpukit/score/cpu/powerpc/ChangeLog Tue Dec 6 08:06:39 2011
@@ -1,3 +1,7 @@
+2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * rtems/powerpc/registers.h: More register defines.
+
2011-09-27 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1914/cpukit
diff -u rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h:1.39 rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h:1.40
--- rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h:1.39 Wed Aug 24 04:43:06 2011
+++ rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h Tue Dec 6 08:06:39 2011
@@ -322,7 +322,23 @@
#define BOOKE_TCR_FPEXT_MASK (0xf<<13)
#define BOOKE_PID 48
+#define BOOKE_ESR 62
+#define BOOKE_IVPR 63
#define BOOKE_PIR 286
+#define BOOKE_DBSR 304
+#define BOOKE_DBCR0 308
+#define BOOKE_DBCR1 309
+#define BOOKE_DBCR2 310
+#define BOOKE_DAC1 316
+#define BOOKE_DAC2 317
+#define BOOKE_DVC1 318
+#define BOOKE_DVC2 319
+
+/* Freescale Book E Implementation Standards (EIS): Branch Operations */
+
+#define FSL_EIS_BUCSR 1013
+#define FSL_EIS_BUCSR_BBFI (1 << (63 - 54))
+#define FSL_EIS_BUCSR_BPEN (1 << (63 - 63))
/* Freescale Book E Implementation Standards (EIS): Hardware Implementation-Dependent Registers */
@@ -418,10 +434,29 @@
#define FSL_EIS_ATBL 526
#define FSL_EIS_ATBU 527
+/* Freescale Book E Implementation Standards (EIS): Interrupt */
+
+#define FSL_EIS_MCAR 573
+#define FSL_EIS_DSRR0 574
+#define FSL_EIS_DSRR1 575
+
/* Freescale Book E Implementation Standards (EIS): Signal Processing Engine (SPE) */
#define FSL_EIS_SPEFSCR 512
+/* Freescale Book E Implementation Standards (EIS): Software-Use SPRs */
+
+#define FSL_EIS_SPRG8 604
+#define FSL_EIS_SPRG9 605
+
+/* Freescale Book E Implementation Standards (EIS): Debug */
+
+#define FSL_EIS_DBCR3 561
+#define FSL_EIS_DBCR4 563
+#define FSL_EIS_DBCR5 564
+#define FSL_EIS_DBCR6 603
+#define FSL_EIS_DBCNT 562
+
/**
* @brief Default value for the interrupt disable mask.
*
*sh*:
2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
* score/src/heapiterate.c, score/src/pheapiterate.c: New files.
* score/Makefile.am: Reflect changes above.
* score/include/rtems/score/heap.h: Declare _Heap_Iterate() and define
Heap_Block_visitor.
* score/include/rtems/score/protectedheap.h: Declare
_Protected_heap_Iterate().
* score/src/heapgetinfo.c: Use _Heap_Iterate().
M 1.3059 cpukit/ChangeLog
M 1.112 cpukit/score/Makefile.am
M 1.48 cpukit/score/include/rtems/score/heap.h
M 1.12 cpukit/score/include/rtems/score/protectedheap.h
M 1.13 cpukit/score/src/heapgetinfo.c
A 1.1 cpukit/score/src/heapiterate.c
A 1.1 cpukit/score/src/pheapiterate.c
diff -u rtems/cpukit/ChangeLog:1.3058 rtems/cpukit/ChangeLog:1.3059
--- rtems/cpukit/ChangeLog:1.3058 Tue Dec 6 07:39:11 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 08:23:25 2011
@@ -1,3 +1,13 @@
+2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * score/src/heapiterate.c, score/src/pheapiterate.c: New files.
+ * score/Makefile.am: Reflect changes above.
+ * score/include/rtems/score/heap.h: Declare _Heap_Iterate() and define
+ Heap_Block_visitor.
+ * score/include/rtems/score/protectedheap.h: Declare
+ _Protected_heap_Iterate().
+ * score/src/heapgetinfo.c: Use _Heap_Iterate().
+
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
diff -u rtems/cpukit/score/Makefile.am:1.111 rtems/cpukit/score/Makefile.am:1.112
--- rtems/cpukit/score/Makefile.am:1.111 Wed Sep 28 09:42:11 2011
+++ rtems/cpukit/score/Makefile.am Tue Dec 6 08:23:26 2011
@@ -181,7 +181,7 @@
## HEAP_C_FILES
libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
- src/heapgetfreeinfo.c src/heapresizeblock.c
+ src/heapgetfreeinfo.c src/heapresizeblock.c src/heapiterate.c
## OBJECT_C_FILES
libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
@@ -259,7 +259,7 @@
libscore_a_SOURCES += src/pheapallocate.c \
src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
- src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c
+ src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c src/pheapiterate.c
## RBTREE_C_FILES
libscore_a_SOURCES += src/rbtree.c \
diff -u rtems/cpukit/score/include/rtems/score/heap.h:1.47 rtems/cpukit/score/include/rtems/score/heap.h:1.48
--- rtems/cpukit/score/include/rtems/score/heap.h:1.47 Fri Sep 9 06:02:03 2011
+++ rtems/cpukit/score/include/rtems/score/heap.h Tue Dec 6 08:23:26 2011
@@ -522,6 +522,33 @@
);
/**
+ * @brief Heap block visitor.
+ *
+ * @see _Heap_Iterate().
+ *
+ * @retval true Stop the iteration.
+ * @retval false Continue the iteration.
+ */
+typedef bool (*Heap_Block_visitor)(
+ const Heap_Block *block,
+ uintptr_t block_size,
+ bool block_is_used,
+ void *visitor_arg
+);
+
+/**
+ * @brief Iterates over all blocks of the heap.
+ *
+ * For each block the @a visitor with the argument @a visitor_arg will be
+ * called.
+ */
+void _Heap_Iterate(
+ Heap_Control *heap,
+ Heap_Block_visitor visitor,
+ void *visitor_arg
+);
+
+/**
* @brief Returns information about used and free blocks for the heap @a heap
* in @a info.
*/
diff -u rtems/cpukit/score/include/rtems/score/protectedheap.h:1.11 rtems/cpukit/score/include/rtems/score/protectedheap.h:1.12
--- rtems/cpukit/score/include/rtems/score/protectedheap.h:1.11 Mon Nov 30 07:05:29 2009
+++ rtems/cpukit/score/include/rtems/score/protectedheap.h Tue Dec 6 08:23:26 2011
@@ -131,6 +131,15 @@
bool _Protected_heap_Walk( Heap_Control *heap, int source, bool dump );
/**
+ * @brief See _Heap_Iterate().
+ */
+void _Protected_heap_Iterate(
+ Heap_Control *heap,
+ Heap_Block_visitor visitor,
+ void *visitor_arg
+);
+
+/**
* @brief See _Heap_Get_information().
*
* Returns @a true in case of success, and @a false otherwise.
diff -u rtems/cpukit/score/src/heapgetinfo.c:1.12 rtems/cpukit/score/src/heapgetinfo.c:1.13
--- rtems/cpukit/score/src/heapgetinfo.c:1.12 Mon Jun 7 04:35:01 2010
+++ rtems/cpukit/score/src/heapgetinfo.c Tue Dec 6 08:23:26 2011
@@ -23,35 +23,32 @@
#include <string.h>
-#include <rtems/system.h>
-#include <rtems/score/sysstate.h>
#include <rtems/score/heap.h>
+static bool _Heap_Get_information_visitor(
+ const Heap_Block *block __attribute__((unused)),
+ uintptr_t block_size,
+ bool block_is_used,
+ void *visitor_arg
+)
+{
+ Heap_Information_block *info_block = visitor_arg;
+ Heap_Information *info = block_is_used ?
+ &info_block->Used : &info_block->Free;
+
+ ++info->number;
+ info->total += block_size;
+ if ( info->largest < block_size )
+ info->largest = block_size;
+
+ return false;
+}
+
void _Heap_Get_information(
Heap_Control *the_heap,
Heap_Information_block *the_info
)
{
- Heap_Block *the_block = the_heap->first_block;
- Heap_Block *const end = the_heap->last_block;
-
- memset(the_info, 0, sizeof(*the_info));
-
- while ( the_block != end ) {
- uintptr_t const the_size = _Heap_Block_size(the_block);
- Heap_Block *const next_block = _Heap_Block_at(the_block, the_size);
- Heap_Information *info;
-
- if ( _Heap_Is_prev_used(next_block) )
- info = &the_info->Used;
- else
- info = &the_info->Free;
-
- info->number++;
- info->total += the_size;
- if ( info->largest < the_size )
- info->largest = the_size;
-
- the_block = next_block;
- }
+ memset( the_info, 0, sizeof(*the_info) );
+ _Heap_Iterate( the_heap, _Heap_Get_information_visitor, the_info );
}
diff -u /dev/null rtems/cpukit/score/src/heapiterate.c:1.1
--- /dev/null Wed Dec 7 14:52:44 2011
+++ rtems/cpukit/score/src/heapiterate.c Tue Dec 6 08:23:26 2011
@@ -0,0 +1,50 @@
+/**
+ * @file
+ *
+ * @ingroup ScoreHeap
+ *
+ * @brief _Heap_Iterate() implementation.
+ */
+
+/*
+ * Copyright (c) 2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems at embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#if HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
+#include <rtems/score/heap.h>
+
+void _Heap_Iterate(
+ Heap_Control *heap,
+ Heap_Block_visitor visitor,
+ void *visitor_arg
+)
+{
+ Heap_Block *current = heap->first_block;
+ Heap_Block *end = heap->last_block;
+ bool stop = false;
+
+ while ( !stop && current != end ) {
+ uintptr_t size = _Heap_Block_size( current );
+ Heap_Block *next = _Heap_Block_at( current, size );
+ bool used = _Heap_Is_prev_used( next );
+
+ stop = (*visitor)( current, size, used, visitor_arg );
+
+ current = next;
+ }
+}
diff -u /dev/null rtems/cpukit/score/src/pheapiterate.c:1.1
--- /dev/null Wed Dec 7 14:52:45 2011
+++ rtems/cpukit/score/src/pheapiterate.c Tue Dec 6 08:23:26 2011
@@ -0,0 +1,40 @@
+/**
+ * @file
+ *
+ * @ingroup ScoreProtHeap
+ *
+ * @brief _Heap_Iterate() implementation.
+ */
+
+/*
+ * Copyright (c) 2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems at embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#if HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
+#include <rtems/score/protectedheap.h>
+
+void _Protected_heap_Iterate(
+ Heap_Control *heap,
+ Heap_Block_visitor visitor,
+ void *visitor_arg
+)
+{
+ _RTEMS_Lock_allocator();
+ _Heap_Iterate( heap, visitor, visitor_arg );
+ _RTEMS_Unlock_allocator();
+}
*ralf*:
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* score/src/objectinitializeinformation.c
(_Objects_Initialize_information): Remove unused var "name_length".
M 1.2998 cpukit/ChangeLog
M 1.25 cpukit/score/src/objectinitializeinformation.c
diff -u rtems/cpukit/ChangeLog:1.2997 rtems/cpukit/ChangeLog:1.2998
--- rtems/cpukit/ChangeLog:1.2997 Tue Nov 29 15:55:18 2011
+++ rtems/cpukit/ChangeLog Tue Nov 29 23:24:19 2011
@@ -1,3 +1,8 @@
+2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * score/src/objectinitializeinformation.c
+ (_Objects_Initialize_information): Remove unused var "name_length".
+
2011-11-29 Joel Sherrill <joel.sherrilL at OARcorp.com>
PR 1967/cpukit
diff -u rtems/cpukit/score/src/objectinitializeinformation.c:1.24 rtems/cpukit/score/src/objectinitializeinformation.c:1.25
--- rtems/cpukit/score/src/objectinitializeinformation.c:1.24 Tue Nov 29 15:55:18 2011
+++ rtems/cpukit/score/src/objectinitializeinformation.c Tue Nov 29 23:24:19 2011
@@ -62,7 +62,6 @@
{
static Objects_Control *null_local_table = NULL;
uint32_t minimum_index;
- uint32_t name_length;
uint32_t maximum_per_allocation;
#if defined(RTEMS_MULTIPROCESSING)
uint32_t index;
*ralf*:
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* libnetworking/rtems/rtems_dhcp.c (dhcp_init):
Remove unused var "len".
M 1.2999 cpukit/ChangeLog
M 1.9 cpukit/libnetworking/rtems/rtems_dhcp.c
diff -u rtems/cpukit/ChangeLog:1.2998 rtems/cpukit/ChangeLog:1.2999
--- rtems/cpukit/ChangeLog:1.2998 Tue Nov 29 23:24:19 2011
+++ rtems/cpukit/ChangeLog Tue Nov 29 23:30:49 2011
@@ -1,5 +1,7 @@
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libnetworking/rtems/rtems_dhcp.c (dhcp_init):
+ Remove unused var "len".
* score/src/objectinitializeinformation.c
(_Objects_Initialize_information): Remove unused var "name_length".
diff -u rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.8 rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.9
--- rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.8 Tue Oct 18 04:01:23 2011
+++ rtems/cpukit/libnetworking/rtems/rtems_dhcp.c Tue Nov 29 23:30:49 2011
@@ -851,7 +851,6 @@
struct ifreq ireq;
struct ifnet *ifp;
struct socket *so;
- int len;
int error;
struct sockaddr_in myaddr;
struct ifaddr *ifa;
@@ -914,7 +913,7 @@
/*
* Build the DHCP Discover
*/
- len = dhcp_discover_req (&call, sdl, &xid);
+ dhcp_discover_req (&call, sdl, &xid);
/*
* Send the Discover.
*ralf* (on branch rtems-4-10-branch):
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* librpc/src/rpc/clnt_udp.c (struct cu_data):
Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
M 1.3000 cpukit/ChangeLog
M 1.2346.2.109 cpukit/ChangeLog
M 1.13 cpukit/librpc/src/rpc/clnt_udp.c
M 1.12.2.1 cpukit/librpc/src/rpc/clnt_udp.c
diff -u rtems/cpukit/ChangeLog:1.2999 rtems/cpukit/ChangeLog:1.3000
--- rtems/cpukit/ChangeLog:1.2999 Tue Nov 29 23:30:49 2011
+++ rtems/cpukit/ChangeLog Wed Nov 30 00:58:35 2011
@@ -1,5 +1,10 @@
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * librpc/src/rpc/clnt_udp.c (struct cu_data):
+ Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
+
+2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libnetworking/rtems/rtems_dhcp.c (dhcp_init):
Remove unused var "len".
* score/src/objectinitializeinformation.c
diff -u rtems/cpukit/ChangeLog:1.2346.2.108 rtems/cpukit/ChangeLog:1.2346.2.109
--- rtems/cpukit/ChangeLog:1.2346.2.108 Mon Nov 28 10:36:29 2011
+++ rtems/cpukit/ChangeLog Wed Nov 30 01:00:43 2011
@@ -1,3 +1,8 @@
+2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * librpc/src/rpc/clnt_udp.c (struct cu_data):
+ Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
+
2011-11-28 Werner Almesberger <werner at almesberger.net>
PR 1961/cpukit
diff -u rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.13
--- rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 Thu May 27 07:39:33 2010
+++ rtems/cpukit/librpc/src/rpc/clnt_udp.c Wed Nov 30 00:58:36 2011
@@ -88,9 +88,17 @@
XDR cu_outxdrs;
u_int cu_xdrpos;
u_int cu_sendsz; /* send size */
- char *cu_outbuf;
+ union {
+ u_int32_t *i32;
+ char *c;
+ } _cu_outbuf;
+#define cu_outbuf _cu_outbuf.c
u_int cu_recvsz; /* recv size */
- char cu_inbuf[1];
+ union {
+ u_int32_t *i32;
+ char c[1];
+ } _cu_inbuf;
+#define cu_inbuf _cu_inbuf.c
};
/*
@@ -352,7 +360,7 @@
if (inlen < sizeof(u_int32_t))
continue;
/* see if reply transaction id matches sent id */
- if (*((u_int32_t *)(cu->cu_inbuf)) != *((u_int32_t *)(cu->cu_outbuf)))
+ if (*(cu->_cu_inbuf.i32) != *(cu->_cu_outbuf.i32))
continue;
/* we now assume we have the proper reply */
break;
diff -u rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12.2.1
--- rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 Thu May 27 07:39:33 2010
+++ rtems/cpukit/librpc/src/rpc/clnt_udp.c Wed Nov 30 01:00:47 2011
@@ -88,9 +88,17 @@
XDR cu_outxdrs;
u_int cu_xdrpos;
u_int cu_sendsz; /* send size */
- char *cu_outbuf;
+ union {
+ u_int32_t *i32;
+ char *c;
+ } _cu_outbuf;
+#define cu_outbuf _cu_outbuf.c
u_int cu_recvsz; /* recv size */
- char cu_inbuf[1];
+ union {
+ u_int32_t *i32;
+ char c[1];
+ } _cu_inbuf;
+#define cu_inbuf _cu_inbuf.c
};
/*
@@ -352,7 +360,7 @@
if (inlen < sizeof(u_int32_t))
continue;
/* see if reply transaction id matches sent id */
- if (*((u_int32_t *)(cu->cu_inbuf)) != *((u_int32_t *)(cu->cu_outbuf)))
+ if (*(cu->_cu_inbuf.i32) != *(cu->_cu_outbuf.i32))
continue;
/* we now assume we have the proper reply */
break;
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
M 1.3001 cpukit/ChangeLog
M 1.17 cpukit/posix/src/semopen.c
diff -u rtems/cpukit/ChangeLog:1.3000 rtems/cpukit/ChangeLog:1.3001
--- rtems/cpukit/ChangeLog:1.3000 Wed Nov 30 00:58:35 2011
+++ rtems/cpukit/ChangeLog Wed Nov 30 21:05:17 2011
@@ -1,3 +1,7 @@
+2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
+
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* librpc/src/rpc/clnt_udp.c (struct cu_data):
diff -u rtems/cpukit/posix/src/semopen.c:1.16 rtems/cpukit/posix/src/semopen.c:1.17
--- rtems/cpukit/posix/src/semopen.c:1.16 Sun Jul 24 18:55:09 2011
+++ rtems/cpukit/posix/src/semopen.c Wed Nov 30 21:05:17 2011
@@ -60,7 +60,7 @@
if ( oflag & O_CREAT ) {
va_start(arg, oflag);
- mode = (mode_t) va_arg( arg, unsigned int );
+ mode = va_arg( arg, mode_t );
value = va_arg( arg, unsigned int );
va_end(arg);
}
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
M 1.3002 cpukit/ChangeLog
M 1.17 cpukit/posix/src/mqueueopen.c
diff -u rtems/cpukit/ChangeLog:1.3001 rtems/cpukit/ChangeLog:1.3002
--- rtems/cpukit/ChangeLog:1.3001 Wed Nov 30 21:05:17 2011
+++ rtems/cpukit/ChangeLog Wed Nov 30 21:46:35 2011
@@ -1,5 +1,6 @@
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/cpukit/posix/src/mqueueopen.c:1.16 rtems/cpukit/posix/src/mqueueopen.c:1.17
--- rtems/cpukit/posix/src/mqueueopen.c:1.16 Thu Aug 6 14:26:56 2009
+++ rtems/cpukit/posix/src/mqueueopen.c Wed Nov 30 21:46:36 2011
@@ -63,8 +63,8 @@
if ( oflag & O_CREAT ) {
va_start(arg, oflag);
- mode = (mode_t) va_arg( arg, unsigned int );
- attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );
+ mode = va_arg( arg, mode_t );
+ attr = va_arg( arg, struct mq_attr * );
va_end(arg);
}
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
M 1.3003 cpukit/ChangeLog
M 1.29 cpukit/libcsupport/src/open.c
diff -u rtems/cpukit/ChangeLog:1.3002 rtems/cpukit/ChangeLog:1.3003
--- rtems/cpukit/ChangeLog:1.3002 Wed Nov 30 21:46:35 2011
+++ rtems/cpukit/ChangeLog Thu Dec 1 02:01:39 2011
@@ -1,5 +1,6 @@
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
* posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
diff -u rtems/cpukit/libcsupport/src/open.c:1.28 rtems/cpukit/libcsupport/src/open.c:1.29
--- rtems/cpukit/libcsupport/src/open.c:1.28 Mon Aug 23 18:19:07 2010
+++ rtems/cpukit/libcsupport/src/open.c Thu Dec 1 02:01:40 2011
@@ -64,7 +64,7 @@
)
{
va_list ap;
- int mode;
+ mode_t mode;
int rc;
rtems_libio_t *iop = 0;
int status;
@@ -84,7 +84,7 @@
va_start(ap, flags);
- mode = va_arg( ap, int );
+ mode = va_arg( ap, mode_t );
/*
* NOTE: This comment is OBSOLETE. The proper way to do this now
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* shared/include/cpuIdent.c, shared/include/cpuIdent.h
(get_ppc_cpu_type_name): Return const char*.
M 1.407 c/src/lib/libcpu/powerpc/ChangeLog
M 1.31 c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h
M 1.34 c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.406 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.407
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.406 Thu Nov 10 02:44:37 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog Thu Dec 1 02:06:06 2011
@@ -1,3 +1,8 @@
+2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * shared/include/cpuIdent.c, shared/include/cpuIdent.h
+ (get_ppc_cpu_type_name): Return const char*.
+
2011-11-10 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1927/bsps:
diff -u rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.30 rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.31
--- rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.30 Wed Aug 31 10:27:58 2011
+++ rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h Thu Dec 1 02:06:06 2011
@@ -91,7 +91,7 @@
typedef unsigned short ppc_cpu_revision_t;
extern ppc_cpu_id_t get_ppc_cpu_type (void);
-extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
+extern const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
extern ppc_cpu_revision_t get_ppc_cpu_revision (void);
extern ppc_cpu_revision_t current_ppc_revision;
diff -u rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c:1.33 rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c:1.34
--- rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c:1.33 Wed Aug 31 10:27:58 2011
+++ rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c Thu Dec 1 02:06:06 2011
@@ -27,7 +27,7 @@
ppc_cpu_revision_t current_ppc_revision = 0xff;
ppc_feature_t current_ppc_features;
-char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
+const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
{
switch (cpu) {
case PPC_405: return "PPC405";
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* console/console.c: Eliminate unused var "nb_overflow".
M 1.159 c/src/lib/libbsp/powerpc/gen5200/ChangeLog
M 1.23 c/src/lib/libbsp/powerpc/gen5200/console/console.c
diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.158 rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.159
--- rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.158 Wed Aug 24 04:53:14 2011
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog Thu Dec 1 02:16:05 2011
@@ -1,3 +1,7 @@
+2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * console/console.c: Eliminate unused var "nb_overflow".
+
2011-08-24 Sebastian Huber <sebastian.huber at embedded-brains.de>
* start/start.S: Update due to API changes.
diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c:1.22 rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c:1.23
--- rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c:1.22 Mon Nov 15 04:55:02 2010
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c Thu Dec 1 02:16:05 2011
@@ -284,7 +284,6 @@
{
unsigned char c;
uint16_t isr;
- int nb_overflow;
int minor = (int)handle;
struct mpc5200_psc *psc =
(struct mpc5200_psc *)(&mpc5200.psc[psc_minor_to_regset[minor]]);
@@ -311,7 +310,7 @@
c = (psc->rb_tb >> 24);
if (ttyp[minor] != NULL) {
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[minor], (char *)&c, (int)1);
channel_info[minor].rx_characters++;
}
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* mpc8260/console-generic/console-generic.c,
mpc8xx/console-generic/console-generic.c:
Eliminate unused var "nb_overflow".
M 1.408 c/src/lib/libcpu/powerpc/ChangeLog
M 1.12 c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c
M 1.26 c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c
diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.407 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.408
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.407 Thu Dec 1 02:06:06 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog Thu Dec 1 02:20:03 2011
@@ -1,5 +1,8 @@
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * mpc8260/console-generic/console-generic.c,
+ mpc8xx/console-generic/console-generic.c:
+ Eliminate unused var "nb_overflow".
* shared/include/cpuIdent.c, shared/include/cpuIdent.h
(get_ppc_cpu_type_name): Return const char*.
diff -u rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c:1.11 rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c:1.12
--- rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c:1.11 Thu Dec 17 02:42:16 2009
+++ rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c Thu Dec 1 02:20:03 2011
@@ -353,8 +353,6 @@
static void
m8xx_scc1_interrupt_handler (rtems_irq_hdl_param unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -367,7 +365,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SCC1_MINOR]->buffer,
RxBd[SCC1_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SCC1_MINOR],
(char *)RxBd[SCC1_MINOR]->buffer,
(int)RxBd[SCC1_MINOR]->length );
@@ -397,8 +395,6 @@
static void
m8xx_scc2_interrupt_handler (rtems_irq_hdl_param unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -411,7 +407,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SCC2_MINOR]->buffer,
RxBd[SCC2_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SCC2_MINOR],
(char *)RxBd[SCC2_MINOR]->buffer,
(int)RxBd[SCC2_MINOR]->length );
@@ -442,8 +438,6 @@
static void
m8xx_scc3_interrupt_handler (rtems_irq_hdl_param unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -456,7 +450,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SCC3_MINOR]->buffer,
RxBd[SCC3_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SCC3_MINOR],
(char *)RxBd[SCC3_MINOR]->buffer,
(int)RxBd[SCC3_MINOR]->length );
@@ -488,8 +482,6 @@
static void
m8xx_scc4_interrupt_handler (rtems_irq_hdl_param unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -502,7 +494,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SCC4_MINOR]->buffer,
RxBd[SCC4_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SCC4_MINOR],
(char *)RxBd[SCC4_MINOR]->buffer,
(int)RxBd[SCC4_MINOR]->length );
@@ -532,8 +524,6 @@
static void
m8xx_smc1_interrupt_handler (rtems_irq_hdl_param unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -546,7 +536,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SMC1_MINOR]->buffer,
RxBd[SMC1_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SMC1_MINOR],
(char *)RxBd[SMC1_MINOR]->buffer,
(int)RxBd[SMC1_MINOR]->length );
@@ -577,8 +567,6 @@
static void
m8xx_smc2_interrupt_handler (rtems_irq_hdl_param unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -591,7 +579,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SMC2_MINOR]->buffer,
RxBd[SMC2_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SMC2_MINOR],
(char *)RxBd[SMC2_MINOR]->buffer,
(int)RxBd[SMC2_MINOR]->length );
diff -u rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c:1.25 rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c:1.26
--- rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c:1.25 Thu Dec 17 02:42:16 2009
+++ rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c Thu Dec 1 02:20:03 2011
@@ -385,8 +385,6 @@
*/
static void m8xx_scc2_interrupt_handler (void *unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -399,7 +397,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SCC2_MINOR]->buffer,
RxBd[SCC2_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SCC2_MINOR],
(char *)RxBd[SCC2_MINOR]->buffer,
(int)RxBd[SCC2_MINOR]->length );
@@ -427,8 +425,6 @@
static void
m8xx_scc3_interrupt_handler (void *unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -441,7 +437,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SCC3_MINOR]->buffer,
RxBd[SCC3_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SCC3_MINOR],
(char *)RxBd[SCC3_MINOR]->buffer,
(int)RxBd[SCC3_MINOR]->length );
@@ -468,8 +464,6 @@
static void
m8xx_scc4_interrupt_handler (void *unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -482,7 +476,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SCC4_MINOR]->buffer,
RxBd[SCC4_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SCC4_MINOR],
(char *)RxBd[SCC4_MINOR]->buffer,
(int)RxBd[SCC4_MINOR]->length );
@@ -509,8 +503,6 @@
static void
m8xx_smc1_interrupt_handler (void *unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -523,7 +515,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SMC1_MINOR]->buffer,
RxBd[SMC1_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SMC1_MINOR],
(char *)RxBd[SMC1_MINOR]->buffer,
(int)RxBd[SMC1_MINOR]->length );
@@ -550,8 +542,6 @@
static void
m8xx_smc2_interrupt_handler (void *unused)
{
- int nb_overflow;
-
/*
* Buffer received?
*/
@@ -564,7 +554,7 @@
rtems_cache_invalidate_multiple_data_lines(
(const void *) RxBd[SMC2_MINOR]->buffer,
RxBd[SMC2_MINOR]->length );
- nb_overflow = rtems_termios_enqueue_raw_characters(
+ rtems_termios_enqueue_raw_characters(
(void *)ttyp[SMC2_MINOR],
(char *)RxBd[SMC2_MINOR]->buffer,
(int)RxBd[SMC2_MINOR]->length );
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* libnetworking/rtems/mkrootfs.c: Use mode_t for modes,
Use size_t for sizes.
M 1.3004 cpukit/ChangeLog
M 1.15 cpukit/libnetworking/rtems/mkrootfs.c
diff -u rtems/cpukit/ChangeLog:1.3003 rtems/cpukit/ChangeLog:1.3004
--- rtems/cpukit/ChangeLog:1.3003 Thu Dec 1 02:01:39 2011
+++ rtems/cpukit/ChangeLog Thu Dec 1 02:26:48 2011
@@ -1,5 +1,7 @@
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libnetworking/rtems/mkrootfs.c: Use mode_t for modes,
+ Use size_t for sizes.
* libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
* posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
diff -u rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.14 rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.15
--- rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.14 Wed Jun 16 08:50:22 2010
+++ rtems/cpukit/libnetworking/rtems/mkrootfs.c Thu Dec 1 02:26:49 2011
@@ -50,7 +50,7 @@
typedef struct rtems_rootfs_dir_table
{
const char *name;
- int mode;
+ mode_t mode;
} rtems_rootfs_dir_table;
/*
@@ -99,7 +99,7 @@
* path. If it exists nothing happens.
*/
- int i = strlen (file);
+ size_t i = strlen (file);
while (i)
{
@@ -144,7 +144,7 @@
for (i = 0; i < line_cnt; i++)
{
- int len = strlen (lines[i]);
+ size_t len = strlen (lines[i]);
if (len)
{
@@ -212,7 +212,7 @@
rtems_create_root_fs (void)
{
const char *lines[1];
- int i;
+ size_t i;
/*
* Create the directories.
*ralf*:
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* aclocal/check-smp.m4: Fix bogus log message.
M 1.3005 cpukit/ChangeLog
M 1.2 cpukit/aclocal/check-smp.m4
diff -u rtems/cpukit/ChangeLog:1.3004 rtems/cpukit/ChangeLog:1.3005
--- rtems/cpukit/ChangeLog:1.3004 Thu Dec 1 02:26:48 2011
+++ rtems/cpukit/ChangeLog Thu Dec 1 10:43:28 2011
@@ -1,5 +1,9 @@
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * aclocal/check-smp.m4: Fix bogus log message.
+
+2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libnetworking/rtems/mkrootfs.c: Use mode_t for modes,
Use size_t for sizes.
* libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
diff -u rtems/cpukit/aclocal/check-smp.m4:1.1 rtems/cpukit/aclocal/check-smp.m4:1.2
--- rtems/cpukit/aclocal/check-smp.m4:1.1 Wed Mar 16 15:05:04 2011
+++ rtems/cpukit/aclocal/check-smp.m4 Thu Dec 1 10:43:28 2011
@@ -4,7 +4,7 @@
[dnl
AC_REQUIRE([RTEMS_ENABLE_SMP])dnl
-AC_CACHE_CHECK([whether CPU supports libposix],
+AC_CACHE_CHECK([whether CPU supports SMP],
rtems_cv_HAS_SMP,
[dnl
case "$RTEMS_CPU" in
*ralf*:
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* libfs/src/imfs/imfs_eval.c: Make IMFS_evaluate_permission,
IMFS_evaluate_hard_link, IMFS_evaluate_sym_link static.
* libfs/src/imfs/imfs_fifo.c: Make IMFS_fifo_open,
IMFS_fifo_close, IMFS_fifo_read, IMFS_fifo_write,
IMFS_fifo_ioctl static.
M 1.3006 cpukit/ChangeLog
M 1.36 cpukit/libfs/src/imfs/imfs_eval.c
M 1.11 cpukit/libfs/src/imfs/imfs_fifo.c
diff -u rtems/cpukit/ChangeLog:1.3005 rtems/cpukit/ChangeLog:1.3006
--- rtems/cpukit/ChangeLog:1.3005 Thu Dec 1 10:43:28 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 07:39:57 2011
@@ -1,3 +1,11 @@
+2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libfs/src/imfs/imfs_eval.c: Make IMFS_evaluate_permission,
+ IMFS_evaluate_hard_link, IMFS_evaluate_sym_link static.
+ * libfs/src/imfs/imfs_fifo.c: Make IMFS_fifo_open,
+ IMFS_fifo_close, IMFS_fifo_read, IMFS_fifo_write,
+ IMFS_fifo_ioctl static.
+
2011-12-01 Ralf Corsépius <ralf.corsepius at rtems.org>
* aclocal/check-smp.m4: Fix bogus log message.
diff -u rtems/cpukit/libfs/src/imfs/imfs_eval.c:1.35 rtems/cpukit/libfs/src/imfs/imfs_eval.c:1.36
--- rtems/cpukit/libfs/src/imfs/imfs_eval.c:1.35 Sun Nov 6 06:44:22 2011
+++ rtems/cpukit/libfs/src/imfs/imfs_eval.c Fri Dec 2 07:39:58 2011
@@ -70,7 +70,7 @@
* The following routine evaluates that we have permission
* to do flags on the node.
*/
-int IMFS_evaluate_permission(
+static int IMFS_evaluate_permission(
rtems_filesystem_location_info_t *node,
int flags
)
@@ -123,7 +123,7 @@
* The following routine evaluates a hardlink to the actual node.
*/
-int IMFS_evaluate_hard_link(
+static int IMFS_evaluate_hard_link(
rtems_filesystem_location_info_t *node, /* IN/OUT */
int flags /* IN */
)
@@ -160,7 +160,7 @@
* The following routine evaluates a symbolic link to the actual node.
*/
-int IMFS_evaluate_sym_link(
+static int IMFS_evaluate_sym_link(
rtems_filesystem_location_info_t *node, /* IN/OUT */
int flags /* IN */
)
diff -u rtems/cpukit/libfs/src/imfs/imfs_fifo.c:1.10 rtems/cpukit/libfs/src/imfs/imfs_fifo.c:1.11
--- rtems/cpukit/libfs/src/imfs/imfs_fifo.c:1.10 Sun Nov 6 06:44:22 2011
+++ rtems/cpukit/libfs/src/imfs/imfs_fifo.c Fri Dec 2 07:39:58 2011
@@ -32,7 +32,7 @@
return _err; \
} while (0)
-int IMFS_fifo_open(
+static int IMFS_fifo_open(
rtems_libio_t *iop,
const char *pathname,
uint32_t flag,
@@ -45,7 +45,7 @@
IMFS_FIFO_RETURN(err);
}
-int IMFS_fifo_close(
+static int IMFS_fifo_close(
rtems_libio_t *iop
)
{
@@ -60,7 +60,7 @@
IMFS_FIFO_RETURN(err);
}
-ssize_t IMFS_fifo_read(
+static ssize_t IMFS_fifo_read(
rtems_libio_t *iop,
void *buffer,
size_t count
@@ -75,7 +75,7 @@
IMFS_FIFO_RETURN(err);
}
-ssize_t IMFS_fifo_write(
+static ssize_t IMFS_fifo_write(
rtems_libio_t *iop,
const void *buffer,
size_t count
@@ -91,7 +91,7 @@
IMFS_FIFO_RETURN(err);
}
-int IMFS_fifo_ioctl(
+static int IMFS_fifo_ioctl(
rtems_libio_t *iop,
uint32_t command,
void *buffer
@@ -116,7 +116,7 @@
IMFS_FIFO_RETURN(err);
}
-off_t IMFS_fifo_lseek(
+static off_t IMFS_fifo_lseek(
rtems_libio_t *iop,
off_t offset,
int whence
*ralf*:
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/tasks.c: Make _RTEMS_tasks_Create_extension,
_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension,
_RTEMS_tasks_Switch_extension, _RTEMS_tasks_Post_switch_extension
static.
* score/src/scheduleredf.c: Make _Scheduler_EDF_RBTree_compare_function
static.
M 1.3007 cpukit/ChangeLog
M 1.64 cpukit/rtems/src/tasks.c
M 1.2 cpukit/score/src/scheduleredf.c
diff -u rtems/cpukit/ChangeLog:1.3006 rtems/cpukit/ChangeLog:1.3007
--- rtems/cpukit/ChangeLog:1.3006 Fri Dec 2 07:39:57 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 07:47:27 2011
@@ -1,5 +1,14 @@
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/src/tasks.c: Make _RTEMS_tasks_Create_extension,
+ _RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension,
+ _RTEMS_tasks_Switch_extension, _RTEMS_tasks_Post_switch_extension
+ static.
+ * score/src/scheduleredf.c: Make _Scheduler_EDF_RBTree_compare_function
+ static.
+
+2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libfs/src/imfs/imfs_eval.c: Make IMFS_evaluate_permission,
IMFS_evaluate_hard_link, IMFS_evaluate_sym_link static.
* libfs/src/imfs/imfs_fifo.c: Make IMFS_fifo_open,
diff -u rtems/cpukit/rtems/src/tasks.c:1.63 rtems/cpukit/rtems/src/tasks.c:1.64
--- rtems/cpukit/rtems/src/tasks.c:1.63 Sun Jul 24 18:55:12 2011
+++ rtems/cpukit/rtems/src/tasks.c Fri Dec 2 07:47:28 2011
@@ -42,7 +42,7 @@
* area.
*/
-bool _RTEMS_tasks_Create_extension(
+static bool _RTEMS_tasks_Create_extension(
Thread_Control *executing,
Thread_Control *created
)
@@ -86,7 +86,7 @@
* first time.
*/
-void _RTEMS_tasks_Start_extension(
+static void _RTEMS_tasks_Start_extension(
Thread_Control *executing,
Thread_Control *started
)
@@ -104,7 +104,7 @@
* This extension routine is invoked when a task is deleted.
*/
-void _RTEMS_tasks_Delete_extension(
+static void _RTEMS_tasks_Delete_extension(
Thread_Control *executing,
Thread_Control *deleted
)
@@ -137,7 +137,7 @@
* This extension routine is invoked at each context switch.
*/
-void _RTEMS_tasks_Switch_extension(
+static void _RTEMS_tasks_Switch_extension(
Thread_Control *executing,
Thread_Control *heir
)
@@ -169,7 +169,7 @@
* This extension routine is invoked at each context switch.
*/
-void _RTEMS_tasks_Post_switch_extension(
+static void _RTEMS_tasks_Post_switch_extension(
Thread_Control *executing
)
{
diff -u rtems/cpukit/score/src/scheduleredf.c:1.1 rtems/cpukit/score/src/scheduleredf.c:1.2
--- rtems/cpukit/score/src/scheduleredf.c:1.1 Sun Sep 11 15:52:36 2011
+++ rtems/cpukit/score/src/scheduleredf.c Fri Dec 2 07:47:28 2011
@@ -18,7 +18,7 @@
#include <rtems/score/scheduler.h>
#include <rtems/score/scheduleredf.h>
-int _Scheduler_EDF_RBTree_compare_function
+static int _Scheduler_EDF_RBTree_compare_function
(
RBTree_Node* n1,
RBTree_Node* n2
*ralf*:
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* score/src/rbtreeextract.c:
Make _RBTree_Extract_validate_unprotected static.
* score/src/rbtreeinsert.c:
Make _RBTree_Validate_insert_unprotected static.
M 1.3009 cpukit/ChangeLog
M 1.5 cpukit/score/src/rbtreeextract.c
M 1.5 cpukit/score/src/rbtreeinsert.c
diff -u rtems/cpukit/ChangeLog:1.3008 rtems/cpukit/ChangeLog:1.3009
--- rtems/cpukit/ChangeLog:1.3008 Fri Dec 2 10:42:41 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 10:46:49 2011
@@ -1,3 +1,10 @@
+2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * score/src/rbtreeextract.c:
+ Make _RBTree_Extract_validate_unprotected static.
+ * score/src/rbtreeinsert.c:
+ Make _RBTree_Validate_insert_unprotected static.
+
2011-12-02 Joel Sherrill <joel.sherrill at oarcorp.com>
* libcsupport/include/sys/termios.h: Add _POSIX_VDISABLE.
diff -u rtems/cpukit/score/src/rbtreeextract.c:1.4 rtems/cpukit/score/src/rbtreeextract.c:1.5
--- rtems/cpukit/score/src/rbtreeextract.c:1.4 Tue Aug 2 08:37:21 2011
+++ rtems/cpukit/score/src/rbtreeextract.c Fri Dec 2 10:46:49 2011
@@ -25,7 +25,7 @@
* @note It does NOT disable interrupts to ensure the atomicity
* of the extract operation.
*/
-void _RBTree_Extract_validate_unprotected(
+static void _RBTree_Extract_validate_unprotected(
RBTree_Node *the_node
)
{
diff -u rtems/cpukit/score/src/rbtreeinsert.c:1.4 rtems/cpukit/score/src/rbtreeinsert.c:1.5
--- rtems/cpukit/score/src/rbtreeinsert.c:1.4 Sun Aug 21 15:07:11 2011
+++ rtems/cpukit/score/src/rbtreeinsert.c Fri Dec 2 10:46:49 2011
@@ -25,7 +25,7 @@
* @note It does NOT disable interrupts to ensure the atomicity of the
* append operation.
*/
-void _RBTree_Validate_insert_unprotected(
+static void _RBTree_Validate_insert_unprotected(
RBTree_Node *the_node
)
{
*ralf*:
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-dev.c:
Remove duplicate prototype of rtems_deviceio_errno.
Include <rtems/devfs.h> for rtems_deviceio_errno().
M 1.3010 cpukit/ChangeLog
M 1.8 cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
diff -u rtems/cpukit/ChangeLog:1.3009 rtems/cpukit/ChangeLog:1.3010
--- rtems/cpukit/ChangeLog:1.3009 Fri Dec 2 10:46:49 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 11:25:30 2011
@@ -1,4 +1,10 @@
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libfs/src/rfs/rtems-rfs-rtems-dev.c:
+ Remove duplicate prototype of rtems_deviceio_errno.
+ Include <rtems/devfs.h> for rtems_deviceio_errno().
+
+2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* score/src/rbtreeextract.c:
Make _RBTree_Extract_validate_unprotected static.
diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c:1.7 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c:1.8
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c:1.7 Sun Nov 6 06:44:24 2011
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c Fri Dec 2 11:25:31 2011
@@ -23,13 +23,9 @@
#include "config.h"
#endif
+#include <rtems/devfs.h>
#include "rtems-rfs-rtems.h"
-/*
- * Convert RTEMS status to a UNIX errno
- */
-extern int rtems_deviceio_errno (rtems_status_code code);
-
/**
* This handler maps an open() operation onto rtems_io_open().
*
*ralf*:
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* libfs/src/imfs/deviceerrno.c:
Include <rtems/devfs.h> for missing prototypes.
M 1.3011 cpukit/ChangeLog
M 1.4 cpukit/libfs/src/imfs/deviceerrno.c
diff -u rtems/cpukit/ChangeLog:1.3010 rtems/cpukit/ChangeLog:1.3011
--- rtems/cpukit/ChangeLog:1.3010 Fri Dec 2 11:25:30 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 11:27:15 2011
@@ -1,5 +1,7 @@
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libfs/src/imfs/deviceerrno.c:
+ Include <rtems/devfs.h> for missing prototypes.
* libfs/src/rfs/rtems-rfs-rtems-dev.c:
Remove duplicate prototype of rtems_deviceio_errno.
Include <rtems/devfs.h> for rtems_deviceio_errno().
diff -u rtems/cpukit/libfs/src/imfs/deviceerrno.c:1.3 rtems/cpukit/libfs/src/imfs/deviceerrno.c:1.4
--- rtems/cpukit/libfs/src/imfs/deviceerrno.c:1.3 Mon Mar 14 11:24:00 2011
+++ rtems/cpukit/libfs/src/imfs/deviceerrno.c Fri Dec 2 11:27:16 2011
@@ -22,6 +22,7 @@
#include <rtems.h>
#include <rtems/libio.h>
+#include <rtems/devfs.h>
static const int status_code_to_errno [RTEMS_STATUS_CODES_LAST + 1] = {
[RTEMS_SUCCESSFUL] = 0,
*ralf*:
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/include/rtems/libcsupport.h:
Add prototype of malloc_info().
M 1.3012 cpukit/ChangeLog
M 1.29 cpukit/libcsupport/include/rtems/libcsupport.h
diff -u rtems/cpukit/ChangeLog:1.3011 rtems/cpukit/ChangeLog:1.3012
--- rtems/cpukit/ChangeLog:1.3011 Fri Dec 2 11:27:15 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 11:29:06 2011
@@ -1,5 +1,7 @@
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/include/rtems/libcsupport.h:
+ Add prototype of malloc_info().
* libfs/src/imfs/deviceerrno.c:
Include <rtems/devfs.h> for missing prototypes.
* libfs/src/rfs/rtems-rfs-rtems-dev.c:
diff -u rtems/cpukit/libcsupport/include/rtems/libcsupport.h:1.28 rtems/cpukit/libcsupport/include/rtems/libcsupport.h:1.29
--- rtems/cpukit/libcsupport/include/rtems/libcsupport.h:1.28 Fri Jun 24 12:52:55 2011
+++ rtems/cpukit/libcsupport/include/rtems/libcsupport.h Fri Dec 2 11:29:07 2011
@@ -45,6 +45,8 @@
extern size_t malloc_free_space(void);
extern void open_dev_console(void);
+extern int malloc_info(Heap_Information_block *the_info);
+
/*
* Prototypes required to install newlib reentrancy user extension
*/
*ralf*:
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/pthread.c (_POSIX_Threads_Default_attributes): Add
missing initializer.
* posix/src/pthread.c: Make
_POSIX_Threads_Create_extension,_POSIX_Threads_Delete_extension,
_POSIX_Threads_Exitted_extension,
_POSIX_Threads_Initialize_user_threads static.
M 1.3013 cpukit/ChangeLog
M 1.86 cpukit/posix/src/pthread.c
diff -u rtems/cpukit/ChangeLog:1.3012 rtems/cpukit/ChangeLog:1.3013
--- rtems/cpukit/ChangeLog:1.3012 Fri Dec 2 11:29:06 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 21:54:28 2011
@@ -1,3 +1,12 @@
+2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * posix/src/pthread.c (_POSIX_Threads_Default_attributes): Add
+ missing initializer.
+ * posix/src/pthread.c: Make
+ _POSIX_Threads_Create_extension,_POSIX_Threads_Delete_extension,
+ _POSIX_Threads_Exitted_extension,
+ _POSIX_Threads_Initialize_user_threads static.
+
2011-12-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/include/rtems/libcsupport.h:
diff -u rtems/cpukit/posix/src/pthread.c:1.85 rtems/cpukit/posix/src/pthread.c:1.86
--- rtems/cpukit/posix/src/pthread.c:1.85 Sun Jul 31 17:40:23 2011
+++ rtems/cpukit/posix/src/pthread.c Fri Dec 2 21:54:30 2011
@@ -52,7 +52,8 @@
defined(_POSIX_THREAD_SPORADIC_SERVER)
0, /* sched_ss_low_priority */
{ 0L, 0 }, /* sched_ss_repl_period */
- { 0L, 0 } /* sched_ss_init_budget */
+ { 0L, 0 }, /* sched_ss_init_budget */
+ 0 /* sched_ss_max_repl */
#endif
},
#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
@@ -163,7 +164,7 @@
* This method is invoked for each thread created.
*/
-bool _POSIX_Threads_Create_extension(
+static bool _POSIX_Threads_Create_extension(
Thread_Control *executing __attribute__((unused)),
Thread_Control *created
)
@@ -236,7 +237,7 @@
*
* This method is invoked for each thread deleted.
*/
-void _POSIX_Threads_Delete_extension(
+static void _POSIX_Threads_Delete_extension(
Thread_Control *executing __attribute__((unused)),
Thread_Control *deleted
)
@@ -278,7 +279,7 @@
*
* This method is invoked each time a thread exits.
*/
-void _POSIX_Threads_Exitted_extension(
+static void _POSIX_Threads_Exitted_extension(
Thread_Control *executing
)
{
@@ -296,7 +297,7 @@
* This routine creates and starts all configured user
* initialzation threads.
*/
-void _POSIX_Threads_Initialize_user_threads( void )
+static void _POSIX_Threads_Initialize_user_threads( void )
{
if ( _POSIX_Threads_Initialize_user_threads_p )
(*_POSIX_Threads_Initialize_user_threads_p)();
*ralf*:
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* libchip/display/disp_hcms29xx.c: Add missing initializer.
M 1.574 c/src/ChangeLog
M 1.11 c/src/libchip/display/disp_hcms29xx.c
diff -u rtems/c/src/ChangeLog:1.573 rtems/c/src/ChangeLog:1.574
--- rtems/c/src/ChangeLog:1.573 Wed Nov 9 14:51:01 2011
+++ rtems/c/src/ChangeLog Fri Dec 2 23:09:40 2011
@@ -1,3 +1,7 @@
+2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libchip/display/disp_hcms29xx.c: Add missing initializer.
+
2011-11-09 Jennifer Averett <jennifer.averett at oarcorp.com>
PR 1934/bsps
diff -u rtems/c/src/libchip/display/disp_hcms29xx.c:1.10 rtems/c/src/libchip/display/disp_hcms29xx.c:1.11
--- rtems/c/src/libchip/display/disp_hcms29xx.c:1.10 Thu Oct 20 10:35:40 2011
+++ rtems/c/src/libchip/display/disp_hcms29xx.c Fri Dec 2 23:09:40 2011
@@ -927,6 +927,15 @@
.size = sizeof (disp_hcms29xx_drv_t),
},
{ /* our private fields */
+ 0,
+ { 0 },
+ 0,
+ { 0 },
+ { 0 },
+ 0,
+ 0,
+ 0,
+ false
}
};
*ralf*:
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/getgid.c: Include <unistd.h>.
* libcsupport/src/setgid.c: Include <unistd.h>.
* libcsupport/src/getpgrp.c: Include <unistd.h>.
Remove unnecessary includes.
M 1.3014 cpukit/ChangeLog
M 1.4 cpukit/libcsupport/src/getgid.c
M 1.3 cpukit/libcsupport/src/getpgrp.c
M 1.2 cpukit/libcsupport/src/setgid.c
diff -u rtems/cpukit/ChangeLog:1.3013 rtems/cpukit/ChangeLog:1.3014
--- rtems/cpukit/ChangeLog:1.3013 Fri Dec 2 21:54:28 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 23:13:58 2011
@@ -1,5 +1,12 @@
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/getgid.c: Include <unistd.h>.
+ * libcsupport/src/setgid.c: Include <unistd.h>.
+ * libcsupport/src/getpgrp.c: Include <unistd.h>.
+ Remove unnecessary includes.
+
+2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* posix/src/pthread.c (_POSIX_Threads_Default_attributes): Add
missing initializer.
* posix/src/pthread.c: Make
diff -u rtems/cpukit/libcsupport/src/getgid.c:1.3 rtems/cpukit/libcsupport/src/getgid.c:1.4
--- rtems/cpukit/libcsupport/src/getgid.c:1.3 Tue Aug 3 10:46:52 2010
+++ rtems/cpukit/libcsupport/src/getgid.c Fri Dec 2 23:13:59 2011
@@ -6,6 +6,7 @@
#include "config.h"
#endif
+#include <unistd.h>
#include <rtems/userenv.h>
/*
diff -u rtems/cpukit/libcsupport/src/getpgrp.c:1.2 rtems/cpukit/libcsupport/src/getpgrp.c:1.3
--- rtems/cpukit/libcsupport/src/getpgrp.c:1.2 Sun Jul 24 18:55:06 2011
+++ rtems/cpukit/libcsupport/src/getpgrp.c Fri Dec 2 23:13:59 2011
@@ -6,14 +6,8 @@
#include "config.h"
#endif
-#include <limits.h>
-#include <errno.h>
-#include <string.h>
-#include <sys/types.h>
-
-#include <rtems/system.h>
+#include <unistd.h>
#include <rtems/score/object.h>
-#include <rtems/seterr.h>
/*
* 4.3.1 Get Process Group IDs, P1003.1b-1993, p. 89
diff -u rtems/cpukit/libcsupport/src/setgid.c:1.1 rtems/cpukit/libcsupport/src/setgid.c:1.2
--- rtems/cpukit/libcsupport/src/setgid.c:1.1 Tue Aug 3 10:46:52 2010
+++ rtems/cpukit/libcsupport/src/setgid.c Fri Dec 2 23:13:59 2011
@@ -6,6 +6,7 @@
#include "config.h"
#endif
+#include <unistd.h>
#include <rtems/userenv.h>
/*
*ralf*:
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* libchip/ide/ata.c: Make ata_interrupt_handler static.
* libchip/ide/ide_controller.c: Include libchip/ide_ctrl.h.
M 1.575 c/src/ChangeLog
M 1.43 c/src/libchip/ide/ata.c
M 1.15 c/src/libchip/ide/ide_controller.c
diff -u rtems/c/src/ChangeLog:1.574 rtems/c/src/ChangeLog:1.575
--- rtems/c/src/ChangeLog:1.574 Fri Dec 2 23:09:40 2011
+++ rtems/c/src/ChangeLog Fri Dec 2 23:16:57 2011
@@ -1,5 +1,7 @@
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libchip/ide/ata.c: Make ata_interrupt_handler static.
+ * libchip/ide/ide_controller.c: Include libchip/ide_ctrl.h.
* libchip/display/disp_hcms29xx.c: Add missing initializer.
2011-11-09 Jennifer Averett <jennifer.averett at oarcorp.com>
diff -u rtems/c/src/libchip/ide/ata.c:1.42 rtems/c/src/libchip/ide/ata.c:1.43
--- rtems/c/src/libchip/ide/ata.c:1.42 Mon Jan 17 17:46:55 2011
+++ rtems/c/src/libchip/ide/ata.c Fri Dec 2 23:16:57 2011
@@ -630,8 +630,7 @@
* NONE
*/
#if defined(CPU_SIMPLE_VECTORED_INTERRUPTS)
-rtems_isr
-ata_interrupt_handler(rtems_vector_number vec)
+static rtems_isr ata_interrupt_handler(rtems_vector_number vec)
{
rtems_chain_node *the_node = rtems_chain_first(&ata_int_vec[vec]);
ata_queue_msg_t msg;
@@ -654,7 +653,7 @@
}
}
#else
-void ata_interrupt_handler(rtems_irq_hdl_param handle)
+static void ata_interrupt_handler(rtems_irq_hdl_param handle)
{
int ata_irq_chain_index = (int) handle;
rtems_chain_node *the_node =
diff -u rtems/c/src/libchip/ide/ide_controller.c:1.14 rtems/c/src/libchip/ide/ide_controller.c:1.15
--- rtems/c/src/libchip/ide/ide_controller.c:1.14 Thu Mar 11 13:17:39 2010
+++ rtems/c/src/libchip/ide/ide_controller.c Fri Dec 2 23:16:57 2011
@@ -21,6 +21,7 @@
#include <errno.h>
#include <rtems/blkdev.h>
+#include <libchip/ide_ctrl.h>
#include <libchip/ide_ctrl_cfg.h>
#include <libchip/ide_ctrl_io.h>
*ralf*:
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/aio_misc.c: Make rtems_aio_move_to_work,
rtems_aio_insert_prio static.
M 1.3015 cpukit/ChangeLog
M 1.8 cpukit/posix/src/aio_misc.c
diff -u rtems/cpukit/ChangeLog:1.3014 rtems/cpukit/ChangeLog:1.3015
--- rtems/cpukit/ChangeLog:1.3014 Fri Dec 2 23:13:58 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 23:39:46 2011
@@ -1,5 +1,10 @@
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/aio_misc.c: Make rtems_aio_move_to_work,
+ rtems_aio_insert_prio static.
+
+2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libcsupport/src/getgid.c: Include <unistd.h>.
* libcsupport/src/setgid.c: Include <unistd.h>.
* libcsupport/src/getpgrp.c: Include <unistd.h>.
diff -u rtems/cpukit/posix/src/aio_misc.c:1.7 rtems/cpukit/posix/src/aio_misc.c:1.8
--- rtems/cpukit/posix/src/aio_misc.c:1.7 Mon Jan 17 16:12:48 2011
+++ rtems/cpukit/posix/src/aio_misc.c Fri Dec 2 23:39:47 2011
@@ -136,7 +136,7 @@
* NONE
*/
-void
+static void
rtems_aio_move_to_work (rtems_aio_request_chain *r_chain)
{
rtems_aio_request_chain *temp;
@@ -169,7 +169,7 @@
* NONE
*/
-void
+static void
rtems_aio_insert_prio (rtems_chain_control *chain, rtems_aio_request *req)
{
rtems_chain_node *node;
*ralf*:
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* score/inline/rtems/score/coremsg.inl (_CORE_message_queue_Send,
_CORE_message_queue_Urgent):
M 1.3016 cpukit/ChangeLog
M 1.29 cpukit/score/inline/rtems/score/coremsg.inl
diff -u rtems/cpukit/ChangeLog:1.3015 rtems/cpukit/ChangeLog:1.3016
--- rtems/cpukit/ChangeLog:1.3015 Fri Dec 2 23:39:46 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 23:43:18 2011
@@ -1,5 +1,8 @@
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * score/inline/rtems/score/coremsg.inl (_CORE_message_queue_Send,
+ _CORE_message_queue_Urgent):
+ Pass through api_message_queue_mp_support parameter.
* posix/src/aio_misc.c: Make rtems_aio_move_to_work,
rtems_aio_insert_prio static.
diff -u rtems/cpukit/score/inline/rtems/score/coremsg.inl:1.28 rtems/cpukit/score/inline/rtems/score/coremsg.inl:1.29
--- rtems/cpukit/score/inline/rtems/score/coremsg.inl:1.28 Sun Sep 13 17:11:41 2009
+++ rtems/cpukit/score/inline/rtems/score/coremsg.inl Fri Dec 2 23:43:19 2011
@@ -48,11 +48,7 @@
buffer,
size,
id,
-#if defined(RTEMS_MULTIPROCESSING)
api_message_queue_mp_support,
-#else
- NULL,
-#endif
CORE_MESSAGE_QUEUE_SEND_REQUEST,
wait, /* sender may block */
timeout /* timeout interval */
@@ -77,11 +73,7 @@
buffer,
size,
id,
-#if defined(RTEMS_MULTIPROCESSING)
api_message_queue_mp_support,
-#else
- NULL,
-#endif
CORE_MESSAGE_QUEUE_URGENT_REQUEST,
wait, /* sender may block */
timeout /* timeout interval */
*ralf*:
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/termios.c: Make FL_* defines unsigned.
M 1.3017 cpukit/ChangeLog
M 1.69 cpukit/libcsupport/src/termios.c
diff -u rtems/cpukit/ChangeLog:1.3016 rtems/cpukit/ChangeLog:1.3017
--- rtems/cpukit/ChangeLog:1.3016 Fri Dec 2 23:43:18 2011
+++ rtems/cpukit/ChangeLog Fri Dec 2 23:45:58 2011
@@ -1,5 +1,6 @@
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/termios.c: Make FL_* defines unsigned.
* score/inline/rtems/score/coremsg.inl (_CORE_message_queue_Send,
_CORE_message_queue_Urgent):
Pass through api_message_queue_mp_support parameter.
diff -u rtems/cpukit/libcsupport/src/termios.c:1.68 rtems/cpukit/libcsupport/src/termios.c:1.69
--- rtems/cpukit/libcsupport/src/termios.c:1.68 Tue Oct 18 09:37:47 2011
+++ rtems/cpukit/libcsupport/src/termios.c Fri Dec 2 23:45:58 2011
@@ -45,16 +45,16 @@
#define RAW_OUTPUT_BUFFER_SIZE (rtems_termios_raw_output_size)
/* fields for "flow_ctrl" status */
-#define FL_IREQXOF 1 /* input queue requests stop of incoming data */
-#define FL_ISNTXOF 2 /* XOFF has been sent to other side of line */
-#define FL_IRTSOFF 4 /* RTS has been turned off for other side.. */
-
-#define FL_ORCVXOF 0x10 /* XOFF has been received */
-#define FL_OSTOP 0x20 /* output has been stopped due to XOFF */
-
-#define FL_MDRTS 0x100 /* input controlled with RTS/CTS handshake */
-#define FL_MDXON 0x200 /* input controlled with XON/XOFF protocol */
-#define FL_MDXOF 0x400 /* output controlled with XON/XOFF protocol */
+#define FL_IREQXOF 1U /* input queue requests stop of incoming data */
+#define FL_ISNTXOF 2U /* XOFF has been sent to other side of line */
+#define FL_IRTSOFF 4U /* RTS has been turned off for other side.. */
+
+#define FL_ORCVXOF 0x10U /* XOFF has been received */
+#define FL_OSTOP 0x20U /* output has been stopped due to XOFF */
+
+#define FL_MDRTS 0x100U /* input controlled with RTS/CTS handshake */
+#define FL_MDXON 0x200U /* input controlled with XON/XOFF protocol */
+#define FL_MDXOF 0x400U /* output controlled with XON/XOFF protocol */
#define NODISC(n) \
{ NULL, NULL, NULL, NULL, \
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/shell_cmdset.c: Remove superflous casts.
M 1.3018 cpukit/ChangeLog
M 1.7 cpukit/libmisc/shell/shell_cmdset.c
diff -u rtems/cpukit/ChangeLog:1.3017 rtems/cpukit/ChangeLog:1.3018
--- rtems/cpukit/ChangeLog:1.3017 Fri Dec 2 23:45:58 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 02:53:24 2011
@@ -1,3 +1,7 @@
+2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libmisc/shell/shell_cmdset.c: Remove superflous casts.
+
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/termios.c: Make FL_* defines unsigned.
diff -u rtems/cpukit/libmisc/shell/shell_cmdset.c:1.6 rtems/cpukit/libmisc/shell/shell_cmdset.c:1.7
--- rtems/cpukit/libmisc/shell/shell_cmdset.c:1.6 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/shell_cmdset.c Sun Dec 4 02:53:25 2011
@@ -59,7 +59,7 @@
return shell_topic;
shell_topic=shell_topic->next;
}
- return (rtems_shell_topic_t *) NULL;
+ return NULL;
}
/*
@@ -71,7 +71,7 @@
if (!rtems_shell_first_topic) {
aux = malloc(sizeof(rtems_shell_topic_t));
aux->topic = topic;
- aux->next = (rtems_shell_topic_t*)NULL;
+ aux->next = NULL;
return rtems_shell_first_topic = aux;
}
current=rtems_shell_first_topic;
@@ -85,7 +85,7 @@
}
aux = malloc(sizeof(rtems_shell_topic_t));
aux->topic = topic;
- aux->next = (rtems_shell_topic_t*)NULL;
+ aux->next = NULL;
current->next = aux;
return aux;
}
@@ -100,7 +100,7 @@
if (!strcmp(shell_cmd->name,cmd)) return shell_cmd;
shell_cmd=shell_cmd->next;
};
- return (rtems_shell_cmd_t *) NULL;
+ return NULL;
}
/*
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/cat_file.c: #include <rtems/shell.h>.
* libmisc/shell/filemode.c: #include "internal.h".
* libmisc/shell/shell.h: Declare functions "extern".
M 1.3019 cpukit/ChangeLog
M 1.6 cpukit/libmisc/shell/cat_file.c
M 1.4 cpukit/libmisc/shell/filemode.c
M 1.30 cpukit/libmisc/shell/shell.h
diff -u rtems/cpukit/ChangeLog:1.3018 rtems/cpukit/ChangeLog:1.3019
--- rtems/cpukit/ChangeLog:1.3018 Sun Dec 4 02:53:24 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 03:39:42 2011
@@ -1,5 +1,8 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/cat_file.c: #include <rtems/shell.h>.
+ * libmisc/shell/filemode.c: #include "internal.h".
+ * libmisc/shell/shell.h: Declare functions "extern".
* libmisc/shell/shell_cmdset.c: Remove superflous casts.
2011-12-03 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/cpukit/libmisc/shell/cat_file.c:1.5 rtems/cpukit/libmisc/shell/cat_file.c:1.6
--- rtems/cpukit/libmisc/shell/cat_file.c:1.5 Thu Dec 18 09:25:27 2008
+++ rtems/cpukit/libmisc/shell/cat_file.c Sun Dec 4 03:39:43 2011
@@ -17,6 +17,7 @@
#endif
#include <stdio.h>
+#include <rtems/shell.h>
int rtems_shell_cat_file(FILE * out,const char * name) {
FILE * fd;
diff -u rtems/cpukit/libmisc/shell/filemode.c:1.3 rtems/cpukit/libmisc/shell/filemode.c:1.4
--- rtems/cpukit/libmisc/shell/filemode.c:1.3 Thu Aug 21 07:29:01 2008
+++ rtems/cpukit/libmisc/shell/filemode.c Sun Dec 4 03:39:43 2011
@@ -41,6 +41,8 @@
#include <sys/stat.h>
#include <string.h>
+#include "internal.h"
+
void
strmode(
mode_t mode,
diff -u rtems/cpukit/libmisc/shell/shell.h:1.29 rtems/cpukit/libmisc/shell/shell.h:1.30
--- rtems/cpukit/libmisc/shell/shell.h:1.29 Fri Sep 16 04:16:32 2011
+++ rtems/cpukit/libmisc/shell/shell.h Sun Dec 4 03:39:44 2011
@@ -60,14 +60,14 @@
const char * /* passphrase */
);
-bool rtems_shell_login_prompt(
+extern bool rtems_shell_login_prompt(
FILE *in,
FILE *out,
const char *device,
rtems_shell_login_check_t check
);
-bool rtems_shell_login_check(
+extern bool rtems_shell_login_check(
const char *user,
const char *passphrase
);
@@ -95,11 +95,11 @@
* The return value has RTEMS_SHELL_KEYS_EXTENDED set if the key
* is extended, ie a special key.
*/
-unsigned int rtems_shell_getchar(FILE *in);
+extern unsigned int rtems_shell_getchar(FILE *in);
-rtems_shell_cmd_t * rtems_shell_lookup_cmd(const char *cmd);
+extern rtems_shell_cmd_t * rtems_shell_lookup_cmd(const char *cmd);
-rtems_shell_cmd_t *rtems_shell_add_cmd_struct(
+extern rtems_shell_cmd_t *rtems_shell_add_cmd_struct(
rtems_shell_cmd_t *shell_cmd
);
@@ -110,29 +110,29 @@
rtems_shell_command_t command
);
-rtems_shell_cmd_t * rtems_shell_alias_cmd(
+extern rtems_shell_cmd_t * rtems_shell_alias_cmd(
const char *cmd,
const char *alias
);
-int rtems_shell_make_args(
+extern int rtems_shell_make_args(
char *commandLine,
int *argc_p,
char **argv_p,
int max_args
);
-int rtems_shell_cat_file(
+extern int rtems_shell_cat_file(
FILE *out,
const char *name
);
-void rtems_shell_write_file(
+extern void rtems_shell_write_file(
const char *name,
const char *content
);
-int rtems_shell_script_file(
+extern int rtems_shell_script_file(
int argc,
char **argv
);
@@ -149,7 +149,7 @@
* @param login_check User login check function, NULL disables login checks.
*
*/
-rtems_status_code rtems_shell_init(
+extern rtems_status_code rtems_shell_init(
const char *task_name,
size_t task_stacksize,
rtems_task_priority task_priority,
@@ -172,7 +172,7 @@
* Create if it does not exist.
* @param wait Wait for the script to finish.
*/
-rtems_status_code rtems_shell_script(
+extern rtems_status_code rtems_shell_script(
const char *task_name,
size_t task_stacksize, /* 0 default*/
rtems_task_priority task_priority,
@@ -250,7 +250,7 @@
* @note An application specific implementation can be provided
* by the user.
*/
-void rtems_shell_get_prompt(
+extern void rtems_shell_get_prompt(
rtems_shell_env_t *shell_env,
char *prompt,
size_t size
@@ -264,7 +264,7 @@
* @param[in] fs The file system definition.
* @param[in] options Special file system options.
*/
-int rtems_shell_libc_mounter(
+extern int rtems_shell_libc_mounter(
const char* driver,
const char* path,
rtems_shell_filesystems_t* fs,
@@ -276,14 +276,14 @@
*
* @param[in] fs The file system mount data.
*/
-void rtems_shell_mount_add_fsys(rtems_shell_filesystems_t* fs);
+extern void rtems_shell_mount_add_fsys(rtems_shell_filesystems_t* fs);
/**
* Delete file system mount configuration from the mount command.
*
* @param[in] fs The file system mount data to remove.
*/
-void rtems_shell_mount_del_fsys(rtems_shell_filesystems_t* fs);
+extern void rtems_shell_mount_del_fsys(rtems_shell_filesystems_t* fs);
typedef void (*rtems_shell_wait_for_input_notification)(
int fd,
@@ -298,7 +298,7 @@
* @retval RTEMS_TIMEOUT Timeout expired.
* @retval RTEMS_UNSATISFIED Cannot change or restore termios attributes.
*/
-rtems_status_code rtems_shell_wait_for_input(
+extern rtems_status_code rtems_shell_wait_for_input(
int fd,
int timeout_in_seconds,
rtems_shell_wait_for_input_notification notification,
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/internal.h: #include "shell.h".
Add various missing decls.
M 1.3020 cpukit/ChangeLog
M 1.8 cpukit/libmisc/shell/internal.h
diff -u rtems/cpukit/ChangeLog:1.3019 rtems/cpukit/ChangeLog:1.3020
--- rtems/cpukit/ChangeLog:1.3019 Sun Dec 4 03:39:42 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 03:42:29 2011
@@ -1,5 +1,7 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/internal.h: #include "shell.h".
+ Add various missing decls.
* libmisc/shell/cat_file.c: #include <rtems/shell.h>.
* libmisc/shell/filemode.c: #include "internal.h".
* libmisc/shell/shell.h: Declare functions "extern".
diff -u rtems/cpukit/libmisc/shell/internal.h:1.7 rtems/cpukit/libmisc/shell/internal.h:1.8
--- rtems/cpukit/libmisc/shell/internal.h:1.7 Thu Jun 11 20:53:33 2009
+++ rtems/cpukit/libmisc/shell/internal.h Sun Dec 4 03:42:29 2011
@@ -11,6 +11,8 @@
#ifndef _RTEMS_SHELL_INTERNAL_H
#define _RTEMS_SHELL_INTERNAL_H
+#include "shell.h"
+
struct rtems_shell_topic_tt;
typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
@@ -26,12 +28,24 @@
rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic);
-void rtems_shell_register_monitor_commands(void);
-void rtems_shell_initialize_command_set(void);
+extern void rtems_shell_register_monitor_commands(void);
+extern void rtems_shell_initialize_command_set(void);
-void rtems_shell_print_heap_info(
+extern void rtems_shell_print_heap_info(
const char *c,
Heap_Information *h
);
+
+extern int rtems_shell_main_mdump(int argc, char *argv[]);
+
+extern void rtems_shell_print_unified_work_area_message(void);
+
+extern int rtems_shell_main_rm(int argc, char *argv[]);
+extern int rtems_shell_main_cp(int argc, char *argv[]);
+
+#include <sys/types.h>
+
+extern void strmode(mode_t mode, char *p);
+
#endif
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/cmds.c:
Make rtems_shell_main_monitor static.
* libmisc/shell/main_alias.c:
Make rtems_shell_rtems_main_alias static.
* libmisc/shell/main_blksync.c:
Make rtems_shell_main_blksync static.
* libmisc/shell/main_cat.c:
Make rtems_shell_main_cat static.
* libmisc/shell/main_chdir.c:
Make rtems_shell_main_chdir static.
* libmisc/shell/main_chmod.c:
Make rtems_shell_main_chmod static.
* libmisc/shell/main_chroot.c:
Make rtems_shell_main_chroot static.
* libmisc/shell/main_cp.c:
Make rtems_shell_cp_exit, rtems_shell_main_cp static.
* libmisc/shell/main_cpuuse.c:
Make rtems_shell_main_cpuuse static.
* libmisc/shell/main_date.c:
Make rtems_shell_main_date static.
* libmisc/shell/main_dd.c:
Make rtems_shell_main_dd static.
* libmisc/shell/main_echo.c:
Make rtems_shell_main_echo static.
* libmisc/shell/main_getenv.c:
Make rtems_shell_main_getenv static.
* libmisc/shell/main_halt.c:
Make rtems_shell_main_halt static.
M 1.3021 cpukit/ChangeLog
M 1.27 cpukit/libmisc/shell/cmds.c
M 1.5 cpukit/libmisc/shell/main_alias.c
M 1.6 cpukit/libmisc/shell/main_blksync.c
M 1.5 cpukit/libmisc/shell/main_cat.c
M 1.5 cpukit/libmisc/shell/main_chdir.c
M 1.8 cpukit/libmisc/shell/main_chmod.c
M 1.5 cpukit/libmisc/shell/main_chroot.c
M 1.10 cpukit/libmisc/shell/main_cp.c
M 1.6 cpukit/libmisc/shell/main_cpuuse.c
M 1.8 cpukit/libmisc/shell/main_date.c
M 1.7 cpukit/libmisc/shell/main_dd.c
M 1.2 cpukit/libmisc/shell/main_echo.c
M 1.3 cpukit/libmisc/shell/main_getenv.c
M 1.3 cpukit/libmisc/shell/main_halt.c
diff -u rtems/cpukit/ChangeLog:1.3020 rtems/cpukit/ChangeLog:1.3021
--- rtems/cpukit/ChangeLog:1.3020 Sun Dec 4 03:42:29 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 03:51:47 2011
@@ -1,5 +1,33 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/cmds.c:
+ Make rtems_shell_main_monitor static.
+ * libmisc/shell/main_alias.c:
+ Make rtems_shell_rtems_main_alias static.
+ * libmisc/shell/main_blksync.c:
+ Make rtems_shell_main_blksync static.
+ * libmisc/shell/main_cat.c:
+ Make rtems_shell_main_cat static.
+ * libmisc/shell/main_chdir.c:
+ Make rtems_shell_main_chdir static.
+ * libmisc/shell/main_chmod.c:
+ Make rtems_shell_main_chmod static.
+ * libmisc/shell/main_chroot.c:
+ Make rtems_shell_main_chroot static.
+ * libmisc/shell/main_cp.c:
+ Make rtems_shell_cp_exit, rtems_shell_main_cp static.
+ * libmisc/shell/main_cpuuse.c:
+ Make rtems_shell_main_cpuuse static.
+ * libmisc/shell/main_date.c:
+ Make rtems_shell_main_date static.
+ * libmisc/shell/main_dd.c:
+ Make rtems_shell_main_dd static.
+ * libmisc/shell/main_echo.c:
+ Make rtems_shell_main_echo static.
+ * libmisc/shell/main_getenv.c:
+ Make rtems_shell_main_getenv static.
+ * libmisc/shell/main_halt.c:
+ Make rtems_shell_main_halt static.
* libmisc/shell/internal.h: #include "shell.h".
Add various missing decls.
* libmisc/shell/cat_file.c: #include <rtems/shell.h>.
diff -u rtems/cpukit/libmisc/shell/cmds.c:1.26 rtems/cpukit/libmisc/shell/cmds.c:1.27
--- rtems/cpukit/libmisc/shell/cmds.c:1.26 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/cmds.c Sun Dec 4 03:51:47 2011
@@ -29,7 +29,7 @@
* with this you can call at all the rtems monitor commands.
* Not all work fine but you can show the rtems status and more.
*-----------------------------------------------------------*/
-int rtems_shell_main_monitor(int argc, char **argv) {
+static int rtems_shell_main_monitor(int argc, char **argv) {
const rtems_monitor_command_entry_t *command = NULL;
if (argc < 1) {
diff -u rtems/cpukit/libmisc/shell/main_alias.c:1.4 rtems/cpukit/libmisc/shell/main_alias.c:1.5
--- rtems/cpukit/libmisc/shell/main_alias.c:1.4 Wed Feb 27 15:52:16 2008
+++ rtems/cpukit/libmisc/shell/main_alias.c Sun Dec 4 03:51:47 2011
@@ -22,7 +22,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_rtems_main_alias(int argc, char **argv)
+static int rtems_shell_rtems_main_alias(int argc, char **argv)
{
if (argc<3) {
fprintf(stderr,"too few arguments\n");
diff -u rtems/cpukit/libmisc/shell/main_blksync.c:1.5 rtems/cpukit/libmisc/shell/main_blksync.c:1.6
--- rtems/cpukit/libmisc/shell/main_blksync.c:1.5 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_blksync.c Sun Dec 4 03:51:48 2011
@@ -28,7 +28,7 @@
#include <rtems/blkdev.h>
#include "internal.h"
-int rtems_shell_main_blksync(
+static int rtems_shell_main_blksync(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_cat.c:1.4 rtems/cpukit/libmisc/shell/main_cat.c:1.5
--- rtems/cpukit/libmisc/shell/main_cat.c:1.4 Wed Feb 27 15:52:16 2008
+++ rtems/cpukit/libmisc/shell/main_cat.c Sun Dec 4 03:51:48 2011
@@ -35,7 +35,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_cat(int argc, char *argv[])
+static int rtems_shell_main_cat(int argc, char *argv[])
{
int n;
int sc;
diff -u rtems/cpukit/libmisc/shell/main_chdir.c:1.4 rtems/cpukit/libmisc/shell/main_chdir.c:1.5
--- rtems/cpukit/libmisc/shell/main_chdir.c:1.4 Wed Feb 27 15:52:16 2008
+++ rtems/cpukit/libmisc/shell/main_chdir.c Sun Dec 4 03:51:48 2011
@@ -25,7 +25,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_chdir(
+static int rtems_shell_main_chdir(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_chmod.c:1.7 rtems/cpukit/libmisc/shell/main_chmod.c:1.8
--- rtems/cpukit/libmisc/shell/main_chmod.c:1.7 Thu Jul 23 09:32:34 2009
+++ rtems/cpukit/libmisc/shell/main_chmod.c Sun Dec 4 03:51:48 2011
@@ -28,7 +28,7 @@
#include <rtems/stringto.h>
#include "internal.h"
-int rtems_shell_main_chmod(
+static int rtems_shell_main_chmod(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_chroot.c:1.4 rtems/cpukit/libmisc/shell/main_chroot.c:1.5
--- rtems/cpukit/libmisc/shell/main_chroot.c:1.4 Wed Feb 27 15:52:16 2008
+++ rtems/cpukit/libmisc/shell/main_chroot.c Sun Dec 4 03:51:48 2011
@@ -25,7 +25,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_chroot(
+static int rtems_shell_main_chroot(
int argc,
char * argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_cp.c:1.9 rtems/cpukit/libmisc/shell/main_cp.c:1.10
--- rtems/cpukit/libmisc/shell/main_cp.c:1.9 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_cp.c Sun Dec 4 03:51:48 2011
@@ -102,13 +102,13 @@
static int copy(rtems_shell_cp_globals* cp_globals, char *[], enum op, int);
static int mastercmp(const FTSENT **, const FTSENT **);
-void
+static void
rtems_shell_cp_exit (rtems_shell_cp_globals* cp_global, int code __attribute__((unused)))
{
longjmp (cp_global->exit_jmp, 1);
}
-int
+static int
rtems_shell_main_cp(int argc, char *argv[])
{
rtems_shell_cp_globals cp_globals;
diff -u rtems/cpukit/libmisc/shell/main_cpuuse.c:1.5 rtems/cpukit/libmisc/shell/main_cpuuse.c:1.6
--- rtems/cpukit/libmisc/shell/main_cpuuse.c:1.5 Tue Mar 4 20:49:35 2008
+++ rtems/cpukit/libmisc/shell/main_cpuuse.c Sun Dec 4 03:51:48 2011
@@ -22,7 +22,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_cpuuse(
+static int rtems_shell_main_cpuuse(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_date.c:1.7 rtems/cpukit/libmisc/shell/main_date.c:1.8
--- rtems/cpukit/libmisc/shell/main_date.c:1.7 Fri Aug 27 13:04:28 2010
+++ rtems/cpukit/libmisc/shell/main_date.c Sun Dec 4 03:51:48 2011
@@ -27,7 +27,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_date(
+static int rtems_shell_main_date(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_dd.c:1.6 rtems/cpukit/libmisc/shell/main_dd.c:1.7
--- rtems/cpukit/libmisc/shell/main_dd.c:1.6 Thu Mar 24 04:38:01 2011
+++ rtems/cpukit/libmisc/shell/main_dd.c Sun Dec 4 03:51:48 2011
@@ -111,7 +111,7 @@
static int main_dd(rtems_shell_dd_globals* globals, int argc, char *argv[]);
-int
+static int
rtems_shell_main_dd(int argc, char *argv[])
{
rtems_shell_dd_globals dd_globals;
diff -u rtems/cpukit/libmisc/shell/main_echo.c:1.1 rtems/cpukit/libmisc/shell/main_echo.c:1.2
--- rtems/cpukit/libmisc/shell/main_echo.c:1.1 Tue Mar 4 20:49:35 2008
+++ rtems/cpukit/libmisc/shell/main_echo.c Sun Dec 4 03:51:48 2011
@@ -70,7 +70,7 @@
-int rtems_shell_main_echo(
+static int rtems_shell_main_echo(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_getenv.c:1.2 rtems/cpukit/libmisc/shell/main_getenv.c:1.3
--- rtems/cpukit/libmisc/shell/main_getenv.c:1.2 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_getenv.c Sun Dec 4 03:51:48 2011
@@ -16,7 +16,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_getenv(int argc, char *argv[])
+static int rtems_shell_main_getenv(int argc, char *argv[])
{
char* string;
diff -u rtems/cpukit/libmisc/shell/main_halt.c:1.2 rtems/cpukit/libmisc/shell/main_halt.c:1.3
--- rtems/cpukit/libmisc/shell/main_halt.c:1.2 Tue Apr 14 08:41:33 2009
+++ rtems/cpukit/libmisc/shell/main_halt.c Sun Dec 4 03:51:48 2011
@@ -21,7 +21,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_halt(
+static int rtems_shell_main_halt(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
*ralf*:
* libmisc/shell/main_help.c: Make rtems_shell_help_cmd,
rtems_shell_help static.
* libmisc/shell/main_hexdump.c: Make main_hexdump static.
* libmisc/shell/main_id.c: Make rtems_shell_main_id static.
* libmisc/shell/main_ifconfig.c: Make rtems_shell_main_ifconfig static.
* libmisc/shell/main_ln.c: Make rtems_shell_main_ln static.
* libmisc/shell/main_logoff.c: Make rtems_shell_main_logoff static.
* libmisc/shell/main_ls.c: Make rtems_shell_main_ls static.
* libmisc/shell/main_mallocinfo.c: Include <rtems/libcsupport.h>.
Remove private decls of malloc_info,
rtems_shell_print_unified_work_area_message.
Make rtems_shell_main_malloc_info static.
* libmisc/shell/main_medit.c: Remove private decl of
rtems_shell_main_mdump.
Make rtems_shell_main_medit static.
* libmisc/shell/main_mfill.c: Make rtems_shell_main_mfill static.
* libmisc/shell/main_mkdir.c: Make rtems_shell_main_mkdir static.
* libmisc/shell/main_mknod.c: Make rtems_shell_main_mknod static.
* libmisc/shell/main_mmove.c: Remove private decl of
rtems_shell_main_mdump.
Make rtems_shell_main_mmove static.
* libmisc/shell/main_mount.c: Make rtems_shell_main_mount static.
* libmisc/shell/main_msdosfmt.c: Make rtems_shell_main_msdos_format
static.
* libmisc/shell/main_mv.c: Include "internal.h".
Make rtems_shell_mv_exit, rtems_shell_main_mv static.
Remove private decls of strmode rtems_shell_main_cp,
rtems_shell_main_rm.
* libmisc/shell/main_mwdump.c: Make rtems_shell_main_mwdump static.
* libmisc/shell/main_netstats.c: Make rtems_shell_main_netstats
static.
* libmisc/shell/main_perioduse.c: Make rtems_shell_main_perioduse
static.
* libmisc/shell/main_pwd.c: Make rtems_shell_main_pwd static.
* libmisc/shell/main_rm.c: Include "internal.h".
Make rtems_shell_rm_exit static.
Remove private decl of strmode.
* libmisc/shell/main_rmdir.c: Make rtems_shell_main_rmdir static.
libmisc/shell/main_route.c: Make rtems_shell_main_route static.
* libmisc/shell/main_setenv.c: Make rtems_shell_main_setenv static.
* libmisc/shell/main_sleep.c: Make rtems_shell_main_sleep static.
* libmisc/shell/main_stackuse.c: Make rtems_shell_main_stackuse static.
* libmisc/shell/main_time.c: Make rtems_shell_main_time static.
* libmisc/shell/main_tty.c: Make rtems_shell_main_tty static.
* libmisc/shell/main_umask.c: Make rtems_shell_main_umask static.
* libmisc/shell/main_unmount.c: Make rtems_shell_main_unmount
static.
* libmisc/shell/main_unsetenv.c: Make rtems_shell_main_unsetenv
static.
* libmisc/shell/main_whoami.c: Make rtems_shell_main_whoami static.
* libmisc/shell/main_wkspaceinfo.c: Make
rtems_shell_main_wkspace_info static.
M 1.3022 cpukit/ChangeLog
M 1.7 cpukit/libmisc/shell/main_help.c
M 1.6 cpukit/libmisc/shell/main_hexdump.c
M 1.6 cpukit/libmisc/shell/main_id.c
M 1.6 cpukit/libmisc/shell/main_ifconfig.c
M 1.4 cpukit/libmisc/shell/main_ln.c
M 1.7 cpukit/libmisc/shell/main_logoff.c
M 1.13 cpukit/libmisc/shell/main_ls.c
M 1.8 cpukit/libmisc/shell/main_mallocinfo.c
M 1.7 cpukit/libmisc/shell/main_medit.c
M 1.7 cpukit/libmisc/shell/main_mfill.c
M 1.5 cpukit/libmisc/shell/main_mkdir.c
M 1.4 cpukit/libmisc/shell/main_mknod.c
M 1.7 cpukit/libmisc/shell/main_mmove.c
M 1.11 cpukit/libmisc/shell/main_mount.c
M 1.14 cpukit/libmisc/shell/main_msdosfmt.c
M 1.5 cpukit/libmisc/shell/main_mv.c
M 1.10 cpukit/libmisc/shell/main_mwdump.c
M 1.8 cpukit/libmisc/shell/main_netstats.c
M 1.4 cpukit/libmisc/shell/main_perioduse.c
M 1.6 cpukit/libmisc/shell/main_pwd.c
M 1.13 cpukit/libmisc/shell/main_rm.c
M 1.5 cpukit/libmisc/shell/main_rmdir.c
M 1.3 cpukit/libmisc/shell/main_route.c
M 1.6 cpukit/libmisc/shell/main_setenv.c
M 1.4 cpukit/libmisc/shell/main_sleep.c
M 1.7 cpukit/libmisc/shell/main_stackuse.c
M 1.4 cpukit/libmisc/shell/main_time.c
M 1.7 cpukit/libmisc/shell/main_tty.c
M 1.8 cpukit/libmisc/shell/main_umask.c
M 1.5 cpukit/libmisc/shell/main_unmount.c
M 1.3 cpukit/libmisc/shell/main_unsetenv.c
M 1.7 cpukit/libmisc/shell/main_whoami.c
M 1.9 cpukit/libmisc/shell/main_wkspaceinfo.c
diff -u rtems/cpukit/ChangeLog:1.3021 rtems/cpukit/ChangeLog:1.3022
--- rtems/cpukit/ChangeLog:1.3021 Sun Dec 4 03:51:47 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 04:22:29 2011
@@ -1,5 +1,60 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/main_help.c: Make rtems_shell_help_cmd,
+ rtems_shell_help static.
+ * libmisc/shell/main_hexdump.c: Make main_hexdump static.
+ * libmisc/shell/main_id.c: Make rtems_shell_main_id static.
+ * libmisc/shell/main_ifconfig.c: Make rtems_shell_main_ifconfig static.
+ * libmisc/shell/main_ln.c: Make rtems_shell_main_ln static.
+ * libmisc/shell/main_logoff.c: Make rtems_shell_main_logoff static.
+ * libmisc/shell/main_ls.c: Make rtems_shell_main_ls static.
+ * libmisc/shell/main_mallocinfo.c: Include <rtems/libcsupport.h>.
+ Remove private decls of malloc_info,
+ rtems_shell_print_unified_work_area_message.
+ Make rtems_shell_main_malloc_info static.
+ * libmisc/shell/main_medit.c: Remove private decl of
+ rtems_shell_main_mdump.
+ Make rtems_shell_main_medit static.
+ * libmisc/shell/main_mfill.c: Make rtems_shell_main_mfill static.
+ * libmisc/shell/main_mkdir.c: Make rtems_shell_main_mkdir static.
+ * libmisc/shell/main_mknod.c: Make rtems_shell_main_mknod static.
+ * libmisc/shell/main_mmove.c: Remove private decl of
+ rtems_shell_main_mdump.
+ Make rtems_shell_main_mmove static.
+ * libmisc/shell/main_mount.c: Make rtems_shell_main_mount static.
+ * libmisc/shell/main_msdosfmt.c: Make rtems_shell_main_msdos_format
+ static.
+ * libmisc/shell/main_mv.c: Include "internal.h".
+ Make rtems_shell_mv_exit, rtems_shell_main_mv static.
+ Remove private decls of strmode rtems_shell_main_cp,
+ rtems_shell_main_rm.
+ * libmisc/shell/main_mwdump.c: Make rtems_shell_main_mwdump static.
+ * libmisc/shell/main_netstats.c: Make rtems_shell_main_netstats
+ static.
+ * libmisc/shell/main_perioduse.c: Make rtems_shell_main_perioduse
+ static.
+ * libmisc/shell/main_pwd.c: Make rtems_shell_main_pwd static.
+ * libmisc/shell/main_rm.c: Include "internal.h".
+ Make rtems_shell_rm_exit static.
+ Remove private decl of strmode.
+ * libmisc/shell/main_rmdir.c: Make rtems_shell_main_rmdir static.
+ libmisc/shell/main_route.c: Make rtems_shell_main_route static.
+ * libmisc/shell/main_setenv.c: Make rtems_shell_main_setenv static.
+ * libmisc/shell/main_sleep.c: Make rtems_shell_main_sleep static.
+ * libmisc/shell/main_stackuse.c: Make rtems_shell_main_stackuse static.
+ * libmisc/shell/main_time.c: Make rtems_shell_main_time static.
+ * libmisc/shell/main_tty.c: Make rtems_shell_main_tty static.
+ * libmisc/shell/main_umask.c: Make rtems_shell_main_umask static.
+ * libmisc/shell/main_unmount.c: Make rtems_shell_main_unmount
+ static.
+ * libmisc/shell/main_unsetenv.c: Make rtems_shell_main_unsetenv
+ static.
+ * libmisc/shell/main_whoami.c: Make rtems_shell_main_whoami static.
+ * libmisc/shell/main_wkspaceinfo.c: Make
+ rtems_shell_main_wkspace_info static.
+
+2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libmisc/shell/cmds.c:
Make rtems_shell_main_monitor static.
* libmisc/shell/main_alias.c:
diff -u rtems/cpukit/libmisc/shell/main_help.c:1.6 rtems/cpukit/libmisc/shell/main_help.c:1.7
--- rtems/cpukit/libmisc/shell/main_help.c:1.6 Wed Jul 22 13:18:41 2009
+++ rtems/cpukit/libmisc/shell/main_help.c Sun Dec 4 04:22:29 2011
@@ -27,7 +27,7 @@
/*
* show the help for one command.
*/
-int rtems_shell_help_cmd(
+static int rtems_shell_help_cmd(
rtems_shell_cmd_t *shell_cmd
)
{
@@ -76,7 +76,7 @@
* Can you see the header of routine? Known?
* The same with all the commands....
*/
-int rtems_shell_help(
+static int rtems_shell_help(
int argc,
char * argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_hexdump.c:1.5 rtems/cpukit/libmisc/shell/main_hexdump.c:1.6
--- rtems/cpukit/libmisc/shell/main_hexdump.c:1.5 Tue Feb 1 22:21:25 2011
+++ rtems/cpukit/libmisc/shell/main_hexdump.c Sun Dec 4 04:22:29 2011
@@ -79,7 +79,7 @@
static int main_hexdump(rtems_shell_hexdump_globals* globals, int argc, char *argv[]);
-int
+static int
rtems_shell_main_hexdump(int argc, char *argv[])
{
rtems_shell_hexdump_globals hexdump_globals;
diff -u rtems/cpukit/libmisc/shell/main_id.c:1.5 rtems/cpukit/libmisc/shell/main_id.c:1.6
--- rtems/cpukit/libmisc/shell/main_id.c:1.5 Fri Jan 2 07:01:21 2009
+++ rtems/cpukit/libmisc/shell/main_id.c Sun Dec 4 04:22:29 2011
@@ -28,7 +28,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_id(
+static int rtems_shell_main_id(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
diff -u rtems/cpukit/libmisc/shell/main_ifconfig.c:1.5 rtems/cpukit/libmisc/shell/main_ifconfig.c:1.6
--- rtems/cpukit/libmisc/shell/main_ifconfig.c:1.5 Fri Mar 12 10:26:15 2010
+++ rtems/cpukit/libmisc/shell/main_ifconfig.c Sun Dec 4 04:22:29 2011
@@ -29,7 +29,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_ifconfig(
+static int rtems_shell_main_ifconfig(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_ln.c:1.3 rtems/cpukit/libmisc/shell/main_ln.c:1.4
--- rtems/cpukit/libmisc/shell/main_ln.c:1.3 Fri Mar 26 12:18:43 2010
+++ rtems/cpukit/libmisc/shell/main_ln.c Sun Dec 4 04:22:29 2011
@@ -102,8 +102,7 @@
static int main_ln(rtems_shell_ln_globals* globals, int argc, char *argv[]);
-int
-rtems_shell_main_ln(int argc, char *argv[])
+static int rtems_shell_main_ln(int argc, char *argv[])
{
rtems_shell_ln_globals ln_globals;
rtems_shell_ln_globals* globals = &ln_globals;
diff -u rtems/cpukit/libmisc/shell/main_logoff.c:1.6 rtems/cpukit/libmisc/shell/main_logoff.c:1.7
--- rtems/cpukit/libmisc/shell/main_logoff.c:1.6 Fri Jan 2 07:01:21 2009
+++ rtems/cpukit/libmisc/shell/main_logoff.c Sun Dec 4 04:22:29 2011
@@ -22,7 +22,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_logoff(
+static int rtems_shell_main_logoff(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
diff -u rtems/cpukit/libmisc/shell/main_ls.c:1.12 rtems/cpukit/libmisc/shell/main_ls.c:1.13
--- rtems/cpukit/libmisc/shell/main_ls.c:1.12 Mon Oct 17 07:57:11 2011
+++ rtems/cpukit/libmisc/shell/main_ls.c Sun Dec 4 04:22:50 2011
@@ -132,8 +132,7 @@
static int main_ls(rtems_shell_ls_globals* globals, int argc, char *argv[]);
-int
-rtems_shell_main_ls(int argc, char *argv[])
+static int rtems_shell_main_ls(int argc, char *argv[])
{
rtems_shell_ls_globals ls_globals;
rtems_shell_ls_globals* globals = &ls_globals;
diff -u rtems/cpukit/libmisc/shell/main_mallocinfo.c:1.7 rtems/cpukit/libmisc/shell/main_mallocinfo.c:1.8
--- rtems/cpukit/libmisc/shell/main_mallocinfo.c:1.7 Fri Sep 19 11:15:21 2008
+++ rtems/cpukit/libmisc/shell/main_mallocinfo.c Sun Dec 4 04:22:50 2011
@@ -19,13 +19,12 @@
#include <rtems.h>
#include <rtems/malloc.h>
+#include <rtems/libcsupport.h>
#include <rtems/shell.h>
-#include "internal.h"
-extern int malloc_info( region_information_block * );
-extern void rtems_shell_print_unified_work_area_message(void);
+#include "internal.h"
-int rtems_shell_main_malloc_info(
+static int rtems_shell_main_malloc_info(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_medit.c:1.6 rtems/cpukit/libmisc/shell/main_medit.c:1.7
--- rtems/cpukit/libmisc/shell/main_medit.c:1.6 Thu Jul 23 09:32:34 2009
+++ rtems/cpukit/libmisc/shell/main_medit.c Sun Dec 4 04:22:50 2011
@@ -25,9 +25,7 @@
#include <rtems/stringto.h>
#include "internal.h"
-extern int rtems_shell_main_mdump(int, char *);
-
-int rtems_shell_main_medit(
+static int rtems_shell_main_medit(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_mfill.c:1.6 rtems/cpukit/libmisc/shell/main_mfill.c:1.7
--- rtems/cpukit/libmisc/shell/main_mfill.c:1.6 Thu Jul 23 09:32:34 2009
+++ rtems/cpukit/libmisc/shell/main_mfill.c Sun Dec 4 04:22:50 2011
@@ -25,7 +25,7 @@
#include <rtems/stringto.h>
#include "internal.h"
-int rtems_shell_main_mfill(
+static int rtems_shell_main_mfill(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_mkdir.c:1.4 rtems/cpukit/libmisc/shell/main_mkdir.c:1.5
--- rtems/cpukit/libmisc/shell/main_mkdir.c:1.4 Wed Feb 27 15:52:16 2008
+++ rtems/cpukit/libmisc/shell/main_mkdir.c Sun Dec 4 04:22:50 2011
@@ -27,7 +27,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_mkdir(
+static int rtems_shell_main_mkdir(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_mknod.c:1.3 rtems/cpukit/libmisc/shell/main_mknod.c:1.4
--- rtems/cpukit/libmisc/shell/main_mknod.c:1.3 Fri Mar 26 12:18:43 2010
+++ rtems/cpukit/libmisc/shell/main_mknod.c Sun Dec 4 04:22:50 2011
@@ -100,7 +100,7 @@
#include "mknod-pack_dev.c"
-int
+static int
rtems_shell_main_mknod(int argc, char *argv[])
{
rtems_shell_mknod_globals mknod_globals;
diff -u rtems/cpukit/libmisc/shell/main_mmove.c:1.6 rtems/cpukit/libmisc/shell/main_mmove.c:1.7
--- rtems/cpukit/libmisc/shell/main_mmove.c:1.6 Thu Jul 23 09:32:34 2009
+++ rtems/cpukit/libmisc/shell/main_mmove.c Sun Dec 4 04:22:50 2011
@@ -25,9 +25,7 @@
#include <rtems/stringto.h>
#include "internal.h"
-extern int rtems_shell_main_mdump(int, char *);
-
-int rtems_shell_main_mmove(
+static int rtems_shell_main_mmove(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_mount.c:1.10 rtems/cpukit/libmisc/shell/main_mount.c:1.11
--- rtems/cpukit/libmisc/shell/main_mount.c:1.10 Thu Jul 1 08:05:18 2010
+++ rtems/cpukit/libmisc/shell/main_mount.c Sun Dec 4 04:22:50 2011
@@ -34,7 +34,7 @@
return false;
}
-int rtems_shell_main_mount(
+static int rtems_shell_main_mount(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.13 rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.14
--- rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.13 Thu Jul 7 17:15:00 2011
+++ rtems/cpukit/libmisc/shell/main_msdosfmt.c Sun Dec 4 04:22:29 2011
@@ -24,7 +24,7 @@
#include <rtems/fsmount.h>
#include "internal.h"
-int rtems_shell_main_msdos_format(
+static int rtems_shell_main_msdos_format(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_mv.c:1.4 rtems/cpukit/libmisc/shell/main_mv.c:1.5
--- rtems/cpukit/libmisc/shell/main_mv.c:1.4 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_mv.c Sun Dec 4 04:22:50 2011
@@ -74,6 +74,8 @@
#include <string.h>
#include <unistd.h>
+#include "internal.h"
+
#include "pathnames-mv.h"
/* RTEMS specific changes */
@@ -100,23 +102,17 @@
#define exit(ec) rtems_shell_mv_exit(globals, ec)
-void
+static void
rtems_shell_mv_exit (rtems_shell_mv_globals* globals, int code)
{
globals->exit_code = code;
longjmp (globals->exit_jmp, 1);
}
-void strmode(mode_t mode, char *p);
const char *user_from_uid(uid_t uid, int nouser);
char *group_from_gid(gid_t gid, int nogroup);
-static int main_mv(rtems_shell_mv_globals* globals, int argc, char *argv[]);
-
-int rtems_shell_main_cp(int argc, char *argv[]);
-int rtems_shell_main_rm(int argc, char *argv[]);
-
-int
+static int
rtems_shell_main_mv(int argc, char *argv[])
{
rtems_shell_mv_globals mv_globals;
diff -u rtems/cpukit/libmisc/shell/main_mwdump.c:1.9 rtems/cpukit/libmisc/shell/main_mwdump.c:1.10
--- rtems/cpukit/libmisc/shell/main_mwdump.c:1.9 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_mwdump.c Sun Dec 4 04:22:50 2011
@@ -26,7 +26,7 @@
#include <rtems/stringto.h>
#include "internal.h"
-int rtems_shell_main_mwdump(
+static int rtems_shell_main_mwdump(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_netstats.c:1.7 rtems/cpukit/libmisc/shell/main_netstats.c:1.8
--- rtems/cpukit/libmisc/shell/main_netstats.c:1.7 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_netstats.c Sun Dec 4 04:22:50 2011
@@ -39,7 +39,7 @@
);
}
-int rtems_shell_main_netstats( /* command */
+static int rtems_shell_main_netstats( /* command */
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_perioduse.c:1.3 rtems/cpukit/libmisc/shell/main_perioduse.c:1.4
--- rtems/cpukit/libmisc/shell/main_perioduse.c:1.3 Tue Mar 4 20:49:35 2008
+++ rtems/cpukit/libmisc/shell/main_perioduse.c Sun Dec 4 04:22:50 2011
@@ -21,7 +21,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_perioduse(
+static int rtems_shell_main_perioduse(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_pwd.c:1.5 rtems/cpukit/libmisc/shell/main_pwd.c:1.6
--- rtems/cpukit/libmisc/shell/main_pwd.c:1.5 Fri Jan 2 07:01:21 2009
+++ rtems/cpukit/libmisc/shell/main_pwd.c Sun Dec 4 04:22:50 2011
@@ -23,7 +23,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_pwd(
+static int rtems_shell_main_pwd(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
diff -u rtems/cpukit/libmisc/shell/main_rm.c:1.12 rtems/cpukit/libmisc/shell/main_rm.c:1.13
--- rtems/cpukit/libmisc/shell/main_rm.c:1.12 Tue Feb 1 22:21:26 2011
+++ rtems/cpukit/libmisc/shell/main_rm.c Sun Dec 4 04:22:50 2011
@@ -67,6 +67,8 @@
#include <string.h>
#include <unistd.h>
+#include "internal.h"
+
#define rindex(s,c) strrchr(s,c)
/* RTEMS specific changes */
@@ -94,7 +96,7 @@
#include <setjmp.h>
#define exit(ec) rtems_shell_rm_exit(globals, ec)
-void
+static void
rtems_shell_rm_exit (rtems_shell_rm_globals* globals, int code)
{
globals->exit_code = code;
@@ -535,7 +537,6 @@
return (0);
}
-void strmode(mode_t mode, char *p);
char *fflagstostr(u_long flags);
const char *user_from_uid(uid_t uid, int nouser);
diff -u rtems/cpukit/libmisc/shell/main_rmdir.c:1.4 rtems/cpukit/libmisc/shell/main_rmdir.c:1.5
--- rtems/cpukit/libmisc/shell/main_rmdir.c:1.4 Wed Feb 27 15:52:16 2008
+++ rtems/cpukit/libmisc/shell/main_rmdir.c Sun Dec 4 04:22:50 2011
@@ -25,7 +25,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_rmdir (int argc, char *argv[])
+static int rtems_shell_main_rmdir (int argc, char *argv[])
{
char *dir;
int n;
diff -u rtems/cpukit/libmisc/shell/main_route.c:1.2 rtems/cpukit/libmisc/shell/main_route.c:1.3
--- rtems/cpukit/libmisc/shell/main_route.c:1.2 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_route.c Sun Dec 4 04:22:50 2011
@@ -27,7 +27,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_route(
+static int rtems_shell_main_route(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_setenv.c:1.5 rtems/cpukit/libmisc/shell/main_setenv.c:1.6
--- rtems/cpukit/libmisc/shell/main_setenv.c:1.5 Tue Mar 15 10:43:09 2011
+++ rtems/cpukit/libmisc/shell/main_setenv.c Sun Dec 4 04:22:50 2011
@@ -16,7 +16,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_setenv(int argc, char *argv[])
+static int rtems_shell_main_setenv(int argc, char *argv[])
{
char* env = NULL;
char* string = NULL;
diff -u rtems/cpukit/libmisc/shell/main_sleep.c:1.3 rtems/cpukit/libmisc/shell/main_sleep.c:1.4
--- rtems/cpukit/libmisc/shell/main_sleep.c:1.3 Thu Jul 23 09:32:34 2009
+++ rtems/cpukit/libmisc/shell/main_sleep.c Sun Dec 4 04:22:50 2011
@@ -23,7 +23,7 @@
#include <rtems/stringto.h>
#include "internal.h"
-int rtems_shell_main_sleep(
+static int rtems_shell_main_sleep(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_stackuse.c:1.6 rtems/cpukit/libmisc/shell/main_stackuse.c:1.7
--- rtems/cpukit/libmisc/shell/main_stackuse.c:1.6 Fri Jan 2 07:01:21 2009
+++ rtems/cpukit/libmisc/shell/main_stackuse.c Sun Dec 4 04:22:50 2011
@@ -22,7 +22,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_stackuse(
+static int rtems_shell_main_stackuse(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
diff -u rtems/cpukit/libmisc/shell/main_time.c:1.3 rtems/cpukit/libmisc/shell/main_time.c:1.4
--- rtems/cpukit/libmisc/shell/main_time.c:1.3 Sun Oct 2 03:15:02 2011
+++ rtems/cpukit/libmisc/shell/main_time.c Sun Dec 4 04:22:50 2011
@@ -35,7 +35,7 @@
#error "PRIdtime_t: unsupported size of time_t"
#endif
-int rtems_shell_main_time(
+static int rtems_shell_main_time(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_tty.c:1.6 rtems/cpukit/libmisc/shell/main_tty.c:1.7
--- rtems/cpukit/libmisc/shell/main_tty.c:1.6 Fri Jan 2 07:01:21 2009
+++ rtems/cpukit/libmisc/shell/main_tty.c Sun Dec 4 04:22:50 2011
@@ -25,7 +25,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_tty(
+static int rtems_shell_main_tty(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
diff -u rtems/cpukit/libmisc/shell/main_umask.c:1.7 rtems/cpukit/libmisc/shell/main_umask.c:1.8
--- rtems/cpukit/libmisc/shell/main_umask.c:1.7 Thu Jul 23 09:32:34 2009
+++ rtems/cpukit/libmisc/shell/main_umask.c Sun Dec 4 04:22:51 2011
@@ -28,7 +28,7 @@
#include <rtems/stringto.h>
#include "internal.h"
-int rtems_shell_main_umask(
+static int rtems_shell_main_umask(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_unmount.c:1.4 rtems/cpukit/libmisc/shell/main_unmount.c:1.5
--- rtems/cpukit/libmisc/shell/main_unmount.c:1.4 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_unmount.c Sun Dec 4 04:22:51 2011
@@ -27,7 +27,7 @@
#include <rtems/fsmount.h>
#include "internal.h"
-int rtems_shell_main_unmount(
+static int rtems_shell_main_unmount(
int argc,
char *argv[]
)
diff -u rtems/cpukit/libmisc/shell/main_unsetenv.c:1.2 rtems/cpukit/libmisc/shell/main_unsetenv.c:1.3
--- rtems/cpukit/libmisc/shell/main_unsetenv.c:1.2 Sun Nov 29 06:12:39 2009
+++ rtems/cpukit/libmisc/shell/main_unsetenv.c Sun Dec 4 04:22:51 2011
@@ -16,7 +16,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_unsetenv(int argc, char *argv[])
+static int rtems_shell_main_unsetenv(int argc, char *argv[])
{
if (argc != 2)
{
diff -u rtems/cpukit/libmisc/shell/main_whoami.c:1.6 rtems/cpukit/libmisc/shell/main_whoami.c:1.7
--- rtems/cpukit/libmisc/shell/main_whoami.c:1.6 Fri Jan 2 07:01:21 2009
+++ rtems/cpukit/libmisc/shell/main_whoami.c Sun Dec 4 04:22:51 2011
@@ -26,7 +26,7 @@
#include <rtems/shell.h>
#include "internal.h"
-int rtems_shell_main_whoami(
+static int rtems_shell_main_whoami(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
diff -u rtems/cpukit/libmisc/shell/main_wkspaceinfo.c:1.8 rtems/cpukit/libmisc/shell/main_wkspaceinfo.c:1.9
--- rtems/cpukit/libmisc/shell/main_wkspaceinfo.c:1.8 Thu Nov 10 08:40:12 2011
+++ rtems/cpukit/libmisc/shell/main_wkspaceinfo.c Sun Dec 4 04:22:51 2011
@@ -31,7 +31,7 @@
);
}
-int rtems_shell_main_wkspace_info(
+static int rtems_shell_main_wkspace_info(
int argc __attribute__((unused)),
char *argv[] __attribute__((unused))
)
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/print-ls.c: Include "internal.h".
* libmisc/shell/pwcache.c: Make user_from_uid static.
* libmisc/shell/shell.c: Make rtems_shell_init_env,
rtems_shell_env_free, rtems_shell_line_editor,
rtems_shell_init_issue, rtems_shell_task static.
* libmisc/shell/shell_cmdset.c: Make rtems_shell_add_topic static.
* libmisc/shell/shell_makeargs.c: Include <rtems/shell.h>.
* libmisc/shell/write_file.c: Include <rtems/shell.h>.
M 1.3023 cpukit/ChangeLog
M 1.9 cpukit/libmisc/shell/print-ls.c
M 1.3 cpukit/libmisc/shell/pwcache.c
M 1.49 cpukit/libmisc/shell/shell.c
M 1.8 cpukit/libmisc/shell/shell_cmdset.c
M 1.10 cpukit/libmisc/shell/shell_makeargs.c
M 1.4 cpukit/libmisc/shell/write_file.c
diff -u rtems/cpukit/ChangeLog:1.3022 rtems/cpukit/ChangeLog:1.3023
--- rtems/cpukit/ChangeLog:1.3022 Sun Dec 4 04:22:29 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 05:57:50 2011
@@ -1,5 +1,16 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/print-ls.c: Include "internal.h".
+ * libmisc/shell/pwcache.c: Make user_from_uid static.
+ * libmisc/shell/shell.c: Make rtems_shell_init_env,
+ rtems_shell_env_free, rtems_shell_line_editor,
+ rtems_shell_init_issue, rtems_shell_task static.
+ * libmisc/shell/shell_cmdset.c: Make rtems_shell_add_topic static.
+ * libmisc/shell/shell_makeargs.c: Include <rtems/shell.h>.
+ * libmisc/shell/write_file.c: Include <rtems/shell.h>.
+
+2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libmisc/shell/main_help.c: Make rtems_shell_help_cmd,
rtems_shell_help static.
* libmisc/shell/main_hexdump.c: Make main_hexdump static.
diff -u rtems/cpukit/libmisc/shell/print-ls.c:1.8 rtems/cpukit/libmisc/shell/print-ls.c:1.9
--- rtems/cpukit/libmisc/shell/print-ls.c:1.8 Tue Jun 15 00:42:28 2010
+++ rtems/cpukit/libmisc/shell/print-ls.c Sun Dec 4 05:57:50 2011
@@ -68,6 +68,7 @@
#include <unistd.h>
//#include <util.h>
+#include "internal.h"
#include "extern-ls.h"
#define DAYSPERNYEAR ((time_t)365)
diff -u rtems/cpukit/libmisc/shell/pwcache.c:1.2 rtems/cpukit/libmisc/shell/pwcache.c:1.3
--- rtems/cpukit/libmisc/shell/pwcache.c:1.2 Thu Aug 21 07:29:01 2008
+++ rtems/cpukit/libmisc/shell/pwcache.c Sun Dec 4 05:57:50 2011
@@ -50,7 +50,7 @@
#define NCACHE 64 /* power of 2 */
#define MASK (NCACHE - 1) /* bits to store with */
-const char *
+static const char *
user_from_uid(uid_t uid, int nouser)
{
static struct ncache {
diff -u rtems/cpukit/libmisc/shell/shell.c:1.48 rtems/cpukit/libmisc/shell/shell.c:1.49
--- rtems/cpukit/libmisc/shell/shell.c:1.48 Fri Mar 12 10:26:15 2010
+++ rtems/cpukit/libmisc/shell/shell.c Sun Dec 4 05:57:50 2011
@@ -61,7 +61,7 @@
/*
* Initialize the shell user/process environment information
*/
-rtems_shell_env_t *rtems_shell_init_env(
+static rtems_shell_env_t *rtems_shell_init_env(
rtems_shell_env_t *shell_env_p
)
{
@@ -83,7 +83,7 @@
/*
* Completely free a shell_env_t and all associated memory
*/
-void rtems_shell_env_free(
+static void rtems_shell_env_free(
void *ptr
)
{
@@ -103,7 +103,7 @@
/*
* Get a line of user input with modest features
*/
-int rtems_shell_line_editor(
+static int rtems_shell_line_editor(
char *cmds[],
int count,
int size,
@@ -384,7 +384,7 @@
* TODO: Redirection. Tty Signals. ENVVARs. Shell language.
* ----------------------------------------------- */
-void rtems_shell_init_issue(void)
+static void rtems_shell_init_issue(void)
{
static bool issue_inited=false;
struct stat buf;
@@ -550,7 +550,7 @@
}
#endif
-rtems_task rtems_shell_task(rtems_task_argument task_argument)
+static rtems_task rtems_shell_task(rtems_task_argument task_argument)
{
rtems_shell_env_t *shell_env = (rtems_shell_env_t*) task_argument;
rtems_id wake_on_end = shell_env->wake_on_end;
diff -u rtems/cpukit/libmisc/shell/shell_cmdset.c:1.7 rtems/cpukit/libmisc/shell/shell_cmdset.c:1.8
--- rtems/cpukit/libmisc/shell/shell_cmdset.c:1.7 Sun Dec 4 02:53:25 2011
+++ rtems/cpukit/libmisc/shell/shell_cmdset.c Sun Dec 4 05:57:51 2011
@@ -65,7 +65,7 @@
/*
* Add a new topic to the list of topics
*/
-rtems_shell_topic_t * rtems_shell_add_topic(const char * topic) {
+static rtems_shell_topic_t * rtems_shell_add_topic(const char * topic) {
rtems_shell_topic_t * current,*aux;
if (!rtems_shell_first_topic) {
diff -u rtems/cpukit/libmisc/shell/shell_makeargs.c:1.9 rtems/cpukit/libmisc/shell/shell_makeargs.c:1.10
--- rtems/cpukit/libmisc/shell/shell_makeargs.c:1.9 Tue Mar 16 09:05:55 2010
+++ rtems/cpukit/libmisc/shell/shell_makeargs.c Sun Dec 4 05:57:51 2011
@@ -17,6 +17,7 @@
#include <string.h>
#include <ctype.h>
+#include <rtems/shell.h>
int rtems_shell_make_args(
char *commandLine,
diff -u rtems/cpukit/libmisc/shell/write_file.c:1.3 rtems/cpukit/libmisc/shell/write_file.c:1.4
--- rtems/cpukit/libmisc/shell/write_file.c:1.3 Tue Mar 4 20:49:35 2008
+++ rtems/cpukit/libmisc/shell/write_file.c Sun Dec 4 05:57:51 2011
@@ -22,6 +22,8 @@
#include <unistd.h>
#include <string.h>
+#include <rtems/shell.h>
+
void rtems_shell_write_file(
const char *name,
const char *content
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/internal.h: Add user_from_uid, group_from_gid.
M 1.3024 cpukit/ChangeLog
M 1.9 cpukit/libmisc/shell/internal.h
diff -u rtems/cpukit/ChangeLog:1.3023 rtems/cpukit/ChangeLog:1.3024
--- rtems/cpukit/ChangeLog:1.3023 Sun Dec 4 05:57:50 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 12:18:51 2011
@@ -1,5 +1,9 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/internal.h: Add user_from_uid, group_from_gid.
+
+2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libmisc/shell/print-ls.c: Include "internal.h".
* libmisc/shell/pwcache.c: Make user_from_uid static.
* libmisc/shell/shell.c: Make rtems_shell_init_env,
diff -u rtems/cpukit/libmisc/shell/internal.h:1.8 rtems/cpukit/libmisc/shell/internal.h:1.9
--- rtems/cpukit/libmisc/shell/internal.h:1.8 Sun Dec 4 03:42:29 2011
+++ rtems/cpukit/libmisc/shell/internal.h Sun Dec 4 12:18:52 2011
@@ -47,5 +47,7 @@
#include <sys/types.h>
extern void strmode(mode_t mode, char *p);
+extern const char *user_from_uid(uid_t uid, int nouser);
+extern char *group_from_gid(gid_t gid, int nogroup);
#endif
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/pwcache.c: Include "internal.h".
Make user_from_uid non-static.
M 1.3025 cpukit/ChangeLog
M 1.4 cpukit/libmisc/shell/pwcache.c
diff -u rtems/cpukit/ChangeLog:1.3024 rtems/cpukit/ChangeLog:1.3025
--- rtems/cpukit/ChangeLog:1.3024 Sun Dec 4 12:18:51 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 12:20:22 2011
@@ -1,5 +1,7 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/pwcache.c: Include "internal.h".
+ Make user_from_uid non-static.
* libmisc/shell/internal.h: Add user_from_uid, group_from_gid.
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/cpukit/libmisc/shell/pwcache.c:1.3 rtems/cpukit/libmisc/shell/pwcache.c:1.4
--- rtems/cpukit/libmisc/shell/pwcache.c:1.3 Sun Dec 4 05:57:50 2011
+++ rtems/cpukit/libmisc/shell/pwcache.c Sun Dec 4 12:20:23 2011
@@ -43,14 +43,15 @@
#include <pwd.h>
#include <stdio.h>
#include <string.h>
-//#include <utmp.h>
+
+#include "internal.h"
#define UT_NAMESIZE 64
#define NCACHE 64 /* power of 2 */
#define MASK (NCACHE - 1) /* bits to store with */
-static const char *
+const char *
user_from_uid(uid_t uid, int nouser)
{
static struct ncache {
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/main_rm.c: Remove decl of user_from_uid.
Comment out decl of fflagstostr.
M 1.3026 cpukit/ChangeLog
M 1.14 cpukit/libmisc/shell/main_rm.c
diff -u rtems/cpukit/ChangeLog:1.3025 rtems/cpukit/ChangeLog:1.3026
--- rtems/cpukit/ChangeLog:1.3025 Sun Dec 4 12:20:22 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 12:22:13 2011
@@ -1,5 +1,7 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/main_rm.c: Remove decl of user_from_uid.
+ Comment out decl of fflagstostr.
* libmisc/shell/pwcache.c: Include "internal.h".
Make user_from_uid non-static.
* libmisc/shell/internal.h: Add user_from_uid, group_from_gid.
diff -u rtems/cpukit/libmisc/shell/main_rm.c:1.13 rtems/cpukit/libmisc/shell/main_rm.c:1.14
--- rtems/cpukit/libmisc/shell/main_rm.c:1.13 Sun Dec 4 04:22:50 2011
+++ rtems/cpukit/libmisc/shell/main_rm.c Sun Dec 4 12:22:14 2011
@@ -537,8 +537,9 @@
return (0);
}
+#if RTEMS_REMOVED
char *fflagstostr(u_long flags);
-const char *user_from_uid(uid_t uid, int nouser);
+#endif
int
check_rm(rtems_shell_rm_globals* globals, char *path, char *name, struct stat *sp)
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/main_mv.c: Remove decl of user_from_uid,
group_from_gid.
M 1.3027 cpukit/ChangeLog
diff -u rtems/cpukit/ChangeLog:1.3026 rtems/cpukit/ChangeLog:1.3027
--- rtems/cpukit/ChangeLog:1.3026 Sun Dec 4 12:22:13 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 12:24:15 2011
@@ -1,5 +1,7 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/main_mv.c: Remove decl of user_from_uid,
+ group_from_gid.
* libmisc/shell/main_rm.c: Remove decl of user_from_uid.
Comment out decl of fflagstostr.
* libmisc/shell/pwcache.c: Include "internal.h".
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/main_ls.c: Include "internal.h".
M 1.3028 cpukit/ChangeLog
M 1.14 cpukit/libmisc/shell/main_ls.c
diff -u rtems/cpukit/ChangeLog:1.3027 rtems/cpukit/ChangeLog:1.3028
--- rtems/cpukit/ChangeLog:1.3027 Sun Dec 4 12:24:15 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 12:25:44 2011
@@ -1,5 +1,6 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/main_ls.c: Include "internal.h".
* libmisc/shell/main_mv.c: Remove decl of user_from_uid,
group_from_gid.
* libmisc/shell/main_rm.c: Remove decl of user_from_uid.
diff -u rtems/cpukit/libmisc/shell/main_ls.c:1.13 rtems/cpukit/libmisc/shell/main_ls.c:1.14
--- rtems/cpukit/libmisc/shell/main_ls.c:1.13 Sun Dec 4 04:22:50 2011
+++ rtems/cpukit/libmisc/shell/main_ls.c Sun Dec 4 12:25:45 2011
@@ -75,6 +75,7 @@
#include <pwd.h>
#include <grp.h>
+#include "internal.h"
#include "extern-ls.h"
static void display(rtems_shell_ls_globals* globals, FTSENT *, FTSENT *);
*ralf*:
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/main_cp.c: Include "internal.h".
Make rtems_shell_main_cp non-static.
M 1.3029 cpukit/ChangeLog
M 1.11 cpukit/libmisc/shell/main_cp.c
diff -u rtems/cpukit/ChangeLog:1.3028 rtems/cpukit/ChangeLog:1.3029
--- rtems/cpukit/ChangeLog:1.3028 Sun Dec 4 12:25:44 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 12:27:39 2011
@@ -1,5 +1,7 @@
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/main_cp.c: Include "internal.h".
+ Make rtems_shell_main_cp non-static.
* libmisc/shell/main_ls.c: Include "internal.h".
* libmisc/shell/main_mv.c: Remove decl of user_from_uid,
group_from_gid.
diff -u rtems/cpukit/libmisc/shell/main_cp.c:1.10 rtems/cpukit/libmisc/shell/main_cp.c:1.11
--- rtems/cpukit/libmisc/shell/main_cp.c:1.10 Sun Dec 4 03:51:48 2011
+++ rtems/cpukit/libmisc/shell/main_cp.c Sun Dec 4 12:27:40 2011
@@ -85,6 +85,8 @@
#include <string.h>
#include <unistd.h>
+#include "internal.h"
+
#include "extern-cp.h"
#define S_ISTXT 0
@@ -108,7 +110,7 @@
longjmp (cp_global->exit_jmp, 1);
}
-static int
+int
rtems_shell_main_cp(int argc, char *argv[])
{
rtems_shell_cp_globals cp_globals;
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/main_mv.c: Add prototype for main_mv.
M 1.3030 cpukit/ChangeLog
M 1.6 cpukit/libmisc/shell/main_mv.c
diff -u rtems/cpukit/ChangeLog:1.3029 rtems/cpukit/ChangeLog:1.3030
--- rtems/cpukit/ChangeLog:1.3029 Sun Dec 4 12:27:39 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 23:04:48 2011
@@ -1,3 +1,7 @@
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libmisc/shell/main_mv.c: Add prototype for main_mv.
+
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/main_cp.c: Include "internal.h".
diff -u rtems/cpukit/libmisc/shell/main_mv.c:1.5 rtems/cpukit/libmisc/shell/main_mv.c:1.6
--- rtems/cpukit/libmisc/shell/main_mv.c:1.5 Sun Dec 4 04:22:50 2011
+++ rtems/cpukit/libmisc/shell/main_mv.c Sun Dec 4 23:04:49 2011
@@ -102,6 +102,10 @@
#define exit(ec) rtems_shell_mv_exit(globals, ec)
+static int
+main_mv(rtems_shell_mv_globals* globals, int argc, char *argv[]);
+
+
static void
rtems_shell_mv_exit (rtems_shell_mv_globals* globals, int code)
{
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/termios.c: Remove unnecessary cast.
M 1.3031 cpukit/ChangeLog
M 1.70 cpukit/libcsupport/src/termios.c
diff -u rtems/cpukit/ChangeLog:1.3030 rtems/cpukit/ChangeLog:1.3031
--- rtems/cpukit/ChangeLog:1.3030 Sun Dec 4 23:04:48 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 23:06:49 2011
@@ -1,5 +1,6 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/termios.c: Remove unnecessary cast.
* libmisc/shell/main_mv.c: Add prototype for main_mv.
2011-12-04 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/cpukit/libcsupport/src/termios.c:1.69 rtems/cpukit/libcsupport/src/termios.c:1.70
--- rtems/cpukit/libcsupport/src/termios.c:1.69 Fri Dec 2 23:45:58 2011
+++ rtems/cpukit/libcsupport/src/termios.c Sun Dec 4 23:06:50 2011
@@ -1002,7 +1002,7 @@
{
rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;
rtems_status_code sc;
- int wait = (int)1;
+ int wait = 1;
while ( wait ) {
/*
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
Don't include <sys/types.h> (unnecessary).
M 1.3032 cpukit/ChangeLog
diff -u rtems/cpukit/ChangeLog:1.3031 rtems/cpukit/ChangeLog:1.3032
--- rtems/cpukit/ChangeLog:1.3031 Sun Dec 4 23:06:49 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 23:09:50 2011
@@ -1,5 +1,7 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/fork.c: Include <unistd.h> for "fork" prototype.
+ Don't include <sys/types.h> (unnecessary).
* libcsupport/src/termios.c: Remove unnecessary cast.
* libmisc/shell/main_mv.c: Add prototype for main_mv.
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
static.
M 1.3033 cpukit/ChangeLog
M 1.15 cpukit/posix/src/mqueuenotify.c
diff -u rtems/cpukit/ChangeLog:1.3032 rtems/cpukit/ChangeLog:1.3033
--- rtems/cpukit/ChangeLog:1.3032 Sun Dec 4 23:09:50 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 23:11:21 2011
@@ -1,5 +1,7 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
+ static.
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
Don't include <sys/types.h> (unnecessary).
* libcsupport/src/termios.c: Remove unnecessary cast.
diff -u rtems/cpukit/posix/src/mqueuenotify.c:1.14 rtems/cpukit/posix/src/mqueuenotify.c:1.15
--- rtems/cpukit/posix/src/mqueuenotify.c:1.14 Sun Jul 24 18:55:07 2011
+++ rtems/cpukit/posix/src/mqueuenotify.c Sun Dec 4 23:11:21 2011
@@ -46,7 +46,7 @@
*
*/
-void _POSIX_Message_queue_Notify_handler(
+static void _POSIX_Message_queue_Notify_handler(
void *user_data
)
{
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/mqueuetranslatereturncode.c:
Include <rtems/posix/mqueue.h> (Missing prototypes).
* posix/src/mutextranslatereturncode.c:
Include <rtems/posix/mutex.h> (Missing prototypes).
* posix/src/semaphoretranslatereturncode.c:
Include <rtems/posix/semaphore.h> (Missing prototypes).
M 1.3034 cpukit/ChangeLog
M 1.11 cpukit/posix/src/mqueuetranslatereturncode.c
M 1.4 cpukit/posix/src/mutextranslatereturncode.c
M 1.3 cpukit/posix/src/semaphoretranslatereturncode.c
diff -u rtems/cpukit/ChangeLog:1.3033 rtems/cpukit/ChangeLog:1.3034
--- rtems/cpukit/ChangeLog:1.3033 Sun Dec 4 23:11:21 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 23:15:37 2011
@@ -1,5 +1,11 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/mqueuetranslatereturncode.c:
+ Include <rtems/posix/mqueue.h> (Missing prototypes).
+ * posix/src/mutextranslatereturncode.c:
+ Include <rtems/posix/mutex.h> (Missing prototypes).
+ * posix/src/semaphoretranslatereturncode.c:
+ Include <rtems/posix/semaphore.h> (Missing prototypes).
* posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
static.
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
diff -u rtems/cpukit/posix/src/mqueuetranslatereturncode.c:1.10 rtems/cpukit/posix/src/mqueuetranslatereturncode.c:1.11
--- rtems/cpukit/posix/src/mqueuetranslatereturncode.c:1.10 Sun Jul 24 18:55:07 2011
+++ rtems/cpukit/posix/src/mqueuetranslatereturncode.c Sun Dec 4 23:15:37 2011
@@ -20,7 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/coremsg.h>
-
+#include <rtems/posix/mqueue.h>
/*
* _POSIX_Message_queue_Translate_core_message_queue_return_code
diff -u rtems/cpukit/posix/src/mutextranslatereturncode.c:1.3 rtems/cpukit/posix/src/mutextranslatereturncode.c:1.4
--- rtems/cpukit/posix/src/mutextranslatereturncode.c:1.3 Thu Mar 12 10:32:58 2009
+++ rtems/cpukit/posix/src/mutextranslatereturncode.c Sun Dec 4 23:15:37 2011
@@ -20,6 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/coremutex.h>
+#include <rtems/posix/mutex.h>
/*
* _POSIX_Mutex_Translate_core_mutex_return_code
diff -u rtems/cpukit/posix/src/semaphoretranslatereturncode.c:1.2 rtems/cpukit/posix/src/semaphoretranslatereturncode.c:1.3
--- rtems/cpukit/posix/src/semaphoretranslatereturncode.c:1.2 Fri Jul 18 13:45:56 2008
+++ rtems/cpukit/posix/src/semaphoretranslatereturncode.c Sun Dec 4 23:15:38 2011
@@ -20,6 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/coresem.h>
+#include <rtems/posix/semaphore.h>
/*
* _POSIX_Semaphore_Translate_core_semaphore_return_code
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/pthreadatfork.c:
Include <pthread.h> (Missing prototypes).
M 1.3035 cpukit/ChangeLog
M 1.7 cpukit/posix/src/pthreadatfork.c
diff -u rtems/cpukit/ChangeLog:1.3034 rtems/cpukit/ChangeLog:1.3035
--- rtems/cpukit/ChangeLog:1.3034 Sun Dec 4 23:15:37 2011
+++ rtems/cpukit/ChangeLog Sun Dec 4 23:17:45 2011
@@ -1,5 +1,7 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/pthreadatfork.c:
+ Include <pthread.h> (Missing prototypes).
* posix/src/mqueuetranslatereturncode.c:
Include <rtems/posix/mqueue.h> (Missing prototypes).
* posix/src/mutextranslatereturncode.c:
diff -u rtems/cpukit/posix/src/pthreadatfork.c:1.6 rtems/cpukit/posix/src/pthreadatfork.c:1.7
--- rtems/cpukit/posix/src/pthreadatfork.c:1.6 Fri Jan 2 04:04:24 2009
+++ rtems/cpukit/posix/src/pthreadatfork.c Sun Dec 4 23:17:45 2011
@@ -24,6 +24,8 @@
#include "config.h"
#endif
+#include <pthread.h>
+
#include <errno.h>
#include <rtems/seterr.h>
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/include/rtems/rtems/tasks.h: Typo fixes.
M 1.3036 cpukit/ChangeLog
M 1.47 cpukit/rtems/include/rtems/rtems/tasks.h
diff -u rtems/cpukit/ChangeLog:1.3035 rtems/cpukit/ChangeLog:1.3036
--- rtems/cpukit/ChangeLog:1.3035 Sun Dec 4 23:17:45 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 02:49:05 2011
@@ -1,5 +1,9 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/include/rtems/rtems/tasks.h: Typo fixes.
+
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* posix/src/pthreadatfork.c:
Include <pthread.h> (Missing prototypes).
* posix/src/mqueuetranslatereturncode.c:
diff -u rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.46 rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.47
--- rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.46 Mon Aug 29 16:31:18 2011
+++ rtems/cpukit/rtems/include/rtems/rtems/tasks.h Mon Dec 5 02:49:06 2011
@@ -468,7 +468,7 @@
* @brief _RTEMS_tasks_Initialize_user_tasks
*
* This routine creates and starts all configured user
- * initialzation threads.
+ * initialization threads.
*
* Input parameters: NONE
*
@@ -477,7 +477,7 @@
void _RTEMS_tasks_Initialize_user_tasks( void );
/**
- * @brief _RTEMS_Tasks_Invoke_task_variable_dtor(
+ * @brief _RTEMS_Tasks_Invoke_task_variable_dtor
*
* This routine invokes the optional user provided destructor on the
* task variable and frees the memory for the task variable.
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/pthreadinitthreads.c: Fix typos.
M 1.3037 cpukit/ChangeLog
M 1.8 cpukit/posix/src/pthreadinitthreads.c
diff -u rtems/cpukit/ChangeLog:1.3036 rtems/cpukit/ChangeLog:1.3037
--- rtems/cpukit/ChangeLog:1.3036 Mon Dec 5 02:49:05 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 02:50:55 2011
@@ -1,6 +1,7 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
- * rtems/include/rtems/rtems/tasks.h: Typo fixes.
+ * posix/src/pthreadinitthreads.c: Fix typos.
+ * rtems/include/rtems/rtems/tasks.h: Fix typos.
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/cpukit/posix/src/pthreadinitthreads.c:1.7 rtems/cpukit/posix/src/pthreadinitthreads.c:1.8
--- rtems/cpukit/posix/src/pthreadinitthreads.c:1.7 Sun Jul 24 18:55:09 2011
+++ rtems/cpukit/posix/src/pthreadinitthreads.c Mon Dec 5 02:50:56 2011
@@ -36,7 +36,7 @@
* _POSIX_Threads_Initialize_user_threads_body
*
* This routine creates and starts all configured user
- * initialzation threads.
+ * initialization threads.
*
* Input parameters: NONE
*
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/pthread.c: Fix typos.
M 1.3038 cpukit/ChangeLog
M 1.87 cpukit/posix/src/pthread.c
diff -u rtems/cpukit/ChangeLog:1.3037 rtems/cpukit/ChangeLog:1.3038
--- rtems/cpukit/ChangeLog:1.3037 Mon Dec 5 02:50:55 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 02:52:07 2011
@@ -1,5 +1,6 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/pthread.c: Fix typos.
* posix/src/pthreadinitthreads.c: Fix typos.
* rtems/include/rtems/rtems/tasks.h: Fix typos.
diff -u rtems/cpukit/posix/src/pthread.c:1.86 rtems/cpukit/posix/src/pthread.c:1.87
--- rtems/cpukit/posix/src/pthread.c:1.86 Fri Dec 2 21:54:30 2011
+++ rtems/cpukit/posix/src/pthread.c Mon Dec 5 02:52:07 2011
@@ -295,7 +295,7 @@
* _POSIX_Threads_Initialize_user_threads
*
* This routine creates and starts all configured user
- * initialzation threads.
+ * initialization threads.
*/
static void _POSIX_Threads_Initialize_user_threads( void )
{
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/taskinitusers.c: Fix typos.
M 1.3039 cpukit/ChangeLog
M 1.12 cpukit/rtems/src/taskinitusers.c
diff -u rtems/cpukit/ChangeLog:1.3038 rtems/cpukit/ChangeLog:1.3039
--- rtems/cpukit/ChangeLog:1.3038 Mon Dec 5 02:52:07 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 02:53:17 2011
@@ -1,5 +1,6 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/src/taskinitusers.c: Fix typos.
* posix/src/pthread.c: Fix typos.
* posix/src/pthreadinitthreads.c: Fix typos.
* rtems/include/rtems/rtems/tasks.h: Fix typos.
diff -u rtems/cpukit/rtems/src/taskinitusers.c:1.11 rtems/cpukit/rtems/src/taskinitusers.c:1.12
--- rtems/cpukit/rtems/src/taskinitusers.c:1.11 Sun Jul 24 18:55:12 2011
+++ rtems/cpukit/rtems/src/taskinitusers.c Mon Dec 5 02:53:18 2011
@@ -38,7 +38,7 @@
* _RTEMS_tasks_Initialize_user_tasks_body
*
* This routine creates and starts all configured user
- * initialzation threads.
+ * initialization threads.
*
* Input parameters: NONE
*
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/tasks.c: Fix typos.
M 1.3040 cpukit/ChangeLog
M 1.65 cpukit/rtems/src/tasks.c
diff -u rtems/cpukit/ChangeLog:1.3039 rtems/cpukit/ChangeLog:1.3040
--- rtems/cpukit/ChangeLog:1.3039 Mon Dec 5 02:53:17 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 02:54:34 2011
@@ -1,5 +1,6 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/src/tasks.c: Fix typos.
* rtems/src/taskinitusers.c: Fix typos.
* posix/src/pthread.c: Fix typos.
* posix/src/pthreadinitthreads.c: Fix typos.
diff -u rtems/cpukit/rtems/src/tasks.c:1.64 rtems/cpukit/rtems/src/tasks.c:1.65
--- rtems/cpukit/rtems/src/tasks.c:1.64 Fri Dec 2 07:47:28 2011
+++ rtems/cpukit/rtems/src/tasks.c Mon Dec 5 02:54:35 2011
@@ -284,7 +284,7 @@
* _RTEMS_tasks_Initialize_user_tasks
*
* This routine creates and starts all configured user
- * initialzation threads.
+ * initialization threads.
*
* Input parameters: NONE
*
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/shell.h: Add rtems_shell_main_monitor.
* libmisc/shell/cmds.c: Make rtems_shell_main_monitor non-static.
M 1.3041 cpukit/ChangeLog
M 1.28 cpukit/libmisc/shell/cmds.c
M 1.31 cpukit/libmisc/shell/shell.h
diff -u rtems/cpukit/ChangeLog:1.3040 rtems/cpukit/ChangeLog:1.3041
--- rtems/cpukit/ChangeLog:1.3040 Mon Dec 5 02:54:34 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 03:46:56 2011
@@ -1,5 +1,10 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/shell/shell.h: Add rtems_shell_main_monitor.
+ * libmisc/shell/cmds.c: Make rtems_shell_main_monitor non-static.
+
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* rtems/src/tasks.c: Fix typos.
* rtems/src/taskinitusers.c: Fix typos.
* posix/src/pthread.c: Fix typos.
diff -u rtems/cpukit/libmisc/shell/cmds.c:1.27 rtems/cpukit/libmisc/shell/cmds.c:1.28
--- rtems/cpukit/libmisc/shell/cmds.c:1.27 Sun Dec 4 03:51:47 2011
+++ rtems/cpukit/libmisc/shell/cmds.c Mon Dec 5 03:46:57 2011
@@ -29,7 +29,7 @@
* with this you can call at all the rtems monitor commands.
* Not all work fine but you can show the rtems status and more.
*-----------------------------------------------------------*/
-static int rtems_shell_main_monitor(int argc, char **argv) {
+int rtems_shell_main_monitor(int argc, char **argv) {
const rtems_monitor_command_entry_t *command = NULL;
if (argc < 1) {
diff -u rtems/cpukit/libmisc/shell/shell.h:1.30 rtems/cpukit/libmisc/shell/shell.h:1.31
--- rtems/cpukit/libmisc/shell/shell.h:1.30 Sun Dec 4 03:39:44 2011
+++ rtems/cpukit/libmisc/shell/shell.h Mon Dec 5 03:46:57 2011
@@ -305,6 +305,9 @@
void *notification_arg
);
+extern int rtems_shell_main_monitor(int argc, char **argv);
+
+
#ifdef __cplusplus
}
#endif
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* monitor02/init.c: Remove re-declaration of rtems_shell_main_monitor.
M 1.281 testsuites/libtests/ChangeLog
M 1.8 testsuites/libtests/monitor02/init.c
diff -u rtems/testsuites/libtests/ChangeLog:1.280 rtems/testsuites/libtests/ChangeLog:1.281
--- rtems/testsuites/libtests/ChangeLog:1.280 Wed Oct 26 06:13:59 2011
+++ rtems/testsuites/libtests/ChangeLog Mon Dec 5 07:02:01 2011
@@ -1,3 +1,7 @@
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * monitor02/init.c: Remove re-declaration of rtems_shell_main_monitor.
+
2011-10-26 Sebastian Huber <sebastian.huber at embedded-brains.de>
* mouse01/init.c: Account for extra message buffer size.
diff -u rtems/testsuites/libtests/monitor02/init.c:1.7 rtems/testsuites/libtests/monitor02/init.c:1.8
--- rtems/testsuites/libtests/monitor02/init.c:1.7 Tue Feb 22 01:34:08 2011
+++ rtems/testsuites/libtests/monitor02/init.c Mon Dec 5 07:02:01 2011
@@ -25,12 +25,6 @@
#include <rtems/shellconfig.h>
#define MAX_ARGS 128
-/*
- * HACK: API visibility violation
- * rtems_shell_main_monitor should better be declared in rtems/shell.h
- */
-extern int rtems_shell_main_monitor(int argc, char **argv);
-
char *Commands[] = {
"task",
"task 32",
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/include/rtems/posix/pthread.h:
Add _POSIX_Threads_Initialize_user_threads_body.
* rtems/include/rtems/rtems/tasks.h:
Add _RTEMS_tasks_Initialize_user_tasks_body.
* sapi/include/confdefs.h: Remove conditional, nested redeclaration of
_POSIX_Threads_Initialize_user_threads_body,
_RTEMS_tasks_Initialize_user_tasks_body.
M 1.3042 cpukit/ChangeLog
M 1.33 cpukit/posix/include/rtems/posix/pthread.h
M 1.48 cpukit/rtems/include/rtems/rtems/tasks.h
M 1.176 cpukit/sapi/include/confdefs.h
diff -u rtems/cpukit/ChangeLog:1.3041 rtems/cpukit/ChangeLog:1.3042
--- rtems/cpukit/ChangeLog:1.3041 Mon Dec 5 03:46:56 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 07:51:05 2011
@@ -1,5 +1,15 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/include/rtems/posix/pthread.h:
+ Add _POSIX_Threads_Initialize_user_threads_body.
+ * rtems/include/rtems/rtems/tasks.h:
+ Add _RTEMS_tasks_Initialize_user_tasks_body.
+ * sapi/include/confdefs.h: Remove conditional, nested redeclaration of
+ _POSIX_Threads_Initialize_user_threads_body,
+ _RTEMS_tasks_Initialize_user_tasks_body.
+
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libmisc/shell/shell.h: Add rtems_shell_main_monitor.
* libmisc/shell/cmds.c: Make rtems_shell_main_monitor non-static.
diff -u rtems/cpukit/posix/include/rtems/posix/pthread.h:1.32 rtems/cpukit/posix/include/rtems/posix/pthread.h:1.33
--- rtems/cpukit/posix/include/rtems/posix/pthread.h:1.32 Fri Jun 24 12:52:56 2011
+++ rtems/cpukit/posix/include/rtems/posix/pthread.h Mon Dec 5 07:51:06 2011
@@ -165,6 +165,14 @@
Thread_CPU_budget_algorithm_callout *budget_callout
);
+/**
+ * @brief _POSIX_Threads_Initialize_user_threads_body
+ *
+ * This routine creates and starts all configured user
+ * initialization threads.
+ */
+extern void _POSIX_Threads_Initialize_user_threads_body(void);
+
#include <rtems/posix/pthread.inl>
#ifdef __cplusplus
diff -u rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.47 rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.48
--- rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.47 Mon Dec 5 02:49:06 2011
+++ rtems/cpukit/rtems/include/rtems/rtems/tasks.h Mon Dec 5 07:51:06 2011
@@ -491,6 +491,19 @@
rtems_task_variable_t *tvp
);
+/**
+ * @brief _RTEMS_tasks_Initialize_user_tasks_body
+ *
+ * This routine creates and starts all configured user
+ * initialization threads.
+ *
+ * Input parameters: NONE
+ *
+ * Output parameters: NONE
+ */
+
+extern void _RTEMS_tasks_Initialize_user_tasks_body( void );
+
#ifndef __RTEMS_APPLICATION__
#include <rtems/rtems/tasks.inl>
#endif
diff -u rtems/cpukit/sapi/include/confdefs.h:1.175 rtems/cpukit/sapi/include/confdefs.h:1.176
--- rtems/cpukit/sapi/include/confdefs.h:1.175 Fri Nov 18 14:04:49 2011
+++ rtems/cpukit/sapi/include/confdefs.h Mon Dec 5 07:51:06 2011
@@ -2234,7 +2234,6 @@
#ifdef CONFIGURE_INIT
#if defined(CONFIGURE_RTEMS_INIT_TASKS_TABLE) || \
defined(CONFIGURE_HAS_OWN_INIT_TASK_TABLE)
- void (_RTEMS_tasks_Initialize_user_tasks_body)(void);
void (*_RTEMS_tasks_Initialize_user_tasks_p)(void) =
_RTEMS_tasks_Initialize_user_tasks_body;
#else
@@ -2250,7 +2249,6 @@
#ifdef CONFIGURE_INIT
#if defined(CONFIGURE_POSIX_INIT_THREAD_TABLE) || \
defined(CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE)
- void _POSIX_Threads_Initialize_user_threads_body(void);
void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
_POSIX_Threads_Initialize_user_threads_body;
#else
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/chown.c, libcsupport/src/lchown.c:
Include <unistd.h>. Cleanup included headers.
M 1.3043 cpukit/ChangeLog
M 1.15 cpukit/libcsupport/src/chown.c
M 1.2 cpukit/libcsupport/src/lchown.c
diff -u rtems/cpukit/ChangeLog:1.3042 rtems/cpukit/ChangeLog:1.3043
--- rtems/cpukit/ChangeLog:1.3042 Mon Dec 5 07:51:05 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 08:20:37 2011
@@ -1,5 +1,10 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/chown.c, libcsupport/src/lchown.c:
+ Include <unistd.h>. Cleanup included headers.
+
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* posix/include/rtems/posix/pthread.h:
Add _POSIX_Threads_Initialize_user_threads_body.
* rtems/include/rtems/rtems/tasks.h:
diff -u rtems/cpukit/libcsupport/src/chown.c:1.14 rtems/cpukit/libcsupport/src/chown.c:1.15
--- rtems/cpukit/libcsupport/src/chown.c:1.14 Thu Jul 1 12:22:03 2010
+++ rtems/cpukit/libcsupport/src/chown.c Mon Dec 5 08:20:38 2011
@@ -15,14 +15,10 @@
#include "config.h"
#endif
-#include <sys/stat.h>
-#include <errno.h>
+#include <unistd.h>
#include <rtems.h>
-#include <rtems/libio.h>
-
#include <rtems/libio_.h>
-#include <rtems/seterr.h>
int _chown_helper(
const char *path,
diff -u rtems/cpukit/libcsupport/src/lchown.c:1.1 rtems/cpukit/libcsupport/src/lchown.c:1.2
--- rtems/cpukit/libcsupport/src/lchown.c:1.1 Thu Jul 1 12:22:03 2010
+++ rtems/cpukit/libcsupport/src/lchown.c Mon Dec 5 08:20:38 2011
@@ -15,7 +15,7 @@
#include "config.h"
#endif
-#include <sys/stat.h>
+#include <unistd.h>
#include <rtems.h>
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/mouse/mouse_parser.c: Make MOU_Data static.
M 1.3044 cpukit/ChangeLog
M 1.3 cpukit/libmisc/mouse/mouse_parser.c
diff -u rtems/cpukit/ChangeLog:1.3043 rtems/cpukit/ChangeLog:1.3044
--- rtems/cpukit/ChangeLog:1.3043 Mon Dec 5 08:20:37 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 10:53:54 2011
@@ -1,5 +1,9 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/mouse/mouse_parser.c: Make MOU_Data static.
+
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libcsupport/src/chown.c, libcsupport/src/lchown.c:
Include <unistd.h>. Cleanup included headers.
diff -u rtems/cpukit/libmisc/mouse/mouse_parser.c:1.2 rtems/cpukit/libmisc/mouse/mouse_parser.c:1.3
--- rtems/cpukit/libmisc/mouse/mouse_parser.c:1.2 Mon Mar 14 13:17:28 2011
+++ rtems/cpukit/libmisc/mouse/mouse_parser.c Mon Dec 5 10:53:55 2011
@@ -130,7 +130,7 @@
* When a new state is read, the current buttons and x and y deltas
* are returned. This routine does not block.
*/
-int MOU_Data( int ch, COORD *dx, COORD *dy, COORD *dz, BUTTON *bptr)
+static int MOU_Data( int ch, COORD *dx, COORD *dy, COORD *dz, BUTTON *bptr)
{
int b;
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/rtemsobjectapimaximumclass.c:
Include <rtems/rtems/object.h> (Missing prototypes).
* sapi/src/exshutdown.c:
Include <rtems/init.h> (Missing prototypes).
M 1.3045 cpukit/ChangeLog
M 1.4 cpukit/rtems/src/rtemsobjectapimaximumclass.c
M 1.8 cpukit/sapi/src/exshutdown.c
diff -u rtems/cpukit/ChangeLog:1.3044 rtems/cpukit/ChangeLog:1.3045
--- rtems/cpukit/ChangeLog:1.3044 Mon Dec 5 10:53:54 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 11:01:29 2011
@@ -1,5 +1,9 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/src/rtemsobjectapimaximumclass.c:
+ Include <rtems/rtems/object.h> (Missing prototypes).
+ * sapi/src/exshutdown.c:
+ Include <rtems/init.h> (Missing prototypes).
* libmisc/mouse/mouse_parser.c: Make MOU_Data static.
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/cpukit/rtems/src/rtemsobjectapimaximumclass.c:1.3 rtems/cpukit/rtems/src/rtemsobjectapimaximumclass.c:1.4
--- rtems/cpukit/rtems/src/rtemsobjectapimaximumclass.c:1.3 Mon Nov 23 08:53:04 2009
+++ rtems/cpukit/rtems/src/rtemsobjectapimaximumclass.c Mon Dec 5 11:01:30 2011
@@ -18,6 +18,7 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/rtems/types.h>
+#include <rtems/rtems/object.h>
int rtems_object_api_maximum_class(
int api
diff -u rtems/cpukit/sapi/src/exshutdown.c:1.7 rtems/cpukit/sapi/src/exshutdown.c:1.8
--- rtems/cpukit/sapi/src/exshutdown.c:1.7 Mon Aug 29 16:30:32 2011
+++ rtems/cpukit/sapi/src/exshutdown.c Mon Dec 5 11:01:30 2011
@@ -16,6 +16,7 @@
#endif
#include <rtems/system.h>
+#include <rtems/init.h>
#include <rtems/score/sysstate.h>
#include <rtems/score/thread.h>
#include <rtems/score/interr.h>
*ralf*:
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/capture/capture.c:
Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit
sign-conversions).
Make rtems_capture_trigger static (Missing prototypes).
Make rtems_capture_trigger static (Missing prototypes).
* libmisc/capture/capture.h:
Make RTEMS_CAPTURE_WATCH, RTEMS_CAPTURE_TRACED unsigned (Avoid
implicit sign conversions).
M 1.3046 cpukit/ChangeLog
M 1.13 cpukit/libmisc/capture/capture.h
M 1.23 cpukit/libmisc/capture/capture.c
diff -u rtems/cpukit/ChangeLog:1.3045 rtems/cpukit/ChangeLog:1.3046
--- rtems/cpukit/ChangeLog:1.3045 Mon Dec 5 11:01:29 2011
+++ rtems/cpukit/ChangeLog Mon Dec 5 11:31:18 2011
@@ -1,5 +1,16 @@
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/capture/capture.c:
+ Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit
+ sign-conversions).
+ Make rtems_capture_trigger static (Missing prototypes).
+ Make rtems_capture_trigger static (Missing prototypes).
+ * libmisc/capture/capture.h:
+ Make RTEMS_CAPTURE_WATCH, RTEMS_CAPTURE_TRACED unsigned (Avoid
+ implicit sign conversions).
+
+2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* rtems/src/rtemsobjectapimaximumclass.c:
Include <rtems/rtems/object.h> (Missing prototypes).
* sapi/src/exshutdown.c:
diff -u rtems/cpukit/libmisc/capture/capture.h:1.12 rtems/cpukit/libmisc/capture/capture.h:1.13
--- rtems/cpukit/libmisc/capture/capture.h:1.12 Fri Jun 24 12:52:56 2011
+++ rtems/cpukit/libmisc/capture/capture.h Mon Dec 5 11:31:19 2011
@@ -96,7 +96,7 @@
/**
* Control flags.
*/
-#define RTEMS_CAPTURE_WATCH (1 << 0)
+#define RTEMS_CAPTURE_WATCH (1U << 0)
/**
* Control triggers.
@@ -169,7 +169,7 @@
/**
* Task flags.
*/
-#define RTEMS_CAPTURE_TRACED (1 << 0)
+#define RTEMS_CAPTURE_TRACED (1U << 0)
/*
* rtems_capture_record_t
diff -u rtems/cpukit/libmisc/capture/capture.c:1.22 rtems/cpukit/libmisc/capture/capture.c:1.23
--- rtems/cpukit/libmisc/capture/capture.c:1.22 Tue Feb 15 18:24:49 2011
+++ rtems/cpukit/libmisc/capture/capture.c Mon Dec 5 11:31:19 2011
@@ -60,14 +60,14 @@
/*
* Global capture flags.
*/
-#define RTEMS_CAPTURE_ON (1 << 0)
-#define RTEMS_CAPTURE_NO_MEMORY (1 << 1)
-#define RTEMS_CAPTURE_OVERFLOW (1 << 2)
-#define RTEMS_CAPTURE_TRIGGERED (1 << 3)
-#define RTEMS_CAPTURE_READER_ACTIVE (1 << 4)
-#define RTEMS_CAPTURE_READER_WAITING (1 << 5)
-#define RTEMS_CAPTURE_GLOBAL_WATCH (1 << 6)
-#define RTEMS_CAPTURE_ONLY_MONITOR (1 << 7)
+#define RTEMS_CAPTURE_ON (1U << 0)
+#define RTEMS_CAPTURE_NO_MEMORY (1U << 1)
+#define RTEMS_CAPTURE_OVERFLOW (1U << 2)
+#define RTEMS_CAPTURE_TRIGGERED (1U << 3)
+#define RTEMS_CAPTURE_READER_ACTIVE (1U << 4)
+#define RTEMS_CAPTURE_READER_WAITING (1U << 5)
+#define RTEMS_CAPTURE_GLOBAL_WATCH (1U << 6)
+#define RTEMS_CAPTURE_ONLY_MONITOR (1U << 7)
/*
* RTEMS Capture Data.
@@ -574,7 +574,7 @@
* See if we have triggered and if not see if this event is a
* cause of a trigger.
*/
-bool
+static bool
rtems_capture_trigger (rtems_capture_task_t* ft,
rtems_capture_task_t* tt,
uint32_t events)
@@ -1480,7 +1480,7 @@
* Map the trigger to a bit mask.
*
*/
-uint32_t
+static uint32_t
rtems_capture_map_trigger (rtems_capture_trigger_t trigger)
{
/*
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libchip/serial/mc68681.c (mc68681_open):
Var "status" needs to be signed.
M 1.577 c/src/ChangeLog
M 1.43 c/src/libchip/serial/mc68681.c
diff -u rtems/c/src/ChangeLog:1.576 rtems/c/src/ChangeLog:1.577
--- rtems/c/src/ChangeLog:1.576 Mon Dec 5 03:21:10 2011
+++ rtems/c/src/ChangeLog Tue Dec 6 00:35:23 2011
@@ -1,3 +1,8 @@
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libchip/serial/mc68681.c (mc68681_open):
+ Var "status" needs to be signed.
+
2011-12-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1975/misc
diff -u rtems/c/src/libchip/serial/mc68681.c:1.42 rtems/c/src/libchip/serial/mc68681.c:1.43
--- rtems/c/src/libchip/serial/mc68681.c:1.42 Fri Oct 28 08:58:22 2011
+++ rtems/c/src/libchip/serial/mc68681.c Tue Dec 6 00:35:24 2011
@@ -279,7 +279,7 @@
unsigned int command = 0;
rtems_interrupt_level Irql;
setRegister_f setReg;
- unsigned int status;
+ int status;
pMC68681 = Console_Port_Tbl[minor]->ulCtrlPort1;
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/include/rtems/libio.h:
Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
conversions).
M 1.3047 cpukit/ChangeLog
M 1.85 cpukit/libcsupport/include/rtems/libio.h
diff -u rtems/cpukit/ChangeLog:1.3046 rtems/cpukit/ChangeLog:1.3047
--- rtems/cpukit/ChangeLog:1.3046 Mon Dec 5 11:31:18 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 00:39:03 2011
@@ -1,8 +1,14 @@
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libcsupport/include/rtems/libio.h:
+ Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
+ conversions).
+
2011-12-05 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/capture/capture.c:
Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit
- sign-conversions).
+ sign conversions).
Make rtems_capture_trigger static (Missing prototypes).
Make rtems_capture_trigger static (Missing prototypes).
* libmisc/capture/capture.h:
diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.84 rtems/cpukit/libcsupport/include/rtems/libio.h:1.85
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.84 Mon Nov 7 15:41:45 2011
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Tue Dec 6 00:39:03 2011
@@ -1157,13 +1157,13 @@
* @{
*/
-#define LIBIO_FLAGS_NO_DELAY 0x0001 /* return immediately if no data */
-#define LIBIO_FLAGS_READ 0x0002 /* reading */
-#define LIBIO_FLAGS_WRITE 0x0004 /* writing */
-#define LIBIO_FLAGS_OPEN 0x0100 /* device is open */
-#define LIBIO_FLAGS_APPEND 0x0200 /* all writes append */
-#define LIBIO_FLAGS_CREATE 0x0400 /* create file */
-#define LIBIO_FLAGS_CLOSE_ON_EXEC 0x0800 /* close on process exec() */
+#define LIBIO_FLAGS_NO_DELAY 0x0001U /* return immediately if no data */
+#define LIBIO_FLAGS_READ 0x0002U /* reading */
+#define LIBIO_FLAGS_WRITE 0x0004U /* writing */
+#define LIBIO_FLAGS_OPEN 0x0100U /* device is open */
+#define LIBIO_FLAGS_APPEND 0x0200U /* all writes append */
+#define LIBIO_FLAGS_CREATE 0x0400U /* create file */
+#define LIBIO_FLAGS_CLOSE_ON_EXEC 0x0800U /* close on process exec() */
#define LIBIO_FLAGS_READ_WRITE (LIBIO_FLAGS_READ | LIBIO_FLAGS_WRITE)
/** @} */
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
IMFS_dump_directory static.
* libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
M 1.3048 cpukit/ChangeLog
M 1.19 cpukit/libfs/src/imfs/imfs_debug.c
M 1.44 cpukit/libfs/src/imfs/memfile.c
diff -u rtems/cpukit/ChangeLog:1.3047 rtems/cpukit/ChangeLog:1.3048
--- rtems/cpukit/ChangeLog:1.3047 Tue Dec 6 00:39:03 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 01:05:54 2011
@@ -1,5 +1,8 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
+ IMFS_dump_directory static.
+ * libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
* libcsupport/include/rtems/libio.h:
Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
conversions).
diff -u rtems/cpukit/libfs/src/imfs/imfs_debug.c:1.18 rtems/cpukit/libfs/src/imfs/imfs_debug.c:1.19
--- rtems/cpukit/libfs/src/imfs/imfs_debug.c:1.18 Thu Nov 25 03:27:05 2010
+++ rtems/cpukit/libfs/src/imfs/imfs_debug.c Tue Dec 6 01:05:54 2011
@@ -33,7 +33,7 @@
*
* This routine prints the contents of the specified jnode.
*/
-void IMFS_print_jnode(
+static void IMFS_print_jnode(
IMFS_jnode_t *the_jnode
)
{
@@ -98,7 +98,7 @@
* directory is encountered, then this routine will recurse to process
* the subdirectory.
*/
-void IMFS_dump_directory(
+static void IMFS_dump_directory(
IMFS_jnode_t *the_directory,
int level
)
diff -u rtems/cpukit/libfs/src/imfs/memfile.c:1.43 rtems/cpukit/libfs/src/imfs/memfile.c:1.44
--- rtems/cpukit/libfs/src/imfs/memfile.c:1.43 Sun Nov 6 05:57:10 2011
+++ rtems/cpukit/libfs/src/imfs/memfile.c Tue Dec 6 01:05:54 2011
@@ -396,7 +396,7 @@
* This is a support routine for IMFS_memfile_remove. It frees all the
* blocks in one of the indirection tables.
*/
-void memfile_free_blocks_in_table(
+static void memfile_free_blocks_in_table(
block_p **block_table,
int entries
)
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/src/pspinlocktranslatereturncode.c:
Include <rtems/posix/spinlock.h> (Missing prototypes).
M 1.3049 cpukit/ChangeLog
M 1.4 cpukit/posix/src/pspinlocktranslatereturncode.c
diff -u rtems/cpukit/ChangeLog:1.3048 rtems/cpukit/ChangeLog:1.3049
--- rtems/cpukit/ChangeLog:1.3048 Tue Dec 6 01:05:54 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 01:08:44 2011
@@ -1,5 +1,7 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * posix/src/pspinlocktranslatereturncode.c:
+ Include <rtems/posix/spinlock.h> (Missing prototypes).
* libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
IMFS_dump_directory static.
* libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
diff -u rtems/cpukit/posix/src/pspinlocktranslatereturncode.c:1.3 rtems/cpukit/posix/src/pspinlocktranslatereturncode.c:1.4
--- rtems/cpukit/posix/src/pspinlocktranslatereturncode.c:1.3 Fri Nov 30 14:34:13 2007
+++ rtems/cpukit/posix/src/pspinlocktranslatereturncode.c Tue Dec 6 01:08:45 2011
@@ -20,6 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/corespinlock.h>
+#include <rtems/posix/spinlock.h>
/*
* _POSIX_Spinlock_Translate_core_spinlock_return_code
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* score/src/schedulercbsattachthread.c,
score/src/schedulercbsdestroyserver.c,
score/src/schedulercbsdetachthread.c,
score/src/schedulercbsgetapprovedbudget.c,
score/src/schedulercbsgetexecutiontime.c,
score/src/schedulercbsgetparameters.c,
score/src/schedulercbsgetremainingbudget.c,
score/src/schedulercbssetparameters.c:
Remove checks for server_id < 0 (server_id is unsigned).
M 1.3050 cpukit/ChangeLog
M 1.2 cpukit/score/src/schedulercbsattachthread.c
M 1.2 cpukit/score/src/schedulercbsdestroyserver.c
M 1.3 cpukit/score/src/schedulercbsdetachthread.c
M 1.2 cpukit/score/src/schedulercbsgetapprovedbudget.c
M 1.3 cpukit/score/src/schedulercbsgetexecutiontime.c
M 1.2 cpukit/score/src/schedulercbsgetparameters.c
M 1.2 cpukit/score/src/schedulercbsgetremainingbudget.c
M 1.2 cpukit/score/src/schedulercbssetparameters.c
diff -u rtems/cpukit/ChangeLog:1.3049 rtems/cpukit/ChangeLog:1.3050
--- rtems/cpukit/ChangeLog:1.3049 Tue Dec 6 01:08:44 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 01:12:41 2011
@@ -1,5 +1,17 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * score/src/schedulercbsattachthread.c,
+ score/src/schedulercbsdestroyserver.c,
+ score/src/schedulercbsdetachthread.c,
+ score/src/schedulercbsgetapprovedbudget.c,
+ score/src/schedulercbsgetexecutiontime.c,
+ score/src/schedulercbsgetparameters.c,
+ score/src/schedulercbsgetremainingbudget.c,
+ score/src/schedulercbssetparameters.c:
+ Remove checks for server_id < 0 (server_id is unsigned).
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* posix/src/pspinlocktranslatereturncode.c:
Include <rtems/posix/spinlock.h> (Missing prototypes).
* libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
diff -u rtems/cpukit/score/src/schedulercbsattachthread.c:1.1 rtems/cpukit/score/src/schedulercbsattachthread.c:1.2
--- rtems/cpukit/score/src/schedulercbsattachthread.c:1.1 Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbsattachthread.c Tue Dec 6 01:12:41 2011
@@ -28,7 +28,7 @@
Thread_Control *the_thread;
Scheduler_CBS_Per_thread *sched_info;
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
the_thread = _Thread_Get(task_id, &location);
diff -u rtems/cpukit/score/src/schedulercbsdestroyserver.c:1.1 rtems/cpukit/score/src/schedulercbsdestroyserver.c:1.2
--- rtems/cpukit/score/src/schedulercbsdestroyserver.c:1.1 Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbsdestroyserver.c Tue Dec 6 01:12:41 2011
@@ -25,7 +25,7 @@
int ret = SCHEDULER_CBS_OK;
rtems_id tid;
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
if ( !_Scheduler_CBS_Server_list[server_id] )
diff -u rtems/cpukit/score/src/schedulercbsdetachthread.c:1.2 rtems/cpukit/score/src/schedulercbsdetachthread.c:1.3
--- rtems/cpukit/score/src/schedulercbsdetachthread.c:1.2 Mon Oct 24 07:54:50 2011
+++ rtems/cpukit/score/src/schedulercbsdetachthread.c Tue Dec 6 01:12:42 2011
@@ -33,7 +33,7 @@
_Thread_Enable_dispatch();
}
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
if ( !the_thread )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
diff -u rtems/cpukit/score/src/schedulercbsgetapprovedbudget.c:1.1 rtems/cpukit/score/src/schedulercbsgetapprovedbudget.c:1.2
--- rtems/cpukit/score/src/schedulercbsgetapprovedbudget.c:1.1 Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbsgetapprovedbudget.c Tue Dec 6 01:12:42 2011
@@ -23,7 +23,7 @@
time_t *approved_budget
)
{
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
if ( !_Scheduler_CBS_Server_list[server_id] )
return SCHEDULER_CBS_ERROR_NOSERVER;
diff -u rtems/cpukit/score/src/schedulercbsgetexecutiontime.c:1.2 rtems/cpukit/score/src/schedulercbsgetexecutiontime.c:1.3
--- rtems/cpukit/score/src/schedulercbsgetexecutiontime.c:1.2 Mon Sep 26 19:58:42 2011
+++ rtems/cpukit/score/src/schedulercbsgetexecutiontime.c Tue Dec 6 01:12:42 2011
@@ -27,7 +27,7 @@
Objects_Locations location;
Thread_Control *the_thread;
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
if ( !_Scheduler_CBS_Server_list[server_id] )
return SCHEDULER_CBS_ERROR_NOSERVER;
diff -u rtems/cpukit/score/src/schedulercbsgetparameters.c:1.1 rtems/cpukit/score/src/schedulercbsgetparameters.c:1.2
--- rtems/cpukit/score/src/schedulercbsgetparameters.c:1.1 Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbsgetparameters.c Tue Dec 6 01:12:42 2011
@@ -23,7 +23,7 @@
Scheduler_CBS_Parameters *params
)
{
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
if ( !_Scheduler_CBS_Server_list[server_id] )
return SCHEDULER_CBS_ERROR_NOSERVER;
diff -u rtems/cpukit/score/src/schedulercbsgetremainingbudget.c:1.1 rtems/cpukit/score/src/schedulercbsgetremainingbudget.c:1.2
--- rtems/cpukit/score/src/schedulercbsgetremainingbudget.c:1.1 Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbsgetremainingbudget.c Tue Dec 6 01:12:42 2011
@@ -26,7 +26,7 @@
Objects_Locations location;
Thread_Control *the_thread;
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
if ( !_Scheduler_CBS_Server_list[server_id] )
return SCHEDULER_CBS_ERROR_NOSERVER;
diff -u rtems/cpukit/score/src/schedulercbssetparameters.c:1.1 rtems/cpukit/score/src/schedulercbssetparameters.c:1.2
--- rtems/cpukit/score/src/schedulercbssetparameters.c:1.1 Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbssetparameters.c Tue Dec 6 01:12:42 2011
@@ -23,7 +23,7 @@
Scheduler_CBS_Parameters *params
)
{
- if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
+ if ( server_id >= _Scheduler_CBS_Maximum_servers )
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
if ( params->budget <= 0 ||
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/monitor/mon-network.c: Include <rtems/monitor.h>.
* libmisc/monitor/mon-object.c:
Make rtems_monitor_object_canonical_next_remote,
rtems_monitor_object_dump_1, rtems_monitor_object_dump_all static.
* libmisc/monitor/mon-prmisc.c:
Make rtems_monitor_dump_assoc_bitfield static.
* libmisc/monitor/mon-symbols.c:
Make rtems_monitor_symbol_dump_all static.
M 1.3051 cpukit/ChangeLog
M 1.10 cpukit/libmisc/monitor/mon-network.c
M 1.31 cpukit/libmisc/monitor/mon-object.c
M 1.27 cpukit/libmisc/monitor/mon-prmisc.c
M 1.35 cpukit/libmisc/monitor/mon-symbols.c
diff -u rtems/cpukit/ChangeLog:1.3050 rtems/cpukit/ChangeLog:1.3051
--- rtems/cpukit/ChangeLog:1.3050 Tue Dec 6 01:12:41 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 01:34:47 2011
@@ -1,5 +1,16 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/monitor/mon-network.c: Include <rtems/monitor.h>.
+ * libmisc/monitor/mon-object.c:
+ Make rtems_monitor_object_canonical_next_remote,
+ rtems_monitor_object_dump_1, rtems_monitor_object_dump_all static.
+ * libmisc/monitor/mon-prmisc.c:
+ Make rtems_monitor_dump_assoc_bitfield static.
+ * libmisc/monitor/mon-symbols.c:
+ Make rtems_monitor_symbol_dump_all static.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* score/src/schedulercbsattachthread.c,
score/src/schedulercbsdestroyserver.c,
score/src/schedulercbsdetachthread.c,
diff -u rtems/cpukit/libmisc/monitor/mon-network.c:1.9 rtems/cpukit/libmisc/monitor/mon-network.c:1.10
--- rtems/cpukit/libmisc/monitor/mon-network.c:1.9 Fri Mar 12 10:26:14 2010
+++ rtems/cpukit/libmisc/monitor/mon-network.c Tue Dec 6 01:34:48 2011
@@ -26,6 +26,7 @@
#include <sys/sockio.h>
#include <net/route.h>
+#include <rtems/monitor.h>
void mon_ifconfig(int argc, char *argv[],
uint32_t command_arg __attribute__((unused)),
diff -u rtems/cpukit/libmisc/monitor/mon-object.c:1.30 rtems/cpukit/libmisc/monitor/mon-object.c:1.31
--- rtems/cpukit/libmisc/monitor/mon-object.c:1.30 Thu Dec 18 09:25:27 2008
+++ rtems/cpukit/libmisc/monitor/mon-object.c Tue Dec 6 01:34:48 2011
@@ -186,7 +186,7 @@
return 0;
}
-rtems_id
+static rtems_id
rtems_monitor_object_canonical_next_remote(
rtems_monitor_object_type_t type,
rtems_id id,
@@ -293,7 +293,7 @@
}
-void
+static void
rtems_monitor_object_dump_1(
const rtems_monitor_object_info_t *info,
rtems_id id,
@@ -327,7 +327,7 @@
}
}
-void
+static void
rtems_monitor_object_dump_all(
const rtems_monitor_object_info_t *info,
bool verbose
diff -u rtems/cpukit/libmisc/monitor/mon-prmisc.c:1.26 rtems/cpukit/libmisc/monitor/mon-prmisc.c:1.27
--- rtems/cpukit/libmisc/monitor/mon-prmisc.c:1.26 Mon Mar 7 07:54:44 2011
+++ rtems/cpukit/libmisc/monitor/mon-prmisc.c Tue Dec 6 01:34:48 2011
@@ -60,11 +60,11 @@
return fprintf(stdout,"0x%" PRIx32, num);
}
-int
+static int
rtems_monitor_dump_assoc_bitfield(
const rtems_assoc_t *ap,
const char *separator,
- uint32_t value
+ uint32_t value
)
{
uint32_t b;
diff -u rtems/cpukit/libmisc/monitor/mon-symbols.c:1.34 rtems/cpukit/libmisc/monitor/mon-symbols.c:1.35
--- rtems/cpukit/libmisc/monitor/mon-symbols.c:1.34 Thu Aug 26 16:41:41 2010
+++ rtems/cpukit/libmisc/monitor/mon-symbols.c Tue Dec 6 01:34:48 2011
@@ -419,7 +419,7 @@
}
-void
+static void
rtems_monitor_symbol_dump_all(
rtems_symbol_table_t *table,
bool verbose __attribute__((unused))
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/malloc_sbrk_helpers.c: Make
malloc_sbrk_initialize, malloc_sbrk_extend_and_allocate static.
M 1.3052 cpukit/ChangeLog
M 1.5 cpukit/libcsupport/src/malloc_sbrk_helpers.c
diff -u rtems/cpukit/ChangeLog:1.3051 rtems/cpukit/ChangeLog:1.3052
--- rtems/cpukit/ChangeLog:1.3051 Tue Dec 6 01:34:47 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 01:57:10 2011
@@ -1,5 +1,10 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/malloc_sbrk_helpers.c: Make
+ malloc_sbrk_initialize, malloc_sbrk_extend_and_allocate static.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libmisc/monitor/mon-network.c: Include <rtems/monitor.h>.
* libmisc/monitor/mon-object.c:
Make rtems_monitor_object_canonical_next_remote,
diff -u rtems/cpukit/libcsupport/src/malloc_sbrk_helpers.c:1.4 rtems/cpukit/libcsupport/src/malloc_sbrk_helpers.c:1.5
--- rtems/cpukit/libcsupport/src/malloc_sbrk_helpers.c:1.4 Fri Apr 2 02:05:32 2010
+++ rtems/cpukit/libcsupport/src/malloc_sbrk_helpers.c Tue Dec 6 01:57:10 2011
@@ -25,7 +25,7 @@
size_t RTEMS_Malloc_Sbrk_amount;
-void *malloc_sbrk_initialize(
+static void *malloc_sbrk_initialize(
void *starting_address,
size_t length
)
@@ -64,7 +64,7 @@
return starting_address;
}
-void *malloc_sbrk_extend_and_allocate(
+static void *malloc_sbrk_extend_and_allocate(
size_t size
)
{
@@ -108,5 +108,3 @@
malloc_sbrk_initialize,
malloc_sbrk_extend_and_allocate
};
-
-
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/mouse/serial_mouse.c: Make serial_mouse_l_rint static.
M 1.3053 cpukit/ChangeLog
M 1.4 cpukit/libmisc/mouse/serial_mouse.c
diff -u rtems/cpukit/ChangeLog:1.3052 rtems/cpukit/ChangeLog:1.3053
--- rtems/cpukit/ChangeLog:1.3052 Tue Dec 6 01:57:10 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 02:00:24 2011
@@ -1,5 +1,8 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/mouse/serial_mouse.c: Make serial_mouse_l_rint static.
+ * libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing
+ prototypes).
* libcsupport/src/malloc_sbrk_helpers.c: Make
malloc_sbrk_initialize, malloc_sbrk_extend_and_allocate static.
diff -u rtems/cpukit/libmisc/mouse/serial_mouse.c:1.3 rtems/cpukit/libmisc/mouse/serial_mouse.c:1.4
--- rtems/cpukit/libmisc/mouse/serial_mouse.c:1.3 Tue Oct 11 23:50:34 2011
+++ rtems/cpukit/libmisc/mouse/serial_mouse.c Tue Dec 6 02:00:24 2011
@@ -25,7 +25,7 @@
const char *serial_mouse_device;
const char *serial_mouse_type;
-int serial_mouse_l_rint(int c, struct rtems_termios_tty *tp)
+static int serial_mouse_l_rint(int c, struct rtems_termios_tty *tp)
{
unsigned char buf = c;
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/serdbg/serdbg.h: Add serdbg_init_dbg.
* libmisc/serdbg/serdbgcnf.h:
Remove conditional serdbg_init_dbg prototype.
M 1.3054 cpukit/ChangeLog
M 1.8 cpukit/libmisc/serdbg/serdbg.h
M 1.6 cpukit/libmisc/serdbg/serdbgcnf.h
diff -u rtems/cpukit/ChangeLog:1.3053 rtems/cpukit/ChangeLog:1.3054
--- rtems/cpukit/ChangeLog:1.3053 Tue Dec 6 02:00:24 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 02:02:30 2011
@@ -1,5 +1,11 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/serdbg/serdbg.h: Add serdbg_init_dbg.
+ * libmisc/serdbg/serdbgcnf.h:
+ Remove conditional serdbg_init_dbg prototype.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libmisc/mouse/serial_mouse.c: Make serial_mouse_l_rint static.
* libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing
prototypes).
diff -u rtems/cpukit/libmisc/serdbg/serdbg.h:1.7 rtems/cpukit/libmisc/serdbg/serdbg.h:1.8
--- rtems/cpukit/libmisc/serdbg/serdbg.h:1.7 Sat Oct 8 22:59:21 2011
+++ rtems/cpukit/libmisc/serdbg/serdbg.h Tue Dec 6 02:02:31 2011
@@ -139,6 +139,9 @@
| 0 on success, -1 and errno otherwise |
\*=========================================================================*/
+
+extern int serdbg_init_dbg(void);
+
/*
* Assumed to be provided by the BSP
*/
diff -u rtems/cpukit/libmisc/serdbg/serdbgcnf.h:1.5 rtems/cpukit/libmisc/serdbg/serdbgcnf.h:1.6
--- rtems/cpukit/libmisc/serdbg/serdbgcnf.h:1.5 Mon Sep 1 06:28:56 2008
+++ rtems/cpukit/libmisc/serdbg/serdbgcnf.h Tue Dec 6 02:02:31 2011
@@ -73,7 +73,6 @@
int serdbg_init(void) {
#ifdef CONFIGURE_USE_SERDBG
- extern int serdbg_init_dbg(void);
return serdbg_init_dbg();
#else
return 0;
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/envlock.c: Rename define ENVLOCK_DEDIDCATED_MUTEX
into ENVLOCK_DEDICATED_MUTEX (Typo).
M 1.3055 cpukit/ChangeLog
M 1.6 cpukit/libcsupport/src/envlock.c
diff -u rtems/cpukit/ChangeLog:1.3054 rtems/cpukit/ChangeLog:1.3055
--- rtems/cpukit/ChangeLog:1.3054 Tue Dec 6 02:02:30 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 02:05:33 2011
@@ -1,5 +1,10 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/envlock.c: Rename define ENVLOCK_DEDIDCATED_MUTEX
+ into ENVLOCK_DEDICATED_MUTEX (Typo).
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libmisc/serdbg/serdbg.h: Add serdbg_init_dbg.
* libmisc/serdbg/serdbgcnf.h:
Remove conditional serdbg_init_dbg prototype.
diff -u rtems/cpukit/libcsupport/src/envlock.c:1.5 rtems/cpukit/libcsupport/src/envlock.c:1.6
--- rtems/cpukit/libcsupport/src/envlock.c:1.5 Fri Apr 30 03:55:40 2010
+++ rtems/cpukit/libcsupport/src/envlock.c Tue Dec 6 02:05:34 2011
@@ -36,7 +36,7 @@
*
*/
-#if defined(ENVLOCK_DEDIDCATED_MUTEX)
+#if defined(ENVLOCK_DEDICATED_MUTEX)
static rtems_id envLock=0;
static void
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Check for envlock.h.
Check for decls of __env_lock, __env_unlock.
M 1.3056 cpukit/ChangeLog
M 1.208 cpukit/configure.ac
diff -u rtems/cpukit/ChangeLog:1.3055 rtems/cpukit/ChangeLog:1.3056
--- rtems/cpukit/ChangeLog:1.3055 Tue Dec 6 02:05:33 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 02:15:31 2011
@@ -1,5 +1,10 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * configure.ac: Check for envlock.h.
+ Check for decls of __env_lock, __env_unlock.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libcsupport/src/envlock.c: Rename define ENVLOCK_DEDIDCATED_MUTEX
into ENVLOCK_DEDICATED_MUTEX (Typo).
diff -u rtems/cpukit/configure.ac:1.207 rtems/cpukit/configure.ac:1.208
--- rtems/cpukit/configure.ac:1.207 Mon Oct 24 08:08:05 2011
+++ rtems/cpukit/configure.ac Tue Dec 6 02:15:32 2011
@@ -66,6 +66,11 @@
AC_CHECK_DECLS([funlockfile],[AC_CHECK_FUNCS([funlockfile])],,[#include <stdio.h>])
AC_CHECK_DECLS([ftrylockfile],[AC_CHECK_FUNCS([ftrylockfile])],,[#include <stdio.h>])
+# Newlib proprietary
+AC_CHECK_HEADERS([envlock.h])
+AC_CHECK_DECLS([__env_lock],,,[#include <envlock.h>])
+AC_CHECK_DECLS([__env_unlock],,,[#include <envlock.h>])
+
# Mandated by POSIX, older newlibs bogusly provided CLOCK_PROCESS_CPUTIME+CLOCK_THREAD_CPUTIME
AC_CHECK_DECL([CLOCK_PROCESS_CPUTIME_ID],[],[AC_MSG_ERROR([missing define CLOCK_PROCESS_CPUTIME_ID])],[#include <time.h>])
AC_CHECK_DECL([CLOCK_THREAD_CPUTIME_ID],[],[AC_MSG_ERROR([missing define CLOCK_THREAD_CPUTIME_ID])],[#include <time.h>])
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/envlock.c: Build conditionally.
M 1.3057 cpukit/ChangeLog
M 1.7 cpukit/libcsupport/src/envlock.c
diff -u rtems/cpukit/ChangeLog:1.3056 rtems/cpukit/ChangeLog:1.3057
--- rtems/cpukit/ChangeLog:1.3056 Tue Dec 6 02:15:31 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 07:35:11 2011
@@ -1,5 +1,6 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/envlock.c: Build conditionally.
* configure.ac: Check for envlock.h.
Check for decls of __env_lock, __env_unlock.
diff -u rtems/cpukit/libcsupport/src/envlock.c:1.6 rtems/cpukit/libcsupport/src/envlock.c:1.7
--- rtems/cpukit/libcsupport/src/envlock.c:1.6 Tue Dec 6 02:05:34 2011
+++ rtems/cpukit/libcsupport/src/envlock.c Tue Dec 6 07:35:12 2011
@@ -10,6 +10,11 @@
#include "config.h"
#endif
+#if defined(HAVE_ENVLOCK_H) \
+ && defined(HAVE_DECL___ENV_LOCK) && defined(HAVE_DECL___ENV_UNLOCK)
+
+#include <envlock.h>
+
#include <rtems.h>
#include <sys/reent.h>
@@ -105,4 +110,6 @@
{
rtems_libio_unlock();
}
-#endif
+#endif /* ENVLOCK_DEDICATED_MUTEX */
+
+#endif /* HAVE_ENVLOCK_H ... */
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
libcsupport/src/funlockfile.c:
Add __attribute__((unused)) to unused function parameters.
M 1.3058 cpukit/ChangeLog
M 1.2 cpukit/libcsupport/src/flockfile.c
M 1.3 cpukit/libcsupport/src/ftrylockfile.c
M 1.2 cpukit/libcsupport/src/funlockfile.c
diff -u rtems/cpukit/ChangeLog:1.3057 rtems/cpukit/ChangeLog:1.3058
--- rtems/cpukit/ChangeLog:1.3057 Tue Dec 6 07:35:11 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 07:39:11 2011
@@ -1,5 +1,11 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
+ libcsupport/src/funlockfile.c:
+ Add __attribute__((unused)) to unused function parameters.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libcsupport/src/envlock.c: Build conditionally.
* configure.ac: Check for envlock.h.
Check for decls of __env_lock, __env_unlock.
diff -u rtems/cpukit/libcsupport/src/flockfile.c:1.1 rtems/cpukit/libcsupport/src/flockfile.c:1.2
--- rtems/cpukit/libcsupport/src/flockfile.c:1.1 Fri Apr 30 23:19:00 2010
+++ rtems/cpukit/libcsupport/src/flockfile.c Tue Dec 6 07:39:12 2011
@@ -15,7 +15,7 @@
#include <stdio.h>
/* This is a non-functional stub */
-void flockfile(FILE* file)
+void flockfile(FILE* file __attribute__((unused)))
{
}
diff -u rtems/cpukit/libcsupport/src/ftrylockfile.c:1.2 rtems/cpukit/libcsupport/src/ftrylockfile.c:1.3
--- rtems/cpukit/libcsupport/src/ftrylockfile.c:1.2 Mon Jun 28 17:14:35 2010
+++ rtems/cpukit/libcsupport/src/ftrylockfile.c Tue Dec 6 07:39:12 2011
@@ -17,7 +17,7 @@
#include <errno.h>
/* This is a non-functional stub */
-int ftrylockfile(FILE* file)
+int ftrylockfile(FILE* file __attribute__((unused)))
{
rtems_set_errno_and_return_minus_one( ENOTSUP );
}
diff -u rtems/cpukit/libcsupport/src/funlockfile.c:1.1 rtems/cpukit/libcsupport/src/funlockfile.c:1.2
--- rtems/cpukit/libcsupport/src/funlockfile.c:1.1 Fri Apr 30 23:19:00 2010
+++ rtems/cpukit/libcsupport/src/funlockfile.c Tue Dec 6 07:39:12 2011
@@ -15,7 +15,7 @@
#include <stdio.h>
/* This is a non-functional stub */
-void funlockfile(FILE* file)
+void funlockfile(FILE* file __attribute__((unused)))
{
}
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype).
M 1.3060 cpukit/ChangeLog
M 1.10 cpukit/libfs/src/pipe/pipe.c
diff -u rtems/cpukit/ChangeLog:1.3059 rtems/cpukit/ChangeLog:1.3060
--- rtems/cpukit/ChangeLog:1.3059 Tue Dec 6 08:23:25 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 09:20:50 2011
@@ -1,3 +1,7 @@
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype).
+
2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
* score/src/heapiterate.c, score/src/pheapiterate.c: New files.
@@ -79,7 +83,6 @@
Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit
sign conversions).
Make rtems_capture_trigger static (Missing prototypes).
- Make rtems_capture_trigger static (Missing prototypes).
* libmisc/capture/capture.h:
Make RTEMS_CAPTURE_WATCH, RTEMS_CAPTURE_TRACED unsigned (Avoid
implicit sign conversions).
diff -u rtems/cpukit/libfs/src/pipe/pipe.c:1.9 rtems/cpukit/libfs/src/pipe/pipe.c:1.10
--- rtems/cpukit/libfs/src/pipe/pipe.c:1.9 Sat Aug 28 14:49:47 2010
+++ rtems/cpukit/libfs/src/pipe/pipe.c Tue Dec 6 09:20:50 2011
@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <rtems/libio_.h>
#include <rtems/seterr.h>
+#include <rtems/pipe.h>
/* Incremental number added to names of anonymous pipe files */
/* FIXME: This approach is questionable */
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/stackchk/check.c: Make Stack_check_Initialize,
Stack_check_Dump_threads_usage static.
M 1.3061 cpukit/ChangeLog
M 1.76 cpukit/libmisc/stackchk/check.c
diff -u rtems/cpukit/ChangeLog:1.3060 rtems/cpukit/ChangeLog:1.3061
--- rtems/cpukit/ChangeLog:1.3060 Tue Dec 6 09:20:50 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 09:22:13 2011
@@ -1,5 +1,7 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libmisc/stackchk/check.c: Make Stack_check_Initialize,
+ Stack_check_Dump_threads_usage static.
* libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype).
2011-12-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
diff -u rtems/cpukit/libmisc/stackchk/check.c:1.75 rtems/cpukit/libmisc/stackchk/check.c:1.76
--- rtems/cpukit/libmisc/stackchk/check.c:1.75 Sun Jul 24 18:55:06 2011
+++ rtems/cpukit/libmisc/stackchk/check.c Tue Dec 6 09:22:13 2011
@@ -138,7 +138,7 @@
/*
* Stack_check_Initialize
*/
-void Stack_check_Initialize( void )
+static void Stack_check_Initialize( void )
{
int i;
uint32_t *p;
@@ -382,7 +382,7 @@
static void *print_context;
static rtems_printk_plugin_t print_handler;
-void Stack_check_Dump_threads_usage(
+static void Stack_check_Dump_threads_usage(
Thread_Control *the_thread
)
{
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libchip/ide/ata.c: Make ata_interrupt_on, ata_interrupt_off,
ata_interrupt_isOn static.
M 1.578 c/src/ChangeLog
M 1.45 c/src/libchip/ide/ata.c
diff -u rtems/c/src/ChangeLog:1.577 rtems/c/src/ChangeLog:1.578
--- rtems/c/src/ChangeLog:1.577 Tue Dec 6 00:35:23 2011
+++ rtems/c/src/ChangeLog Tue Dec 6 09:39:28 2011
@@ -1,5 +1,10 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libchip/ide/ata.c: Make ata_interrupt_on, ata_interrupt_off,
+ ata_interrupt_isOn static.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libchip/serial/mc68681.c (mc68681_open):
Var "status" needs to be signed.
diff -u rtems/c/src/libchip/ide/ata.c:1.44 rtems/c/src/libchip/ide/ata.c:1.45
--- rtems/c/src/libchip/ide/ata.c:1.44 Mon Dec 5 03:21:11 2011
+++ rtems/c/src/libchip/ide/ata.c Tue Dec 6 09:39:29 2011
@@ -685,7 +685,7 @@
}
}
-void ata_interrupt_on(const rtems_irq_connect_data *ptr)
+static void ata_interrupt_on(const rtems_irq_connect_data *ptr)
{
/* enable ATA device interrupt */
@@ -696,7 +696,7 @@
}
-void ata_interrupt_off(const rtems_irq_connect_data *ptr)
+static void ata_interrupt_off(const rtems_irq_connect_data *ptr)
{
/* disable ATA device interrupt */
@@ -707,7 +707,7 @@
}
-int ata_interrupt_isOn(const rtems_irq_connect_data *ptr)
+static int ata_interrupt_isOn(const rtems_irq_connect_data *ptr)
{
uint16_t byte; /* emphasize that only 8 low bits is meaningful */
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/pipe.c: Include <unistd.h>.
Include <rtems/pipe.h>.
M 1.3062 cpukit/ChangeLog
M 1.7 cpukit/libcsupport/src/pipe.c
diff -u rtems/cpukit/ChangeLog:1.3061 rtems/cpukit/ChangeLog:1.3062
--- rtems/cpukit/ChangeLog:1.3061 Tue Dec 6 09:22:13 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 09:42:00 2011
@@ -1,5 +1,7 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/pipe.c: Include <unistd.h>.
+ Include <rtems/pipe.h>.
* libmisc/stackchk/check.c: Make Stack_check_Initialize,
Stack_check_Dump_threads_usage static.
* libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype).
diff -u rtems/cpukit/libcsupport/src/pipe.c:1.6 rtems/cpukit/libcsupport/src/pipe.c:1.7
--- rtems/cpukit/libcsupport/src/pipe.c:1.6 Mon Jun 28 17:14:35 2010
+++ rtems/cpukit/libcsupport/src/pipe.c Tue Dec 6 09:42:00 2011
@@ -15,11 +15,12 @@
#include "config.h"
#endif
+#include <unistd.h>
+
#include <errno.h>
#include <sys/types.h>
#include <rtems/seterr.h>
-
-extern int pipe_create(int filsdes[2]);
+#include <rtems/pipe.h>
int pipe(
int filsdes[2]
*ralf*:
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/ratemonperiod.c: Make _Rate_monotonic_Update_statistics
static.
M 1.3063 cpukit/ChangeLog
M 1.33 cpukit/rtems/src/ratemonperiod.c
diff -u rtems/cpukit/ChangeLog:1.3062 rtems/cpukit/ChangeLog:1.3063
--- rtems/cpukit/ChangeLog:1.3062 Tue Dec 6 09:42:00 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 09:45:04 2011
@@ -1,5 +1,7 @@
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/src/ratemonperiod.c: Make _Rate_monotonic_Update_statistics
+ static.
* libcsupport/src/pipe.c: Include <unistd.h>.
Include <rtems/pipe.h>.
* libmisc/stackchk/check.c: Make Stack_check_Initialize,
diff -u rtems/cpukit/rtems/src/ratemonperiod.c:1.32 rtems/cpukit/rtems/src/ratemonperiod.c:1.33
--- rtems/cpukit/rtems/src/ratemonperiod.c:1.32 Wed Oct 19 02:25:10 2011
+++ rtems/cpukit/rtems/src/ratemonperiod.c Tue Dec 6 09:45:06 2011
@@ -146,7 +146,7 @@
_Scheduler_Release_job(the_period->owner, the_period->next_length);
}
-void _Rate_monotonic_Update_statistics(
+static void _Rate_monotonic_Update_statistics(
Rate_monotonic_Control *the_period
)
{
*ralf*:
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer
(Unused).
M 1.3064 cpukit/ChangeLog
M 1.16 cpukit/libnetworking/libc/gethostbydns.c
diff -u rtems/cpukit/ChangeLog:1.3063 rtems/cpukit/ChangeLog:1.3064
--- rtems/cpukit/ChangeLog:1.3063 Tue Dec 6 09:45:04 2011
+++ rtems/cpukit/ChangeLog Tue Dec 6 23:19:07 2011
@@ -1,3 +1,8 @@
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer
+ (Unused).
+
2011-12-06 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/ratemonperiod.c: Make _Rate_monotonic_Update_statistics
diff -u rtems/cpukit/libnetworking/libc/gethostbydns.c:1.15 rtems/cpukit/libnetworking/libc/gethostbydns.c:1.16
--- rtems/cpukit/libnetworking/libc/gethostbydns.c:1.15 Thu Mar 24 04:31:25 2011
+++ rtems/cpukit/libnetworking/libc/gethostbydns.c Tue Dec 6 23:19:07 2011
@@ -456,6 +456,7 @@
return (NULL);
}
+#if 0
struct hostent *
__dns_getanswer(const char *answer, int anslen, const char *qname, int qtype)
{
@@ -473,6 +474,7 @@
return(gethostanswer((const querybuf *)answer, anslen, qname, qtype));
}
+#endif
struct hostent *
_gethostbydnsname(
*ralf*:
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* libnetworking/libc/ns_parse.c (ns_parserr):
Comment out if ( section < 0 ) (type is unsigned).
M 1.3065 cpukit/ChangeLog
M 1.5 cpukit/libnetworking/libc/ns_parse.c
diff -u rtems/cpukit/ChangeLog:1.3064 rtems/cpukit/ChangeLog:1.3065
--- rtems/cpukit/ChangeLog:1.3064 Tue Dec 6 23:19:07 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 00:46:18 2011
@@ -1,5 +1,7 @@
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libnetworking/libc/ns_parse.c (ns_parserr):
+ Comment out if ( section < 0 ) (type is unsigned).
* libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer
(Unused).
diff -u rtems/cpukit/libnetworking/libc/ns_parse.c:1.4 rtems/cpukit/libnetworking/libc/ns_parse.c:1.5
--- rtems/cpukit/libnetworking/libc/ns_parse.c:1.4 Fri Mar 30 00:15:58 2007
+++ rtems/cpukit/libnetworking/libc/ns_parse.c Wed Dec 7 00:46:19 2011
@@ -124,7 +124,7 @@
int b;
/* Make section right. */
- if (section < 0 || section >= ns_s_max)
+ if ( /* section < 0 || */ section >= ns_s_max)
goto enodev;
if ((int)section != (int)handle->_sect) {
handle->_sect = section;
*ralf* (on branch rtems-4-10-branch):
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
PR 1983/networking
* libnetworking/libc/gethostbyht.c (gethostent_r):
Abort if (!hostf).
M 1.3066 cpukit/ChangeLog
M 1.1539.2.85 cpukit/ChangeLog
M 1.2346.2.110 cpukit/ChangeLog
M 1.12 cpukit/libnetworking/libc/gethostbyht.c
M 1.8.2.1 cpukit/libnetworking/libc/gethostbyht.c
M 1.11.2.1 cpukit/libnetworking/libc/gethostbyht.c
diff -u rtems/cpukit/ChangeLog:1.3065 rtems/cpukit/ChangeLog:1.3066
--- rtems/cpukit/ChangeLog:1.3065 Wed Dec 7 00:46:18 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 00:49:31 2011
@@ -1,5 +1,11 @@
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+ PR 1983/networking
+ * libnetworking/libc/gethostbyht.c (gethostent_r):
+ Abort if (!hostf).
+
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libnetworking/libc/ns_parse.c (ns_parserr):
Comment out if ( section < 0 ) (type is unsigned).
* libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer
diff -u rtems/cpukit/ChangeLog:1.1539.2.84 rtems/cpukit/ChangeLog:1.1539.2.85
--- rtems/cpukit/ChangeLog:1.1539.2.84 Mon Nov 28 10:36:46 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 00:54:40 2011
@@ -1,3 +1,9 @@
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ PR 1983/networking
+ * libnetworking/libc/gethostbyht.c (gethostent_r):
+ Abort if (!hostf).
+
2011-11-28 Werner Almesberger <werner at almesberger.net>
PR 1961/cpukit
diff -u rtems/cpukit/ChangeLog:1.2346.2.109 rtems/cpukit/ChangeLog:1.2346.2.110
--- rtems/cpukit/ChangeLog:1.2346.2.109 Wed Nov 30 01:00:43 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 00:51:41 2011
@@ -1,3 +1,9 @@
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ PR 1983/networking
+ * libnetworking/libc/gethostbyht.c (gethostent_r):
+ Abort if (!hostf).
+
2011-11-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* librpc/src/rpc/clnt_udp.c (struct cu_data):
diff -u rtems/cpukit/libnetworking/libc/gethostbyht.c:1.11 rtems/cpukit/libnetworking/libc/gethostbyht.c:1.12
--- rtems/cpukit/libnetworking/libc/gethostbyht.c:1.11 Fri Mar 26 23:00:52 2010
+++ rtems/cpukit/libnetworking/libc/gethostbyht.c Wed Dec 7 00:49:32 2011
@@ -223,7 +223,7 @@
int curlen;
- if (hostf<0) return 0;
+ if (!hostf) return 0;
fseek(hostf,0,SEEK_END);
curlen=ftell(hostf);
fseek(hostf,0,SEEK_SET);
diff -u rtems/cpukit/libnetworking/libc/gethostbyht.c:1.8 rtems/cpukit/libnetworking/libc/gethostbyht.c:1.8.2.1
--- rtems/cpukit/libnetworking/libc/gethostbyht.c:1.8 Mon Sep 1 01:59:32 2008
+++ rtems/cpukit/libnetworking/libc/gethostbyht.c Wed Dec 7 00:54:43 2011
@@ -220,7 +220,7 @@
int curlen;
- if (hostf<0) return 0;
+ if (!hostf) return 0;
fseek(hostf,0,SEEK_END);
curlen=ftell(hostf);
fseek(hostf,0,SEEK_SET);
diff -u rtems/cpukit/libnetworking/libc/gethostbyht.c:1.11 rtems/cpukit/libnetworking/libc/gethostbyht.c:1.11.2.1
--- rtems/cpukit/libnetworking/libc/gethostbyht.c:1.11 Fri Mar 26 23:00:52 2010
+++ rtems/cpukit/libnetworking/libc/gethostbyht.c Wed Dec 7 00:51:43 2011
@@ -223,7 +223,7 @@
int curlen;
- if (hostf<0) return 0;
+ if (!hostf) return 0;
fseek(hostf,0,SEEK_END);
curlen=ftell(hostf);
fseek(hostf,0,SEEK_SET);
*ralf*:
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/workspace.c:
Include <rtems/rtems/support.h> (Missing prototypes).
M 1.3067 cpukit/ChangeLog
M 1.6 cpukit/rtems/src/workspace.c
diff -u rtems/cpukit/ChangeLog:1.3066 rtems/cpukit/ChangeLog:1.3067
--- rtems/cpukit/ChangeLog:1.3066 Wed Dec 7 00:49:31 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 01:11:30 2011
@@ -1,5 +1,10 @@
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/src/workspace.c:
+ Include <rtems/rtems/support.h> (Missing prototypes).
+
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
PR 1983/networking
* libnetworking/libc/gethostbyht.c (gethostent_r):
Abort if (!hostf).
diff -u rtems/cpukit/rtems/src/workspace.c:1.5 rtems/cpukit/rtems/src/workspace.c:1.6
--- rtems/cpukit/rtems/src/workspace.c:1.5 Wed May 13 11:48:08 2009
+++ rtems/cpukit/rtems/src/workspace.c Wed Dec 7 01:11:31 2011
@@ -20,6 +20,7 @@
#include <rtems/score/protectedheap.h>
#include <rtems/score/interr.h>
#include <rtems/config.h>
+#include <rtems/rtems/support.h>
#include <string.h> /* for memset */
@@ -37,7 +38,7 @@
* _Workspace_Allocate
*/
bool rtems_workspace_allocate(
- uintptr_t bytes,
+ size_t bytes,
void **pointer
)
{
@@ -55,7 +56,7 @@
/*
* Allocate the memory
*/
- ptr = _Protected_heap_Allocate( &_Workspace_Area, (intptr_t) bytes );
+ ptr = _Protected_heap_Allocate( &_Workspace_Area, bytes );
if (!ptr)
return false;
*ralf*:
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/sup_fs_is_separator.c:
Include <rtems/libio_.h> (Missing protypes).
M 1.3068 cpukit/ChangeLog
M 1.2 cpukit/libcsupport/src/sup_fs_is_separator.c
diff -u rtems/cpukit/ChangeLog:1.3067 rtems/cpukit/ChangeLog:1.3068
--- rtems/cpukit/ChangeLog:1.3067 Wed Dec 7 01:11:30 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 11:21:35 2011
@@ -1,5 +1,10 @@
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * libcsupport/src/sup_fs_is_separator.c:
+ Include <rtems/libio_.h> (Missing protypes).
+
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* rtems/src/workspace.c:
Include <rtems/rtems/support.h> (Missing prototypes).
diff -u rtems/cpukit/libcsupport/src/sup_fs_is_separator.c:1.1 rtems/cpukit/libcsupport/src/sup_fs_is_separator.c:1.2
--- rtems/cpukit/libcsupport/src/sup_fs_is_separator.c:1.1 Mon Jun 7 10:07:39 2010
+++ rtems/cpukit/libcsupport/src/sup_fs_is_separator.c Wed Dec 7 11:21:35 2011
@@ -14,6 +14,7 @@
* $Id$
*/
+#include <rtems/libio_.h>
/*
* rtems_filesystem_is_separator
*ralf*:
Fix typo.
M 1.3069 cpukit/ChangeLog
diff -u rtems/cpukit/ChangeLog:1.3068 rtems/cpukit/ChangeLog:1.3069
--- rtems/cpukit/ChangeLog:1.3068 Wed Dec 7 11:21:35 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 11:23:04 2011
@@ -1,7 +1,7 @@
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/sup_fs_is_separator.c:
- Include <rtems/libio_.h> (Missing protypes).
+ Include <rtems/libio_.h> (Missing prototype).
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
*ralf*:
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* startup/umonsupp.c: Include <rtems/umon.h> (Missing prototype).
M 1.77 c/src/lib/libbsp/arm/csb337/ChangeLog
M 1.3 c/src/lib/libbsp/arm/csb337/startup/umonsupp.c
diff -u rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.76 rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.77
--- rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.76 Mon Nov 7 15:46:13 2011
+++ rtems/c/src/lib/libbsp/arm/csb337/ChangeLog Wed Dec 7 12:10:52 2011
@@ -1,3 +1,7 @@
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * startup/umonsupp.c: Include <rtems/umon.h> (Missing prototype).
+
2011-11-07 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1953/bsps
diff -u rtems/c/src/lib/libbsp/arm/csb337/startup/umonsupp.c:1.2 rtems/c/src/lib/libbsp/arm/csb337/startup/umonsupp.c:1.3
--- rtems/c/src/lib/libbsp/arm/csb337/startup/umonsupp.c:1.2 Mon Nov 30 16:00:36 2009
+++ rtems/c/src/lib/libbsp/arm/csb337/startup/umonsupp.c Wed Dec 7 12:10:52 2011
@@ -13,6 +13,7 @@
*/
#include <bsp.h>
+#include <rtems/umon.h>
/*
* BSP specific routine to help when calling monConnect(). This
*ralf*:
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* umon/tfsDriver.c: Include <rtems/umon.h> (Missing prototype).
* umon/monlib.c: Make DisableMonLock, EnableMonLock static.
M 1.199 c/src/lib/libbsp/shared/ChangeLog
M 1.4 c/src/lib/libbsp/shared/umon/monlib.c
M 1.13 c/src/lib/libbsp/shared/umon/tfsDriver.c
diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.198 rtems/c/src/lib/libbsp/shared/ChangeLog:1.199
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.198 Fri Nov 18 14:08:14 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Wed Dec 7 12:13:14 2011
@@ -1,3 +1,8 @@
+2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * umon/tfsDriver.c: Include <rtems/umon.h> (Missing prototype).
+ * umon/monlib.c: Make DisableMonLock, EnableMonLock static.
+
2011-11-18 Jennifer Averett <Jennifer.Averett at OARcorp.com>
* console.c: Added a some error checks and fixed a error message.
diff -u rtems/c/src/lib/libbsp/shared/umon/monlib.c:1.3 rtems/c/src/lib/libbsp/shared/umon/monlib.c:1.4
--- rtems/c/src/lib/libbsp/shared/umon/monlib.c:1.3 Mon Nov 30 16:00:47 2009
+++ rtems/c/src/lib/libbsp/shared/umon/monlib.c Wed Dec 7 12:13:14 2011
@@ -313,13 +313,13 @@
*/
static int ignorelock = 0;
-void
+static void
DisableMonLock(void)
{
ignorelock = 2;
}
-void
+static void
EnableMonLock(void)
{
ignorelock = 0;
diff -u rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.12 rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.13
--- rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.12 Sun Nov 6 06:36:55 2011
+++ rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c Wed Dec 7 12:13:14 2011
@@ -30,6 +30,7 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
#include <rtems/bspIo.h>
+#include <rtems/umon.h>
#include <umon/tfs.h>
#include <umon/monlib.h>
*ralf*:
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* rtems/src/rtemsobjectapiminimumclass.c:
Include <rtems/rtems/object.h> (Missing prototype).
Adjust rtems_object_api_minimum_class to prototype.
M 1.3070 cpukit/ChangeLog
M 1.2 cpukit/rtems/src/rtemsobjectapiminimumclass.c
diff -u rtems/cpukit/ChangeLog:1.3069 rtems/cpukit/ChangeLog:1.3070
--- rtems/cpukit/ChangeLog:1.3069 Wed Dec 7 11:23:04 2011
+++ rtems/cpukit/ChangeLog Wed Dec 7 12:46:04 2011
@@ -1,5 +1,8 @@
2011-12-07 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * rtems/src/rtemsobjectapiminimumclass.c:
+ Include <rtems/rtems/object.h> (Missing prototype).
+ Adjust rtems_object_api_minimum_class to prototype.
* libcsupport/src/sup_fs_is_separator.c:
Include <rtems/libio_.h> (Missing prototype).
diff -u rtems/cpukit/rtems/src/rtemsobjectapiminimumclass.c:1.1 rtems/cpukit/rtems/src/rtemsobjectapiminimumclass.c:1.2
--- rtems/cpukit/rtems/src/rtemsobjectapiminimumclass.c:1.1 Tue Jan 29 15:52:20 2008
+++ rtems/cpukit/rtems/src/rtemsobjectapiminimumclass.c Wed Dec 7 12:46:05 2011
@@ -18,9 +18,10 @@
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/rtems/types.h>
+#include <rtems/rtems/object.h>
-uint32_t rtems_object_api_minimum_class(
- uint32_t api
+int rtems_object_api_minimum_class(
+ int api
)
{
if ( _Objects_Is_api_valid( api ) )
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111207/597e1a1b/attachment.html>
More information about the vc
mailing list