source: rtems/cpukit/ChangeLog @ a4a95e6

4.104.114.95
Last change on this file since a4a95e6 was a4a95e6, checked in by Joel Sherrill <joel.sherrill@…>, on 07/29/08 at 20:54:51

2008-07-29 Tim Cussins <timcussins@…>

  • ChangeLog?, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API conditional.
  • Property mode set to 100644
File size: 167.0 KB
Line 
12008-07-29      Tim Cussins <timcussins@eml.cc>
2
3        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
4        conditional.
5
62008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
7
8        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
9        call.
10
112008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
12
13        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
14
152008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
16
17        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
18        libmisc/monitor/monitor.h: Add missing prototypes.
19        * score/inline/rtems/score/tod.inl: Add prototypes.
20        * score/src/coretodset.c: Remove stray args in function call.
21        * libcsupport/include/rtems/libcsupport.h,
22        libcsupport/include/rtems/libio_.h,
23        libcsupport/src/malloc_statistics_helpers.c,
24        libcsupport/src/scandir.c: Add prototypes.
25        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
26        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
27        posix/src/prwlockrdlock.c: Use C-style comments.
28
292008-07-29      Chris Johns <chrisj@rtems.org>
30
31        * libblock/src/nvdisk.c: Fix block compile bug.
32
332008-07-29      Chris Johns <chrisj@rtems.org>
34
35        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
36        Update the comments.
37
382008-07-29      Chris Johns <chrisj@rtems.org>
39
40        * libblock/Makefile.am: Removed src/show_bdbuf.c.
41
42        * libblock/src/show_bdbuf.c: Removed.
43
44        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
45        Rewritten the bdbuf code. Remove pre-emption disable, score
46        access, fixed many bugs and increased performance.
47
48        * libblock/include/rtems/blkdev.h: Added
49        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
50        comments. Added block and user fields to the sg buffer
51        request. Move to rtems_* namespace.
52
53        * libblock/include/rtems/diskdevs.h,
54        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
55        capabilities field for drivers. Change rtems_disk_lookup to
56        rtems_disk_obtain to match the release call. You do not lookup and
57        release a disk, you obtain and release a disk.
58
59        * libblock/include/rtems/ide_part_table.h,
60        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
61        Move to rtems_* namespace.
62
63        * libblock/include/rtems/nvdisk.h: Formatting change.
64
65        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
66        rtems_disk_lookup to rtems_disk_obtain
67
68        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
69        support for the block number in the scatter/grather request
70        struct. This allows non-continuous buffer requests for those
71        drivers that can support increasing performance.
72
73        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
74        warnings. Added better error checking. Fixed some comments.
75
76        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
77        trace functions to help debugging upper layers. Use the new
78        support for the block number in the scatter/grather request
79        struct. This allows non-continuous buffer requests for those
80        drivers that can support increasing performance.
81
82        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
83        API. Removed temporary hack and changed
84        set_errno_and_return_minus_one to
85        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
86        header and stopped it being inlined. Updated to libblock changes.
87       
88        * libfs/src/dosfs/fat_fat_operations.c,
89        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
90        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
91        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
92        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
93        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
94        new chains API. Removed temporary hack and changed
95        set_errno_and_return_minus_one to
96        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
97
98        * libmisc/Makefile.am: Add new ls and rm command files.
99
100        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
101        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
102        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
103        libmisc/shell/vis.c, shell/vis.h: New.
104
105        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
106        libmisc/shell/utils-cp.c: Fixed the usage call bug.
107
108        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
109        command.
110
111        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
112        commands with more features.
113       
114        * score/src/coremutex.c: Fix the strick order mutex code.
115
116        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
117        and no ASR.
118       
119        * sapi/include/confdefs.h: Change ata_driver_task_priority to
120        rtems_ata_driver_task_priority. Add the new BD buf cache
121        parameters with defaults.
122
123        * score/src/interr.c: Do not return if the CPU halt call returns.
124       
1252008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
126
127        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
128        bsp_libc_init() into new bootcard.h.
129
130        * cpukit/include/rtems/irq-extension.h: New function
131        rtems_interrupt_handler_iterate() for system information and
132        diagnostics.
133
1342008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
135
136        * libmisc/shell/shell_script.c: Clean up code for command not found
137        including the error message.
138
1392008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
140
141        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
142        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
143        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
144        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
145        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
146        internal routine. This makes it possible to also print string names
147        of POSIX objects. Adjust task report to realign since we can have
148        longer names.
149
1502008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
151
152        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
153        body is now completely configured via the Configuration table.
154
1552008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
156
157        PR 1291/cpukit
158        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
159        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
160        posix/include/rtems/posix/semaphore.h,
161        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
162        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
163        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
164        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
165        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
166        posix/src/posixtimespecabsolutetimeout.c,
167        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
168        posix/src/semaphoretranslatereturncode.c,
169        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
170        posix/src/semtrywait.c, posix/src/semwait.c,
171        posix/src/sigtimedwait.c, posix/src/timersettime.c,
172        posix/src/ualarm.c, rtems/src/semobtain.c,
173        rtems/src/semtranslatereturncode.c,
174        score/include/rtems/score/coremutex.h,
175        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
176        patch addresses issues on implementation of the timeout on the
177        following POSIX services. Some of these services incorrectly took a
178        timeout as a relative time. Others would compute a 0 delta to timeout
179        if the absolute time and the current time were equal and thus
180        incorrectly block the caller forever. The root of the confusion is
181        that POSIX specifies that if the timeout is incorrect (e.g. in the
182        past, is now, or is numerically invalid), that it does not matter if
183        the call would succeed without blocking. This is in contrast to RTEMS
184        programming style where all errors are checked before any critical
185        sections are entered. This fix implemented a more uniform way of
186        handling POSIX absolute time timeouts.
187            + pthread_cond_timedwait - could block forever
188            + mq_timedreceive - used relative not absolute time
189            + mq_timedsend - used relative not absolute time
190            + pthread_mutex_timedlock - used relative not absolute time
191            + pthread_rwlock_timedrdlock- used relative not absolute time
192            + pthread_rwlock_timedwrlock- used relative not absolute time
193            + sem_timedwait - could block forever
194
1952008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
196
197        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
198        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
199        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
200        libmisc/shell/main_whoami.c: Add pthread command to monitor when
201        POSIX is enabled. Remove include of rtems/monitor.h from files not
202        related.
203
2042008-07-16      Till Straumann <strauman@slac.stanford.edu>
205
206        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
207        use ppc_interrupt_get_disable_mask() to determine
208        which bits to set/clear from _CPU_ISR_Set_level().
209
2102008-07-16      Till Straumann <strauman@slac.stanford.edu>
211
212        * score/cpu/powerpc/rtems/powerpc/registers.h:
213        added ppc_interrupt_get_disable_mask() inline function.
214
2152008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
216
217        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
218
2192008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
220
221        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
222        for rtems_shell_init(). This makes it possible to run the shell
223        forever or invoke it from a program as a subroutine, have a user
224        enter commands, and wait for it to exit.
225
2262008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
227
228        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
229        RTEMS version string.
230        * sapi/src/getversionstring.c: New file.
231
2322008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
233
234        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
235        cpukit/score/cpu/m68k/rtems/score/cpu.h,
236        score/cpu/m68k/rtems/score/m68k.h:
237
238        added support to save coldfire FPU/EMAC context
239
2402008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
241
242        * libi2c/libi2c.c, libi2c/libi2c.h:
243        make buffer passed to *write* functions a const pointer
244
245
2462008-07-10      Till Straumann <strauman@slac.stanford.edu>
247
248        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
249        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
250        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
251        Removed all macro definitions which depended on
252        the compiler defining a PPC CPU-model dependent
253        symbol.
254        Macros which were not used by cpukit have been
255        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
256       
2572008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
258
259        * include/rtems/status-checks.h: Fix style.
260
2612008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
262
263        * rtems/include/rtems/rtems/intr.h: Documentation.
264
265        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
266        Interrupt Manager (shared handler and handler with a handle).
267
268
2692008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
270
271        * cpukit/include/rtems/status-checks.h: Macros for status code and
272        return value checks.
273
274        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
275
276        * cpukit/libfs/src/dosfs/msdos_dir.c,
277        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
278        to file mode.
279
280        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
281        messages.  Driver operations table is now constant.  New entry in the
282        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
283        continuously transmitted in read only functions.
284
2852008-07-03      Chris Johns <chrisj@rtems.org>
286
287        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
288        interface that is supported.
289
290        * cpukit/libcsupport/Makefile.am,
291        cpukit/libcsupport/preinstall.am: Remove chain.h header
292        references.
293
294        * cpukit/sapi/include/rtems/chain.h,
295        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
296        interface.
297
298        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
299        include the new chains interface.
300
301        * cpukit/libfs/src/imfs/imfs.h,
302        cpukit/libfs/src/imfs/imfs_creat.c,
303        cpukit/libfs/src/imfs/imfs_debug.c,
304        cpukit/libfs/src/imfs/imfs_directory.c,
305        cpukit/libfs/src/imfs/imfs_fsunmount.c,
306        cpukit/libfs/src/imfs/imfs_getchild.c,
307        cpukit/libfs/src/imfs/imfs_load_tar.c,
308        cpukit/libfs/src/imfs/imfs_rmnod.c,
309        cpukit/libfs/src/imfs/memfile.c,
310        cpukit/libfs/src/nfsclient/src/nfs.c,
311        cpukit/libcsupport/include/rtems/libio.h,
312        cpukit/libcsupport/src/malloc_deferred.c,
313        cpukit/libcsupport/src/mount.c,
314        cpukit/libcsupport/src/privateenv.c,
315        cpukit/libcsupport/src/unmount.c: Change to the new chains
316        interface.
317
318        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
319
3202008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
321
322        * score/include/rtems/score/thread.h,
323        score/src/threaddispatch.c, score/src/threadinitialize.c:
324        Support rtems_ada_self iff __RTEMS_ADA__ is given.
325
3262008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
327
328        * libmisc/shell/shell_script.c: Remove unused function.
329
3302008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
331
332        * configure.ac: Add __RTEMS_ADA__.
333
3342008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
335
336        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
337        libnetworking/libc/getservbyname.c,
338        libnetworking/libc/getservbyport.c: Add initial versions of
339        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
340        point they are just simple weappers for the version without the _r in
341        the name.
342
3432008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
344
345        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
346        Review association tables in monitor.
347
3482008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
349
350        * configure.ac, rtems/src/semtranslatereturncode.c,
351        score/include/rtems/score/coremutex.h,
352        score/include/rtems/score/thread.h,
353        score/inline/rtems/score/coremutex.inl,
354        score/src/coremutex.c, score/src/coremutexsurrender.c,
355        score/src/threadinitialize.c:
356        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
357
3582008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
359
360        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
361        * libgnat/Makefile.am: Use LIBGNAT.
362        * wrapup/Makefile.am: Use LIBGNAT.
363
3642008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
365
366        * acinclude.m4: Add magic to update cpuopt.h.
367        * configure.ac: Remove magic to update cpuopt.h.
368
3692008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
370
371        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
372        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
373        Cleanup mal-formated RTEMS_CPUOPT's.
374
3752008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
376
377        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
378        AC_PREREQ(2.62).
379
3802008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
381
382        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
383        than a number.
384
3852008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
386
387        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
388        still reserved memory for the reentrancy structure. This is about 1K
389        per task. On psim, we now reserve only 1936 bytes and only 240 remain
390        after all allocations. Further analysis will be required to narrow
391        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
392        be defined and the structure named Configuration_Memory_Debug will be
393        instantiated. This structure contains many of the component values
394        that go into the memory reservation computation. This is helpful when
395        tracking down problems.
396
3972008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
398
399        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
400        was always adding heap overhead even when the number of objects
401        configured was zero and we would not do an allocation. This resulted
402        in an over estimation of the amount of Workspace required (~2K on
403        minimum.exe on PowerPC).
404
4052008-06-17      Chris Johns <chrisj@rtems.org>
406
407        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
408        remove warning.
409       
410        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
411        priority level for large memory Coldfires.
412
4132008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
414
415        * rtems/include/rtems/rtems/config.h,
416        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
417        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
418        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
419
4202008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
421
422        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
423        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
424        CONFIGURE_MAXIMUM_PRIORITY.
425
4262008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
427
428        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
429        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
430        sapi/include/confdefs.h, sapi/include/rtems/config.h,
431        score/inline/rtems/score/stack.inl, score/src/isr.c,
432        score/src/mpci.c, score/src/threadcreateidle.c,
433        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
434        ability for application to configure minimum stack size. Add
435        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
436        indicate they want the configured as opposed to the recommended
437        minimum stack size.
438
4392008-06-10      Chris Johns <chrisj@rtems.org>
440
441        * score/include/rtems/score/priority.h: Let the CPU define the
442        maximum and minimum priority levels to reduce the amount of memory
443        thread chains use.
444
4452008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
446
447        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
448        rtems/include/rtems/rtems/config.h,
449        rtems/include/rtems/rtems/dpmem.h,
450        rtems/include/rtems/rtems/eventset.h,
451        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
452        rtems/include/rtems/rtems/ratemon.h,
453        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
454        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
455        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
456        Classic API Doxygen.
457
4582008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
459
460        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
461        score/include/rtems/score/thread.h: Complete previous patch. Add
462        typedef for cpu usage statistics.
463
4642008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
465
466        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
467        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
468        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
469        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
470        score/src/threaddispatch.c, score/src/threadinitialize.c,
471        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
472        period timing statistics. Also renamed related variables and
473        structure members so they are the same whether you are using
474        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
475        granularity. This lays the groundwork for future cleanup.
476
4772008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
478
479        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
480        particular, there was a report from that Matthew Riek that memory was
481        being reserved twice for the IDLE task. This was covering up other
482        places that under allocated memory. Before I was done, I had reworked
483        the file to be easier to read, maintain and be more accurate.
484
4852008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
486
487        * score/include/rtems/score/isr.h, score/src/isr.c: Use
488        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
489        memory for vector table.
490
4912008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
492
493        * score/src/wkspace.c: Fix error in comment.
494
4952008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
496
497        * posix/src/psignal.c: Do not allocate any memory for queued signals if
498        the configuration parameter is 0. Before we would end up with an
499        allocation of 0 which rounded up and wasted some memory when POSIX
500        was configured.
501
5022008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
503
504        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
505        the target toolset uses init/fini sections.
506
5072008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
508
509        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
510        has no functional data in the user extension data area structure so
511        this disables the definition, allocation and deallocation of that
512        structure. If we ever have to add data to it, then it will be easy to
513        reenable.
514
5152008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
516
517        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
518        score/src/threadget.c: Make sure the pointer to the API object table
519        is valid before derefencing it.
520
5212008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
522
523        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
524        calls for leading underscore on private RTEMS variables.
525
5262008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
527
528        * score/include/rtems/score/object.h,
529        score/include/rtems/score/watchdog.h: Move #include's out of
530        extern "C" {}.
531
5322008-05-30      Till Straumann <strauman@slac.stanford.edu>
533
534        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
535        release node if rtems_filesystem_evaluate_path() fails
536        in nfs_eval_link() since pathloc contains no valid node.
537
5382008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
539
540        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
541        while at prompt results in shell logging out and connection still
542        being available.
543
5442008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
545
546        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
547        fini() as part of exit(). This avoids atexit() being a required
548        function.
549
5502008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
551
552        * libmisc/shell/shell.c: Minor change so dropping connection during
553        login prompt results in connection still being available.
554
555
5562008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
557
558        * score/include/rtems/score/object.h,
559        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
560        and RTEMS_ID_NONE.  No object can have this ID.
561
5622008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
563
564        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
565        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
566        libcsupport/src/base_fs.c, libcsupport/src/error.c,
567        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
568        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
569        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
570        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
571        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
572        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
573        libfs/src/imfs/imfs_handlers_device.c,
574        libfs/src/imfs/imfs_handlers_directory.c,
575        libfs/src/imfs/imfs_handlers_link.c,
576        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
577        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
578        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
579        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
580        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
581        sapi/include/confdefs.h, sapi/include/rtems/io.h,
582        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
583        Added const qualifier to various pointers and data tables to
584        reduce size of data area.
585        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
586        DOSFS: Use LibBlock instead of read() to read the boot record.
587       
5882008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
589
590        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
591
5922008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
593
594        * libcsupport/src/printk.c:
595        Bugfix: String output without width option.
596
5972008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
598
599        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
600        Bugfix: Moved definition of ppp_softc into source file.
601
6022008-05-23      Till Straumann <strauman@slac.stanford.edu>
603
604        * libnetworking/netinet/ip_output.c: when fragmenting
605        multicast packets M_MCAST must be set on all fragments.
606        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
607        (see my email to rtems-users from 2008/5/15).
608
6092008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
610
611        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
612        itron/src/exd_tsk.c, itron/src/task.c,
613        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
614        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
615        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
616        posix/src/testcancel.c, rtems/src/taskdelete.c,
617        score/inline/rtems/score/object.inl, score/src/objectclose.c,
618        score/src/threadclose.c: Make all task delete/exit/cancel routines
619        follow the same critical section pattern. Also ensure that POSIX
620        cancelation routines are run at thread exit.
621
6222008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
623
624        * libcsupport/src/termios_baud2index.c,
625        libcsupport/src/termios_baud2num.c,
626        libcsupport/src/termios_num2baud.c,
627        libcsupport/src/termios_setinitialbaud.c: New files.
628
6292008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
630
631        * libcsupport/Makefile.am, libcsupport/preinstall.am,
632        libcsupport/include/rtems/termiostypes.h: Move termios helper
633        routines from libchip to libcsupport. Add routine which makes it easy
634        for a termios device driver to inform termios of its default baud
635        rate. This avoids inconsistencies in later termios settings changes.
636
6372008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
638
639        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
640
6412008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
642
643        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
644        interface for Watchdog Driver.
645        * libcsupport/include/rtems/watchdogdrv.h: New file.
646
6472008-05-16      Till Straumann <strauman@slac.stanford.edu>
648
649        * score/src/threadchangepriority.c: Just in case the transient
650        state was set when we entered, ensure that it is still set when
651        we exit.
652        * score/src/threadclose.c: When a thread is being deleted, it should
653        go into the dormant state -- not the transient state.
654
6552008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
656
657        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
658        driver private data
659
6602008-05-13      Eric Norum: <norume@aps.anl.gov>
661
662        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
663        structure assignment.
664
6652008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
666
667        * libi2c/libi2c.h: Fix typo.
668
6692008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
670
671        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
672        CPUKIT.
673
6742008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
675
676        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
677        initialization routines to rtems_initialize_data_structures,
678        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
679        rtems_initialize_start_multitasking. This opened the sequence up so
680        that bootcard() could provide a more robust and flexible framework
681        which is easier to explain and understand. This also lays the
682        groundwork for sharing the division of available memory between the
683        RTEMS workspace and heap and the C library initialization across all
684        BSPs.
685
6862008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
687
688        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
689        comments.
690
6912008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
692
693        * score/src/objectget.c: Improve comments and readability.
694
6952008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
696
697        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
698        score/src/coresemseize.c, score/src/threadhandler.c: Comment
699        improvements from class.
700
7012008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
702
703        PR 1285/rtems
704        * sapi/include/rtems/config.h: Remove obsolete
705        rtems_configuration_get_maximum_devices().
706
7072008-05-01      Chris Johns <chrisj@rtems.org>
708
709        * libblock/include/rtems/nvdisk-sram.h,
710        libblock/include/rtems/nvdisk.h,
711        libblock/src/nvdisk-sram.c,
712        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
713        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
714        the NV disk driver.
715
7162008-05-01  Maarten Van Es <maarten@mind.be>
717
718        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
719        interface for rtems_dhcp_failsafe.
720        * libnetworking/rtems/rtems_dhcp.h: Added interface for
721        rtems_dhcp_failsafe.
722
7232008-05-01  Arnout Vandecappelle <arnout@mind.be>
724
725        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
726        return on timeout in bootpc_call().  Removed panic()s.
727        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
728        SIOCAIFADDR ioctl call.
729        * libnetworking/rtems/rtems_dhcp_failsafe.c,
730        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
731        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
732        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
733
7342008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
735
736        * rtems/include/rtems/rtems/timer.h: Fix typo.
737
7382008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
739
740        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
741        rtems/include/rtems/rtems/status.h,
742        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
743        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
744
7452008-04-28      Daron Chabot <daron.chabot@usask.ca>
746
747        * posix/src/keycreate.c, posix/src/pthreadequal.c,
748        rtems/src/semtranslatereturncode.c,
749        score/src/threadblockingoperationcancel.c: Fix compilation errors
750        when --enable-rtems-debug is used.
751
7522008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
753
754        * score/include/rtems/system.h: Fix typo in comment.
755
7562008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
757
758        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
759        typos added with recent changes.
760
7612008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
762
763        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
764        rtems_termios_reserve_resources. It is obsolete.
765        * libcsupport/src/termiosreserveresources.c: Removed.
766
7672008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
768
769        * rtems/mainpage.h: New file.
770
7712008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
772
773        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
774        rtems/include/rtems/rtems/attr.h,
775        rtems/include/rtems/rtems/barrier.h,
776        rtems/include/rtems/rtems/barriermp.h,
777        rtems/include/rtems/rtems/cache.h,
778        rtems/include/rtems/rtems/config.h,
779        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
780        rtems/include/rtems/rtems/eventmp.h,
781        rtems/include/rtems/rtems/eventset.h,
782        rtems/include/rtems/rtems/intr.h,
783        rtems/include/rtems/rtems/message.h,
784        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
785        rtems/include/rtems/rtems/msgmp.h,
786        rtems/include/rtems/rtems/options.h,
787        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
788        rtems/include/rtems/rtems/ratemon.h,
789        rtems/include/rtems/rtems/region.h,
790        rtems/include/rtems/rtems/regionmp.h,
791        rtems/include/rtems/rtems/rtemsapi.h,
792        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
793        rtems/include/rtems/rtems/signal.h,
794        rtems/include/rtems/rtems/signalmp.h,
795        rtems/include/rtems/rtems/status.h,
796        rtems/include/rtems/rtems/support.h,
797        rtems/include/rtems/rtems/taskmp.h,
798        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
799        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
800        rtems/inline/rtems/rtems/attr.inl,
801        rtems/inline/rtems/rtems/barrier.inl,
802        rtems/inline/rtems/rtems/dpmem.inl,
803        rtems/inline/rtems/rtems/event.inl,
804        rtems/inline/rtems/rtems/message.inl,
805        rtems/inline/rtems/rtems/modes.inl,
806        rtems/inline/rtems/rtems/options.inl,
807        rtems/inline/rtems/rtems/part.inl,
808        rtems/inline/rtems/rtems/ratemon.inl,
809        rtems/inline/rtems/rtems/region.inl,
810        rtems/inline/rtems/rtems/sem.inl,
811        rtems/inline/rtems/rtems/status.inl,
812        rtems/inline/rtems/rtems/support.inl,
813        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
814
8152008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
816
817        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
818        rtems/include/rtems/rtems/attr.h,
819        rtems/include/rtems/rtems/barrier.h,
820        rtems/include/rtems/rtems/barriermp.h,
821        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
822        rtems/include/rtems/rtems/config.h,
823        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
824        rtems/include/rtems/rtems/eventmp.h,
825        rtems/include/rtems/rtems/eventset.h,
826        rtems/include/rtems/rtems/intr.h,
827        rtems/include/rtems/rtems/message.h,
828        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
829        rtems/include/rtems/rtems/msgmp.h,
830        rtems/include/rtems/rtems/object.h,
831        rtems/include/rtems/rtems/options.h,
832        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
833        rtems/include/rtems/rtems/ratemon.h,
834        rtems/include/rtems/rtems/region.h,
835        rtems/include/rtems/rtems/regionmp.h,
836        rtems/include/rtems/rtems/rtemsapi.h,
837        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
838        rtems/include/rtems/rtems/signal.h,
839        rtems/include/rtems/rtems/signalmp.h,
840        rtems/include/rtems/rtems/status.h,
841        rtems/include/rtems/rtems/support.h,
842        rtems/include/rtems/rtems/taskmp.h,
843        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
844        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
845        rtems/inline/rtems/rtems/attr.inl,
846        rtems/inline/rtems/rtems/barrier.inl,
847        rtems/inline/rtems/rtems/dpmem.inl,
848        rtems/inline/rtems/rtems/event.inl,
849        rtems/inline/rtems/rtems/eventset.inl,
850        rtems/inline/rtems/rtems/message.inl,
851        rtems/inline/rtems/rtems/modes.inl,
852        rtems/inline/rtems/rtems/options.inl,
853        rtems/inline/rtems/rtems/part.inl,
854        rtems/inline/rtems/rtems/ratemon.inl,
855        rtems/inline/rtems/rtems/region.inl,
856        rtems/inline/rtems/rtems/sem.inl,
857        rtems/inline/rtems/rtems/status.inl,
858        rtems/inline/rtems/rtems/support.inl,
859        rtems/inline/rtems/rtems/tasks.inl,
860        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
861        header files to Doxygen.
862        * rtems/Doxyfile: New file.
863
8642008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
865
866        * posix/src/key.c: Include <limits.h>
867        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
868        a NULL extension block.
869
8702008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
871
872        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
873        application configuration errors. If any POSIX objects or a POSIX
874        init thread is configured without POSIX being configure, then error
875        out. Similarly for ITRON. Add
876        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
877        parameter so the application has to explicitly configure the Clock
878        driver in or out if the Timer driver is not configured. Also verify
879        RTEMS was built for multiprocessing, if the user tries to configure a
880        multiprocessing application.
881
8822008-04-12      Chris Johns <chrisj@rtems.org>
883
884        * libmisc/shell/shell.c, libmisc/shell/shell.h,
885        libmisc/shell/shell_script.c: Add support to echo the commands to
886        stdout. This is useful with the -v script option to show commands
887        as the run. Also added support to chdir to the directory the task
888        invoking the script is in.
889        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
890        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
891        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
892        support.
893
8942008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
895
896        * score/include/rtems/score/tod.h: Fix typo.
897
8982008-04-08      Chris Johns <chrisj@rtems.org>
899
900        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
901        into argv parts. Was using the command line history buffer so the
902        history was being corrupted.
903
9042008-04-03      Chris Johns <chrisj@rtems.org>
905
906        * libfs/src/nfsclient/src/librtemsNfs.h,
907        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
908        external to RTEMS and even if in the cpukit it should not cross
909        reference in this way.
910        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
911        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
912        in the shell area.
913        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
914        support.
915
9162008-03-29      Chris Johns <chrisj@rtems.org>
917
918        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
919        reported to the mailing list by Pierre Kestener
920        (pierre.kestener@cea.fr).
921
9222008-03-25      Till Straumann <strauman@slac.stanford.edu>
923
924        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
925          coldfire.
926
9272008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
928
929        * libmisc/shell/cmds.c: Directly register the command structure to
930        avoid unnecessary duplication of static strings. We know best this
931        time.
932
9332008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
934
935        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
936        for the ITRON initialization tasks ALL the time.
937        Do not reserve memory for the object name table since it does not
938        exist any longer.
939        * sapi/include/rtems/sptables.h: Fix typo.
940
9412008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
942
943        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
944        rtems/src/clockget.c:
945        * rtems/src/clockgetsecondssinceepoch.c,
946        rtems/src/clockgettickspersecond.c,
947        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
948        rtems/src/clockgettodtimeval.c: New files.
949        Refactored rtems_clock_get into 5 methods which are single purpose
950        and more strongly typed.  They are:
951            rtems_clock_get_tod - Get TOD in Classic API structure
952            rtems_clock_get_tod_timeval - Get TOD in struct timeval
953            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
954            rtems_clock_get_ticks_since_boot - Get ticks since boot
955            rtems_clock_get_ticks_per_second - Get ticks per second
956
9572008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
958
959        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
960        libmisc/shell/shell_script.c: Add memset() of getopt_data to
961        ensure it is zeroed out each time we use getopt_r().
962        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
963        This makes the scripts behave more like UNIX scripts.
964
9652008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
966
967        * posix/Makefile.am: Make clock_settime() available always just like
968        clock_gettime().
969
9702008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
971
972        * score/include/rtems/score/copyrt.h: Update year.
973
9742008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
975
976        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
977        by gcc newer than the 4.3 release series.
978
9792008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
980
981        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
982        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
983        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
984        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
985        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
986        libmisc/shell/shell.c, libmisc/shell/shell.h,
987        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
988        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
989        capability to automatically execute a script from the filesystem. Add
990        echo command from NetBSD and sleep command.
991        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
992        libmisc/shell/shell_script.c: New files.
993
9942008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
995
996        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
997        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
998        rtems/src/taskdelete.c, rtems/src/timerserver.c,
999        score/src/threadclose.c, score/src/threadcreateidle.c,
1000        score/src/threadinitialize.c: Switch task create and delete
1001        operations to using API Allocator Mutex. This moves almost all uses
1002        of the RTEMS Workspace from dispatching disabled to mutex protected
1003        which should improve deterministic behavior. The implementation was
1004        carefully done to allow task create and delete extensions to invoke
1005        more services. In particular, a task delete extension should be able
1006        to do mutex and file operations.
1007
10082008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1009
1010        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1011        enabled.
1012
10132008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1014
1015        * libcsupport/src/chroot.c: Formatting.
1016
10172008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1018
1019        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1020        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1021        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1022        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1023        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1024        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1025        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1026        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1027        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1028        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1029        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1030        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1031        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1032        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1033        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1034        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1035        libmisc/shell/shell.h: Clean up done while writing documentation.
1036        Some command improvements such as date now allows setting of the
1037        current TOD. Often commands did not use stdout/stderr per
1038        expectations and did not return -1 on an error.
1039
10402008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1041
1042        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1043        the use of RPC/XDR could be an issue, the code does build multilib
1044        across all targets. There are a few remaining warnings to deal with.
1045        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1046        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1047        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1048        libfs/src/nfsclient/rfc1094.txt,
1049        libfs/src/nfsclient/proto/mount_prot.h,
1050        libfs/src/nfsclient/proto/mount_prot.x,
1051        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1052        libfs/src/nfsclient/proto/nfs_prot.h,
1053        libfs/src/nfsclient/proto/nfs_prot.x,
1054        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1055        libfs/src/nfsclient/src/cexphelp.c,
1056        libfs/src/nfsclient/src/dirutils.c,
1057        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1058        libfs/src/nfsclient/src/nfs.modini.c,
1059        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1060        libfs/src/nfsclient/src/rpcio.h,
1061        libfs/src/nfsclient/src/rpcio.modini.c,
1062        libfs/src/nfsclient/src/sock_mbuf.c,
1063        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1064
10652008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1066
1067        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1068        missing field to default multiprocessing configuration table. Also
1069        document fields in Doxygen format.
1070
10712008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1072
1073        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1074        warnings.
1075
10762008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1077
1078        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1079        command to access statistics reporting functions in TCP/IP stack.
1080        * libmisc/shell/main_netstats.c: New file.
1081
10822008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1083
1084        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1085        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1086        ifconfig commands. The code for these was previously in the
1087        networking guide. Disable NFS filesystem mount until that code is in
1088        cpukit.
1089        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1090
10912008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1092
1093        * posix/preinstall.am,  libcsupport/preinstall.am:
1094        Revert Joel's  2008-01-31 screw up.
1095
10962008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1097
1098        * posix/include/rtems/posix/timer.h: Add c++ guards.
1099        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1100        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1101        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1102        MC68230_ to avoid preprocessor clashes.
1103
11042008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1105
1106        * posix/src/mqueueunlink.c, score/Makefile.am,
1107        score/include/rtems/score/object.h,
1108        score/inline/rtems/score/object.inl: Enhance
1109        _Objects_Namespace_remove() to handle freeing object names which are
1110        strings. All changed _Objects_Close() to call
1111        _Objects_Namespace_remove(). The resulting code was then moved from
1112        inline routines to function calls.
1113        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1114
11152008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1116
1117        * libcsupport/src/printk.c: Added width and padding for %s.
1118        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1119        strings longer than 4 chanracters.
1120
11212008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1122
1123        PR 1277/networking
1124        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1125        constraint for assembly language. This restricts the register choice
1126        to the a-d registers.
1127
11282008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1129
1130        * libnetworking/kern/uipc_socket2.c,
1131        libnetworking/netinet/tcp_usrreq.c,
1132        libnetworking/netinet/udp_usrreq.c,
1133        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1134        Add configuration parameters for network stack efficiency multiplier
1135        and default socket buffer sizes. Change default multiplier from 8 to
1136        2 to match GNU/Linux. This has no impact on performance on the BSPs
1137        tested.
1138
11392008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1140
1141        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1142        workspace manipulation routines for testing.
1143        * rtems/src/workspace.c: New file.
1144
11452008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1146
1147        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1148        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1149        Object Id of SELF.
1150
11512008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1152
1153        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1154        Minor modifications to improve testability.
1155        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1156
11572008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1158
1159        * posix/src/pthreadinitthreads.c: Clean up error paths.
1160
11612008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1162
1163        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1164        changes which aid in coverage testing.
1165
11662008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1167
1168        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1169        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1170        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1171        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1172        whether named or unnamed to have a string name.  If the API does
1173        not directly support having a name, then the user must explicitly
1174        assign it using rtems_object_set_name().
1175        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1176        * score/include/rtems/score/object.h,
1177        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1178        score/src/objectsetname.c: Modifications required to pass testing of
1179        recently modified object name operations.  Also eliminated
1180        multiprocessing related code that was not reachable.
1181
11822008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1183
1184        * posix/src/timersettime.c: Fix to remove warning.
1185
11862008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1187
1188        * libcsupport/src/posix_memalign.c: Remove warning.
1189
11902008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1191
1192        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1193        rtems/include/rtems/rtems/object.h,
1194        rtems/src/rtemsobjectgetapiclassname.c,
1195        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1196        cannot be used as a parameter.
1197
11982008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1199
1200        * score/Makefile.am, score/include/rtems/score/threadq.h,
1201        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1202        was really too complex to be inlined.
1203        * score/src/threadqprocesstimeout.c: New file.
1204
12052008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1206
1207        * score/Doxyfile: Revert Doxygen version changes.
1208
12092008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1210
1211        * score/Doxyfile: Update to latest Doxygen format.
1212        * score/include/rtems/score/apimutex.h,
1213        score/include/rtems/score/corebarrier.h,
1214        score/include/rtems/score/coremutex.h,
1215        score/include/rtems/score/corerwlock.h,
1216        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1217        score/include/rtems/score/protectedheap.h,
1218        score/include/rtems/score/thread.h,
1219        score/include/rtems/score/threadsync.h,
1220        score/include/rtems/score/tod.h,
1221        score/inline/rtems/score/corerwlock.inl,
1222        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1223        warnings.
1224
12252008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1226
1227        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1228        available when API is disabled. Do not attempt to use them.
1229
12302008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1231
1232        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1233
12342008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1235
1236        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1237        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1238        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1239        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1240        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1241        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1242        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1243        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1244        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1245        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1246        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1247        rtems/src/timerserver.c, score/Makefile.am,
1248        score/include/rtems/score/object.h,
1249        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1250        score/src/objectgetnameasstring.c,
1251        score/src/threadqextractwithproxy.c: Add new Object Services
1252        collection. This changed the name of a few previously public but
1253        undocumented services and added a some new services.
1254        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1255        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1256        rtems/src/rtemsobjectapiminimumclass.c,
1257        rtems/src/rtemsobjectgetapiclassname.c,
1258        rtems/src/rtemsobjectgetapiname.c,
1259        rtems/src/rtemsobjectgetclassicname.c,
1260        rtems/src/rtemsobjectgetclassinfo.c,
1261        rtems/src/rtemsobjectidapimaximum.c,
1262        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1263        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1264        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1265        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1266        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1267        * rtems/src/rtemsidtoname.c: Removed.
1268
12692008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1270
1271        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1272        switch statements to if statements.
1273
12742008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1275
1276        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1277        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1278        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1279        as helper and as exposed nmemalign variant with few restrictions.
1280        Also turn on compilation of _Heap_Walk but make forced calls to it
1281        conditionally compiled. This should allow more flexibility to the
1282        user as to run-time checking of the heap.
1283        * libcsupport/src/rtems_memalign.c: New file.
1284
12852008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1286
1287        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1288        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1289        Multiprocessing compiles again and survives initialization. The
1290        recent object name and confdefs.h changes had broken it.
1291
12922008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1293
1294        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1295        score/include/rtems/score/interr.h,
1296        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1297        Modifications to aid in full path testing.
1298
12992008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1300
1301        * posix/src/mqueuesendsupp.c: Remove warning.
1302
13032008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1304
1305        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1306        in public API.
1307
13082008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1309
1310        * score/include/rtems/score/object.h,
1311        score/src/objectextendinformation.c,
1312        score/src/objectinitializeinformation.c,
1313        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1314        not used.
1315
13162008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1317
1318        * score/src/objectnametoidstring.c: New file.
1319
13202008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1321
1322        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1323        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1324        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1325        libmisc/stackchk/check.c, posix/src/condinit.c,
1326        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1327        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1328        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1329        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1330        posix/src/prwlockinit.c, posix/src/pspininit.c,
1331        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1332        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1333        posix/src/timercreate.c, rtems/src/barrierident.c,
1334        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1335        rtems/src/ratemonident.c, rtems/src/regionident.c,
1336        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1337        sapi/src/extensionident.c, score/Makefile.am,
1338        score/include/rtems/score/object.h,
1339        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1340        score/src/objectextendinformation.c,
1341        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1342        score/src/objectnametoid.c: Convert the Objects_Name type from a
1343        simple type to a union of an unsigned 32 bit integer and a pointer.
1344        This should help eliminate weird casts between u32 and pointers in
1345        various places. The APIs now have to explicitly call _u32 or _string
1346        versions of helper routines. This should also simplify things and
1347        eliminate the need for ugly casts in some cases.
1348        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1349        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1350        score/src/objectcopynamestring.c: Removed.
1351
13522008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1353
1354        * score/src/threadblockingoperationcancel.c: Clean up.
1355        * score/src/threadqextract.c: Restructure to eliminate dead code.
1356
13572008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1358
1359        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1360        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1361        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1362        testing and clean up more code.
1363
13642008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1365
1366        * score/src/threadqfirst.c: Remove switch.
1367
13682008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1369
1370        * rtems/include/rtems/rtems/event.h,
1371        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1372        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1373        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1374        score/include/rtems/score/interr.h,
1375        score/include/rtems/score/thread.h,
1376        score/include/rtems/score/threadq.h,
1377        score/include/rtems/score/tqdata.h,
1378        score/inline/rtems/score/threadq.inl,
1379        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1380        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1381        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1382        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1383        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1384        score/src/threadqextractpriority.c,
1385        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1386        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1387        score/src/threadqflush.c, score/src/threadqrequeue.c,
1388        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1389        blocking synchronization critical sections. This resulted in three
1390        copies of essentially the same hard to test critical section code
1391        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1392        addition, the thread queue and event code now share a common
1393        synchronization enumerated type. Along the way, switches were
1394        reworked to eliminate dead code generated by gcc and comments and
1395        copyrights were updated.
1396        * score/include/rtems/score/threadsync.h,
1397        score/src/threadblockingoperationcancel.c: New files.
1398
13992008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1400
1401        * libi2c/README_libi2c: Correct spelling error.
1402        * score/src/threadclearstate.c: Improve comment.
1403
14042008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1405
1406        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1407        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1408        posix/src/timergettime.c, posix/src/timersettime.c,
1409        score/include/rtems/score/timespec.h:
1410
14112008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1412
1413        * libmisc/shell/Makefile.am: Don't use make variables.
1414
14152008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1416
1417        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1418        existing one.
1419
14202008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1421
1422        * score/include/rtems/score/wkspace.h,
1423        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1424        inline _Workspace_Free or _Workspace_Allocate since they are not
1425        always inlined and actually smaller overall as subroutines. They are
1426        not particularly time critical so inlining is not absolutely
1427        necessary.
1428
14292008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1430
1431        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1432        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1433        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1434        Condition Variable object get helpers because they are more
1435        complicated than the norm. They can implicitly perform a create. They
1436        cross the line as being too complex and large to inline since they
1437        negatively impact size and binary test coverage.
1438        * posix/src/condget.c, posix/src/mutexget.c: New files.
1439
14402008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1441
1442        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1443        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1444        * libcsupport/src/malloc_p.h: Correct prototype.
1445
14462008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1447
1448        * score/include/rtems/score/coremutex.h,
1449        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1450        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1451
14522008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1453
1454        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1455
14562008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1457
1458        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1459        libcsupport/src/free.c, libcsupport/src/malloc.c,
1460        libcsupport/src/malloc_deferred.c,
1461        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1462        libcsupport/src/malloc_sbrk_helpers.c,
1463        libcsupport/src/posix_memalign.c: Place all deferred free code and
1464        place it in subroutines. Add plugin for dirtying allocated memory to
1465        assist in debugging. Clean up comments and spacing as needed.
1466        * libcsupport/src/malloc_dirtier.c: New file.
1467
14682008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1469
1470        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1471        when there is an error.
1472
14732008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1474
1475        * posix/src/keycreate.c, rtems/src/eventseize.c,
1476        score/include/rtems/score/interr.h: Rearranged source to allow more
1477        test coverage.
1478
14792008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1480
1481        * libcsupport/src/__assert.c: Clean up and make __assert() call
1482        __assert_func().
1483
14842008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1485
1486        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1487        need to have it also.
1488
14892008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1490
1491        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1492        * libcsupport/include/rtems/malloc.h,
1493        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1494        libcsupport/src/malloc_p.h,
1495        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1496        support pluggable and optional.  This eliminates the need for
1497        heap extend and sbrk in the minimum footprint which is ~2.5K on
1498        the SPARC.
1499        * sapi/include/confdefs.h: Add the following configuration points:
1500          + CONFIGURE_MALLOC_STATISTICS
1501          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1502        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1503
15042008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1505
1506        * score/Makefile.am: Add missing file.
1507
15082008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1509
1510        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1511
15122008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1513
1514        * libmisc/Makefile.am: Add new files.
1515        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1516        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1517        * libmisc/shell/shellconfig.h: Add wkspace command.
1518        * libmisc/shell/main_wkspaceinfo.c,
1519        libmisc/shell/print_heapinfo.c: New files.
1520
15212008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1522
1523        * score/inline/rtems/score/isr.inl: Fix spacing.
1524        * score/src/apimutexallocate.c: Fix spacing.
1525        * score/src/coremsgseize.c: Check for message pending instead of
1526        message pending count to avoid dead code from inlined chain routine.
1527        It checks if the chain is empty so is redundant to count == 0.
1528
15292008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1530
1531        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1532        up.
1533
15342008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1535
1536        * posix/src/pthreadcreate.c: Add commit.
1537        * posix/src/pthreadinitthreads.c: Fix line length.
1538
15392008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1540
1541        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1542
15432008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1544
1545        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1546        coding it.
1547
15482008-01-05      Chris Johns <chrisj@rtems.org>
1549
1550        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1551        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1552        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1553        control fields. Add more control fields to handle the flash when
1554        full.
1555        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1556        detects a descriptor is erased. Add support for unavailable blocks
1557        the user can configure. Print the used list as a diag. Fix the bug
1558        when a page is detected as failed and present on more than one
1559        queue. Add a count to the queues so queue length can be used to
1560        manage compaction.
1561       
15622008-01-03      Till Straumann <strauman@slac.stanford.edu>
1563
1564        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1565        cannot call _fini via atexit() from rtems_shutdown_executive()
1566        because at the point where rtems_shutdown_executive is called
1567        the C-library is already dead.
1568        Instead, register an atexit(_fini) after calling _init().
1569
15702007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1571
1572        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1573        Hopefully this implementation is OK.
1574        * libcsupport/src/_rename_r.c: New file.
1575
15762007-12-22      Chris Johns <chrisj@rtems.org>
1577
1578        * configure.ac: fixed bug that always enabled strict order
1579        mutexes.
1580        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1581        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1582        list if the mutex is initialised locked.
1583        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1584        message to show the error is an rtems-net error.
1585        * libmisc/monitor/mon-network.c: Removed warnings.
1586        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1587        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1588        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1589        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1590        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1591        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1592        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1593        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1594        libmisc/shell/warnx.c: New. Ported from BSD.
1595        * libmisc/shell/shellconfig.h: Add the cp command.
1596        * libmisc/Makefile.am: Add the new files to the shell.
1597        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1598        support.
1599        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1600        bug.
1601       
16022007-12-21      Xi Yang <hiyangxi@gmail.com>
1603
1604        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1605        of priority inheritance on mutexes as well as enforce proper order of
1606        release.
1607
16082007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1609
1610        * configure.ac, score/include/rtems/score/coremutex.h,
1611        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1612        inlining coremutex seize. This reduces the code size and also
1613        improves the process of coverage analysis.
1614        * score/src/coremutexseizeintr.c: New file.
1615
16162007-12-21      Xi Yang <hiyangxi@gmail.com>
1617
1618        * configure.ac, score/include/rtems/score/coremutex.h,
1619        score/include/rtems/score/thread.h,
1620        score/inline/rtems/score/coremutex.inl,
1621        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1622        support for proper stacking of priority inheritance on mutexes as
1623        well as enforce proper order of release.
1624
16252007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1626
1627        PR 1268/cpukit
1628        * libcsupport/include/rtems/assoc.h: There is no
1629        rtems_assoc_ptr_by_value method.
1630
16312007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1632
1633        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1634        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1635
16362007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1637
1638        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1639
16402007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1641
1642        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1643
16442007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1645
1646        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1647        rtems_task_self() directive.
1648        * rtems/src/taskself.c: New file.
1649
16502007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1651
1652        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1653        and resolved copyright information.
1654        * posix/src/kill_r.c: New file.
1655
16562007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1657
1658        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1659
16602007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1661
1662        * sapi/include/confdefs.h: Revert. Requires info not available at
1663        preprocessing time.
1664
16652007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1666
1667        * sapi/include/confdefs.h: Catch the error when the user lowers the
1668        maximum number of drivers below the number of statically configured
1669        ones.
1670
16712007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1672
1673        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1674        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1675        Manager clean up. Update object id switches to new pattern. Catch
1676        some NULL parameter errors.
1677
16782007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1679
1680        * posix/src/psignalunblockthread.c: Remove source that
1681
16822007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1683
1684        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1685        only
1686
16872007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1688
1689        * posix/src/psignal.c: Move source around to enable path testing
1690
16912007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1692
1693        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1694        libcsupport/src/free.c, libcsupport/src/malloc.c,
1695        libcsupport/src/malloc_p.h,
1696        libcsupport/src/malloc_report_statistics_plugin.c,
1697        libmisc/shell/shell.c, libmisc/shell/shell.h,
1698        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1699        out management of deferred frees to subroutines.
1700        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1701
17022007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1703
1704        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1705        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1706        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1707        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1708        one function per file. Also split out statistics into a separate file
1709        which can be plugged in dynamically. Right now, it is always in. I
1710        suspect that splitting the file removed more code than leaving
1711        statistics in. I tinkered with malloc information command in the
1712        shell. I resurrected the malloc arena code as malloc boundary. This
1713        code is now compiled all the time even though it does not appear to
1714        work.
1715        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1716        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1717        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1718        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1719        libcsupport/src/malloc_get_statistics.c,
1720        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1721        libcsupport/src/malloc_report_statistics.c,
1722        libcsupport/src/malloc_report_statistics_plugin.c,
1723        libcsupport/src/malloc_statistics_helpers.c,
1724        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1725        libmisc/shell/main_perioduse.c: New files.
1726
17272007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1728
1729        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1730        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1731        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1732        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1733        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1734        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1735        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1736        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1737        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1738        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1739        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1740        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1741        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1742        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1743        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1744        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1745        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1746        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1747        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1748        rtems_Shell_ to rtems_shell_.
1749
17502007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1751
1752        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1753        with info and dump as replacement for older command. Fix what looked
1754        like a typo for mount sub-commands.
1755        * libmisc/shell/main_mallocinfo.c: New file.
1756        * libmisc/shell/main_mallocdump.c: Removed.
1757
17582007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1759
1760        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1761        malloc_info() routine.
1762        * libcsupport/src/mallocinfo.c: New file.
1763
17642007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1765
1766        * libmisc/stackchk/check.c: Add print of current stack pointer and
1767        stack info even if stack checker is not initialized.
1768
17692007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1770
1771        * libcsupport/src/printk.c: Style.
1772
17732007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1774
1775        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1776        required in multiprocessing configuration.
1777
17782007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1779
1780        * score/src/objectget.c: Revert.
1781
17822007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1783
1784        * posix/src/timergettime.c: Include rtems/score/timespec.h
1785
17862007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1787
1788        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1789        posix/include/mqueue.h, posix/include/sched.h,
1790        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1791        posix/include/rtems/posix/priority.h,
1792        posix/include/rtems/posix/psignal.h,
1793        posix/include/rtems/posix/threadsup.h,
1794        posix/include/rtems/posix/timer.h,
1795        posix/inline/rtems/posix/priority.inl,
1796        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1797        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1798        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1799        posix/src/cleanuppush.c, posix/src/cond.c,
1800        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1801        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1802        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1803        posix/src/conddestroy.c, posix/src/condinit.c,
1804        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1805        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1806        posix/src/keycreate.c, posix/src/keydelete.c,
1807        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1808        posix/src/keysetspecific.c, posix/src/mqueue.c,
1809        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1810        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1811        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
1812        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
1813        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
1814        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1815        posix/src/mqueueunlink.c, posix/src/mutex.c,
1816        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
1817        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1818        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1819        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1820        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1821        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1822        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1823        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1824        posix/src/psignal.c, posix/src/psignalchecksignal.c,
1825        posix/src/psignalclearprocesssignals.c,
1826        posix/src/psignalclearsignals.c,
1827        posix/src/psignalsetprocesssignals.c,
1828        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1829        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
1830        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
1831        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
1832        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
1833        posix/src/semclose.c, posix/src/semdestroy.c,
1834        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
1835        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
1836        posix/src/semwait.c, posix/src/setcancelstate.c,
1837        posix/src/setcanceltype.c, posix/src/sysconf.c,
1838        posix/src/testcancel.c: Add missing copyright statements.
1839
18402007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1841
1842        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
1843
18442007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1845
1846        * posix/Makefile.am, posix/preinstall.am,
1847        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
1848        Timer implementation into multiple files. Add obvious error checks
1849        for NULL parameters. Attempt to reduce include files.
1850        * posix/src/timercreate.c, posix/src/timerdelete.c,
1851        posix/src/timergetoverrun.c, posix/src/timergettime.c,
1852        posix/src/timerinserthelper.c, posix/src/timersettime.c,
1853        posix/src/timertsr.c: New files.
1854        * posix/src/ptimer1.c: Removed.
1855
18562007-12-17      Chris Johns <chrisj@rtems.org>
1857
1858        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
1859        libmisc/shell/main_unmount.c: New.
1860        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
1861        blksync, msdosfmt, and unmount commands.
1862
18632007-12-17      Chris Johns <chrisj@rtems.org>
1864
1865        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
1866        system opts table.
1867        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
1868        system opts table.
1869        * libmisc/Makefile.am: Add the mount command and supporting files.
1870        * libmisc/preinstall.am: Rebuilt.
1871        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
1872        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1873        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1874        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1875        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1876        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1877        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1878        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1879        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1880        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1881        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1882        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1883        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1884        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1885        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
1886        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
1887        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
1888        libmisc/shell/write_file.c: Move all shell_* types, variables and
1889        functions to rtems_shell_* to avoid namespace clashes with
1890        applications. The is an RTEMS shell after all.
1891        * libmisc/shell/shell.h, libmisc/shell/internal.h,
1892        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
1893        functions to rtems_shell_* to avoid namespace clashes with
1894        applications. Add the mount command supporting types.
1895        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
1896        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
1897        libmisc/shell/main_mount_tftp.c: New.
1898       
18992007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1900
1901        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
1902
19032007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1904
1905        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
1906        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
1907        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
1908        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1909        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1910        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1911        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1912        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1913        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1914        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1915        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1916        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1917        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1918        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1919        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1920        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1921        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
1922        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
1923        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
1924        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
1925        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
1926        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
1927        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
1928        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
1929        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
1930        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
1931        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
1932        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
1933        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
1934        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
1935
19362007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1937
1938        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
1939        API.
1940
19412007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1942
1943        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
1944        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
1945        Minor cleanup to improve testability and eliminate dead code.
1946
19472007-12-12      Chris Johns <chrisj@rtems.org>
1948
1949        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1950        Add RTEMS license details.
1951
19522007-12-12      Chris Johns <chrisj@rtems.org>
1953
1954        * Makefile.am, preinstall.am: Added
1955        libblock/include/rtems/flashdisk.h to the installed header list.
1956        * libblock/Makefile.am: Add flashdisk.c to the files to build.
1957        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1958        New.
1959
19602007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1961
1962        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
1963        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
1964        score/Makefile.am, score/preinstall.am: Revert testing patch.
1965
19662007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1967
1968        * posix/src/sched_rr_get_interval.c: Fix warning.
1969
19702007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1971
1972        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
1973        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
1974        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
1975        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
1976        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
1977        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
1978        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
1979        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
1980        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
1981        files into one function per file.
1982        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
1983        posix/src/aio_read.c, posix/src/aio_return.c,
1984        posix/src/aio_suspend.c, posix/src/aio_write.c,
1985        posix/src/lio_listio.c, posix/src/sched_getparam.c,
1986        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
1987        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
1988        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
1989        posix/src/sched_yield.c: New files.
1990        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
1991
19922007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1993
1994        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
1995        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
1996        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1997        posix/src/clocksettime.c, posix/src/devctl.c,
1998        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
1999        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2000        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2001        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2002
20032007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2004
2005        * posix/src/adjtime.c: Clean up and verify against behavior documented
2006        in GNU/Linux man page provided with Fedora 7.
2007
20082007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2009
2010        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2011        automake variables.
2012
20132007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2014
2015        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2016        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2017        rtems/src/taskvariabledelete.c: Add test code for task variables to
2018        improve coverage.
2019        * rtems/src/taskvariable_invoke_dtor.c: New file.
2020
20212007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2022
2023        * posix/preinstall.am: Revert debug patch.
2024
20252007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2026
2027        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2028        BSP.
2029
20302007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2031
2032        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2033
20342007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2035
2036        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2037        disabled.
2038
20392007-12-12      Chris Johns <chrisj@rtems.org>
2040
2041        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2042        header list.
2043        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2044        in any order rather than before any commands have been added. Also
2045        made the command's strings be copies rather than references.
2046        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2047
20482007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2049
2050        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2051        Move Ada support code that is untestable from the Standard RTEMS Test
2052        Suite into its own directory. All code in score, posix, rtems, and
2053        sapi should be testable by the Standard RTEMS Test Suites. It was
2054        buried under POSIX before so this should be a clearer location
2055        anyway.
2056        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2057        libgnat/adasupp.c: New files.
2058        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2059
20602007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2061
2062        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2063        Reverse file contents.
2064
20652007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2066
2067        * sapi/include/rtems/config.h: Correct idle task prototype.
2068
20692007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2070
2071        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2072        libmisc/shell/internal.h, libmisc/shell/shell.c,
2073        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2074        processing now separated from main command loop. Addition of user
2075        commands and aliases tested. Monitor registration now explicit.
2076        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2077        libmisc/shell/write_file.c: New files.
2078
20792007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2080
2081        * libmisc/Makefile.am: Fix typo.
2082
20832007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2084
2085        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2086        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2087        into multiple files and add initial stages of command configuration.
2088        This seems to work but the monitor commands need to be integrated
2089        this way and the ability to configure user commands needs to be
2090        tested.
2091        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2092        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2093        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2094        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2095        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2096        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2097        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2098        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2099        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2100        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2101        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2102        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2103        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2104        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2105        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2106        libmisc/shell/str2int.c: New files.
2107
21082007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2109
2110        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2111
21122007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2113
2114        * sapi/include/rtems/config.h: Fix idle thread prototype.
2115
21162007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2117
2118        * sapi/include/confdefs.h: Separate the concept of configuring the
2119        interrupt stack size from actually reserving memory for it in the
2120        RTEMS Workspace.
2121
21222007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2123
2124        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2125        installed. It is the initialization interface for both GoAhead and
2126        Simple HTTPD.
2127
21282007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2129
2130        * sapi/include/rtems/config.h: Correct previous commit.
2131
21322007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2133
2134        * sapi/include/rtems/config.h: Commit temporary fix so
2135        interrupt_stack_size is accessible before RTEMS is initialized.
2136
21372007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2138
2139        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2140        sapi/include/rtems/init.h, sapi/src/exinit.c,
2141        score/include/rtems/system.h, score/src/isr.c: Move
2142        interrupt_stack_size field from CPU Table to Configuration Table.
2143        Eliminate CPU Table from all ports. Delete references to CPU Table in
2144        all forms.
2145
21462007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2147
2148        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2149        Table fields merged from CPU Table.
2150
21512007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2152
2153        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2154        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2155        posix/include/rtems/posix/mqueue.h,
2156        posix/include/rtems/posix/mutex.h,
2157        posix/include/rtems/posix/pthread.h,
2158        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2159        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2160        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2161        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2162        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2163        sapi/src/exinit.c, score/include/rtems/system.h,
2164        score/include/rtems/score/mpci.h, score/src/mpci.c,
2165        score/src/thread.c, score/src/threadcreateidle.c,
2166        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2167        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2168        the Configuration Table. This included pretasking_hook,
2169        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2170        extra_mpci_receive_server_stack, stack_allocate_hook, and
2171        stack_free_hook. As a side-effect of this effort some multiprocessing
2172        code was made conditional and some style clean up occurred.
2173
21742007-12-03      Chris Johns <chrisj@rtems.org>
2175
2176        * libmisc/shell/shell.h: Added comments for the parameters to the
2177        shell_init function.
2178        * libmisc/shell/shell.c: Only set cflags if tcflags is
2179        non-zero. This means the shell can use the current cflags settings
2180        and the application does not need to know the baudrate etc.
2181        * libmisc/capture/capture.h: Fix the comment.
2182
21832007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2184
2185        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2186        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2187        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2188        rtems/src/dpmemexternal2internal.c,
2189        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2190        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2191        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2192        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2193        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2194        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2195        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2196        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2197        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2198        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2199        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2200        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2201        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2202        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2203        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2204        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2205        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2206        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2207        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2208        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2209        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2210        rtems/src/timerserverfirewhen.c: Restructured all code with
2211        the switch (location) pattern so that OBJECTS_LOCAL is first
2212        and we can fall into it and the OBJECTS_ERROR case breaks
2213        to a return RTEMS_INVALID_ID.  This eliminates the return
2214        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2215        was unreachable and untestable code.  This resulted in a code
2216        savings of approximately 20 bytes per file on the SPARC/ERC32.
2217
22182007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2219
2220        * posix/Makefile.am: Restructed to move the
2221        OBJECTS_LOCAL case to the top of the switch statement and
2222        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2223        changes produced simplier assembly code and allowed for complete
2224        test coverage.  Also applied some consistency to the functions
2225        that translate the core status codes to POSIX status codes.
2226
22272007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2228
2229        * posix/include/rtems/posix/mutex.h,
2230        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2231        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2232        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2233        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2234        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2235        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2236        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2237        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2238        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2239        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2240        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2241        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2242        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2243        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2244        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2245        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2246        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2247        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2248        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2249        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2250        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2251        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2252        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2253        posix/src/semclose.c, posix/src/semdestroy.c,
2254        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2255        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2256        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2257        score/include/rtems/score/corebarrier.h,
2258        score/include/rtems/score/coremsg.h,
2259        score/include/rtems/score/coremutex.h,
2260        score/include/rtems/score/coresem.h: Restructed to move the
2261        OBJECTS_LOCAL case to the top of the switch statement and
2262        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2263        changes produced simplier assembly code and allowed for complete
2264        test coverage.  Also applied some consistency to the functions
2265        that translate the core status codes to POSIX status codes.
2266        * posix/src/mutextranslatereturncode.c,
2267        posix/src/semaphoretranslatereturncode.c: New files.
2268        * posix/src/mutexfromcorestatus.c: Removed.
2269
22702007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2271
2272        * posix/inline/rtems/posix/priority.inl: Fix typo.
2273
22742007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2275
2276        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2277        score/include/rtems/score/thread.h, score/src/object.c,
2278        score/src/thread.c: Conditionally compile out more code that is
2279        specific to multiprocessor configurations.
2280
22812007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2282
2283        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2284        posix/src/conddestroy.c, posix/src/condinit.c,
2285        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2286        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2287        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2288        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2289        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2290        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2291        posix/src/mutexattrgetprioceiling.c,
2292        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2293        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2294        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2295        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2296        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2297        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2298        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2299        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2300        posix/src/semclose.c, posix/src/semdestroy.c,
2301        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2302        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2303        Remove all pretense of POSIX MP support. The support in place was
2304        only a shell. This should make maintenance easier.
2305        * posix/include/rtems/posix/condmp.h,
2306        posix/include/rtems/posix/mqueuemp.h,
2307        posix/include/rtems/posix/mutexmp.h,
2308        posix/include/rtems/posix/pthreadmp.h,
2309        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2310        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2311
23122007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2313
2314        * configure.ac, score/inline/rtems/score/thread.inl,
2315        score/src/threaddispatch.c: Add ability for user to disable inlining
2316        of _Thread_Enable_dispatch. This can save code space but more
2317        importantly it means the binary generated does not have code inlined
2318        that is difficult to test and very seldom executed.
2319
23202007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2321
2322        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2323        rtems/include/rtems/rtems/barrier.h,
2324        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2325        score/src/corerwlockrelease.c: Fixed several implementation errors.
2326
23272007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2328
2329        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2330        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2331        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2332        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2333        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2334        case to the top of the switch statement, have a single exit with one
2335        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2336        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2337        code and allowed for complete test coverage.
2338
23392007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2340
2341        * sapi/include/confdefs.h,
2342        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2343        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2344
23452007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2346
2347        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2348
23492007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2350
2351        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2352        support Thumb.
2353
23542007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2355
2356        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2357        Now works on gen5200/icecube.
2358
23592007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2360
2361        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2362
23632007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2364
2365        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2366
23672007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2368
2369        * score/include/rtems/score/thread.h: Fix spelling error.
2370
23712007-11-17      Till Straumann <strauman@slac.stanford.edu>
2372
2373        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2374        Added checks so that use of 'stdio' is avoided (falling
2375        back to 'printk') before the system is up.
2376        Publish driver entry points so that the libi2c driver could
2377        be added to the applications 'device driver table'.
2378        This is not fully implemented yet, though, since in addition to
2379        initializing libi2c the low-level i2c bus drivers as well
2380        as high-level i2c device drivers need to be registered
2381        with the library.
2382        Updated README_libi2c accordingly.
2383
23842007-11-17      Till Straumann <strauman@slac.stanford.edu>
2385
2386        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2387        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2388        so that it knows what PHY they want to look at.
2389
23902007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2391
2392        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2393        in opposite files. Whoops!
2394
23952007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2396
2397        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2398        of the focus was on the beginning stages of making the login checker
2399        pluggable just like the shell.
2400
24012007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2402
2403        * posix/src/mprotect.c: Update comments.
2404
24052007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2406
2407        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2408        will require gcc 4.3 or newer.
2409        * posix/src/ada_intrsupp.c: New file.
2410
24112007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2412
2413        * sapi/src/exinit.c, score/Makefile.am,
2414        score/include/rtems/score/apimutex.h: API Mutex calls should never
2415        have been inlined. Inlining them lead to many inlined copies of core
2416        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2417        minimum.exe.
2418        * score/src/apimutex.c, score/src/apimutexallocate.c,
2419        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2420
24212007-11-07      Till Straumann <strauman@slac.stanford.edu>
2422
2423        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2424        around _CPU_ISR_Set_level().
2425
24262007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2427
2428        * score/inline/rtems/score/object.inl: During test coverage analysis,
2429        we identified this sanity check which should have been conditional on
2430        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2431        operations. With all APIs enabled, this saved 352 bytes from the
2432        minimum executable on the SPARC/ERC32.
2433
24342007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2435
2436        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2437        compiler conditional attribute for methods that do not return. This
2438        avoids gcc generating unreachable code following calls to
2439        _Internal_error_Occurred.
2440
24412007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2442
2443        * configure.ac: Add ARM/Thumb Makefile.
2444
24452007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2446
2447        PR 1266/cpukit
2448        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2449        of class for key indexing.
2450
24512007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2452
2453        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2454        Fix headers and formatting.
2455
24562007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2457
2458        Miscellaneous changes made after a review against the POSIX spec.
2459        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2460        passes a NULL in the attributes parameter, default attributes are used.
2461        * posix/src/prwlockdestroy.c: If there is at least one thread
2462        waiting, do not allow deletion.
2463        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2464        operation used to obtain a RWLock for writing.
2465        * posix/src/pspinlocktranslatereturncode.c,
2466        score/include/rtems/score/corespinlock.h,
2467        score/src/corespinlockrelease.c: If the current thread is not the
2468        holder of the lock, do not allow an unlock and return EPERM.
2469        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2470        for queueing with a timeout handler.
2471
24722007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2473
2474        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2475        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2476        stack so gdb backtrace does not print corrupted frame message after
2477        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2478        SPARC implementation and I made it more general.
2479
24802007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2481
2482        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2483        Cleaned up reports and fixed a bug related the printf format which
2484        resulted in lack of leading zeroes and misleading magnitude.
2485        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2486
24872007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2488
2489        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2490        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2491        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2492        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2493        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2494        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2495        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2496        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2497        posix/src/condinit.c, posix/src/condsignalsupp.c,
2498        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2499        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2500        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2501        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2502        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2503        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2504        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2505        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2506        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2507        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2508        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2509        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2510        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2511        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2512        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2513        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2514        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2515        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2516        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2517        posix/src/semclose.c, posix/src/semdestroy.c,
2518        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2519        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2520        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2521        rtems/src/dpmemexternal2internal.c,
2522        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2523        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2524        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2525        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2526        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2527        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2528        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2529        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2530        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2531        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2532        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2533        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2534        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2535        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2536        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2537        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2538        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2539        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2540        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2541        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2542        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2543        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2544        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2545        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2546        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2547        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2548        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2549        score/src/mpci.c, score/src/objectgetnameasstring.c,
2550        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2551        multiprocessing is disabled, do not even allow the constant
2552        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2553        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2554        in the generation of binary code which can NOT be reached.
2555
25562007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2557
2558        * score/Makefile.am, score/include/rtems/score/thread.h,
2559        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2560        resulted in unnessary code explosion, many uncovered paths when
2561        looking at binary executable coverage, and only optimized getting
2562        self. Id translations were still getting pushed to a subroutine call
2563        to _Objects_Get. Later the non-inlined version can be further
2564        optimized to get Ids in range for the current API, then self, then
2565        look at other APIs.
2566        * score/src/threadget.c: New file.
2567
25682007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2569
2570        * libi2c/README-libi2c
2571        document structure of libi2c library
2572
25732007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2574
2575        * libi2c/libi2c.c, libi2c/libi2c.h:
2576        extend API to support SPI devices
2577        made libi2c.h C++-proof
2578
25792007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2580
2581        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2582        also in another file.  Mistake after splitting.
2583        * libcsupport/Makefile.am: Reflect file removal.
2584
25852007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2586
2587        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2588        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2589        Minor updates from FreeBSD.
2590
25912007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2592
2593        * score/include/rtems/score/copyrt.h: Update year.
2594
25952007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2596
2597        * score/include/rtems/score/copyrt.h: Update year.
2598
25992007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2600
2601        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2602        Fixed check of status when registering driver. Add use of strerror().
2603
26042007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2605        Ralf Corsépius <ralf.corsepius@rtems.org>
2606
2607        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2608        libnetworking/libc/if_indextoname.c,
2609        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2610        * Makefile.am: Add files above.
2611        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2612
26132007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2614
2615        * libmisc/stackchk/check.c: Eliminate output with little information.
2616        Always print a blown message using the same routine. Now works with
2617        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2618        support in your GCC version.
2619
26202007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2621
2622        * libcsupport/src/gxx_wrappers.c: Revert.
2623
26242007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2625
2626        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2627        PRId32 to fix warning.
2628
26292007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2630
2631        * telnetd/passwd.h: New file.
2632
26332007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2634
2635        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2636        telnetd/telnetd.h: telnetd rewrite.
2637        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2638
26392007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2640
2641        PR 1262/filesystem
2642        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2643        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2644        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2645        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2646        writev() including documentation and test case.
2647        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2648
26492007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2650
2651        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2652        document what is required to provide a fully functional
2653        implementation.
2654        * libnetworking/rtems/rtems_socketpair.c: New file.
2655
26562007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2657
2658        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2659        Bump RTEMS_VERSION to 4.8.99.0.
2660
26612007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2662
2663        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2664
26652007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2666
2667        * posix/src/semaphorecreatesupp.c: Fixed warning.
2668
26692007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2670
2671        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2672
26732007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2674
2675        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2676        Use uint32_t for ext_accm.
2677
26782007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2679
2680        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2681        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2682        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2683        fixed-size types instead of BSD fixed-size types.
2684
26852007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2686
2687        * libmisc/stackchk/check.c: Fix alignment of output.
2688
26892007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2690
2691        * libmisc/monitor/monitor.h: Add network commands that were in the
2692        network supplement but not in the code.
2693        * libmisc/monitor/mon-network.c: New file.
2694
26952007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2696
2697        PR 1261/cpukit
2698        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2699        semaphore creation.
2700
27012007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2702
2703        PR 1260/cpukit
2704        * posix/src/pthread.c: Get initial signals blocked from creating
2705        thread not from ourselves.
2706
27072007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2708
2709        * score/src/watchdogtickle.c: Remove tabs.
2710
27112007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2712
2713        PR 1259/rtems
2714        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2715        memory is not guaranteed to be zero.
2716
27172007-09-12  Sergei Organov  <osv@javad.com>
2718
2719        PR 1258/rtems
2720        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2721        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2722        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2723        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2724        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2725        to changed block split strategy in _Heap_Allocate_aligned().
2726
27272007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2728
2729        * libcsupport/src/printk.c: Remove unnecessary comments.
2730
27312007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2732
2733        * libmisc/monitor/mon-monitor.c:
2734        Corrected linked list of rtems_monitor_commands
2735
27362007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2737
2738        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2739        walk on init, malloc, and free. The ability to walk the heap appears
2740        to disappeared during the rework of the C Program heap to skip the
2741        Region.
2742
27432007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2744
2745        * score/src/heap.c: Style.
2746        * score/src/heapwalk.c: Add more information to prints.
2747        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2748        is disabled.
2749
27502007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2751
2752        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2753        * libcsupport/src/printk_plugin.c: New file.
2754        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2755        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2756        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2757        rtems/src/ratemonreportstatistics.c: Added capability to specify
2758        your own "printf" routine to various reporting functions.  This
2759        added an XXX_with_plugin as the underlying implementation for
2760          + rtems_rate_monotonic_report_statistics
2761          + rtems_stack_checker_report_usage
2762          + rtems_cpu_usage_report
2763        As demonstration, the http netdemo can now print out stack
2764        and cpu usage reports.
2765
27662007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2767
2768        * shttpd/compat_rtems.c: Style clean up.
2769
27702007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2771
2772        * rtems/src/ratemonperiod.c: Clean up.
2773        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2774
27752007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2776
2777        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2778
27792007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2780
2781        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2782
27832007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2784
2785        * libmisc/Makefile.am: Add new files.
2786
27872007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2788
2789        * libmisc/monitor/mon-object.c,
2790        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2791        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2792        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2793        Added functionality for osmonweb support
2794
27952007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2796
2797        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2798        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2799        that are needed by osmonweb.
2800
28012007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2802
2803        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2804        Use printk.
2805
28062007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2807
2808        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2809        spacing and spelling.
2810
28112007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2812
2813        PR 1256/networking
2814        * ftpd/ftpd.c: Fix unaligned access.
2815
28162007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2817
2818        * posix/Makefile.am: Always build nanosleep.
2819
28202007-08-17      Chris Johns <chrisj@rtems.org>
2821
2822        * libmisc/capture/README: Minor copyright change.
2823        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
2824        libmisc/capture/capture.h: Fixed the memory leak when lots of
2825        tasks are being created and deleted. Improved the trigger
2826        interface so all task type actions can be caught.
2827
28282007-08-13      Chris Johns <chrisj@rtems.org>
2829
2830        * score/include/rtems/score/object.h: Point the
2831        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2832
28332007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2834
2835        PR 1248/networking
2836        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
2837        reported that when no interfaces are successfully attached, the
2838        default route is broken and may result in a jump to an illegal
2839        address.
2840
28412007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2842
2843        * score/inline/rtems/score/priority.inl: Use size_t instead of
2844          uint32_t for array index.
2845
28462007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2847
2848        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
2849          identify coldfire cpus.
2850
28512007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2852
2853        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
2854          coldfire.
2855
28562007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2857
2858        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
2859          work-around bug m68k/coldfire -fomit-frame-pointer bug
2860          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
2861
28622007-07-27      Chris Johns <chrisj@rtems.org>
2863
2864        * wrapup/Makefile.am: Create archive from a file for hosts
2865        with a limited command line size.
2866
28672007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2868
2869        * include/rtems/bspIo.h, include/rtems/pci.h:
2870        Add extern "C" guards. Reported by
2871        Robert S. Grimes <rsg@alum.mit.edu>.
2872
28732007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2874
2875        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
2876        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
2877        the time appears to be reported correctly and add up to what is
2878        expected.
2879
28802007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2881
2882        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
2883        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
2884        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
2885
28862007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2887
2888        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
2889        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
2890        was always using uptime not time since last cpu usage reset when
2891        using nanoseconds granularity.
2892        * libmisc/cpuuse/cpuusagedata.c: New file.
2893
28942007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
2895
2896        * libcsupport/src/mount.c: Allow null for output parameter.
2897
28982007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2899
2900        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
2901        to shttpd initialization.
2902
29032007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2904
2905        * libcsupport/src/malloc.c: Clean up Malloc debug code.
2906        * score/include/rtems/score/heap.h: Spacing.
2907        * score/inline/rtems/score/thread.inl:
2908        * score/src/heapfree.c. Clean up and add explicit check of the address
2909        being freed actually being in the heap.
2910        * score/src/heapwalk.c: Switch to printk and do not call abort.
2911
29122007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2913
2914        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
2915        area contingent on the stack checker user extension having been
2916        initialized.
2917
29182007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2919
2920        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
2921        and recv(). We already had the BSD versions and these conflict
2922        sometimes when linking.
2923
29242007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2925
2926        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
2927        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2928
29292007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2930
2931        * sapi/include/confdefs.h: Do not instantiate initialization
2932        thas/thread pointer tables for an API that is not configured.
2933
29342007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2935
2936        * libcsupport/Makefile.am:
2937        * libcsupport/src/open_dev_console.c: New file.
2938
29392007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2940
2941        * score/src/corerwlock.c: Make sure structure is fully initialized.
2942        When reused, some fields will not be zero like at initialization.
2943
29442007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2945
2946        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
2947        size. Account for this.
2948
29492007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2950
2951        * configure.ac: Add NDEBUG as a command line compilation option.
2952
29532007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2954
2955        * libmd/.cvsignore: New file.
2956
29572007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2958
2959        * shttpd/defs.h: Eliminate my_strncasecmp.
2960        * shttpd/string.c: Eliminate my_strncasecmp.
2961
29622007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2963
2964        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
2965        * pppd/Makefile.am: Reflect moving out md*.
2966        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
2967          libmd).
2968        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
2969        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
2970        * configure.ac, Makefile.am: Add libmd.
2971
29722007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2973
2974        * shttpd/defs.h: Eliminate my_strlcpy.
2975        * shttpd/string.c: Eliminate my_strlcpy.
2976
29772007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2978
2979        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
2980        * shttpd/string.c: Eliminate my_strdup, my_strndup.
2981        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
2982          libmd.a.
2983
29842007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2985
2986        * wrapup/Makefile.am: Add libmd.a.
2987
29882007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2989
2990        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
2991          Add pppd/libmd.a.
2992        * pppd/md4.c: Don't include pppd.h.
2993
29942007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2995
2996        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
2997
29982007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2999
3000        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3001        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3002        Add config.h support.
3003
30042007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3005
3006        * shttpd/compat_rtems.h: Define closesocket.
3007
30082007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3009
3010        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3011
30122007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3013        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3014        Use size_t for stack sizes.
3015
30162007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3017
3018        * configure.ac, Makefile.am: Add shttpd.
3019        * shttpd/Makefile.am: New.
3020        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3021        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3022        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3023        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3024        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3025        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3026        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3027        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3028        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3029        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3030        Import from shttpd-1.37.tar.gz.
3031
30322007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3033
3034        * configure.ac: Remove "pad" from CPU_CONTEXT.
3035
30362007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3037
3038        * score/src/coremsg.c: Formatting.
3039
30402007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3041
3042        * score/include/rtems/score/copyrt.h: Update copyright notice.
3043
30442007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3045
3046        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3047        one function per file execpt io.c which contains required
3048        initialization methods.
3049        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3050        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3051        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3052        sapi/src/iowrite.c: New files.
3053
30542007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3055
3056        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3057        table into Workspace but now it is only done if the application needs
3058        extra slots for dynamic driver registration. Cleaned up
3059        rtems_io_register_driver and rtems_io_unregister_driver code and
3060        added numerous error cases to register.
3061
30622007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3063
3064        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3065        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3066        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3067        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3068        configuration parameter since it was used to configure a no longer
3069        used feature. Device names are now part of the filesystem not in a
3070        table. This also eliminated the variables _IO_Number_of_devices and
3071        _IO_Driver_name_table from RTEMS as well as the memory allocation
3072        used to populate _IO_Driver_name_table.
3073        * libmisc/monitor/mon-dname.c: Removed.
3074
30752007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3076
3077        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3078        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3079        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3080        unused Workspace. Round the workspace required size to an 8 byte
3081        boundary instead of a 0x400 byte one. We may end up needing to add 8
3082        bytes again to account for the alignment rounding.
3083
30842007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3085
3086        Yu Chen <chyyuu@gmail.com>
3087        * score/src/corespinlockwait.c: Per question posted as
3088        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3089        logical operator to <=.
3090
30912007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3092
3093        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3094        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3095        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3096        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3097        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3098        executive initialization.
3099
31002007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3101
3102        * score/src/corerwlockrelease.c: Do not dereference NULL.
3103
31042007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3105
3106        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3107        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3108        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3109        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3110        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3111        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3112        sapi/include/rtems/extension.h: Split Classic API data instantiation
3113        into individual files. This reduces the size of the BSS section when
3114        an optional manager stub is used. Some tests showed about a 600 byte
3115        reduction in BSS size.
3116        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3117        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3118        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3119        used in one place after initialized. It was a waste of space.
3120        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3121        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3122        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3123        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3124        sapi/src/extensiondata.c: New files.
3125
31262007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3127
3128        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3129        functionality into multiple files to eliminate unnecessary cohesion.
3130        Update README.
3131        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3132        New files.
3133        * libmisc/cpuuse/cpuuse.c: Removed.
3134
31352007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3136
3137        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3138        negative value in some circumstances. Also cleaned up to share uptime
3139        declaration.
3140
31412007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3142
3143        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3144        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3145        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3146        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3147        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3148        score/Makefile.am, score/include/rtems/score/thread.h,
3149        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3150        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3151        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3152        monotonic period statistics and CPU usage statistics. This capability
3153        is enabled by default although may be conditionally disabled by the
3154        user. It could be too much overhead on small targets but it does not
3155        appear to be bad in early testing. Its impact on code size has not
3156        been evaluated either. It is possible that both forms of statistics
3157        gathering could be disabled with further tweaking of the conditional
3158        compilation.
3159        * score/src/timespecdividebyinteger.c: New file.
3160
31612007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3162
3163        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3164        functionally similar code here. Also cleanup print formats.
3165
31662007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3167
3168        * score/src/objectgetnameasstring.c: Internal threads use string names
3169        so in the current RTEMS source string object name can NOT be
3170        disabled. It is probably worth considering converting the internal
3171        threads to uint32_t style names so all the support for string names
3172        can be conditionally disabled.
3173
31742007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3175
3176        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3177        and greater than operations for timespecs.
3178        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3179        New files.
3180
31812007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3182
3183        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3184        RTEMS_POSIX_API.
3185
31862007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3187
3188        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3189        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3190        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3191        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3192        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3193        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3194        score/Makefile.am, score/include/rtems/score/object.h,
3195        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3196        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3197        Added the following directives: rtems_rate_monotonic_get_statistics,
3198        rtems_rate_monotonic_reset_statistics,
3199        rtems_rate_monotonic_reset_all_statistics,
3200        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3201        Obsoleted the rtems/rtmonuse.h file as a public interface.
3202        * rtems/src/ratemongetstatistics.c,
3203        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3204        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3205        score/src/objectgetnameasstring.c: New files.
3206        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3207
32082007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3209
3210        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3211        rtems_io_register_name for use on unix.
3212        * libcsupport/src/unixlibc_io.c: New file.
3213
32142007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3215
3216        * score/src/coremsgseize.c: A blocking sender's message size was
3217        pulled out of the wrong field in the Wait information structure.
3218        * score/src/objectallocate.c: With the new optional manager support,
3219        we only stub out the initialization. This makes it possible to attempt
3220        to create an object with the information structure only initialized
3221        with all zeros.  This ensures we return an error cleanly in this case.
3222
32232007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3224
3225        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3226        an optional manager, we cannot depend on it do initialize the
3227        internal Allocator Mutex.  This was always a questionable place to
3228        do it, so this is a cleanup.
3229
32302007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3231
3232        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3233        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3234        suitable for inclusion in the Users Guide.
3235
32362007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3237
3238        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3239        ChangeLog-pre2007.
3240        * ChangeLog-pre2007: New file.
3241
32422007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3243
3244        PR 1241/rtems
3245        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3246        critical section window added with requeueing support.
3247
32482007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3249
3250        * libcsupport/include/rtems/cdefs.h,
3251          libcsupport/include/sys/cdefs.h: Remove.
3252        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3253        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3254        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3255        libnetworking/netdb.h, libnetworking/resolv.h,
3256        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3257        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3258        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3259        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3260        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3261        libnetworking/rtems/rtems_bsdnet_internal.h,
3262        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3263        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3264        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3265        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3266        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3267        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3268        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3269        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3270        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3271        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3272        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3273
32742007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3275
3276        * Makefile.am: Reflect introduction of
3277          include/rtems/bsd/sys/cdefs.h.
3278        * include/rtems/bsd/sys/cdefs.h: New.
3279
32802007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3281
3282        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3283        * libnetworking/sys/queue.h: Remove.
3284
32852007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3286
3287        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3288        <machine/endian.h>.
3289        * libnetworking/rtems/rtems_showroute.c,
3290        libnetworking/rtems/rtems_showipstat.c,
3291        libnetworking/rtems/rtems_showtcpstat.c,
3292        libnetworking/rtems/rtems_showicmpstat.c,
3293        libnetworking/rtems/rtems_showmbuf.c,
3294        libnetworking/rtems/rtems_showudpstat.c,
3295        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3296        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3297        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3298        libnetworking/netinet/tcp_usrreq.c,
3299        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3300        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3301        libnetworking/netinet/ip_output.c,
3302        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3303        libnetworking/netinet/udp_usrreq.c,
3304        libnetworking/netinet/tcp_output.c,
3305        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3306        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3307        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3308        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3309        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3310        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3311        instead of <sys/queue.h>.
3312        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3313        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3314        libnetworking/net/if.h, libnetworking/net/if_media.h,
3315        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3316        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3317        instead of <sys/queue.h>.
3318        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3319        * include/rtems/bsd/sys/queue.h: New (Copied from
3320          libnetworking/sys/queue.h).
3321
33222007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3323
3324        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3325        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3326        score/Makefile.am, score/preinstall.am,
3327        score/include/rtems/score/userext.h, score/src/chain.c,
3328        score/src/userext.c: Switch to newlib reentrancy extension being
3329        installed in the initial set instead of using rtems_extension_create.
3330        While implementing this, noticed that user extensions and chain code
3331        had multiple functions in a single file which is not desirable in the
3332        SuperCore and API portions of RTEMS, so split these into multiple
3333        files with one function per file. Also noticed that some of user
3334        extension code was inlined for no particular reason so moved that to
3335        C bodies.  Split executive shutdown from initialization since not
3336        every application shuts down.  Moved __fini call to executive shutdown
3337        to be more symmetrical with where it is called at startup.
3338        * sapi/src/exshutdown.c, score/src/chainappend.c,
3339        score/src/chainextract.c, score/src/chainget.c,
3340        score/src/chaininsert.c, score/src/userextaddapiset.c,
3341        score/src/userextaddset.c, score/src/userextremoveset.c,
3342        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3343        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3344        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3345        files.
3346        * score/inline/rtems/score/userext.inl: Removed.
3347
33482007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3349
3350        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3351        reference _Configuration_MP_table if multiprocessing is disabled.
3352
33532007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3354
3355        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3356        reference _Configuration_MP_table if multiprocessing is disabled.
3357
33582007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3359
3360        * libnetworking/machine/endian.h: Remove.
3361        * libnetworking/Makefile.am: Remove machine/endian.h.
3362        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3363        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3364        <rtems/endian.h> instead of <machine/endian.h>.
3365        * Makefile.am: Add include/rtems/endian.h.
3366        * include/rtems/endian.h: New (Copied from
3367          libnetworking/machine/endian.h).
3368
33692007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3370
3371        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3372        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3373        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3374        of <stdint.h>.
3375        * libnetworking/machine/endian.h: Remove
3376          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3377        * NEWS: new.
3378
33792007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3380
3381        PR 1243
3382        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3383
33842007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3385
3386        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3387        to inline functions, using uint[16,32]_t.
3388        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3389        with SUSv3.
3390        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3391        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3392        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3393        Add HAVE_CONFIG_H magic.
3394        * libnetworking/libc/gethostbydns.c,
3395        libnetworking/libc/inet_net_ntop.c,
3396        libnetworking/libc/inet_pton.c: Eliminate __P.
3397        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3398        return value of ntohl (POSIX requirement).
3399        Use UINT32_C macros to avoid overflows on 16bit targets.
3400        Eliminate __P.
3401        * configure.ac: Check for working PRIxPTR.
3402
34032007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3404
3405        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3406        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3407        Use size_t for stack sizes.
3408
34092007-05-03      Joel Sherrill <joel@OARcorp.com>
3410
3411        * ChangeLog, libcsupport/src/malloc.c,
3412        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3413        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3414        Region Manager is quite heavy for implementing this. This patch
3415        implements the C Program Heap directly in terms of the new Protected
3416        Heap handler. This handler is a direct use of a SuperCore Heap in
3417        conjunction with the Allocator Mutex used internally by RTEMS. This
3418        saves 3184 bytes on most SPARC test executables.
3419        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3420        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3421        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3422        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3423        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3424        score/src/pheapwalk.c: New files.
3425
34262007-05-03      Joel Sherrill <joel@OARcorp.com>
3427
3428        * libcsupport/src/rmdir.c: Fixed spacing.
3429        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3430        newlibc.c. It is not required for minimum executing and drops 624
3431        from SPARC minimum executable.
3432        * libcsupport/src/newlibc_exit.c: New file.
3433
34342007-04-17      Joel Sherrill <joel@OARcorp.com>
3435
3436        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3437        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3438        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3439        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3440        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3441        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3442        reduce executable size. Most were refactoring of files. Split ITRON
3443        API files. Implemented mechanism to avoid initialization task/thread
3444        loop being linked in when that style of task initialization was not
3445        being used.
3446        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3447        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3448        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3449        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3450        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3451        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3452        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3453        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3454        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3455        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3456        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3457        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3458        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3459        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3460        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3461        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3462        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3463        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3464        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3465        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3466        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3467
34682007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3469
3470        * score/include/rtems/score/thread.h:
3471          Use Context_Control_fp* instead of void* for fp_contexts.
3472
34732007-04-16      Joel Sherrill <joel@OARcorp.com>
3474
3475        PR 1240/filesystem
3476        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3477        for filename was not being freed.
3478
34792007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3480
3481        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3482
34832007-04-16      Joel Sherrill <joel@OARcorp.com>
3484
3485        * itron/src/rsm_tsk.c: Correct error returned.
3486
34872007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3488
3489        * configure.ac: Redefine LIBPOSIX to !UNIX.
3490        * posix/src/usleep.c, libcsupport/src/readlink.c:
3491        Update API to SUSv3.
3492
34932007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3494
3495        * posix/Makefile.am: Unconditionally build src/sleep.c,
3496          src/usleep.c.
3497        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3498          CLOCK_MONOTONIC case.
3499        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3500
35012007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3502
3503        * posix/Makefile.am: Cosmetics.
3504        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3505        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3506
35072007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3508
3509        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3510          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3511        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3512          rtems/posix/time.h.
3513        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3514          rtems/posix/time.h.
3515        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3516
35172007-04-12      Joel Sherrill <joel@OARcorp.com>
3518
3519        * itron/src/rsm_tsk.c: Correct error returned.
3520
35212007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3522
3523        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3524
35252007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3526
3527        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3528        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3529        _impure_ptr bug).
3530        Fix abuse of _REENT_INIT().
3531
35322007-04-05      Joel Sherrill <joel@OARcorp.com>
3533
3534        * itron/src/itrontime.c: Fix typo.
3535        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3536        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3537        * score/src/threaddispatch.c: Formatting.
3538
35392007-04-05      Joel Sherrill <joel@OARcorp.com>
3540
3541        * posix/Makefile.am: Fix formatting.
3542
35432007-04-05      Joel Sherrill <joel@OARcorp.com>
3544
3545        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3546        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3547        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3548        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3549        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3550        posix/src/pthread.c, posix/src/pthreadcreate.c,
3551        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3552        posix/src/sched.c, posix/src/semtimedwait.c,
3553        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3554        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3555        score/preinstall.am, score/include/rtems/score/tod.h,
3556        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3557        score/src/coretodget.c, score/src/coretodgetuptime.c,
3558        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3559        manipulation routines in the SuperCore. Use them everywhere possible.
3560        This lead to significant cleanup in the API routines and eliminated
3561        some of the same code from the POSIX API. At this point, the
3562        SuperCore keeps time in POSIX timespec format properly from 1970. You
3563        just cannot set it before 1988 in keeping with RTEMS traditional
3564        behavior.
3565        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3566        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3567        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3568        score/src/timespectoticks.c: New files.
3569        * posix/src/posixintervaltotimespec.c,
3570        posix/src/posixtimespecsubtract.c,
3571        posix/src/posixtimespectointerval.c: Removed.
3572
35732007-04-04      Joel Sherrill <joel@OARcorp.com>
3574
3575        * score/Makefile.am, score/include/rtems/score/tod.h,
3576        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3577        non-inlined routine. It should only be used once so there is little
3578        advantage to inlining it.
3579        * score/src/coretodtickle.c: New file.
3580
35812007-04-02      Joel Sherrill <joel@OARcorp.com>
3582
3583        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3584        dead code.
3585        * posix/src/time.c: Removed.
3586
35872007-04-02      Joel Sherrill <joel@OARcorp.com>
3588
3589        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3590        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3591        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3592        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3593        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3594        TOD_Ticks_per_second variable.
3595
35962007-04-02      Joel Sherrill <joel@OARcorp.com>
3597
3598        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3599        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3600        posix/src/clockgettime.c, posix/src/clocksettime.c,
3601        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3602        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3603        posix/src/sleep.c, rtems/Makefile.am,
3604        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3605        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3606        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3607        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3608        score/Makefile.am, score/include/rtems/score/tod.h,
3609        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3610        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3611        fundamental time structure to POSIX struct timespec. Add
3612        clock_get_uptime().
3613        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3614        score/src/coretodgetuptime.c: New files.
3615        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3616        score/src/coretodvalidate.c: Removed.
3617
36182007-04-02      Joel Sherrill <joel@OARcorp.com>
3619
3620        * libcsupport/src/printk.c: Add %p support.
3621
36222007-04-02      Joel Sherrill <joel@OARcorp.com>
3623
3624        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3625        in addition to the pattern area being overwritten. Also do some
3626        cleanup.
3627
36282007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3629
3630        * include/rtems/pci.h: Further stdint.h fixed-size types.
3631
36322007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3633
3634        * include/rtems/pci.h: Use stdint.h fixed size-types.
3635
36362007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3637
3638        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3639        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3640        * libnetworking/Makefile.am: Move libc/res_config.h to
3641          libc_a_SOURCES (File is being used).
3642        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3643        Remove (Unused).
3644        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3645        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3646        Remove (Unused).
3647        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3648
36492007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3650
3651        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3652        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3653        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3654        libnetworking/libc/gethostbynis.c,
3655        libnetworking/libc/gethostnamadr.c,
3656        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3657        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3658        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3659        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3660        libnetworking/libc/getservbyname.c,
3661        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3662        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3663        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3664        libnetworking/libc/inet_net_ntop.c,
3665        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3666        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3667        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3668        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3669        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3670        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3671        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3672        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3673        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3674        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3675        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3676        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3677        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3678        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3679        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3680        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3681        SCCS, LINT. Add HAVE_CONFIG_H.
3682        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3683
36842007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3685
3686        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3687          uintptr_t.
3688
36892007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3690
3691        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3692        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3693
36942007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3695
3696        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3697        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3698        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3699        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3700        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3701        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3702        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3703        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3704        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3705        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3706        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3707        (Abandoned in FreeBSD).
3708        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3709        (Abandoned in FreeBSD).
3710        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3711        (Abandoned in FreeBSD).
3712        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3713        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3714
37152007-03-28      Chris Johns <chrisj@rtems.org>
3716
3717        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3718        score/include/rtems/score/watchdog.h: Add support for a handler to
3719        obtain the number of nanoseconds since the last clock tick. The
3720        primary interface for this is rtems_clock_set_nanoseconds_extension.
3721        Subsequent commits from Joel will redo the TOD support to use this
3722        capability.
3723        * rtems/src/clocksetnsecshandler.c: New file.
3724
37252007-03-28      Joel Sherrill <joel@OARcorp.com>
3726
3727        PR 1234/cpukit
3728        * libcsupport/Makefile.am: Provide printk() based implementation of
3729        __assert() to reduce dependencies in executables.
3730        * libcsupport/src/__assert.c: New file.
3731
37322007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3733
3734        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3735        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3736        * libnetworking/net/ppp-comp.h: Remove (Unused).
3737        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3738        * libnetworking/sys/buf.h: Remove (Unused).
3739        * libnetworking/Makefile.am: Remove sys/buf.h.
3740        * libnetworking/kern/kern_sysctl.c,
3741        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3742        <sys/buf.h>.
3743        *  libcsupport/include/sys/sockio.h: Partial update from
3744          FreeBSD.
3745
37462007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3747
3748        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3749        * libnetworking/netinet/igmp.c: Eliminate __P().
3750        * libnetworking/netinet/in.c: Eliminate __P().
3751        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3752        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3753        * libnetworking/netinet/ip_output.c: Eliminate __P().
3754
37552007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3756
3757        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3758        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3759        Change int args to intptr_t because they are casted to pointers.
3760        * libnetworking/netinet/tcp_usrreq.c,
3761        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3762
37632007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3764
3765        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3766        "long", because long is not guaranteed to be castable to char*.
3767        * libnetworking/netinet/ip_input.c: Eliminate __P().
3768        Change "int next" to "int32_t next" for 16bit targets.
3769        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3770        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3771        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3772        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3773        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3774        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3775        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3776
37772007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3778
3779        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3780        Remove (Abandoned in FreeBSD).
3781        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3782        net/pppcompress.h.
3783        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3784        net/pppcompress.h.
3785        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3786        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3787        net/pppcompress.h.
3788
37892007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3790
3791        * libnetworking/net/pppcompress.h: Eliminate __P().
3792        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3793        * libnetworking/net/if_llc.h: Update from FreeBSD.
3794
37952007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3796
3797        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3798          <net/ppp-comp.h>.
3799        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3800        Warn about using it.
3801        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3802        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3803        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3804          FreeBSD.
3805        * libnetworking/machine/in_cksum.h: Eliminate __P().
3806        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3807        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3808        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3809        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
3810        Eliminate __P().
3811        * libcsupport/src/scandir.c: Eliminate __P().
3812        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
3813        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
3814        Eliminate __P().
3815        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
3816        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
3817        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
3818
38192007-03-26      Joel Sherrill <joel@OARcorp.com>
3820
3821        PR 1231/cpukit
3822        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
3823        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
3824        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
3825        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
3826        posix/src/mutexattrgetprioceiling.c,
3827        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
3828        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
3829        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
3830        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
3831        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
3832        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
3833        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
3834        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
3835        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
3836        posix/src/posixtimespecsubtract.c,
3837        posix/src/posixtimespectointerval.c,
3838        posix/src/psignalclearprocesssignals.c,
3839        posix/src/psignalclearsignals.c,
3840        posix/src/psignalsetprocesssignals.c,
3841        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
3842        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
3843        unneeded includes of assert.h
3844
38452007-03-26      Joel Sherrill <joel@OARcorp.com>
3846
3847        * libcsupport/include/rtems/assoc.h: Pick up the include file
3848        changes associated with the file splitting.
3849
38502007-03-26      Joel Sherrill <joel@OARcorp.com>
3851
3852        * libcsupport/Makefile.am: Pick up the Makefile changes associated
3853        with the file splitting.
3854
38552007-03-26      Joel Sherrill <joel@OARcorp.com>
3856
3857        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
3858        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
3859        this will not be deemed necessary to commit to the 4.7 branch.
3860        * libcsupport/src/assoclocalbyname.c,
3861        libcsupport/src/assoclocalbyremote.c,
3862        libcsupport/src/assoclocalbyremotebitfield.c,
3863        libcsupport/src/assocnamebylocal.c,
3864        libcsupport/src/assocnamebylocalbitfield.c,
3865        libcsupport/src/assocnamebyremote.c,
3866        libcsupport/src/assocnamebyremotebitfield.c,
3867        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
3868        libcsupport/src/assocptrbyremote.c,
3869        libcsupport/src/assocremotebylocal.c,
3870        libcsupport/src/assocremotebylocalbitfield.c,
3871        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
3872        libcsupport/src/write_r.c: New files.
3873
38742007-03-26      Joel Sherrill <joel@OARcorp.com>
3875
3876        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
3877        support and remove deadcode. Replace with comment explaining that
3878        behavior is compatible with GNU/Linux per Eric Norum.
3879
38802007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3881
3882        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
3883        Partial update from FreeBSD.
3884        * libnetworking/netinet/if_ether.h: Eliminate __P().
3885        * libnetworking/netinet/ip_var.h: Eliminate __P().
3886        * libnetworking/netinet/in.h: Eliminate __P().
3887        * libnetworking/netinet/tcp_var.h: Eliminate __P().
3888
38892007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3890
3891        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
3892        Remove __P();
3893        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
3894
38952007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3896
3897        * libnetworking/netinet/in_var.h: Remove __P().
3898        * libnetworking/netinet/in_systm.h: Remove __P().
3899        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
3900        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
3901        * libnetworking/netinet/if_ether.c: Remove __P().
3902        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
3903        More updates from FreeBSD.
3904        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
3905        libnetworking/net/route.h: Partial update from FreeBSD.
3906
39072007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3908
3909        * libnetworking/Makefile.am: Remove nfs/krpc.h.
3910        * libnetworking/nfs/krpc.h: Remove (Unused).
3911        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
3912        * libnetworking/Makefile.am: Remove nfs/nfs.h.
3913        * libnetworking/nfs/nfs.h: Remove (Unused).
3914
39152007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3916
3917        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
3918          symbols.
3919        * libnetworking/sys/conf.h: Don't include machine/conf.h.
3920        Update copyright notice.
3921        Remove unused/non-implemented declarations.
3922        * libnetworking/Makefile.am: Remove machine/conf.h.
3923        * libnetworking/machine/conf.h: Remove.
3924
39252007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3926
3927        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
3928        Remove many non-supported/unused declarations.
3929
39302007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3931
3932        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
3933          crhold (Unused/non-implemented).
3934
39352007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3936
3937        * libnetworking/sys/ucred.h: Remove __P().
3938        * libnetworking/sys/callout.h: Remove __P().
3939        * libnetworking/sys/domain.h: Remove __P().
3940        * libnetworking/sys/socketvar.h: Remove __P().
3941        * libnetworking/sys/socket.h: Remove __P().
3942        * libnetworking/sys/select.h: Remove __P().
3943        * libnetworking/sys/kernel.h: Remove __P().
3944        * libnetworking/sys/protosw.h: Remove __P().
3945        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
3946        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
3947        swdevt, nswdev, nswap (Unused).
3948
39492007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3950
3951        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
3952        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
3953        instead of struct linesw (PR 1229)
3954        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
3955        around clash with defines from rtems_bsdnet_internal.h.
3956        * score/src/heapwalk.c: include stdlib.h.
3957
39582007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3959
3960        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
3961        Remove __P().
3962        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
3963        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
3964        Remove __P().
3965        * libcsupport/include/rtems/termiostypes.h,
3966        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
3967        with rtems_termios_*.
3968        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
3969        (Clash with termiostypes.h - PR 1229).
3970
39712007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3972
3973        * score/include/rtems/score/wkspace.h,
3974        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
3975        Change _Workspace_Handler_initialization and
3976        _Workspace_Allocate_or_fatal_error to using size_t.
3977        * libnetworking/sys/rtprio.h: Remove (Unused).
3978        * libnetworking/Makefile.am: Remove sys/rtprio.h.
3979
39802007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3981
3982        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
3983        Remove __P().
3984
39852007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3986
3987        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
3988          to fix warnings.
3989        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
3990        * score/include/rtems/score/chain.h, score/src/chain.c:
3991        Change _Chain_Initialize to using size_t.
3992
39932007-03-12      Joel Sherrill <joel@OARcorp.com>
3994
3995        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
3996        Dump_Buffer to rtems_print_buffer.
3997
39982007-03-12      Joel Sherrill <joel@OARcorp.com>
3999
4000        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4001        license URL and/or fix mistake in copyright notice. Both of these
4002        mistakes appear to be from code submitted after these changes were
4003        made previously.
4004
40052007-03-10      Joel Sherrill <joel@OARcorp.com>
4006
4007        PR 1226/cpukit
4008        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4009        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4010
40112007-03-08      Joel Sherrill <joel@OARcorp.com>
4012
4013        * libfs/src/imfs/imfs.h: Fix comment.
4014
40152007-03-08      Joel Sherrill <joel@OARcorp.com>
4016
4017        * libfs/src/imfs/imfs.h: Fix comment.
4018
40192007-03-08      Joel Sherrill <joel@OARcorp.com>
4020
4021        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4022        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4023
40242007-03-08      Joel Sherrill <joel@OARcorp.com>
4025
4026        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4027        Remove wrapper for message queue send and urgent and implement them
4028        directly. There was an unnecessary function call layer in addition to
4029        conditions in the shared routine. Directly coding both directives is
4030        simpler and should result in smaller code.
4031        * rtems/src/msgqsubmit.c: Removed.
4032
40332007-03-05      Joel Sherrill <joel@OARcorp.com>
4034
4035        PR 1222/cpukit
4036        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4037        score/include/rtems/score/threadq.h,
4038        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4039        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4040        score/src/threadclearstate.c, score/src/threadhandler.c,
4041        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4042        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4043        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4044        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4045        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4046        thread that is blocked on a priority based thread queue is changed,
4047        that its placement in the queue is reevaluated based upon the new
4048        priority. This enhancement includes modifications to the SuperCore as
4049        well as new test cases.
4050        * score/src/threadqrequeue.c: New file.
4051
40522007-03-05      Joel Sherrill <joel@OARcorp.com>
4053
4054        * sapi/src/exinit.c: Fix spacing.
4055
40562007-03-05      Joel Sherrill <joel@OARcorp.com>
4057
4058        PR 1221/cpukit
4059        * posix/src/pthreadequal.c: Fix critical section nesting.
4060
40612007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4062
4063        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4064          compiled files.
4065
40662007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4067
4068        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4069
40702007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4071
4072        * score/Makefile.am: Remove macros/README.
4073
40742007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4075
4076        * score/include/rtems/score/heap.h, score/src/heap.c,
4077        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4078        More size_t for heap-sizes.
4079        * score/include/rtems/score/heap.h, score/src/heap.c,
4080        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4081        heap-sizes.
4082        * libnetworking/resolv.h: Typo fixes. Remove __P().
4083
40842007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4085
4086        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4087        Use size_t for stack-sizes.
4088
40892007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4090
4091        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4092          functions.
4093        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4094        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4095
40962007-02-06      Till Straumann <strauman@slac.stanford.edu>
4097
4098        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4099        taskvar dtor to plug memory leak. Applied patch attached
4100        to PR#690.
4101
41022007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4103
4104        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4105        * posix/src/getpagesize.c: Removed.
4106        * posix/Makefile.am: Remove references to getpagesize.c.
4107        * libcsupport/Makefile.am: Add getpagesize.c.
4108
41092007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4110
4111        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4112        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4113          visible.
4114        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4115
41162007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4117
4118        * rtems/src/msgqsend.c: Use size_t for sizes.
4119        * rtems/src/msgqurgent.c: Use size_t for sizes.
4120        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4121        * rtems/src/msgmp.c: Use size_t for sizes.
4122        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4123        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4124        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4125        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4126
41272007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4128
4129        * itron/src/trcv_mbf.c: Use size_t for sizes.
4130        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4131        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4132        * libmisc/monitor/monitor.h: Use size_t for sizes.
4133        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4134        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4135        * rtems/src/msgqreceive.c: Use size_t for sizes.
4136        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4137        * score/src/coremsgseize.c: Use size_t for sizes.
4138
41392007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4140
4141        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4142        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4143        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4144        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4145        * score/src/coremsgsubmit.c: Use size_t for sizes.
4146
41472007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4148
4149        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4150
41512007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4152
4153        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4154
41552007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4156
4157        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4158        Remove isblank (supposed to be provided by libc).
4159
41602007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4161
4162        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4163
41642007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4165
4166        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4167         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4168        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4169        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4170        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4171
41722007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4173
4174        * score/include/rtems/system.h:
4175        #define __RTEMS_MINOR__ 7 (BZ 1206).
4176
41772007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4178
4179        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4180        export some internal variables to make them available in
4181        "show_bdbuf" monitor add-on
4182
41832007-01-16      Till Straumann <strauman@slac.stanford.edu>
4184
4185        * libnetworking/rtems/rtems_mii_ioctl.c,
4186        libnetworking/rtems/rtems_mii_ioctl.h,
4187        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4188        libi2c/libi2c.c, libi2c/libi2c.h:
4189        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4190
41912007-01-09      Joel Sherrill <joel@OARcorp.com>
4192
4193        * libcsupport/src/error.c: rtems_progname is no longer defined in
4194        the BSP startup since it never held a meaningful value.
4195
41962007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4197
4198        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4199        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.