source: rtems/cpukit/ChangeLog @ 798ff5a

4.104.114.95
Last change on this file since 798ff5a was 798ff5a, checked in by Joel Sherrill <joel.sherrill@…>, on 07/16/08 at 17:17:29

2008-07-16 Joel Sherrill <joel.sherrill@…>

  • libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence for rtems_shell_init(). This makes it possible to run the shell forever or invoke it from a program as a subroutine, have a user enter commands, and wait for it to exit.
  • Property mode set to 100644
File size: 158.4 KB
Line 
12008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2
3        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
4        for rtems_shell_init(). This makes it possible to run the shell
5        forever or invoke it from a program as a subroutine, have a user
6        enter commands, and wait for it to exit.
7
82008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
9
10        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
11        RTEMS version string.
12        * sapi/src/getversionstring.c: New file.
13
142008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
15
16        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
17        cpukit/score/cpu/m68k/rtems/score/cpu.h,
18        score/cpu/m68k/rtems/score/m68k.h:
19
20        added support to save coldfire FPU/EMAC context
21
222008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
23
24        * libi2c/libi2c.c, libi2c/libi2c.h:
25        make buffer passed to *write* functions a const pointer
26
27
282008-07-10      Till Straumann <strauman@slac.stanford.edu>
29
30        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
31        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
32        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
33        Removed all macro definitions which depended on
34        the compiler defining a PPC CPU-model dependent
35        symbol.
36        Macros which were not used by cpukit have been
37        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
38       
392008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
40
41        * include/rtems/status-checks.h: Fix style.
42
432008-07-10     Sebastian Huber <sebastian.huber@embedded-brains.de>
44
45        * rtems/include/rtems/rtems/intr.h: Documentation.
46
47        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
48        Interrupt Manager (shared handler and handler with a handle).
49
50
512008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
52
53        * cpukit/include/rtems/status-checks.h: Macros for status code and
54        return value checks.
55
56        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
57
58        * cpukit/libfs/src/dosfs/msdos_dir.c,
59        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
60        to file mode.
61
62        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
63        messages.  Driver operations table is now constant.  New entry in the
64        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
65        continuously transmitted in read only functions.
66
672008-07-03      Chris Johns <chrisj@rtems.org>
68
69        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
70        interface that is supported.
71
72        * cpukit/libcsupport/Makefile.am,
73        cpukit/libcsupport/preinstall.am: Remove chain.h header
74        references.
75
76        * cpukit/sapi/include/rtems/chain.h,
77        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
78        interface.
79
80        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
81        include the new chains interface.
82
83        * cpukit/libfs/src/imfs/imfs.h,
84        cpukit/libfs/src/imfs/imfs_creat.c,
85        cpukit/libfs/src/imfs/imfs_debug.c,
86        cpukit/libfs/src/imfs/imfs_directory.c,
87        cpukit/libfs/src/imfs/imfs_fsunmount.c,
88        cpukit/libfs/src/imfs/imfs_getchild.c,
89        cpukit/libfs/src/imfs/imfs_load_tar.c,
90        cpukit/libfs/src/imfs/imfs_rmnod.c,
91        cpukit/libfs/src/imfs/memfile.c,
92        cpukit/libfs/src/nfsclient/src/nfs.c,
93        cpukit/libcsupport/include/rtems/libio.h,
94        cpukit/libcsupport/src/malloc_deferred.c,
95        cpukit/libcsupport/src/mount.c,
96        cpukit/libcsupport/src/privateenv.c,
97        cpukit/libcsupport/src/unmount.c: Change to the new chains
98        interface.
99
100        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
101
1022008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
103
104        * score/include/rtems/score/thread.h,
105        score/src/threaddispatch.c, score/src/threadinitialize.c:
106        Support rtems_ada_self iff __RTEMS_ADA__ is given.
107
1082008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
109
110        * libmisc/shell/shell_script.c: Remove unused function.
111
1122008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
113
114        * configure.ac: Add __RTEMS_ADA__.
115
1162008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
117
118        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
119        libnetworking/libc/getservbyname.c,
120        libnetworking/libc/getservbyport.c: Add initial versions of
121        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
122        point they are just simple weappers for the version without the _r in
123        the name.
124
1252008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
126
127        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
128        Review association tables in monitor.
129
1302008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
131
132        * configure.ac, rtems/src/semtranslatereturncode.c,
133        score/include/rtems/score/coremutex.h,
134        score/include/rtems/score/thread.h,
135        score/inline/rtems/score/coremutex.inl,
136        score/src/coremutex.c, score/src/coremutexsurrender.c,
137        score/src/threadinitialize.c:
138        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
139
1402008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
141
142        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
143        * libgnat/Makefile.am: Use LIBGNAT.
144        * wrapup/Makefile.am: Use LIBGNAT.
145
1462008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
147
148        * acinclude.m4: Add magic to update cpuopt.h.
149        * configure.ac: Remove magic to update cpuopt.h.
150
1512008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
152
153        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
154        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
155        Cleanup mal-formated RTEMS_CPUOPT's.
156
1572008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
158
159        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
160        AC_PREREQ(2.62).
161
1622008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
163
164        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
165        than a number.
166
1672008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
168
169        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
170        still reserved memory for the reentrancy structure. This is about 1K
171        per task. On psim, we now reserve only 1936 bytes and only 240 remain
172        after all allocations. Further analysis will be required to narrow
173        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
174        be defined and the structure named Configuration_Memory_Debug will be
175        instantiated. This structure contains many of the component values
176        that go into the memory reservation computation. This is helpful when
177        tracking down problems.
178
1792008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
180
181        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
182        was always adding heap overhead even when the number of objects
183        configured was zero and we would not do an allocation. This resulted
184        in an over estimation of the amount of Workspace required (~2K on
185        minimum.exe on PowerPC).
186
1872008-06-17      Chris Johns <chrisj@rtems.org>
188
189        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
190        remove warning.
191       
192        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
193        priority level for large memory Coldfires.
194
1952008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
196
197        * rtems/include/rtems/rtems/config.h,
198        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
199        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
200        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
201
2022008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
203
204        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
205        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
206        CONFIGURE_MAXIMUM_PRIORITY.
207
2082008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
209
210        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
211        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
212        sapi/include/confdefs.h, sapi/include/rtems/config.h,
213        score/inline/rtems/score/stack.inl, score/src/isr.c,
214        score/src/mpci.c, score/src/threadcreateidle.c,
215        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
216        ability for application to configure minimum stack size. Add
217        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
218        indicate they want the configured as opposed to the recommended
219        minimum stack size.
220
2212008-06-10      Chris Johns <chrisj@rtems.org>
222
223        * score/include/rtems/score/priority.h: Let the CPU define the
224        maximum and minimum priority levels to reduce the amount of memory
225        thread chains use.
226
2272008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
228
229        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
230        rtems/include/rtems/rtems/config.h,
231        rtems/include/rtems/rtems/dpmem.h,
232        rtems/include/rtems/rtems/eventset.h,
233        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
234        rtems/include/rtems/rtems/ratemon.h,
235        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
236        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
237        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
238        Classic API Doxygen.
239
2402008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
241
242        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
243        score/include/rtems/score/thread.h: Complete previous patch. Add
244        typedef for cpu usage statistics.
245
2462008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
247
248        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
249        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
250        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
251        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
252        score/src/threaddispatch.c, score/src/threadinitialize.c,
253        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
254        period timing statistics. Also renamed related variables and
255        structure members so they are the same whether you are using
256        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
257        granularity. This lays the groundwork for future cleanup.
258
2592008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
260
261        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
262        particular, there was a report from that Matthew Riek that memory was
263        being reserved twice for the IDLE task. This was covering up other
264        places that under allocated memory. Before I was done, I had reworked
265        the file to be easier to read, maintain and be more accurate.
266
2672008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
268
269        * score/include/rtems/score/isr.h, score/src/isr.c: Use
270        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
271        memory for vector table.
272
2732008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
274
275        * score/src/wkspace.c: Fix error in comment.
276
2772008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
278
279        * posix/src/psignal.c: Do not allocate any memory for queued signals if
280        the configuration parameter is 0. Before we would end up with an
281        allocation of 0 which rounded up and wasted some memory when POSIX
282        was configured.
283
2842008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
285
286        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
287        the target toolset uses init/fini sections.
288
2892008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
290
291        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
292        has no functional data in the user extension data area structure so
293        this disables the definition, allocation and deallocation of that
294        structure. If we ever have to add data to it, then it will be easy to
295        reenable.
296
2972008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
298
299        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
300        score/src/threadget.c: Make sure the pointer to the API object table
301        is valid before derefencing it.
302
3032008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
304
305        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
306        calls for leading underscore on private RTEMS variables.
307
3082008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
309
310        * score/include/rtems/score/object.h,
311        score/include/rtems/score/watchdog.h: Move #include's out of
312        extern "C" {}.
313
3142008-05-30      Till Straumann <strauman@slac.stanford.edu>
315
316        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
317        release node if rtems_filesystem_evaluate_path() fails
318        in nfs_eval_link() since pathloc contains no valid node.
319
3202008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
321
322        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
323        while at prompt results in shell logging out and connection still
324        being available.
325
3262008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
327
328        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
329        fini() as part of exit(). This avoids atexit() being a required
330        function.
331
3322008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
333
334        * libmisc/shell/shell.c: Minor change so dropping connection during
335        login prompt results in connection still being available.
336
337
3382008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
339
340        * score/include/rtems/score/object.h,
341        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
342        and RTEMS_ID_NONE.  No object can have this ID.
343
3442008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
345
346        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
347        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
348        libcsupport/src/base_fs.c, libcsupport/src/error.c,
349        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
350        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
351        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
352        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
353        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
354        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
355        libfs/src/imfs/imfs_handlers_device.c,
356        libfs/src/imfs/imfs_handlers_directory.c,
357        libfs/src/imfs/imfs_handlers_link.c,
358        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
359        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
360        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
361        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
362        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
363        sapi/include/confdefs.h, sapi/include/rtems/io.h,
364        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
365        Added const qualifier to various pointers and data tables to
366        reduce size of data area.
367        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
368        DOSFS: Use LibBlock instead of read() to read the boot record.
369       
3702008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
371
372        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
373
3742008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
375
376        * libcsupport/src/printk.c:
377        Bugfix: String output without width option.
378
3792008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
380
381        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
382        Bugfix: Moved definition of ppp_softc into source file.
383
3842008-05-23      Till Straumann <strauman@slac.stanford.edu>
385
386        * libnetworking/netinet/ip_output.c: when fragmenting
387        multicast packets M_MCAST must be set on all fragments.
388        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
389        (see my email to rtems-users from 2008/5/15).
390
3912008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
392
393        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
394        itron/src/exd_tsk.c, itron/src/task.c,
395        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
396        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
397        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
398        posix/src/testcancel.c, rtems/src/taskdelete.c,
399        score/inline/rtems/score/object.inl, score/src/objectclose.c,
400        score/src/threadclose.c: Make all task delete/exit/cancel routines
401        follow the same critical section pattern. Also ensure that POSIX
402        cancelation routines are run at thread exit.
403
4042008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
405
406        * libcsupport/src/termios_baud2index.c,
407        libcsupport/src/termios_baud2num.c,
408        libcsupport/src/termios_num2baud.c,
409        libcsupport/src/termios_setinitialbaud.c: New files.
410
4112008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
412
413        * libcsupport/Makefile.am, libcsupport/preinstall.am,
414        libcsupport/include/rtems/termiostypes.h: Move termios helper
415        routines from libchip to libcsupport. Add routine which makes it easy
416        for a termios device driver to inform termios of its default baud
417        rate. This avoids inconsistencies in later termios settings changes.
418
4192008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
420
421        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
422
4232008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
424
425        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
426        interface for Watchdog Driver.
427        * libcsupport/include/rtems/watchdogdrv.h: New file.
428
4292008-05-16      Till Straumann <strauman@slac.stanford.edu>
430
431        * score/src/threadchangepriority.c: Just in case the transient
432        state was set when we entered, ensure that it is still set when
433        we exit.
434        * score/src/threadclose.c: When a thread is being deleted, it should
435        go into the dormant state -- not the transient state.
436
4372008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
438
439        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
440        driver private data
441
4422008-05-13      Eric Norum: <norume@aps.anl.gov>
443
444        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
445        structure assignment.
446
4472008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
448
449        * libi2c/libi2c.h: Fix typo.
450
4512008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
452
453        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
454        CPUKIT.
455
4562008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
457
458        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
459        initialization routines to rtems_initialize_data_structures,
460        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
461        rtems_initialize_start_multitasking. This opened the sequence up so
462        that bootcard() could provide a more robust and flexible framework
463        which is easier to explain and understand. This also lays the
464        groundwork for sharing the division of available memory between the
465        RTEMS workspace and heap and the C library initialization across all
466        BSPs.
467
4682008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
469
470        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
471        comments.
472
4732008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
474
475        * score/src/objectget.c: Improve comments and readability.
476
4772008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
478
479        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
480        score/src/coresemseize.c, score/src/threadhandler.c: Comment
481        improvements from class.
482
4832008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
484
485        PR 1285/rtems
486        * sapi/include/rtems/config.h: Remove obsolete
487        rtems_configuration_get_maximum_devices().
488
4892008-05-01      Chris Johns <chrisj@rtems.org>
490
491        * libblock/include/rtems/nvdisk-sram.h,
492        libblock/include/rtems/nvdisk.h,
493        libblock/src/nvdisk-sram.c,
494        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
495        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
496        the NV disk driver.
497
4982008-05-01  Maarten Van Es <maarten@mind.be>
499
500        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
501        interface for rtems_dhcp_failsafe.
502        * libnetworking/rtems/rtems_dhcp.h: Added interface for
503        rtems_dhcp_failsafe.
504
5052008-05-01  Arnout Vandecappelle <arnout@mind.be>
506
507        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
508        return on timeout in bootpc_call().  Removed panic()s.
509        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
510        SIOCAIFADDR ioctl call.
511        * libnetworking/rtems/rtems_dhcp_failsafe.c,
512        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
513        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
514        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
515
5162008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
517
518        * rtems/include/rtems/rtems/timer.h: Fix typo.
519
5202008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
521
522        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
523        rtems/include/rtems/rtems/status.h,
524        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
525        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
526
5272008-04-28      Daron Chabot <daron.chabot@usask.ca>
528
529        * posix/src/keycreate.c, posix/src/pthreadequal.c,
530        rtems/src/semtranslatereturncode.c,
531        score/src/threadblockingoperationcancel.c: Fix compilation errors
532        when --enable-rtems-debug is used.
533
5342008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
535
536        * score/include/rtems/system.h: Fix typo in comment.
537
5382008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
539
540        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
541        typos added with recent changes.
542
5432008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
544
545        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
546        rtems_termios_reserve_resources. It is obsolete.
547        * libcsupport/src/termiosreserveresources.c: Removed.
548
5492008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
550
551        * rtems/mainpage.h: New file.
552
5532008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
554
555        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
556        rtems/include/rtems/rtems/attr.h,
557        rtems/include/rtems/rtems/barrier.h,
558        rtems/include/rtems/rtems/barriermp.h,
559        rtems/include/rtems/rtems/cache.h,
560        rtems/include/rtems/rtems/config.h,
561        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
562        rtems/include/rtems/rtems/eventmp.h,
563        rtems/include/rtems/rtems/eventset.h,
564        rtems/include/rtems/rtems/intr.h,
565        rtems/include/rtems/rtems/message.h,
566        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
567        rtems/include/rtems/rtems/msgmp.h,
568        rtems/include/rtems/rtems/options.h,
569        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
570        rtems/include/rtems/rtems/ratemon.h,
571        rtems/include/rtems/rtems/region.h,
572        rtems/include/rtems/rtems/regionmp.h,
573        rtems/include/rtems/rtems/rtemsapi.h,
574        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
575        rtems/include/rtems/rtems/signal.h,
576        rtems/include/rtems/rtems/signalmp.h,
577        rtems/include/rtems/rtems/status.h,
578        rtems/include/rtems/rtems/support.h,
579        rtems/include/rtems/rtems/taskmp.h,
580        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
581        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
582        rtems/inline/rtems/rtems/attr.inl,
583        rtems/inline/rtems/rtems/barrier.inl,
584        rtems/inline/rtems/rtems/dpmem.inl,
585        rtems/inline/rtems/rtems/event.inl,
586        rtems/inline/rtems/rtems/message.inl,
587        rtems/inline/rtems/rtems/modes.inl,
588        rtems/inline/rtems/rtems/options.inl,
589        rtems/inline/rtems/rtems/part.inl,
590        rtems/inline/rtems/rtems/ratemon.inl,
591        rtems/inline/rtems/rtems/region.inl,
592        rtems/inline/rtems/rtems/sem.inl,
593        rtems/inline/rtems/rtems/status.inl,
594        rtems/inline/rtems/rtems/support.inl,
595        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
596
5972008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
598
599        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
600        rtems/include/rtems/rtems/attr.h,
601        rtems/include/rtems/rtems/barrier.h,
602        rtems/include/rtems/rtems/barriermp.h,
603        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
604        rtems/include/rtems/rtems/config.h,
605        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
606        rtems/include/rtems/rtems/eventmp.h,
607        rtems/include/rtems/rtems/eventset.h,
608        rtems/include/rtems/rtems/intr.h,
609        rtems/include/rtems/rtems/message.h,
610        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
611        rtems/include/rtems/rtems/msgmp.h,
612        rtems/include/rtems/rtems/object.h,
613        rtems/include/rtems/rtems/options.h,
614        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
615        rtems/include/rtems/rtems/ratemon.h,
616        rtems/include/rtems/rtems/region.h,
617        rtems/include/rtems/rtems/regionmp.h,
618        rtems/include/rtems/rtems/rtemsapi.h,
619        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
620        rtems/include/rtems/rtems/signal.h,
621        rtems/include/rtems/rtems/signalmp.h,
622        rtems/include/rtems/rtems/status.h,
623        rtems/include/rtems/rtems/support.h,
624        rtems/include/rtems/rtems/taskmp.h,
625        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
626        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
627        rtems/inline/rtems/rtems/attr.inl,
628        rtems/inline/rtems/rtems/barrier.inl,
629        rtems/inline/rtems/rtems/dpmem.inl,
630        rtems/inline/rtems/rtems/event.inl,
631        rtems/inline/rtems/rtems/eventset.inl,
632        rtems/inline/rtems/rtems/message.inl,
633        rtems/inline/rtems/rtems/modes.inl,
634        rtems/inline/rtems/rtems/options.inl,
635        rtems/inline/rtems/rtems/part.inl,
636        rtems/inline/rtems/rtems/ratemon.inl,
637        rtems/inline/rtems/rtems/region.inl,
638        rtems/inline/rtems/rtems/sem.inl,
639        rtems/inline/rtems/rtems/status.inl,
640        rtems/inline/rtems/rtems/support.inl,
641        rtems/inline/rtems/rtems/tasks.inl,
642        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
643        header files to Doxygen.
644        * rtems/Doxyfile: New file.
645
6462008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
647
648        * posix/src/key.c: Include <limits.h>
649        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
650        a NULL extension block.
651
6522008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
653
654        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
655        application configuration errors. If any POSIX objects or a POSIX
656        init thread is configured without POSIX being configure, then error
657        out. Similarly for ITRON. Add
658        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
659        parameter so the application has to explicitly configure the Clock
660        driver in or out if the Timer driver is not configured. Also verify
661        RTEMS was built for multiprocessing, if the user tries to configure a
662        multiprocessing application.
663
6642008-04-12      Chris Johns <chrisj@rtems.org>
665
666        * libmisc/shell/shell.c, libmisc/shell/shell.h,
667        libmisc/shell/shell_script.c: Add support to echo the commands to
668        stdout. This is useful with the -v script option to show commands
669        as the run. Also added support to chdir to the directory the task
670        invoking the script is in.
671        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
672        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
673        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
674        support.
675
6762008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
677
678        * score/include/rtems/score/tod.h: Fix typo.
679
6802008-04-08      Chris Johns <chrisj@rtems.org>
681
682        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
683        into argv parts. Was using the command line history buffer so the
684        history was being corrupted.
685
6862008-04-03      Chris Johns <chrisj@rtems.org>
687
688        * libfs/src/nfsclient/src/librtemsNfs.h,
689        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
690        external to RTEMS and even if in the cpukit it should not cross
691        reference in this way.
692        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
693        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
694        in the shell area.
695        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
696        support.
697
6982008-03-29      Chris Johns <chrisj@rtems.org>
699
700        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
701        reported to the mailing list by Pierre Kestener
702        (pierre.kestener@cea.fr).
703
7042008-03-25      Till Straumann <strauman@slac.stanford.edu>
705
706        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
707          coldfire.
708
7092008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
710
711        * libmisc/shell/cmds.c: Directly register the command structure to
712        avoid unnecessary duplication of static strings. We know best this
713        time.
714
7152008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
716
717        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
718        for the ITRON initialization tasks ALL the time.
719        Do not reserve memory for the object name table since it does not
720        exist any longer.
721        * sapi/include/rtems/sptables.h: Fix typo.
722
7232008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
724
725        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
726        rtems/src/clockget.c:
727        * rtems/src/clockgetsecondssinceepoch.c,
728        rtems/src/clockgettickspersecond.c,
729        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
730        rtems/src/clockgettodtimeval.c: New files.
731        Refactored rtems_clock_get into 5 methods which are single purpose
732        and more strongly typed.  They are:
733            rtems_clock_get_tod - Get TOD in Classic API structure
734            rtems_clock_get_tod_timeval - Get TOD in struct timeval
735            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
736            rtems_clock_get_ticks_since_boot - Get ticks since boot
737            rtems_clock_get_ticks_per_second - Get ticks per second
738
7392008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
740
741        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
742        libmisc/shell/shell_script.c: Add memset() of getopt_data to
743        ensure it is zeroed out each time we use getopt_r().
744        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
745        This makes the scripts behave more like UNIX scripts.
746
7472008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
748
749        * posix/Makefile.am: Make clock_settime() available always just like
750        clock_gettime().
751
7522008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
753
754        * score/include/rtems/score/copyrt.h: Update year.
755
7562008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
757
758        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
759        by gcc newer than the 4.3 release series.
760
7612008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
762
763        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
764        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
765        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
766        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
767        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
768        libmisc/shell/shell.c, libmisc/shell/shell.h,
769        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
770        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
771        capability to automatically execute a script from the filesystem. Add
772        echo command from NetBSD and sleep command.
773        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
774        libmisc/shell/shell_script.c: New files.
775
7762008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
777
778        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
779        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
780        rtems/src/taskdelete.c, rtems/src/timerserver.c,
781        score/src/threadclose.c, score/src/threadcreateidle.c,
782        score/src/threadinitialize.c: Switch task create and delete
783        operations to using API Allocator Mutex. This moves almost all uses
784        of the RTEMS Workspace from dispatching disabled to mutex protected
785        which should improve deterministic behavior. The implementation was
786        carefully done to allow task create and delete extensions to invoke
787        more services. In particular, a task delete extension should be able
788        to do mutex and file operations.
789
7902008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
791
792        * libmisc/Makefile.am: Turn on NFS mount support when networking is
793        enabled.
794
7952008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
796
797        * libcsupport/src/chroot.c: Formatting.
798
7992008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
800
801        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
802        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
803        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
804        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
805        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
806        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
807        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
808        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
809        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
810        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
811        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
812        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
813        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
814        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
815        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
816        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
817        libmisc/shell/shell.h: Clean up done while writing documentation.
818        Some command improvements such as date now allows setting of the
819        current TOD. Often commands did not use stdout/stderr per
820        expectations and did not return -1 on an error.
821
8222008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
823
824        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
825        the use of RPC/XDR could be an issue, the code does build multilib
826        across all targets. There are a few remaining warnings to deal with.
827        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
828        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
829        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
830        libfs/src/nfsclient/rfc1094.txt,
831        libfs/src/nfsclient/proto/mount_prot.h,
832        libfs/src/nfsclient/proto/mount_prot.x,
833        libfs/src/nfsclient/proto/mount_prot_xdr.c,
834        libfs/src/nfsclient/proto/nfs_prot.h,
835        libfs/src/nfsclient/proto/nfs_prot.x,
836        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
837        libfs/src/nfsclient/src/cexphelp.c,
838        libfs/src/nfsclient/src/dirutils.c,
839        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
840        libfs/src/nfsclient/src/nfs.modini.c,
841        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
842        libfs/src/nfsclient/src/rpcio.h,
843        libfs/src/nfsclient/src/rpcio.modini.c,
844        libfs/src/nfsclient/src/sock_mbuf.c,
845        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
846
8472008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
848
849        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
850        missing field to default multiprocessing configuration table. Also
851        document fields in Doxygen format.
852
8532008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
854
855        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
856        warnings.
857
8582008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
859
860        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
861        command to access statistics reporting functions in TCP/IP stack.
862        * libmisc/shell/main_netstats.c: New file.
863
8642008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
865
866        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
867        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
868        ifconfig commands. The code for these was previously in the
869        networking guide. Disable NFS filesystem mount until that code is in
870        cpukit.
871        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
872
8732008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
874
875        * posix/preinstall.am,  libcsupport/preinstall.am:
876        Revert Joel's  2008-01-31 screw up.
877
8782008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
879
880        * posix/include/rtems/posix/timer.h: Add c++ guards.
881        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
882        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
883        * libcsupport/include/motorola/mc68230.h: Prefix defines with
884        MC68230_ to avoid preprocessor clashes.
885
8862008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
887
888        * posix/src/mqueueunlink.c, score/Makefile.am,
889        score/include/rtems/score/object.h,
890        score/inline/rtems/score/object.inl: Enhance
891        _Objects_Namespace_remove() to handle freeing object names which are
892        strings. All changed _Objects_Close() to call
893        _Objects_Namespace_remove(). The resulting code was then moved from
894        inline routines to function calls.
895        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
896
8972008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
898
899        * libcsupport/src/printk.c: Added width and padding for %s.
900        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
901        strings longer than 4 chanracters.
902
9032008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
904
905        PR 1277/networking
906        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
907        constraint for assembly language. This restricts the register choice
908        to the a-d registers.
909
9102008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
911
912        * libnetworking/kern/uipc_socket2.c,
913        libnetworking/netinet/tcp_usrreq.c,
914        libnetworking/netinet/udp_usrreq.c,
915        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
916        Add configuration parameters for network stack efficiency multiplier
917        and default socket buffer sizes. Change default multiplier from 8 to
918        2 to match GNU/Linux. This has no impact on performance on the BSPs
919        tested.
920
9212008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
922
923        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
924        workspace manipulation routines for testing.
925        * rtems/src/workspace.c: New file.
926
9272008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
928
929        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
930        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
931        Object Id of SELF.
932
9332008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
934
935        * posix/src/clockgettime.c, posix/src/clocksettime.c,
936        Minor modifications to improve testability.
937        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
938
9392008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
940
941        * posix/src/pthreadinitthreads.c: Clean up error paths.
942
9432008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
944
945        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
946        changes which aid in coverage testing.
947
9482008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
949
950        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
951        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
952        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
953        posix/src/semaphorenametoid.c: Add option for all POSIX objects
954        whether named or unnamed to have a string name.  If the API does
955        not directly support having a name, then the user must explicitly
956        assign it using rtems_object_set_name().
957        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
958        * score/include/rtems/score/object.h,
959        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
960        score/src/objectsetname.c: Modifications required to pass testing of
961        recently modified object name operations.  Also eliminated
962        multiprocessing related code that was not reachable.
963
9642008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
965
966        * posix/src/timersettime.c: Fix to remove warning.
967
9682008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
969
970        * libcsupport/src/posix_memalign.c: Remove warning.
971
9722008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
973
974        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
975        rtems/include/rtems/rtems/object.h,
976        rtems/src/rtemsobjectgetapiclassname.c,
977        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
978        cannot be used as a parameter.
979
9802008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
981
982        * score/Makefile.am, score/include/rtems/score/threadq.h,
983        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
984        was really too complex to be inlined.
985        * score/src/threadqprocesstimeout.c: New file.
986
9872008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
988
989        * score/Doxyfile: Revert Doxygen version changes.
990
9912008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
992
993        * score/Doxyfile: Update to latest Doxygen format.
994        * score/include/rtems/score/apimutex.h,
995        score/include/rtems/score/corebarrier.h,
996        score/include/rtems/score/coremutex.h,
997        score/include/rtems/score/corerwlock.h,
998        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
999        score/include/rtems/score/protectedheap.h,
1000        score/include/rtems/score/thread.h,
1001        score/include/rtems/score/threadsync.h,
1002        score/include/rtems/score/tod.h,
1003        score/inline/rtems/score/corerwlock.inl,
1004        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1005        warnings.
1006
10072008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1008
1009        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1010        available when API is disabled. Do not attempt to use them.
1011
10122008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1013
1014        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1015
10162008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1017
1018        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1019        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1020        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1021        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1022        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1023        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1024        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1025        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1026        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1027        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1028        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1029        rtems/src/timerserver.c, score/Makefile.am,
1030        score/include/rtems/score/object.h,
1031        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1032        score/src/objectgetnameasstring.c,
1033        score/src/threadqextractwithproxy.c: Add new Object Services
1034        collection. This changed the name of a few previously public but
1035        undocumented services and added a some new services.
1036        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1037        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1038        rtems/src/rtemsobjectapiminimumclass.c,
1039        rtems/src/rtemsobjectgetapiclassname.c,
1040        rtems/src/rtemsobjectgetapiname.c,
1041        rtems/src/rtemsobjectgetclassicname.c,
1042        rtems/src/rtemsobjectgetclassinfo.c,
1043        rtems/src/rtemsobjectidapimaximum.c,
1044        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1045        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1046        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1047        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1048        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1049        * rtems/src/rtemsidtoname.c: Removed.
1050
10512008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1052
1053        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1054        switch statements to if statements.
1055
10562008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1057
1058        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1059        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1060        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1061        as helper and as exposed nmemalign variant with few restrictions.
1062        Also turn on compilation of _Heap_Walk but make forced calls to it
1063        conditionally compiled. This should allow more flexibility to the
1064        user as to run-time checking of the heap.
1065        * libcsupport/src/rtems_memalign.c: New file.
1066
10672008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1068
1069        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1070        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1071        Multiprocessing compiles again and survives initialization. The
1072        recent object name and confdefs.h changes had broken it.
1073
10742008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1075
1076        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1077        score/include/rtems/score/interr.h,
1078        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1079        Modifications to aid in full path testing.
1080
10812008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1082
1083        * posix/src/mqueuesendsupp.c: Remove warning.
1084
10852008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1086
1087        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1088        in public API.
1089
10902008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1091
1092        * score/include/rtems/score/object.h,
1093        score/src/objectextendinformation.c,
1094        score/src/objectinitializeinformation.c,
1095        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1096        not used.
1097
10982008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1099
1100        * score/src/objectnametoidstring.c: New file.
1101
11022008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1103
1104        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1105        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1106        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1107        libmisc/stackchk/check.c, posix/src/condinit.c,
1108        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1109        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1110        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1111        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1112        posix/src/prwlockinit.c, posix/src/pspininit.c,
1113        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1114        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1115        posix/src/timercreate.c, rtems/src/barrierident.c,
1116        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1117        rtems/src/ratemonident.c, rtems/src/regionident.c,
1118        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1119        sapi/src/extensionident.c, score/Makefile.am,
1120        score/include/rtems/score/object.h,
1121        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1122        score/src/objectextendinformation.c,
1123        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1124        score/src/objectnametoid.c: Convert the Objects_Name type from a
1125        simple type to a union of an unsigned 32 bit integer and a pointer.
1126        This should help eliminate weird casts between u32 and pointers in
1127        various places. The APIs now have to explicitly call _u32 or _string
1128        versions of helper routines. This should also simplify things and
1129        eliminate the need for ugly casts in some cases.
1130        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1131        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1132        score/src/objectcopynamestring.c: Removed.
1133
11342008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1135
1136        * score/src/threadblockingoperationcancel.c: Clean up.
1137        * score/src/threadqextract.c: Restructure to eliminate dead code.
1138
11392008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1140
1141        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1142        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1143        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1144        testing and clean up more code.
1145
11462008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1147
1148        * score/src/threadqfirst.c: Remove switch.
1149
11502008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1151
1152        * rtems/include/rtems/rtems/event.h,
1153        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1154        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1155        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1156        score/include/rtems/score/interr.h,
1157        score/include/rtems/score/thread.h,
1158        score/include/rtems/score/threadq.h,
1159        score/include/rtems/score/tqdata.h,
1160        score/inline/rtems/score/threadq.inl,
1161        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1162        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1163        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1164        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1165        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1166        score/src/threadqextractpriority.c,
1167        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1168        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1169        score/src/threadqflush.c, score/src/threadqrequeue.c,
1170        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1171        blocking synchronization critical sections. This resulted in three
1172        copies of essentially the same hard to test critical section code
1173        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1174        addition, the thread queue and event code now share a common
1175        synchronization enumerated type. Along the way, switches were
1176        reworked to eliminate dead code generated by gcc and comments and
1177        copyrights were updated.
1178        * score/include/rtems/score/threadsync.h,
1179        score/src/threadblockingoperationcancel.c: New files.
1180
11812008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1182
1183        * libi2c/README_libi2c: Correct spelling error.
1184        * score/src/threadclearstate.c: Improve comment.
1185
11862008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1187
1188        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1189        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1190        posix/src/timergettime.c, posix/src/timersettime.c,
1191        score/include/rtems/score/timespec.h:
1192
11932008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1194
1195        * libmisc/shell/Makefile.am: Don't use make variables.
1196
11972008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1198
1199        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1200        existing one.
1201
12022008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1203
1204        * score/include/rtems/score/wkspace.h,
1205        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1206        inline _Workspace_Free or _Workspace_Allocate since they are not
1207        always inlined and actually smaller overall as subroutines. They are
1208        not particularly time critical so inlining is not absolutely
1209        necessary.
1210
12112008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1212
1213        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1214        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1215        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1216        Condition Variable object get helpers because they are more
1217        complicated than the norm. They can implicitly perform a create. They
1218        cross the line as being too complex and large to inline since they
1219        negatively impact size and binary test coverage.
1220        * posix/src/condget.c, posix/src/mutexget.c: New files.
1221
12222008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1223
1224        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1225        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1226        * libcsupport/src/malloc_p.h: Correct prototype.
1227
12282008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1229
1230        * score/include/rtems/score/coremutex.h,
1231        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1232        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1233
12342008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1235
1236        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1237
12382008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1239
1240        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1241        libcsupport/src/free.c, libcsupport/src/malloc.c,
1242        libcsupport/src/malloc_deferred.c,
1243        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1244        libcsupport/src/malloc_sbrk_helpers.c,
1245        libcsupport/src/posix_memalign.c: Place all deferred free code and
1246        place it in subroutines. Add plugin for dirtying allocated memory to
1247        assist in debugging. Clean up comments and spacing as needed.
1248        * libcsupport/src/malloc_dirtier.c: New file.
1249
12502008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1251
1252        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1253        when there is an error.
1254
12552008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1256
1257        * posix/src/keycreate.c, rtems/src/eventseize.c,
1258        score/include/rtems/score/interr.h: Rearranged source to allow more
1259        test coverage.
1260
12612008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1262
1263        * libcsupport/src/__assert.c: Clean up and make __assert() call
1264        __assert_func().
1265
12662008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1267
1268        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1269        need to have it also.
1270
12712008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1272
1273        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1274        * libcsupport/include/rtems/malloc.h,
1275        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1276        libcsupport/src/malloc_p.h,
1277        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1278        support pluggable and optional.  This eliminates the need for
1279        heap extend and sbrk in the minimum footprint which is ~2.5K on
1280        the SPARC.
1281        * sapi/include/confdefs.h: Add the following configuration points:
1282          + CONFIGURE_MALLOC_STATISTICS
1283          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1284        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1285
12862008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1287
1288        * score/Makefile.am: Add missing file.
1289
12902008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1291
1292        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1293
12942008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1295
1296        * libmisc/Makefile.am: Add new files.
1297        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1298        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1299        * libmisc/shell/shellconfig.h: Add wkspace command.
1300        * libmisc/shell/main_wkspaceinfo.c,
1301        libmisc/shell/print_heapinfo.c: New files.
1302
13032008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1304
1305        * score/inline/rtems/score/isr.inl: Fix spacing.
1306        * score/src/apimutexallocate.c: Fix spacing.
1307        * score/src/coremsgseize.c: Check for message pending instead of
1308        message pending count to avoid dead code from inlined chain routine.
1309        It checks if the chain is empty so is redundant to count == 0.
1310
13112008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1312
1313        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1314        up.
1315
13162008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1317
1318        * posix/src/pthreadcreate.c: Add commit.
1319        * posix/src/pthreadinitthreads.c: Fix line length.
1320
13212008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1322
1323        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1324
13252008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1326
1327        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1328        coding it.
1329
13302008-01-05      Chris Johns <chrisj@rtems.org>
1331
1332        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1333        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1334        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1335        control fields. Add more control fields to handle the flash when
1336        full.
1337        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1338        detects a descriptor is erased. Add support for unavailable blocks
1339        the user can configure. Print the used list as a diag. Fix the bug
1340        when a page is detected as failed and present on more than one
1341        queue. Add a count to the queues so queue length can be used to
1342        manage compaction.
1343       
13442008-01-03      Till Straumann <strauman@slac.stanford.edu>
1345
1346        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1347        cannot call _fini via atexit() from rtems_shutdown_executive()
1348        because at the point where rtems_shutdown_executive is called
1349        the C-library is already dead.
1350        Instead, register an atexit(_fini) after calling _init().
1351
13522007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1353
1354        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1355        Hopefully this implementation is OK.
1356        * libcsupport/src/_rename_r.c: New file.
1357
13582007-12-22      Chris Johns <chrisj@rtems.org>
1359
1360        * configure.ac: fixed bug that always enabled strict order
1361        mutexes.
1362        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1363        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1364        list if the mutex is initialised locked.
1365        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1366        message to show the error is an rtems-net error.
1367        * libmisc/monitor/mon-network.c: Removed warnings.
1368        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1369        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1370        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1371        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1372        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1373        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1374        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1375        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1376        libmisc/shell/warnx.c: New. Ported from BSD.
1377        * libmisc/shell/shellconfig.h: Add the cp command.
1378        * libmisc/Makefile.am: Add the new files to the shell.
1379        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1380        support.
1381        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1382        bug.
1383       
13842007-12-21      Xi Yang <hiyangxi@gmail.com>
1385
1386        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1387        of priority inheritance on mutexes as well as enforce proper order of
1388        release.
1389
13902007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1391
1392        * configure.ac, score/include/rtems/score/coremutex.h,
1393        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1394        inlining coremutex seize. This reduces the code size and also
1395        improves the process of coverage analysis.
1396        * score/src/coremutexseizeintr.c: New file.
1397
13982007-12-21      Xi Yang <hiyangxi@gmail.com>
1399
1400        * configure.ac, score/include/rtems/score/coremutex.h,
1401        score/include/rtems/score/thread.h,
1402        score/inline/rtems/score/coremutex.inl,
1403        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1404        support for proper stacking of priority inheritance on mutexes as
1405        well as enforce proper order of release.
1406
14072007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1408
1409        PR 1268/cpukit
1410        * libcsupport/include/rtems/assoc.h: There is no
1411        rtems_assoc_ptr_by_value method.
1412
14132007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1414
1415        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1416        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1417
14182007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1419
1420        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1421
14222007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1423
1424        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1425
14262007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1427
1428        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1429        rtems_task_self() directive.
1430        * rtems/src/taskself.c: New file.
1431
14322007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1433
1434        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1435        and resolved copyright information.
1436        * posix/src/kill_r.c: New file.
1437
14382007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1439
1440        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1441
14422007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1443
1444        * sapi/include/confdefs.h: Revert. Requires info not available at
1445        preprocessing time.
1446
14472007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1448
1449        * sapi/include/confdefs.h: Catch the error when the user lowers the
1450        maximum number of drivers below the number of statically configured
1451        ones.
1452
14532007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1454
1455        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1456        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1457        Manager clean up. Update object id switches to new pattern. Catch
1458        some NULL parameter errors.
1459
14602007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1461
1462        * posix/src/psignalunblockthread.c: Remove source that
1463
14642007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1465
1466        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1467        only
1468
14692007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1470
1471        * posix/src/psignal.c: Move source around to enable path testing
1472
14732007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1474
1475        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1476        libcsupport/src/free.c, libcsupport/src/malloc.c,
1477        libcsupport/src/malloc_p.h,
1478        libcsupport/src/malloc_report_statistics_plugin.c,
1479        libmisc/shell/shell.c, libmisc/shell/shell.h,
1480        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1481        out management of deferred frees to subroutines.
1482        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1483
14842007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1485
1486        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1487        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1488        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1489        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1490        one function per file. Also split out statistics into a separate file
1491        which can be plugged in dynamically. Right now, it is always in. I
1492        suspect that splitting the file removed more code than leaving
1493        statistics in. I tinkered with malloc information command in the
1494        shell. I resurrected the malloc arena code as malloc boundary. This
1495        code is now compiled all the time even though it does not appear to
1496        work.
1497        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1498        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1499        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1500        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1501        libcsupport/src/malloc_get_statistics.c,
1502        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1503        libcsupport/src/malloc_report_statistics.c,
1504        libcsupport/src/malloc_report_statistics_plugin.c,
1505        libcsupport/src/malloc_statistics_helpers.c,
1506        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1507        libmisc/shell/main_perioduse.c: New files.
1508
15092007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1510
1511        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1512        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1513        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1514        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1515        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1516        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1517        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1518        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1519        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1520        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1521        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1522        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1523        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1524        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1525        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1526        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1527        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1528        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1529        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1530        rtems_Shell_ to rtems_shell_.
1531
15322007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1533
1534        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1535        with info and dump as replacement for older command. Fix what looked
1536        like a typo for mount sub-commands.
1537        * libmisc/shell/main_mallocinfo.c: New file.
1538        * libmisc/shell/main_mallocdump.c: Removed.
1539
15402007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1541
1542        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1543        malloc_info() routine.
1544        * libcsupport/src/mallocinfo.c: New file.
1545
15462007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1547
1548        * libmisc/stackchk/check.c: Add print of current stack pointer and
1549        stack info even if stack checker is not initialized.
1550
15512007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1552
1553        * libcsupport/src/printk.c: Style.
1554
15552007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1556
1557        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1558        required in multiprocessing configuration.
1559
15602007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1561
1562        * score/src/objectget.c: Revert.
1563
15642007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1565
1566        * posix/src/timergettime.c: Include rtems/score/timespec.h
1567
15682007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1569
1570        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1571        posix/include/mqueue.h, posix/include/sched.h,
1572        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1573        posix/include/rtems/posix/priority.h,
1574        posix/include/rtems/posix/psignal.h,
1575        posix/include/rtems/posix/threadsup.h,
1576        posix/include/rtems/posix/timer.h,
1577        posix/inline/rtems/posix/priority.inl,
1578        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1579        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1580        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1581        posix/src/cleanuppush.c, posix/src/cond.c,
1582        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1583        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1584        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1585        posix/src/conddestroy.c, posix/src/condinit.c,
1586        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1587        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1588        posix/src/keycreate.c, posix/src/keydelete.c,
1589        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1590        posix/src/keysetspecific.c, posix/src/mqueue.c,
1591        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1592        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1593        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
1594        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
1595        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
1596        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1597        posix/src/mqueueunlink.c, posix/src/mutex.c,
1598        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
1599        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1600        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1601        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1602        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1603        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1604        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1605        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1606        posix/src/psignal.c, posix/src/psignalchecksignal.c,
1607        posix/src/psignalclearprocesssignals.c,
1608        posix/src/psignalclearsignals.c,
1609        posix/src/psignalsetprocesssignals.c,
1610        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1611        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
1612        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
1613        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
1614        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
1615        posix/src/semclose.c, posix/src/semdestroy.c,
1616        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
1617        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
1618        posix/src/semwait.c, posix/src/setcancelstate.c,
1619        posix/src/setcanceltype.c, posix/src/sysconf.c,
1620        posix/src/testcancel.c: Add missing copyright statements.
1621
16222007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1623
1624        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
1625
16262007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1627
1628        * posix/Makefile.am, posix/preinstall.am,
1629        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
1630        Timer implementation into multiple files. Add obvious error checks
1631        for NULL parameters. Attempt to reduce include files.
1632        * posix/src/timercreate.c, posix/src/timerdelete.c,
1633        posix/src/timergetoverrun.c, posix/src/timergettime.c,
1634        posix/src/timerinserthelper.c, posix/src/timersettime.c,
1635        posix/src/timertsr.c: New files.
1636        * posix/src/ptimer1.c: Removed.
1637
16382007-12-17      Chris Johns <chrisj@rtems.org>
1639
1640        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
1641        libmisc/shell/main_unmount.c: New.
1642        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
1643        blksync, msdosfmt, and unmount commands.
1644
16452007-12-17      Chris Johns <chrisj@rtems.org>
1646
1647        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
1648        system opts table.
1649        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
1650        system opts table.
1651        * libmisc/Makefile.am: Add the mount command and supporting files.
1652        * libmisc/preinstall.am: Rebuilt.
1653        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
1654        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1655        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1656        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1657        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1658        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1659        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1660        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1661        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1662        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1663        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1664        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1665        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1666        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1667        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
1668        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
1669        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
1670        libmisc/shell/write_file.c: Move all shell_* types, variables and
1671        functions to rtems_shell_* to avoid namespace clashes with
1672        applications. The is an RTEMS shell after all.
1673        * libmisc/shell/shell.h, libmisc/shell/internal.h,
1674        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
1675        functions to rtems_shell_* to avoid namespace clashes with
1676        applications. Add the mount command supporting types.
1677        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
1678        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
1679        libmisc/shell/main_mount_tftp.c: New.
1680       
16812007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1682
1683        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
1684
16852007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1686
1687        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
1688        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
1689        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
1690        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1691        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1692        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1693        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1694        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1695        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1696        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1697        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1698        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1699        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1700        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1701        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1702        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1703        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
1704        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
1705        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
1706        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
1707        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
1708        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
1709        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
1710        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
1711        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
1712        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
1713        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
1714        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
1715        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
1716        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
1717
17182007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1719
1720        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
1721        API.
1722
17232007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1724
1725        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
1726        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
1727        Minor cleanup to improve testability and eliminate dead code.
1728
17292007-12-12      Chris Johns <chrisj@rtems.org>
1730
1731        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1732        Add RTEMS license details.
1733
17342007-12-12      Chris Johns <chrisj@rtems.org>
1735
1736        * Makefile.am, preinstall.am: Added
1737        libblock/include/rtems/flashdisk.h to the installed header list.
1738        * libblock/Makefile.am: Add flashdisk.c to the files to build.
1739        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1740        New.
1741
17422007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1743
1744        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
1745        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
1746        score/Makefile.am, score/preinstall.am: Revert testing patch.
1747
17482007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1749
1750        * posix/src/sched_rr_get_interval.c: Fix warning.
1751
17522007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1753
1754        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
1755        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
1756        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
1757        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
1758        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
1759        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
1760        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
1761        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
1762        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
1763        files into one function per file.
1764        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
1765        posix/src/aio_read.c, posix/src/aio_return.c,
1766        posix/src/aio_suspend.c, posix/src/aio_write.c,
1767        posix/src/lio_listio.c, posix/src/sched_getparam.c,
1768        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
1769        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
1770        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
1771        posix/src/sched_yield.c: New files.
1772        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
1773
17742007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1775
1776        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
1777        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
1778        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1779        posix/src/clocksettime.c, posix/src/devctl.c,
1780        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
1781        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
1782        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
1783        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
1784
17852007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1786
1787        * posix/src/adjtime.c: Clean up and verify against behavior documented
1788        in GNU/Linux man page provided with Fedora 7.
1789
17902007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1791
1792        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
1793        automake variables.
1794
17952007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1796
1797        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
1798        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
1799        rtems/src/taskvariabledelete.c: Add test code for task variables to
1800        improve coverage.
1801        * rtems/src/taskvariable_invoke_dtor.c: New file.
1802
18032007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1804
1805        * posix/preinstall.am: Revert debug patch.
1806
18072007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1808
1809        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
1810        BSP.
1811
18122007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1813
1814        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
1815
18162007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1817
1818        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
1819        disabled.
1820
18212007-12-12      Chris Johns <chrisj@rtems.org>
1822
1823        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
1824        header list.
1825        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
1826        in any order rather than before any commands have been added. Also
1827        made the command's strings be copies rather than references.
1828        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
1829
18302007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1831
1832        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
1833        Move Ada support code that is untestable from the Standard RTEMS Test
1834        Suite into its own directory. All code in score, posix, rtems, and
1835        sapi should be testable by the Standard RTEMS Test Suites. It was
1836        buried under POSIX before so this should be a clearer location
1837        anyway.
1838        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
1839        libgnat/adasupp.c: New files.
1840        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
1841
18422007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1843
1844        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
1845        Reverse file contents.
1846
18472007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1848
1849        * sapi/include/rtems/config.h: Correct idle task prototype.
1850
18512007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1852
1853        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
1854        libmisc/shell/internal.h, libmisc/shell/shell.c,
1855        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
1856        processing now separated from main command loop. Addition of user
1857        commands and aliases tested. Monitor registration now explicit.
1858        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
1859        libmisc/shell/write_file.c: New files.
1860
18612007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1862
1863        * libmisc/Makefile.am: Fix typo.
1864
18652007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1866
1867        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
1868        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
1869        into multiple files and add initial stages of command configuration.
1870        This seems to work but the monitor commands need to be integrated
1871        this way and the ability to configure user commands needs to be
1872        tested.
1873        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
1874        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
1875        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
1876        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
1877        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
1878        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
1879        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
1880        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
1881        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
1882        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
1883        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
1884        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
1885        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
1886        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
1887        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
1888        libmisc/shell/str2int.c: New files.
1889
18902007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1891
1892        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
1893
18942007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1895
1896        * sapi/include/rtems/config.h: Fix idle thread prototype.
1897
18982007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1899
1900        * sapi/include/confdefs.h: Separate the concept of configuring the
1901        interrupt stack size from actually reserving memory for it in the
1902        RTEMS Workspace.
1903
19042007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1905
1906        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
1907        installed. It is the initialization interface for both GoAhead and
1908        Simple HTTPD.
1909
19102007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1911
1912        * sapi/include/rtems/config.h: Correct previous commit.
1913
19142007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1915
1916        * sapi/include/rtems/config.h: Commit temporary fix so
1917        interrupt_stack_size is accessible before RTEMS is initialized.
1918
19192007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
1920
1921        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
1922        sapi/include/rtems/init.h, sapi/src/exinit.c,
1923        score/include/rtems/system.h, score/src/isr.c: Move
1924        interrupt_stack_size field from CPU Table to Configuration Table.
1925        Eliminate CPU Table from all ports. Delete references to CPU Table in
1926        all forms.
1927
19282007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1929
1930        * sapi/include/rtems/config.h: Add accessory macros for Configuration
1931        Table fields merged from CPU Table.
1932
19332007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
1934
1935        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
1936        posix/preinstall.am, posix/include/rtems/posix/cond.h,
1937        posix/include/rtems/posix/mqueue.h,
1938        posix/include/rtems/posix/mutex.h,
1939        posix/include/rtems/posix/pthread.h,
1940        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
1941        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
1942        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1943        sapi/include/confdefs.h, sapi/include/rtems/config.h,
1944        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
1945        sapi/src/exinit.c, score/include/rtems/system.h,
1946        score/include/rtems/score/mpci.h, score/src/mpci.c,
1947        score/src/thread.c, score/src/threadcreateidle.c,
1948        score/src/threadstackallocate.c, score/src/threadstackfree.c,
1949        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
1950        the Configuration Table. This included pretasking_hook,
1951        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
1952        extra_mpci_receive_server_stack, stack_allocate_hook, and
1953        stack_free_hook. As a side-effect of this effort some multiprocessing
1954        code was made conditional and some style clean up occurred.
1955
19562007-12-03      Chris Johns <chrisj@rtems.org>
1957
1958        * libmisc/shell/shell.h: Added comments for the parameters to the
1959        shell_init function.
1960        * libmisc/shell/shell.c: Only set cflags if tcflags is
1961        non-zero. This means the shell can use the current cflags settings
1962        and the application does not need to know the baudrate etc.
1963        * libmisc/capture/capture.h: Fix the comment.
1964
19652007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1966
1967        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1968        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
1969        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
1970        rtems/src/dpmemexternal2internal.c,
1971        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1972        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1973        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1974        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1975        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1976        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1977        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1978        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1979        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1980        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
1981        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1982        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
1983        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
1984        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
1985        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
1986        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
1987        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
1988        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
1989        rtems/src/timercancel.c, rtems/src/timerdelete.c,
1990        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1991        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1992        rtems/src/timerserverfirewhen.c: Restructured all code with
1993        the switch (location) pattern so that OBJECTS_LOCAL is first
1994        and we can fall into it and the OBJECTS_ERROR case breaks
1995        to a return RTEMS_INVALID_ID.  This eliminates the return
1996        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
1997        was unreachable and untestable code.  This resulted in a code
1998        savings of approximately 20 bytes per file on the SPARC/ERC32.
1999
20002007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2001
2002        * posix/Makefile.am: Restructed to move the
2003        OBJECTS_LOCAL case to the top of the switch statement and
2004        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2005        changes produced simplier assembly code and allowed for complete
2006        test coverage.  Also applied some consistency to the functions
2007        that translate the core status codes to POSIX status codes.
2008
20092007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2010
2011        * posix/include/rtems/posix/mutex.h,
2012        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2013        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2014        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2015        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2016        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2017        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2018        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2019        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2020        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2021        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2022        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2023        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2024        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2025        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2026        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2027        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2028        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2029        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2030        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2031        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2032        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2033        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2034        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2035        posix/src/semclose.c, posix/src/semdestroy.c,
2036        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2037        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2038        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2039        score/include/rtems/score/corebarrier.h,
2040        score/include/rtems/score/coremsg.h,
2041        score/include/rtems/score/coremutex.h,
2042        score/include/rtems/score/coresem.h: Restructed to move the
2043        OBJECTS_LOCAL case to the top of the switch statement and
2044        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2045        changes produced simplier assembly code and allowed for complete
2046        test coverage.  Also applied some consistency to the functions
2047        that translate the core status codes to POSIX status codes.
2048        * posix/src/mutextranslatereturncode.c,
2049        posix/src/semaphoretranslatereturncode.c: New files.
2050        * posix/src/mutexfromcorestatus.c: Removed.
2051
20522007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2053
2054        * posix/inline/rtems/posix/priority.inl: Fix typo.
2055
20562007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2057
2058        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2059        score/include/rtems/score/thread.h, score/src/object.c,
2060        score/src/thread.c: Conditionally compile out more code that is
2061        specific to multiprocessor configurations.
2062
20632007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2064
2065        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2066        posix/src/conddestroy.c, posix/src/condinit.c,
2067        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2068        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2069        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2070        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2071        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2072        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2073        posix/src/mutexattrgetprioceiling.c,
2074        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2075        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2076        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2077        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2078        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2079        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2080        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2081        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2082        posix/src/semclose.c, posix/src/semdestroy.c,
2083        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2084        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2085        Remove all pretense of POSIX MP support. The support in place was
2086        only a shell. This should make maintenance easier.
2087        * posix/include/rtems/posix/condmp.h,
2088        posix/include/rtems/posix/mqueuemp.h,
2089        posix/include/rtems/posix/mutexmp.h,
2090        posix/include/rtems/posix/pthreadmp.h,
2091        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2092        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2093
20942007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2095
2096        * configure.ac, score/inline/rtems/score/thread.inl,
2097        score/src/threaddispatch.c: Add ability for user to disable inlining
2098        of _Thread_Enable_dispatch. This can save code space but more
2099        importantly it means the binary generated does not have code inlined
2100        that is difficult to test and very seldom executed.
2101
21022007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2103
2104        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2105        rtems/include/rtems/rtems/barrier.h,
2106        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2107        score/src/corerwlockrelease.c: Fixed several implementation errors.
2108
21092007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2110
2111        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2112        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2113        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2114        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2115        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2116        case to the top of the switch statement, have a single exit with one
2117        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2118        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2119        code and allowed for complete test coverage.
2120
21212007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2122
2123        * sapi/include/confdefs.h,
2124        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2125        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2126
21272007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2128
2129        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2130
21312007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2132
2133        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2134        support Thumb.
2135
21362007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2137
2138        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2139        Now works on gen5200/icecube.
2140
21412007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2142
2143        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2144
21452007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2146
2147        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2148
21492007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2150
2151        * score/include/rtems/score/thread.h: Fix spelling error.
2152
21532007-11-17      Till Straumann <strauman@slac.stanford.edu>
2154
2155        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2156        Added checks so that use of 'stdio' is avoided (falling
2157        back to 'printk') before the system is up.
2158        Publish driver entry points so that the libi2c driver could
2159        be added to the applications 'device driver table'.
2160        This is not fully implemented yet, though, since in addition to
2161        initializing libi2c the low-level i2c bus drivers as well
2162        as high-level i2c device drivers need to be registered
2163        with the library.
2164        Updated README_libi2c accordingly.
2165
21662007-11-17      Till Straumann <strauman@slac.stanford.edu>
2167
2168        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2169        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2170        so that it knows what PHY they want to look at.
2171
21722007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2173
2174        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2175        in opposite files. Whoops!
2176
21772007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2178
2179        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2180        of the focus was on the beginning stages of making the login checker
2181        pluggable just like the shell.
2182
21832007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2184
2185        * posix/src/mprotect.c: Update comments.
2186
21872007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2188
2189        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2190        will require gcc 4.3 or newer.
2191        * posix/src/ada_intrsupp.c: New file.
2192
21932007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2194
2195        * sapi/src/exinit.c, score/Makefile.am,
2196        score/include/rtems/score/apimutex.h: API Mutex calls should never
2197        have been inlined. Inlining them lead to many inlined copies of core
2198        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2199        minimum.exe.
2200        * score/src/apimutex.c, score/src/apimutexallocate.c,
2201        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2202
22032007-11-07      Till Straumann <strauman@slac.stanford.edu>
2204
2205        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2206        around _CPU_ISR_Set_level().
2207
22082007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2209
2210        * score/inline/rtems/score/object.inl: During test coverage analysis,
2211        we identified this sanity check which should have been conditional on
2212        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2213        operations. With all APIs enabled, this saved 352 bytes from the
2214        minimum executable on the SPARC/ERC32.
2215
22162007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2217
2218        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2219        compiler conditional attribute for methods that do not return. This
2220        avoids gcc generating unreachable code following calls to
2221        _Internal_error_Occurred.
2222
22232007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2224
2225        * configure.ac: Add ARM/Thumb Makefile.
2226
22272007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2228
2229        PR 1266/cpukit
2230        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2231        of class for key indexing.
2232
22332007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2234
2235        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2236        Fix headers and formatting.
2237
22382007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2239
2240        Miscellaneous changes made after a review against the POSIX spec.
2241        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2242        passes a NULL in the attributes parameter, default attributes are used.
2243        * posix/src/prwlockdestroy.c: If there is at least one thread
2244        waiting, do not allow deletion.
2245        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2246        operation used to obtain a RWLock for writing.
2247        * posix/src/pspinlocktranslatereturncode.c,
2248        score/include/rtems/score/corespinlock.h,
2249        score/src/corespinlockrelease.c: If the current thread is not the
2250        holder of the lock, do not allow an unlock and return EPERM.
2251        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2252        for queueing with a timeout handler.
2253
22542007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2255
2256        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2257        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2258        stack so gdb backtrace does not print corrupted frame message after
2259        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2260        SPARC implementation and I made it more general.
2261
22622007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2263
2264        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2265        Cleaned up reports and fixed a bug related the printf format which
2266        resulted in lack of leading zeroes and misleading magnitude.
2267        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2268
22692007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2270
2271        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2272        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2273        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2274        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2275        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2276        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2277        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2278        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2279        posix/src/condinit.c, posix/src/condsignalsupp.c,
2280        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2281        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2282        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2283        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2284        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2285        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2286        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2287        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2288        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2289        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2290        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2291        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2292        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2293        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2294        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2295        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2296        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2297        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2298        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2299        posix/src/semclose.c, posix/src/semdestroy.c,
2300        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2301        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2302        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2303        rtems/src/dpmemexternal2internal.c,
2304        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2305        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2306        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2307        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2308        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2309        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2310        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2311        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2312        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2313        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2314        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2315        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2316        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2317        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2318        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2319        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2320        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2321        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2322        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2323        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2324        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2325        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2326        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2327        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2328        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2329        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2330        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2331        score/src/mpci.c, score/src/objectgetnameasstring.c,
2332        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2333        multiprocessing is disabled, do not even allow the constant
2334        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2335        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2336        in the generation of binary code which can NOT be reached.
2337
23382007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2339
2340        * score/Makefile.am, score/include/rtems/score/thread.h,
2341        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2342        resulted in unnessary code explosion, many uncovered paths when
2343        looking at binary executable coverage, and only optimized getting
2344        self. Id translations were still getting pushed to a subroutine call
2345        to _Objects_Get. Later the non-inlined version can be further
2346        optimized to get Ids in range for the current API, then self, then
2347        look at other APIs.
2348        * score/src/threadget.c: New file.
2349
23502007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2351
2352        * libi2c/README-libi2c
2353        document structure of libi2c library
2354
23552007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2356
2357        * libi2c/libi2c.c, libi2c/libi2c.h:
2358        extend API to support SPI devices
2359        made libi2c.h C++-proof
2360
23612007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2362
2363        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2364        also in another file.  Mistake after splitting.
2365        * libcsupport/Makefile.am: Reflect file removal.
2366
23672007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2368
2369        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2370        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2371        Minor updates from FreeBSD.
2372
23732007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2374
2375        * score/include/rtems/score/copyrt.h: Update year.
2376
23772007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2378
2379        * score/include/rtems/score/copyrt.h: Update year.
2380
23812007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2382
2383        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2384        Fixed check of status when registering driver. Add use of strerror().
2385
23862007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2387        Ralf Corsépius <ralf.corsepius@rtems.org>
2388
2389        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2390        libnetworking/libc/if_indextoname.c,
2391        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2392        * Makefile.am: Add files above.
2393        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2394
23952007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2396
2397        * libmisc/stackchk/check.c: Eliminate output with little information.
2398        Always print a blown message using the same routine. Now works with
2399        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2400        support in your GCC version.
2401
24022007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2403
2404        * libcsupport/src/gxx_wrappers.c: Revert.
2405
24062007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2407
2408        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2409        PRId32 to fix warning.
2410
24112007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2412
2413        * telnetd/passwd.h: New file.
2414
24152007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2416
2417        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2418        telnetd/telnetd.h: telnetd rewrite.
2419        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2420
24212007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2422
2423        PR 1262/filesystem
2424        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2425        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2426        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2427        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2428        writev() including documentation and test case.
2429        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2430
24312007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2432
2433        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2434        document what is required to provide a fully functional
2435        implementation.
2436        * libnetworking/rtems/rtems_socketpair.c: New file.
2437
24382007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2439
2440        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2441        Bump RTEMS_VERSION to 4.8.99.0.
2442
24432007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2444
2445        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2446
24472007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2448
2449        * posix/src/semaphorecreatesupp.c: Fixed warning.
2450
24512007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2452
2453        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2454
24552007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2456
2457        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2458        Use uint32_t for ext_accm.
2459
24602007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2461
2462        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2463        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2464        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2465        fixed-size types instead of BSD fixed-size types.
2466
24672007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2468
2469        * libmisc/stackchk/check.c: Fix alignment of output.
2470
24712007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2472
2473        * libmisc/monitor/monitor.h: Add network commands that were in the
2474        network supplement but not in the code.
2475        * libmisc/monitor/mon-network.c: New file.
2476
24772007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2478
2479        PR 1261/cpukit
2480        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2481        semaphore creation.
2482
24832007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2484
2485        PR 1260/cpukit
2486        * posix/src/pthread.c: Get initial signals blocked from creating
2487        thread not from ourselves.
2488
24892007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2490
2491        * score/src/watchdogtickle.c: Remove tabs.
2492
24932007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2494
2495        PR 1259/rtems
2496        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2497        memory is not guaranteed to be zero.
2498
24992007-09-12  Sergei Organov  <osv@javad.com>
2500
2501        PR 1258/rtems
2502        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2503        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2504        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2505        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2506        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2507        to changed block split strategy in _Heap_Allocate_aligned().
2508
25092007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2510
2511        * libcsupport/src/printk.c: Remove unnecessary comments.
2512
25132007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2514
2515        * libmisc/monitor/mon-monitor.c:
2516        Corrected linked list of rtems_monitor_commands
2517
25182007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2519
2520        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2521        walk on init, malloc, and free. The ability to walk the heap appears
2522        to disappeared during the rework of the C Program heap to skip the
2523        Region.
2524
25252007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2526
2527        * score/src/heap.c: Style.
2528        * score/src/heapwalk.c: Add more information to prints.
2529        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2530        is disabled.
2531
25322007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2533
2534        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2535        * libcsupport/src/printk_plugin.c: New file.
2536        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2537        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2538        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2539        rtems/src/ratemonreportstatistics.c: Added capability to specify
2540        your own "printf" routine to various reporting functions.  This
2541        added an XXX_with_plugin as the underlying implementation for
2542          + rtems_rate_monotonic_report_statistics
2543          + rtems_stack_checker_report_usage
2544          + rtems_cpu_usage_report
2545        As demonstration, the http netdemo can now print out stack
2546        and cpu usage reports.
2547
25482007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2549
2550        * shttpd/compat_rtems.c: Style clean up.
2551
25522007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2553
2554        * rtems/src/ratemonperiod.c: Clean up.
2555        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2556
25572007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2558
2559        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2560
25612007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2562
2563        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2564
25652007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2566
2567        * libmisc/Makefile.am: Add new files.
2568
25692007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2570
2571        * libmisc/monitor/mon-object.c,
2572        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2573        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2574        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2575        Added functionality for osmonweb support
2576
25772007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2578
2579        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2580        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2581        that are needed by osmonweb.
2582
25832007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2584
2585        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2586        Use printk.
2587
25882007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2589
2590        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2591        spacing and spelling.
2592
25932007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2594
2595        PR 1256/networking
2596        * ftpd/ftpd.c: Fix unaligned access.
2597
25982007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2599
2600        * posix/Makefile.am: Always build nanosleep.
2601
26022007-08-17      Chris Johns <chrisj@rtems.org>
2603
2604        * libmisc/capture/README: Minor copyright change.
2605        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
2606        libmisc/capture/capture.h: Fixed the memory leak when lots of
2607        tasks are being created and deleted. Improved the trigger
2608        interface so all task type actions can be caught.
2609
26102007-08-13      Chris Johns <chrisj@rtems.org>
2611
2612        * score/include/rtems/score/object.h: Point the
2613        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2614
26152007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2616
2617        PR 1248/networking
2618        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
2619        reported that when no interfaces are successfully attached, the
2620        default route is broken and may result in a jump to an illegal
2621        address.
2622
26232007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2624
2625        * score/inline/rtems/score/priority.inl: Use size_t instead of
2626          uint32_t for array index.
2627
26282007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2629
2630        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
2631          identify coldfire cpus.
2632
26332007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2634
2635        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
2636          coldfire.
2637
26382007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2639
2640        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
2641          work-around bug m68k/coldfire -fomit-frame-pointer bug
2642          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
2643
26442007-07-27      Chris Johns <chrisj@rtems.org>
2645
2646        * wrapup/Makefile.am: Create archive from a file for hosts
2647        with a limited command line size.
2648
26492007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2650
2651        * include/rtems/bspIo.h, include/rtems/pci.h:
2652        Add extern "C" guards. Reported by
2653        Robert S. Grimes <rsg@alum.mit.edu>.
2654
26552007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2656
2657        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
2658        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
2659        the time appears to be reported correctly and add up to what is
2660        expected.
2661
26622007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2663
2664        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
2665        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
2666        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
2667
26682007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2669
2670        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
2671        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
2672        was always using uptime not time since last cpu usage reset when
2673        using nanoseconds granularity.
2674        * libmisc/cpuuse/cpuusagedata.c: New file.
2675
26762007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
2677
2678        * libcsupport/src/mount.c: Allow null for output parameter.
2679
26802007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2681
2682        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
2683        to shttpd initialization.
2684
26852007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2686
2687        * libcsupport/src/malloc.c: Clean up Malloc debug code.
2688        * score/include/rtems/score/heap.h: Spacing.
2689        * score/inline/rtems/score/thread.inl:
2690        * score/src/heapfree.c. Clean up and add explicit check of the address
2691        being freed actually being in the heap.
2692        * score/src/heapwalk.c: Switch to printk and do not call abort.
2693
26942007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2695
2696        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
2697        area contingent on the stack checker user extension having been
2698        initialized.
2699
27002007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2701
2702        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
2703        and recv(). We already had the BSD versions and these conflict
2704        sometimes when linking.
2705
27062007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2707
2708        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
2709        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2710
27112007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2712
2713        * sapi/include/confdefs.h: Do not instantiate initialization
2714        thas/thread pointer tables for an API that is not configured.
2715
27162007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2717
2718        * libcsupport/Makefile.am:
2719        * libcsupport/src/open_dev_console.c: New file.
2720
27212007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2722
2723        * score/src/corerwlock.c: Make sure structure is fully initialized.
2724        When reused, some fields will not be zero like at initialization.
2725
27262007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2727
2728        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
2729        size. Account for this.
2730
27312007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2732
2733        * configure.ac: Add NDEBUG as a command line compilation option.
2734
27352007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2736
2737        * libmd/.cvsignore: New file.
2738
27392007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2740
2741        * shttpd/defs.h: Eliminate my_strncasecmp.
2742        * shttpd/string.c: Eliminate my_strncasecmp.
2743
27442007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2745
2746        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
2747        * pppd/Makefile.am: Reflect moving out md*.
2748        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
2749          libmd).
2750        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
2751        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
2752        * configure.ac, Makefile.am: Add libmd.
2753
27542007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2755
2756        * shttpd/defs.h: Eliminate my_strlcpy.
2757        * shttpd/string.c: Eliminate my_strlcpy.
2758
27592007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2760
2761        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
2762        * shttpd/string.c: Eliminate my_strdup, my_strndup.
2763        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
2764          libmd.a.
2765
27662007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2767
2768        * wrapup/Makefile.am: Add libmd.a.
2769
27702007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2771
2772        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
2773          Add pppd/libmd.a.
2774        * pppd/md4.c: Don't include pppd.h.
2775
27762007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2777
2778        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
2779
27802007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2781
2782        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
2783        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
2784        Add config.h support.
2785
27862007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2787
2788        * shttpd/compat_rtems.h: Define closesocket.
2789
27902007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2791
2792        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
2793
27942007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2795        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
2796        Use size_t for stack sizes.
2797
27982007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2799
2800        * configure.ac, Makefile.am: Add shttpd.
2801        * shttpd/Makefile.am: New.
2802        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
2803        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
2804        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
2805        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
2806        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
2807        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
2808        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
2809        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
2810        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
2811        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
2812        Import from shttpd-1.37.tar.gz.
2813
28142007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2815
2816        * configure.ac: Remove "pad" from CPU_CONTEXT.
2817
28182007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2819
2820        * score/src/coremsg.c: Formatting.
2821
28222007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2823
2824        * score/include/rtems/score/copyrt.h: Update copyright notice.
2825
28262007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2827
2828        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
2829        one function per file execpt io.c which contains required
2830        initialization methods.
2831        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
2832        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
2833        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
2834        sapi/src/iowrite.c: New files.
2835
28362007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2837
2838        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
2839        table into Workspace but now it is only done if the application needs
2840        extra slots for dynamic driver registration. Cleaned up
2841        rtems_io_register_driver and rtems_io_unregister_driver code and
2842        added numerous error cases to register.
2843
28442007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2845
2846        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
2847        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
2848        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
2849        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
2850        configuration parameter since it was used to configure a no longer
2851        used feature. Device names are now part of the filesystem not in a
2852        table. This also eliminated the variables _IO_Number_of_devices and
2853        _IO_Driver_name_table from RTEMS as well as the memory allocation
2854        used to populate _IO_Driver_name_table.
2855        * libmisc/monitor/mon-dname.c: Removed.
2856
28572007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2858
2859        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
2860        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
2861        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
2862        unused Workspace. Round the workspace required size to an 8 byte
2863        boundary instead of a 0x400 byte one. We may end up needing to add 8
2864        bytes again to account for the alignment rounding.
2865
28662007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2867
2868        Yu Chen <chyyuu@gmail.com>
2869        * score/src/corespinlockwait.c: Per question posted as
2870        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
2871        logical operator to <=.
2872
28732007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2874
2875        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
2876        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
2877        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
2878        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
2879        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
2880        executive initialization.
2881
28822007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2883
2884        * score/src/corerwlockrelease.c: Do not dereference NULL.
2885
28862007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2887
2888        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
2889        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
2890        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
2891        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
2892        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
2893        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
2894        sapi/include/rtems/extension.h: Split Classic API data instantiation
2895        into individual files. This reduces the size of the BSS section when
2896        an optional manager stub is used. Some tests showed about a 600 byte
2897        reduction in BSS size.
2898        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
2899        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
2900        _RTEMS_tasks_Number_of_initialization_tasks because they were only
2901        used in one place after initialized. It was a waste of space.
2902        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
2903        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
2904        rtems/src/ratemondata.c, rtems/src/regiondata.c,
2905        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
2906        sapi/src/extensiondata.c: New files.
2907
29082007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2909
2910        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
2911        functionality into multiple files to eliminate unnecessary cohesion.
2912        Update README.
2913        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
2914        New files.
2915        * libmisc/cpuuse/cpuuse.c: Removed.
2916
29172007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2918
2919        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
2920        negative value in some circumstances. Also cleaned up to share uptime
2921        declaration.
2922
29232007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2924
2925        * ChangeLog, configure.ac, libcsupport/src/__times.c,
2926        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2927        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
2928        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
2929        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
2930        score/Makefile.am, score/include/rtems/score/thread.h,
2931        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
2932        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
2933        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
2934        monotonic period statistics and CPU usage statistics. This capability
2935        is enabled by default although may be conditionally disabled by the
2936        user. It could be too much overhead on small targets but it does not
2937        appear to be bad in early testing. Its impact on code size has not
2938        been evaluated either. It is possible that both forms of statistics
2939        gathering could be disabled with further tweaking of the conditional
2940        compilation.
2941        * score/src/timespecdividebyinteger.c: New file.
2942
29432007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2944
2945        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
2946        functionally similar code here. Also cleanup print formats.
2947
29482007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2949
2950        * score/src/objectgetnameasstring.c: Internal threads use string names
2951        so in the current RTEMS source string object name can NOT be
2952        disabled. It is probably worth considering converting the internal
2953        threads to uint32_t style names so all the support for string names
2954        can be conditionally disabled.
2955
29562007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2957
2958        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
2959        and greater than operations for timespecs.
2960        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
2961        New files.
2962
29632007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2964
2965        * score/src/objectgetnameasstring.c: Remove bogus ifdef
2966        RTEMS_POSIX_API.
2967
29682007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
2969
2970        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
2971        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
2972        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
2973        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
2974        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
2975        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
2976        score/Makefile.am, score/include/rtems/score/object.h,
2977        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
2978        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
2979        Added the following directives: rtems_rate_monotonic_get_statistics,
2980        rtems_rate_monotonic_reset_statistics,
2981        rtems_rate_monotonic_reset_all_statistics,
2982        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
2983        Obsoleted the rtems/rtmonuse.h file as a public interface.
2984        * rtems/src/ratemongetstatistics.c,
2985        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
2986        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
2987        score/src/objectgetnameasstring.c: New files.
2988        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2989
29902007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2991
2992        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
2993        rtems_io_register_name for use on unix.
2994        * libcsupport/src/unixlibc_io.c: New file.
2995
29962007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2997
2998        * score/src/coremsgseize.c: A blocking sender's message size was
2999        pulled out of the wrong field in the Wait information structure.
3000        * score/src/objectallocate.c: With the new optional manager support,
3001        we only stub out the initialization. This makes it possible to attempt
3002        to create an object with the information structure only initialized
3003        with all zeros.  This ensures we return an error cleanly in this case.
3004
30052007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3006
3007        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3008        an optional manager, we cannot depend on it do initialize the
3009        internal Allocator Mutex.  This was always a questionable place to
3010        do it, so this is a cleanup.
3011
30122007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3013
3014        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3015        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3016        suitable for inclusion in the Users Guide.
3017
30182007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3019
3020        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3021        ChangeLog-pre2007.
3022        * ChangeLog-pre2007: New file.
3023
30242007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3025
3026        PR 1241/rtems
3027        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3028        critical section window added with requeueing support.
3029
30302007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3031
3032        * libcsupport/include/rtems/cdefs.h,
3033          libcsupport/include/sys/cdefs.h: Remove.
3034        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3035        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3036        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3037        libnetworking/netdb.h, libnetworking/resolv.h,
3038        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3039        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3040        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3041        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3042        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3043        libnetworking/rtems/rtems_bsdnet_internal.h,
3044        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3045        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3046        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3047        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3048        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3049        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3050        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3051        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3052        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3053        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3054        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3055
30562007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3057
3058        * Makefile.am: Reflect introduction of
3059          include/rtems/bsd/sys/cdefs.h.
3060        * include/rtems/bsd/sys/cdefs.h: New.
3061
30622007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3063
3064        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3065        * libnetworking/sys/queue.h: Remove.
3066
30672007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3068
3069        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3070        <machine/endian.h>.
3071        * libnetworking/rtems/rtems_showroute.c,
3072        libnetworking/rtems/rtems_showipstat.c,
3073        libnetworking/rtems/rtems_showtcpstat.c,
3074        libnetworking/rtems/rtems_showicmpstat.c,
3075        libnetworking/rtems/rtems_showmbuf.c,
3076        libnetworking/rtems/rtems_showudpstat.c,
3077        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3078        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3079        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3080        libnetworking/netinet/tcp_usrreq.c,
3081        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3082        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3083        libnetworking/netinet/ip_output.c,
3084        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3085        libnetworking/netinet/udp_usrreq.c,
3086        libnetworking/netinet/tcp_output.c,
3087        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3088        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3089        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3090        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3091        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3092        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3093        instead of <sys/queue.h>.
3094        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3095        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3096        libnetworking/net/if.h, libnetworking/net/if_media.h,
3097        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3098        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3099        instead of <sys/queue.h>.
3100        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3101        * include/rtems/bsd/sys/queue.h: New (Copied from
3102          libnetworking/sys/queue.h).
3103
31042007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3105
3106        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3107        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3108        score/Makefile.am, score/preinstall.am,
3109        score/include/rtems/score/userext.h, score/src/chain.c,
3110        score/src/userext.c: Switch to newlib reentrancy extension being
3111        installed in the initial set instead of using rtems_extension_create.
3112        While implementing this, noticed that user extensions and chain code
3113        had multiple functions in a single file which is not desirable in the
3114        SuperCore and API portions of RTEMS, so split these into multiple
3115        files with one function per file. Also noticed that some of user
3116        extension code was inlined for no particular reason so moved that to
3117        C bodies.  Split executive shutdown from initialization since not
3118        every application shuts down.  Moved __fini call to executive shutdown
3119        to be more symmetrical with where it is called at startup.
3120        * sapi/src/exshutdown.c, score/src/chainappend.c,
3121        score/src/chainextract.c, score/src/chainget.c,
3122        score/src/chaininsert.c, score/src/userextaddapiset.c,
3123        score/src/userextaddset.c, score/src/userextremoveset.c,
3124        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3125        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3126        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3127        files.
3128        * score/inline/rtems/score/userext.inl: Removed.
3129
31302007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3131
3132        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3133        reference _Configuration_MP_table if multiprocessing is disabled.
3134
31352007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3136
3137        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3138        reference _Configuration_MP_table if multiprocessing is disabled.
3139
31402007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3141
3142        * libnetworking/machine/endian.h: Remove.
3143        * libnetworking/Makefile.am: Remove machine/endian.h.
3144        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3145        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3146        <rtems/endian.h> instead of <machine/endian.h>.
3147        * Makefile.am: Add include/rtems/endian.h.
3148        * include/rtems/endian.h: New (Copied from
3149          libnetworking/machine/endian.h).
3150
31512007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3152
3153        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3154        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3155        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3156        of <stdint.h>.
3157        * libnetworking/machine/endian.h: Remove
3158          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3159        * NEWS: new.
3160
31612007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3162
3163        PR 1243
3164        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3165
31662007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3167
3168        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3169        to inline functions, using uint[16,32]_t.
3170        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3171        with SUSv3.
3172        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3173        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3174        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3175        Add HAVE_CONFIG_H magic.
3176        * libnetworking/libc/gethostbydns.c,
3177        libnetworking/libc/inet_net_ntop.c,
3178        libnetworking/libc/inet_pton.c: Eliminate __P.
3179        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3180        return value of ntohl (POSIX requirement).
3181        Use UINT32_C macros to avoid overflows on 16bit targets.
3182        Eliminate __P.
3183        * configure.ac: Check for working PRIxPTR.
3184
31852007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3186
3187        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3188        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3189        Use size_t for stack sizes.
3190
31912007-05-03      Joel Sherrill <joel@OARcorp.com>
3192
3193        * ChangeLog, libcsupport/src/malloc.c,
3194        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3195        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3196        Region Manager is quite heavy for implementing this. This patch
3197        implements the C Program Heap directly in terms of the new Protected
3198        Heap handler. This handler is a direct use of a SuperCore Heap in
3199        conjunction with the Allocator Mutex used internally by RTEMS. This
3200        saves 3184 bytes on most SPARC test executables.
3201        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3202        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3203        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3204        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3205        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3206        score/src/pheapwalk.c: New files.
3207
32082007-05-03      Joel Sherrill <joel@OARcorp.com>
3209
3210        * libcsupport/src/rmdir.c: Fixed spacing.
3211        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3212        newlibc.c. It is not required for minimum executing and drops 624
3213        from SPARC minimum executable.
3214        * libcsupport/src/newlibc_exit.c: New file.
3215
32162007-04-17      Joel Sherrill <joel@OARcorp.com>
3217
3218        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3219        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3220        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3221        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3222        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3223        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3224        reduce executable size. Most were refactoring of files. Split ITRON
3225        API files. Implemented mechanism to avoid initialization task/thread
3226        loop being linked in when that style of task initialization was not
3227        being used.
3228        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3229        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3230        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3231        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3232        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3233        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3234        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3235        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3236        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3237        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3238        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3239        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3240        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3241        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3242        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3243        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3244        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3245        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3246        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3247        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3248        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3249
32502007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3251
3252        * score/include/rtems/score/thread.h:
3253          Use Context_Control_fp* instead of void* for fp_contexts.
3254
32552007-04-16      Joel Sherrill <joel@OARcorp.com>
3256
3257        PR 1240/filesystem
3258        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3259        for filename was not being freed.
3260
32612007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3262
3263        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3264
32652007-04-16      Joel Sherrill <joel@OARcorp.com>
3266
3267        * itron/src/rsm_tsk.c: Correct error returned.
3268
32692007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3270
3271        * configure.ac: Redefine LIBPOSIX to !UNIX.
3272        * posix/src/usleep.c, libcsupport/src/readlink.c:
3273        Update API to SUSv3.
3274
32752007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3276
3277        * posix/Makefile.am: Unconditionally build src/sleep.c,
3278          src/usleep.c.
3279        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3280          CLOCK_MONOTONIC case.
3281        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3282
32832007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3284
3285        * posix/Makefile.am: Cosmetics.
3286        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3287        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3288
32892007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3290
3291        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3292          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3293        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3294          rtems/posix/time.h.
3295        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3296          rtems/posix/time.h.
3297        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3298
32992007-04-12      Joel Sherrill <joel@OARcorp.com>
3300
3301        * itron/src/rsm_tsk.c: Correct error returned.
3302
33032007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3304
3305        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3306
33072007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3308
3309        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3310        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3311        _impure_ptr bug).
3312        Fix abuse of _REENT_INIT().
3313
33142007-04-05      Joel Sherrill <joel@OARcorp.com>
3315
3316        * itron/src/itrontime.c: Fix typo.
3317        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3318        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3319        * score/src/threaddispatch.c: Formatting.
3320
33212007-04-05      Joel Sherrill <joel@OARcorp.com>
3322
3323        * posix/Makefile.am: Fix formatting.
3324
33252007-04-05      Joel Sherrill <joel@OARcorp.com>
3326
3327        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3328        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3329        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3330        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3331        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3332        posix/src/pthread.c, posix/src/pthreadcreate.c,
3333        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3334        posix/src/sched.c, posix/src/semtimedwait.c,
3335        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3336        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3337        score/preinstall.am, score/include/rtems/score/tod.h,
3338        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3339        score/src/coretodget.c, score/src/coretodgetuptime.c,
3340        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3341        manipulation routines in the SuperCore. Use them everywhere possible.
3342        This lead to significant cleanup in the API routines and eliminated
3343        some of the same code from the POSIX API. At this point, the
3344        SuperCore keeps time in POSIX timespec format properly from 1970. You
3345        just cannot set it before 1988 in keeping with RTEMS traditional
3346        behavior.
3347        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3348        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3349        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3350        score/src/timespectoticks.c: New files.
3351        * posix/src/posixintervaltotimespec.c,
3352        posix/src/posixtimespecsubtract.c,
3353        posix/src/posixtimespectointerval.c: Removed.
3354
33552007-04-04      Joel Sherrill <joel@OARcorp.com>
3356
3357        * score/Makefile.am, score/include/rtems/score/tod.h,
3358        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3359        non-inlined routine. It should only be used once so there is little
3360        advantage to inlining it.
3361        * score/src/coretodtickle.c: New file.
3362
33632007-04-02      Joel Sherrill <joel@OARcorp.com>
3364
3365        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3366        dead code.
3367        * posix/src/time.c: Removed.
3368
33692007-04-02      Joel Sherrill <joel@OARcorp.com>
3370
3371        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3372        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3373        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3374        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3375        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3376        TOD_Ticks_per_second variable.
3377
33782007-04-02      Joel Sherrill <joel@OARcorp.com>
3379
3380        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3381        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3382        posix/src/clockgettime.c, posix/src/clocksettime.c,
3383        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3384        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3385        posix/src/sleep.c, rtems/Makefile.am,
3386        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3387        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3388        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3389        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3390        score/Makefile.am, score/include/rtems/score/tod.h,
3391        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3392        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3393        fundamental time structure to POSIX struct timespec. Add
3394        clock_get_uptime().
3395        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3396        score/src/coretodgetuptime.c: New files.
3397        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3398        score/src/coretodvalidate.c: Removed.
3399
34002007-04-02      Joel Sherrill <joel@OARcorp.com>
3401
3402        * libcsupport/src/printk.c: Add %p support.
3403
34042007-04-02      Joel Sherrill <joel@OARcorp.com>
3405
3406        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3407        in addition to the pattern area being overwritten. Also do some
3408        cleanup.
3409
34102007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3411
3412        * include/rtems/pci.h: Further stdint.h fixed-size types.
3413
34142007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3415
3416        * include/rtems/pci.h: Use stdint.h fixed size-types.
3417
34182007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3419
3420        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3421        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3422        * libnetworking/Makefile.am: Move libc/res_config.h to
3423          libc_a_SOURCES (File is being used).
3424        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3425        Remove (Unused).
3426        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3427        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3428        Remove (Unused).
3429        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3430
34312007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3432
3433        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3434        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3435        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3436        libnetworking/libc/gethostbynis.c,
3437        libnetworking/libc/gethostnamadr.c,
3438        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3439        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3440        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3441        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3442        libnetworking/libc/getservbyname.c,
3443        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3444        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3445        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3446        libnetworking/libc/inet_net_ntop.c,
3447        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3448        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3449        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3450        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3451        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3452        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3453        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3454        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3455        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3456        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3457        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3458        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3459        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3460        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3461        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3462        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3463        SCCS, LINT. Add HAVE_CONFIG_H.
3464        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3465
34662007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3467
3468        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3469          uintptr_t.
3470
34712007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3472
3473        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3474        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3475
34762007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3477
3478        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3479        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3480        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3481        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3482        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3483        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3484        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3485        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3486        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3487        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3488        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3489        (Abandoned in FreeBSD).
3490        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3491        (Abandoned in FreeBSD).
3492        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3493        (Abandoned in FreeBSD).
3494        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3495        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3496
34972007-03-28      Chris Johns <chrisj@rtems.org>
3498
3499        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3500        score/include/rtems/score/watchdog.h: Add support for a handler to
3501        obtain the number of nanoseconds since the last clock tick. The
3502        primary interface for this is rtems_clock_set_nanoseconds_extension.
3503        Subsequent commits from Joel will redo the TOD support to use this
3504        capability.
3505        * rtems/src/clocksetnsecshandler.c: New file.
3506
35072007-03-28      Joel Sherrill <joel@OARcorp.com>
3508
3509        PR 1234/cpukit
3510        * libcsupport/Makefile.am: Provide printk() based implementation of
3511        __assert() to reduce dependencies in executables.
3512        * libcsupport/src/__assert.c: New file.
3513
35142007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3515
3516        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3517        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3518        * libnetworking/net/ppp-comp.h: Remove (Unused).
3519        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3520        * libnetworking/sys/buf.h: Remove (Unused).
3521        * libnetworking/Makefile.am: Remove sys/buf.h.
3522        * libnetworking/kern/kern_sysctl.c,
3523        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3524        <sys/buf.h>.
3525        *  libcsupport/include/sys/sockio.h: Partial update from
3526          FreeBSD.
3527
35282007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3529
3530        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3531        * libnetworking/netinet/igmp.c: Eliminate __P().
3532        * libnetworking/netinet/in.c: Eliminate __P().
3533        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3534        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3535        * libnetworking/netinet/ip_output.c: Eliminate __P().
3536
35372007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3538
3539        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3540        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3541        Change int args to intptr_t because they are casted to pointers.
3542        * libnetworking/netinet/tcp_usrreq.c,
3543        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3544
35452007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3546
3547        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3548        "long", because long is not guaranteed to be castable to char*.
3549        * libnetworking/netinet/ip_input.c: Eliminate __P().
3550        Change "int next" to "int32_t next" for 16bit targets.
3551        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3552        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3553        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3554        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3555        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3556        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3557        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3558
35592007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3560
3561        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3562        Remove (Abandoned in FreeBSD).
3563        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3564        net/pppcompress.h.
3565        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3566        net/pppcompress.h.
3567        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3568        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3569        net/pppcompress.h.
3570
35712007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3572
3573        * libnetworking/net/pppcompress.h: Eliminate __P().
3574        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3575        * libnetworking/net/if_llc.h: Update from FreeBSD.
3576
35772007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3578
3579        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3580          <net/ppp-comp.h>.
3581        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3582        Warn about using it.
3583        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3584        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3585        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3586          FreeBSD.
3587        * libnetworking/machine/in_cksum.h: Eliminate __P().
3588        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3589        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3590        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3591        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
3592        Eliminate __P().
3593        * libcsupport/src/scandir.c: Eliminate __P().
3594        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
3595        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
3596        Eliminate __P().
3597        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
3598        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
3599        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
3600
36012007-03-26      Joel Sherrill <joel@OARcorp.com>
3602
3603        PR 1231/cpukit
3604        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
3605        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
3606        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
3607        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
3608        posix/src/mutexattrgetprioceiling.c,
3609        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
3610        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
3611        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
3612        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
3613        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
3614        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
3615        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
3616        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
3617        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
3618        posix/src/posixtimespecsubtract.c,
3619        posix/src/posixtimespectointerval.c,
3620        posix/src/psignalclearprocesssignals.c,
3621        posix/src/psignalclearsignals.c,
3622        posix/src/psignalsetprocesssignals.c,
3623        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
3624        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
3625        unneeded includes of assert.h
3626
36272007-03-26      Joel Sherrill <joel@OARcorp.com>
3628
3629        * libcsupport/include/rtems/assoc.h: Pick up the include file
3630        changes associated with the file splitting.
3631
36322007-03-26      Joel Sherrill <joel@OARcorp.com>
3633
3634        * libcsupport/Makefile.am: Pick up the Makefile changes associated
3635        with the file splitting.
3636
36372007-03-26      Joel Sherrill <joel@OARcorp.com>
3638
3639        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
3640        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
3641        this will not be deemed necessary to commit to the 4.7 branch.
3642        * libcsupport/src/assoclocalbyname.c,
3643        libcsupport/src/assoclocalbyremote.c,
3644        libcsupport/src/assoclocalbyremotebitfield.c,
3645        libcsupport/src/assocnamebylocal.c,
3646        libcsupport/src/assocnamebylocalbitfield.c,
3647        libcsupport/src/assocnamebyremote.c,
3648        libcsupport/src/assocnamebyremotebitfield.c,
3649        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
3650        libcsupport/src/assocptrbyremote.c,
3651        libcsupport/src/assocremotebylocal.c,
3652        libcsupport/src/assocremotebylocalbitfield.c,
3653        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
3654        libcsupport/src/write_r.c: New files.
3655
36562007-03-26      Joel Sherrill <joel@OARcorp.com>
3657
3658        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
3659        support and remove deadcode. Replace with comment explaining that
3660        behavior is compatible with GNU/Linux per Eric Norum.
3661
36622007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3663
3664        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
3665        Partial update from FreeBSD.
3666        * libnetworking/netinet/if_ether.h: Eliminate __P().
3667        * libnetworking/netinet/ip_var.h: Eliminate __P().
3668        * libnetworking/netinet/in.h: Eliminate __P().
3669        * libnetworking/netinet/tcp_var.h: Eliminate __P().
3670
36712007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3672
3673        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
3674        Remove __P();
3675        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
3676
36772007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3678
3679        * libnetworking/netinet/in_var.h: Remove __P().
3680        * libnetworking/netinet/in_systm.h: Remove __P().
3681        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
3682        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
3683        * libnetworking/netinet/if_ether.c: Remove __P().
3684        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
3685        More updates from FreeBSD.
3686        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
3687        libnetworking/net/route.h: Partial update from FreeBSD.
3688
36892007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3690
3691        * libnetworking/Makefile.am: Remove nfs/krpc.h.
3692        * libnetworking/nfs/krpc.h: Remove (Unused).
3693        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
3694        * libnetworking/Makefile.am: Remove nfs/nfs.h.
3695        * libnetworking/nfs/nfs.h: Remove (Unused).
3696
36972007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3698
3699        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
3700          symbols.
3701        * libnetworking/sys/conf.h: Don't include machine/conf.h.
3702        Update copyright notice.
3703        Remove unused/non-implemented declarations.
3704        * libnetworking/Makefile.am: Remove machine/conf.h.
3705        * libnetworking/machine/conf.h: Remove.
3706
37072007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3708
3709        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
3710        Remove many non-supported/unused declarations.
3711
37122007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3713
3714        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
3715          crhold (Unused/non-implemented).
3716
37172007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3718
3719        * libnetworking/sys/ucred.h: Remove __P().
3720        * libnetworking/sys/callout.h: Remove __P().
3721        * libnetworking/sys/domain.h: Remove __P().
3722        * libnetworking/sys/socketvar.h: Remove __P().
3723        * libnetworking/sys/socket.h: Remove __P().
3724        * libnetworking/sys/select.h: Remove __P().
3725        * libnetworking/sys/kernel.h: Remove __P().
3726        * libnetworking/sys/protosw.h: Remove __P().
3727        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
3728        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
3729        swdevt, nswdev, nswap (Unused).
3730
37312007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3732
3733        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
3734        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
3735        instead of struct linesw (PR 1229)
3736        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
3737        around clash with defines from rtems_bsdnet_internal.h.
3738        * score/src/heapwalk.c: include stdlib.h.
3739
37402007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3741
3742        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
3743        Remove __P().
3744        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
3745        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
3746        Remove __P().
3747        * libcsupport/include/rtems/termiostypes.h,
3748        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
3749        with rtems_termios_*.
3750        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
3751        (Clash with termiostypes.h - PR 1229).
3752
37532007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3754
3755        * score/include/rtems/score/wkspace.h,
3756        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
3757        Change _Workspace_Handler_initialization and
3758        _Workspace_Allocate_or_fatal_error to using size_t.
3759        * libnetworking/sys/rtprio.h: Remove (Unused).
3760        * libnetworking/Makefile.am: Remove sys/rtprio.h.
3761
37622007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3763
3764        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
3765        Remove __P().
3766
37672007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3768
3769        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
3770          to fix warnings.
3771        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
3772        * score/include/rtems/score/chain.h, score/src/chain.c:
3773        Change _Chain_Initialize to using size_t.
3774
37752007-03-12      Joel Sherrill <joel@OARcorp.com>
3776
3777        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
3778        Dump_Buffer to rtems_print_buffer.
3779
37802007-03-12      Joel Sherrill <joel@OARcorp.com>
3781
3782        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
3783        license URL and/or fix mistake in copyright notice. Both of these
3784        mistakes appear to be from code submitted after these changes were
3785        made previously.
3786
37872007-03-10      Joel Sherrill <joel@OARcorp.com>
3788
3789        PR 1226/cpukit
3790        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
3791        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
3792
37932007-03-08      Joel Sherrill <joel@OARcorp.com>
3794
3795        * libfs/src/imfs/imfs.h: Fix comment.
3796
37972007-03-08      Joel Sherrill <joel@OARcorp.com>
3798
3799        * libfs/src/imfs/imfs.h: Fix comment.
3800
38012007-03-08      Joel Sherrill <joel@OARcorp.com>
3802
3803        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
3804        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
3805
38062007-03-08      Joel Sherrill <joel@OARcorp.com>
3807
3808        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
3809        Remove wrapper for message queue send and urgent and implement them
3810        directly. There was an unnecessary function call layer in addition to
3811        conditions in the shared routine. Directly coding both directives is
3812        simpler and should result in smaller code.
3813        * rtems/src/msgqsubmit.c: Removed.
3814
38152007-03-05      Joel Sherrill <joel@OARcorp.com>
3816
3817        PR 1222/cpukit
3818        * score/Makefile.am, score/include/rtems/score/coremutex.h,
3819        score/include/rtems/score/threadq.h,
3820        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
3821        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
3822        score/src/threadclearstate.c, score/src/threadhandler.c,
3823        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
3824        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
3825        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
3826        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
3827        score/src/threadsetstate.c: Enhance so that when the prioirity of a
3828        thread that is blocked on a priority based thread queue is changed,
3829        that its placement in the queue is reevaluated based upon the new
3830        priority. This enhancement includes modifications to the SuperCore as
3831        well as new test cases.
3832        * score/src/threadqrequeue.c: New file.
3833
38342007-03-05      Joel Sherrill <joel@OARcorp.com>
3835
3836        * sapi/src/exinit.c: Fix spacing.
3837
38382007-03-05      Joel Sherrill <joel@OARcorp.com>
3839
3840        PR 1221/cpukit
3841        * posix/src/pthreadequal.c: Fix critical section nesting.
3842
38432007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
3844
3845        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
3846          compiled files.
3847
38482007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
3849
3850        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
3851
38522007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
3853
3854        * score/Makefile.am: Remove macros/README.
3855
38562007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
3857
3858        * score/include/rtems/score/heap.h, score/src/heap.c,
3859        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
3860        More size_t for heap-sizes.
3861        * score/include/rtems/score/heap.h, score/src/heap.c,
3862        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
3863        heap-sizes.
3864        * libnetworking/resolv.h: Typo fixes. Remove __P().
3865
38662007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
3867
3868        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
3869        Use size_t for stack-sizes.
3870
38712007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
3872
3873        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
3874          functions.
3875        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
3876        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
3877
38782007-02-06      Till Straumann <strauman@slac.stanford.edu>
3879
3880        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
3881        taskvar dtor to plug memory leak. Applied patch attached
3882        to PR#690.
3883
38842007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3885
3886        * libcsupport/src/getpagesize.c: New (moved from posix/src).
3887        * posix/src/getpagesize.c: Removed.
3888        * posix/Makefile.am: Remove references to getpagesize.c.
3889        * libcsupport/Makefile.am: Add getpagesize.c.
3890
38912007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3892
3893        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
3894        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
3895          visible.
3896        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
3897
38982007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3899
3900        * rtems/src/msgqsend.c: Use size_t for sizes.
3901        * rtems/src/msgqurgent.c: Use size_t for sizes.
3902        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
3903        * rtems/src/msgmp.c: Use size_t for sizes.
3904        * rtems/src/msgqsubmit.c: Use size_t for sizes.
3905        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
3906        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3907        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
3908
39092007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3910
3911        * itron/src/trcv_mbf.c: Use size_t for sizes.
3912        * libmisc/monitor/mon-object.c: Use size_t for sizes.
3913        * libmisc/monitor/mon-server.c: Use size_t for sizes.
3914        * libmisc/monitor/monitor.h: Use size_t for sizes.
3915        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
3916        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3917        * rtems/src/msgqreceive.c: Use size_t for sizes.
3918        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
3919        * score/src/coremsgseize.c: Use size_t for sizes.
3920
39212007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
3922
3923        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
3924        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
3925        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
3926        * score/src/coremsgbroadcast.c: Use size_t for sizes.
3927        * score/src/coremsgsubmit.c: Use size_t for sizes.
3928
39292007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3930
3931        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
3932
39332007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3934
3935        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
3936
39372007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3938
3939        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
3940        Remove isblank (supposed to be provided by libc).
3941
39422007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3943
3944        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
3945
39462007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3947
3948        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
3949         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
3950        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
3951        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
3952        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
3953
39542007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3955
3956        * score/include/rtems/system.h:
3957        #define __RTEMS_MINOR__ 7 (BZ 1206).
3958
39592007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3960
3961        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
3962        export some internal variables to make them available in
3963        "show_bdbuf" monitor add-on
3964
39652007-01-16      Till Straumann <strauman@slac.stanford.edu>
3966
3967        * libnetworking/rtems/rtems_mii_ioctl.c,
3968        libnetworking/rtems/rtems_mii_ioctl.h,
3969        libnetworking/rtems/rtems_mii_ioctl_kern.c,
3970        libi2c/libi2c.c, libi2c/libi2c.h:
3971        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
3972
39732007-01-09      Joel Sherrill <joel@OARcorp.com>
3974
3975        * libcsupport/src/error.c: rtems_progname is no longer defined in
3976        the BSP startup since it never held a meaningful value.
3977
39782007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
3979
3980        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
3981        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.