source: rtems/cpukit/ChangeLog @ 8cef545

4.104.114.95
Last change on this file since 8cef545 was 8cef545, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/01/08 at 06:06:47

2008-08-01 Ralf Corsépius <ralf.corsepius@…>

  • librpc/src/rpc/auth_unix.c: Misc. ansifications. Add missing prototypes.
  • librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c: Misc. ansifications.
  • Property mode set to 100644
File size: 169.0 KB
Line 
12008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
2
3        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
4        Add missing prototypes.
5        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
6        Misc. ansifications.
7
82008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
9
10        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
11        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
12        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
13        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
14        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
15        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
16        Eliminate __P().
17
182008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
19
20        * score/include/rtems/score/thread.h: Add missing prototype.
21        * score/inline/rtems/score/thread.inl: Add missing prototypes.
22        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
23        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
24        libnetworking/netinet/in_cksum_m68k.h,
25        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
26        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
27        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
28        * itron/include/itronsys/types.h: Add missing prototype.
29        * ftpd/ftpd.c: Fix broken prototype.
30        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
31        Add missing prototypes.
32
332008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
34
35        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
36        is disabled but luckily it is not even needed to compile.
37
382008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
39
40        * libmisc/shell/main_netstats.c: Add missing prototypes.
41        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
42        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
43
442008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
45
46        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
47        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
48        httpd/wsIntrn.h: Add missing protoypes.
49
502008-07-29      Tim Cussins <timcussins@eml.cc>
51
52        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
53        conditional.
54
552008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
56
57        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
58        call.
59
602008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
61
62        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
63
642008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
65
66        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
67        libmisc/monitor/monitor.h: Add missing prototypes.
68        * score/inline/rtems/score/tod.inl: Add prototypes.
69        * score/src/coretodset.c: Remove stray args in function call.
70        * libcsupport/include/rtems/libcsupport.h,
71        libcsupport/include/rtems/libio_.h,
72        libcsupport/src/malloc_statistics_helpers.c,
73        libcsupport/src/scandir.c: Add prototypes.
74        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
75        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
76        posix/src/prwlockrdlock.c: Use C-style comments.
77
782008-07-29      Chris Johns <chrisj@rtems.org>
79
80        * libblock/src/nvdisk.c: Fix block compile bug.
81
822008-07-29      Chris Johns <chrisj@rtems.org>
83
84        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
85        Update the comments.
86
872008-07-29      Chris Johns <chrisj@rtems.org>
88
89        * libblock/Makefile.am: Removed src/show_bdbuf.c.
90
91        * libblock/src/show_bdbuf.c: Removed.
92
93        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
94        Rewritten the bdbuf code. Remove pre-emption disable, score
95        access, fixed many bugs and increased performance.
96
97        * libblock/include/rtems/blkdev.h: Added
98        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
99        comments. Added block and user fields to the sg buffer
100        request. Move to rtems_* namespace.
101
102        * libblock/include/rtems/diskdevs.h,
103        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
104        capabilities field for drivers. Change rtems_disk_lookup to
105        rtems_disk_obtain to match the release call. You do not lookup and
106        release a disk, you obtain and release a disk.
107
108        * libblock/include/rtems/ide_part_table.h,
109        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
110        Move to rtems_* namespace.
111
112        * libblock/include/rtems/nvdisk.h: Formatting change.
113
114        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
115        rtems_disk_lookup to rtems_disk_obtain
116
117        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
118        support for the block number in the scatter/grather request
119        struct. This allows non-continuous buffer requests for those
120        drivers that can support increasing performance.
121
122        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
123        warnings. Added better error checking. Fixed some comments.
124
125        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
126        trace functions to help debugging upper layers. Use the new
127        support for the block number in the scatter/grather request
128        struct. This allows non-continuous buffer requests for those
129        drivers that can support increasing performance.
130
131        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
132        API. Removed temporary hack and changed
133        set_errno_and_return_minus_one to
134        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
135        header and stopped it being inlined. Updated to libblock changes.
136       
137        * libfs/src/dosfs/fat_fat_operations.c,
138        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
139        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
140        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
141        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
142        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
143        new chains API. Removed temporary hack and changed
144        set_errno_and_return_minus_one to
145        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
146
147        * libmisc/Makefile.am: Add new ls and rm command files.
148
149        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
150        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
151        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
152        libmisc/shell/vis.c, shell/vis.h: New.
153
154        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
155        libmisc/shell/utils-cp.c: Fixed the usage call bug.
156
157        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
158        command.
159
160        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
161        commands with more features.
162       
163        * score/src/coremutex.c: Fix the strick order mutex code.
164
165        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
166        and no ASR.
167       
168        * sapi/include/confdefs.h: Change ata_driver_task_priority to
169        rtems_ata_driver_task_priority. Add the new BD buf cache
170        parameters with defaults.
171
172        * score/src/interr.c: Do not return if the CPU halt call returns.
173       
1742008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
175
176        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
177        bsp_libc_init() into new bootcard.h.
178
179        * cpukit/include/rtems/irq-extension.h: New function
180        rtems_interrupt_handler_iterate() for system information and
181        diagnostics.
182
1832008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
184
185        * libmisc/shell/shell_script.c: Clean up code for command not found
186        including the error message.
187
1882008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
189
190        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
191        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
192        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
193        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
194        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
195        internal routine. This makes it possible to also print string names
196        of POSIX objects. Adjust task report to realign since we can have
197        longer names.
198
1992008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
200
201        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
202        body is now completely configured via the Configuration table.
203
2042008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
205
206        PR 1291/cpukit
207        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
208        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
209        posix/include/rtems/posix/semaphore.h,
210        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
211        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
212        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
213        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
214        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
215        posix/src/posixtimespecabsolutetimeout.c,
216        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
217        posix/src/semaphoretranslatereturncode.c,
218        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
219        posix/src/semtrywait.c, posix/src/semwait.c,
220        posix/src/sigtimedwait.c, posix/src/timersettime.c,
221        posix/src/ualarm.c, rtems/src/semobtain.c,
222        rtems/src/semtranslatereturncode.c,
223        score/include/rtems/score/coremutex.h,
224        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
225        patch addresses issues on implementation of the timeout on the
226        following POSIX services. Some of these services incorrectly took a
227        timeout as a relative time. Others would compute a 0 delta to timeout
228        if the absolute time and the current time were equal and thus
229        incorrectly block the caller forever. The root of the confusion is
230        that POSIX specifies that if the timeout is incorrect (e.g. in the
231        past, is now, or is numerically invalid), that it does not matter if
232        the call would succeed without blocking. This is in contrast to RTEMS
233        programming style where all errors are checked before any critical
234        sections are entered. This fix implemented a more uniform way of
235        handling POSIX absolute time timeouts.
236            + pthread_cond_timedwait - could block forever
237            + mq_timedreceive - used relative not absolute time
238            + mq_timedsend - used relative not absolute time
239            + pthread_mutex_timedlock - used relative not absolute time
240            + pthread_rwlock_timedrdlock- used relative not absolute time
241            + pthread_rwlock_timedwrlock- used relative not absolute time
242            + sem_timedwait - could block forever
243
2442008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
245
246        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
247        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
248        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
249        libmisc/shell/main_whoami.c: Add pthread command to monitor when
250        POSIX is enabled. Remove include of rtems/monitor.h from files not
251        related.
252
2532008-07-16      Till Straumann <strauman@slac.stanford.edu>
254
255        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
256        use ppc_interrupt_get_disable_mask() to determine
257        which bits to set/clear from _CPU_ISR_Set_level().
258
2592008-07-16      Till Straumann <strauman@slac.stanford.edu>
260
261        * score/cpu/powerpc/rtems/powerpc/registers.h:
262        added ppc_interrupt_get_disable_mask() inline function.
263
2642008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
265
266        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
267
2682008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
269
270        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
271        for rtems_shell_init(). This makes it possible to run the shell
272        forever or invoke it from a program as a subroutine, have a user
273        enter commands, and wait for it to exit.
274
2752008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
276
277        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
278        RTEMS version string.
279        * sapi/src/getversionstring.c: New file.
280
2812008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
282
283        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
284        cpukit/score/cpu/m68k/rtems/score/cpu.h,
285        score/cpu/m68k/rtems/score/m68k.h:
286
287        added support to save coldfire FPU/EMAC context
288
2892008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
290
291        * libi2c/libi2c.c, libi2c/libi2c.h:
292        make buffer passed to *write* functions a const pointer
293
294
2952008-07-10      Till Straumann <strauman@slac.stanford.edu>
296
297        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
298        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
299        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
300        Removed all macro definitions which depended on
301        the compiler defining a PPC CPU-model dependent
302        symbol.
303        Macros which were not used by cpukit have been
304        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
305       
3062008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
307
308        * include/rtems/status-checks.h: Fix style.
309
3102008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
311
312        * rtems/include/rtems/rtems/intr.h: Documentation.
313
314        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
315        Interrupt Manager (shared handler and handler with a handle).
316
317
3182008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
319
320        * cpukit/include/rtems/status-checks.h: Macros for status code and
321        return value checks.
322
323        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
324
325        * cpukit/libfs/src/dosfs/msdos_dir.c,
326        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
327        to file mode.
328
329        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
330        messages.  Driver operations table is now constant.  New entry in the
331        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
332        continuously transmitted in read only functions.
333
3342008-07-03      Chris Johns <chrisj@rtems.org>
335
336        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
337        interface that is supported.
338
339        * cpukit/libcsupport/Makefile.am,
340        cpukit/libcsupport/preinstall.am: Remove chain.h header
341        references.
342
343        * cpukit/sapi/include/rtems/chain.h,
344        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
345        interface.
346
347        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
348        include the new chains interface.
349
350        * cpukit/libfs/src/imfs/imfs.h,
351        cpukit/libfs/src/imfs/imfs_creat.c,
352        cpukit/libfs/src/imfs/imfs_debug.c,
353        cpukit/libfs/src/imfs/imfs_directory.c,
354        cpukit/libfs/src/imfs/imfs_fsunmount.c,
355        cpukit/libfs/src/imfs/imfs_getchild.c,
356        cpukit/libfs/src/imfs/imfs_load_tar.c,
357        cpukit/libfs/src/imfs/imfs_rmnod.c,
358        cpukit/libfs/src/imfs/memfile.c,
359        cpukit/libfs/src/nfsclient/src/nfs.c,
360        cpukit/libcsupport/include/rtems/libio.h,
361        cpukit/libcsupport/src/malloc_deferred.c,
362        cpukit/libcsupport/src/mount.c,
363        cpukit/libcsupport/src/privateenv.c,
364        cpukit/libcsupport/src/unmount.c: Change to the new chains
365        interface.
366
367        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
368
3692008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
370
371        * score/include/rtems/score/thread.h,
372        score/src/threaddispatch.c, score/src/threadinitialize.c:
373        Support rtems_ada_self iff __RTEMS_ADA__ is given.
374
3752008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
376
377        * libmisc/shell/shell_script.c: Remove unused function.
378
3792008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
380
381        * configure.ac: Add __RTEMS_ADA__.
382
3832008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
384
385        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
386        libnetworking/libc/getservbyname.c,
387        libnetworking/libc/getservbyport.c: Add initial versions of
388        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
389        point they are just simple weappers for the version without the _r in
390        the name.
391
3922008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
393
394        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
395        Review association tables in monitor.
396
3972008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
398
399        * configure.ac, rtems/src/semtranslatereturncode.c,
400        score/include/rtems/score/coremutex.h,
401        score/include/rtems/score/thread.h,
402        score/inline/rtems/score/coremutex.inl,
403        score/src/coremutex.c, score/src/coremutexsurrender.c,
404        score/src/threadinitialize.c:
405        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
406
4072008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
408
409        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
410        * libgnat/Makefile.am: Use LIBGNAT.
411        * wrapup/Makefile.am: Use LIBGNAT.
412
4132008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
414
415        * acinclude.m4: Add magic to update cpuopt.h.
416        * configure.ac: Remove magic to update cpuopt.h.
417
4182008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
419
420        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
421        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
422        Cleanup mal-formated RTEMS_CPUOPT's.
423
4242008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
425
426        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
427        AC_PREREQ(2.62).
428
4292008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
430
431        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
432        than a number.
433
4342008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
435
436        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
437        still reserved memory for the reentrancy structure. This is about 1K
438        per task. On psim, we now reserve only 1936 bytes and only 240 remain
439        after all allocations. Further analysis will be required to narrow
440        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
441        be defined and the structure named Configuration_Memory_Debug will be
442        instantiated. This structure contains many of the component values
443        that go into the memory reservation computation. This is helpful when
444        tracking down problems.
445
4462008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
447
448        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
449        was always adding heap overhead even when the number of objects
450        configured was zero and we would not do an allocation. This resulted
451        in an over estimation of the amount of Workspace required (~2K on
452        minimum.exe on PowerPC).
453
4542008-06-17      Chris Johns <chrisj@rtems.org>
455
456        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
457        remove warning.
458       
459        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
460        priority level for large memory Coldfires.
461
4622008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
463
464        * rtems/include/rtems/rtems/config.h,
465        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
466        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
467        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
468
4692008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
470
471        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
472        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
473        CONFIGURE_MAXIMUM_PRIORITY.
474
4752008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
476
477        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
478        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
479        sapi/include/confdefs.h, sapi/include/rtems/config.h,
480        score/inline/rtems/score/stack.inl, score/src/isr.c,
481        score/src/mpci.c, score/src/threadcreateidle.c,
482        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
483        ability for application to configure minimum stack size. Add
484        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
485        indicate they want the configured as opposed to the recommended
486        minimum stack size.
487
4882008-06-10      Chris Johns <chrisj@rtems.org>
489
490        * score/include/rtems/score/priority.h: Let the CPU define the
491        maximum and minimum priority levels to reduce the amount of memory
492        thread chains use.
493
4942008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
495
496        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
497        rtems/include/rtems/rtems/config.h,
498        rtems/include/rtems/rtems/dpmem.h,
499        rtems/include/rtems/rtems/eventset.h,
500        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
501        rtems/include/rtems/rtems/ratemon.h,
502        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
503        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
504        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
505        Classic API Doxygen.
506
5072008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
508
509        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
510        score/include/rtems/score/thread.h: Complete previous patch. Add
511        typedef for cpu usage statistics.
512
5132008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
514
515        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
516        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
517        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
518        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
519        score/src/threaddispatch.c, score/src/threadinitialize.c,
520        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
521        period timing statistics. Also renamed related variables and
522        structure members so they are the same whether you are using
523        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
524        granularity. This lays the groundwork for future cleanup.
525
5262008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
527
528        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
529        particular, there was a report from that Matthew Riek that memory was
530        being reserved twice for the IDLE task. This was covering up other
531        places that under allocated memory. Before I was done, I had reworked
532        the file to be easier to read, maintain and be more accurate.
533
5342008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
535
536        * score/include/rtems/score/isr.h, score/src/isr.c: Use
537        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
538        memory for vector table.
539
5402008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
541
542        * score/src/wkspace.c: Fix error in comment.
543
5442008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
545
546        * posix/src/psignal.c: Do not allocate any memory for queued signals if
547        the configuration parameter is 0. Before we would end up with an
548        allocation of 0 which rounded up and wasted some memory when POSIX
549        was configured.
550
5512008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
552
553        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
554        the target toolset uses init/fini sections.
555
5562008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
557
558        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
559        has no functional data in the user extension data area structure so
560        this disables the definition, allocation and deallocation of that
561        structure. If we ever have to add data to it, then it will be easy to
562        reenable.
563
5642008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
565
566        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
567        score/src/threadget.c: Make sure the pointer to the API object table
568        is valid before derefencing it.
569
5702008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
571
572        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
573        calls for leading underscore on private RTEMS variables.
574
5752008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
576
577        * score/include/rtems/score/object.h,
578        score/include/rtems/score/watchdog.h: Move #include's out of
579        extern "C" {}.
580
5812008-05-30      Till Straumann <strauman@slac.stanford.edu>
582
583        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
584        release node if rtems_filesystem_evaluate_path() fails
585        in nfs_eval_link() since pathloc contains no valid node.
586
5872008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
588
589        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
590        while at prompt results in shell logging out and connection still
591        being available.
592
5932008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
594
595        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
596        fini() as part of exit(). This avoids atexit() being a required
597        function.
598
5992008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
600
601        * libmisc/shell/shell.c: Minor change so dropping connection during
602        login prompt results in connection still being available.
603
604
6052008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
606
607        * score/include/rtems/score/object.h,
608        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
609        and RTEMS_ID_NONE.  No object can have this ID.
610
6112008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
612
613        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
614        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
615        libcsupport/src/base_fs.c, libcsupport/src/error.c,
616        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
617        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
618        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
619        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
620        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
621        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
622        libfs/src/imfs/imfs_handlers_device.c,
623        libfs/src/imfs/imfs_handlers_directory.c,
624        libfs/src/imfs/imfs_handlers_link.c,
625        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
626        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
627        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
628        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
629        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
630        sapi/include/confdefs.h, sapi/include/rtems/io.h,
631        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
632        Added const qualifier to various pointers and data tables to
633        reduce size of data area.
634        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
635        DOSFS: Use LibBlock instead of read() to read the boot record.
636       
6372008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
638
639        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
640
6412008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
642
643        * libcsupport/src/printk.c:
644        Bugfix: String output without width option.
645
6462008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
647
648        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
649        Bugfix: Moved definition of ppp_softc into source file.
650
6512008-05-23      Till Straumann <strauman@slac.stanford.edu>
652
653        * libnetworking/netinet/ip_output.c: when fragmenting
654        multicast packets M_MCAST must be set on all fragments.
655        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
656        (see my email to rtems-users from 2008/5/15).
657
6582008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
659
660        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
661        itron/src/exd_tsk.c, itron/src/task.c,
662        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
663        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
664        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
665        posix/src/testcancel.c, rtems/src/taskdelete.c,
666        score/inline/rtems/score/object.inl, score/src/objectclose.c,
667        score/src/threadclose.c: Make all task delete/exit/cancel routines
668        follow the same critical section pattern. Also ensure that POSIX
669        cancelation routines are run at thread exit.
670
6712008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
672
673        * libcsupport/src/termios_baud2index.c,
674        libcsupport/src/termios_baud2num.c,
675        libcsupport/src/termios_num2baud.c,
676        libcsupport/src/termios_setinitialbaud.c: New files.
677
6782008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
679
680        * libcsupport/Makefile.am, libcsupport/preinstall.am,
681        libcsupport/include/rtems/termiostypes.h: Move termios helper
682        routines from libchip to libcsupport. Add routine which makes it easy
683        for a termios device driver to inform termios of its default baud
684        rate. This avoids inconsistencies in later termios settings changes.
685
6862008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
687
688        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
689
6902008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
691
692        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
693        interface for Watchdog Driver.
694        * libcsupport/include/rtems/watchdogdrv.h: New file.
695
6962008-05-16      Till Straumann <strauman@slac.stanford.edu>
697
698        * score/src/threadchangepriority.c: Just in case the transient
699        state was set when we entered, ensure that it is still set when
700        we exit.
701        * score/src/threadclose.c: When a thread is being deleted, it should
702        go into the dormant state -- not the transient state.
703
7042008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
705
706        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
707        driver private data
708
7092008-05-13      Eric Norum: <norume@aps.anl.gov>
710
711        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
712        structure assignment.
713
7142008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
715
716        * libi2c/libi2c.h: Fix typo.
717
7182008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
719
720        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
721        CPUKIT.
722
7232008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
724
725        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
726        initialization routines to rtems_initialize_data_structures,
727        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
728        rtems_initialize_start_multitasking. This opened the sequence up so
729        that bootcard() could provide a more robust and flexible framework
730        which is easier to explain and understand. This also lays the
731        groundwork for sharing the division of available memory between the
732        RTEMS workspace and heap and the C library initialization across all
733        BSPs.
734
7352008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
736
737        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
738        comments.
739
7402008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
741
742        * score/src/objectget.c: Improve comments and readability.
743
7442008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
745
746        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
747        score/src/coresemseize.c, score/src/threadhandler.c: Comment
748        improvements from class.
749
7502008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
751
752        PR 1285/rtems
753        * sapi/include/rtems/config.h: Remove obsolete
754        rtems_configuration_get_maximum_devices().
755
7562008-05-01      Chris Johns <chrisj@rtems.org>
757
758        * libblock/include/rtems/nvdisk-sram.h,
759        libblock/include/rtems/nvdisk.h,
760        libblock/src/nvdisk-sram.c,
761        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
762        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
763        the NV disk driver.
764
7652008-05-01  Maarten Van Es <maarten@mind.be>
766
767        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
768        interface for rtems_dhcp_failsafe.
769        * libnetworking/rtems/rtems_dhcp.h: Added interface for
770        rtems_dhcp_failsafe.
771
7722008-05-01  Arnout Vandecappelle <arnout@mind.be>
773
774        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
775        return on timeout in bootpc_call().  Removed panic()s.
776        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
777        SIOCAIFADDR ioctl call.
778        * libnetworking/rtems/rtems_dhcp_failsafe.c,
779        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
780        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
781        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
782
7832008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
784
785        * rtems/include/rtems/rtems/timer.h: Fix typo.
786
7872008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
788
789        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
790        rtems/include/rtems/rtems/status.h,
791        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
792        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
793
7942008-04-28      Daron Chabot <daron.chabot@usask.ca>
795
796        * posix/src/keycreate.c, posix/src/pthreadequal.c,
797        rtems/src/semtranslatereturncode.c,
798        score/src/threadblockingoperationcancel.c: Fix compilation errors
799        when --enable-rtems-debug is used.
800
8012008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
802
803        * score/include/rtems/system.h: Fix typo in comment.
804
8052008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
806
807        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
808        typos added with recent changes.
809
8102008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
811
812        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
813        rtems_termios_reserve_resources. It is obsolete.
814        * libcsupport/src/termiosreserveresources.c: Removed.
815
8162008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
817
818        * rtems/mainpage.h: New file.
819
8202008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
821
822        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
823        rtems/include/rtems/rtems/attr.h,
824        rtems/include/rtems/rtems/barrier.h,
825        rtems/include/rtems/rtems/barriermp.h,
826        rtems/include/rtems/rtems/cache.h,
827        rtems/include/rtems/rtems/config.h,
828        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
829        rtems/include/rtems/rtems/eventmp.h,
830        rtems/include/rtems/rtems/eventset.h,
831        rtems/include/rtems/rtems/intr.h,
832        rtems/include/rtems/rtems/message.h,
833        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
834        rtems/include/rtems/rtems/msgmp.h,
835        rtems/include/rtems/rtems/options.h,
836        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
837        rtems/include/rtems/rtems/ratemon.h,
838        rtems/include/rtems/rtems/region.h,
839        rtems/include/rtems/rtems/regionmp.h,
840        rtems/include/rtems/rtems/rtemsapi.h,
841        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
842        rtems/include/rtems/rtems/signal.h,
843        rtems/include/rtems/rtems/signalmp.h,
844        rtems/include/rtems/rtems/status.h,
845        rtems/include/rtems/rtems/support.h,
846        rtems/include/rtems/rtems/taskmp.h,
847        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
848        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
849        rtems/inline/rtems/rtems/attr.inl,
850        rtems/inline/rtems/rtems/barrier.inl,
851        rtems/inline/rtems/rtems/dpmem.inl,
852        rtems/inline/rtems/rtems/event.inl,
853        rtems/inline/rtems/rtems/message.inl,
854        rtems/inline/rtems/rtems/modes.inl,
855        rtems/inline/rtems/rtems/options.inl,
856        rtems/inline/rtems/rtems/part.inl,
857        rtems/inline/rtems/rtems/ratemon.inl,
858        rtems/inline/rtems/rtems/region.inl,
859        rtems/inline/rtems/rtems/sem.inl,
860        rtems/inline/rtems/rtems/status.inl,
861        rtems/inline/rtems/rtems/support.inl,
862        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
863
8642008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
865
866        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
867        rtems/include/rtems/rtems/attr.h,
868        rtems/include/rtems/rtems/barrier.h,
869        rtems/include/rtems/rtems/barriermp.h,
870        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
871        rtems/include/rtems/rtems/config.h,
872        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
873        rtems/include/rtems/rtems/eventmp.h,
874        rtems/include/rtems/rtems/eventset.h,
875        rtems/include/rtems/rtems/intr.h,
876        rtems/include/rtems/rtems/message.h,
877        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
878        rtems/include/rtems/rtems/msgmp.h,
879        rtems/include/rtems/rtems/object.h,
880        rtems/include/rtems/rtems/options.h,
881        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
882        rtems/include/rtems/rtems/ratemon.h,
883        rtems/include/rtems/rtems/region.h,
884        rtems/include/rtems/rtems/regionmp.h,
885        rtems/include/rtems/rtems/rtemsapi.h,
886        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
887        rtems/include/rtems/rtems/signal.h,
888        rtems/include/rtems/rtems/signalmp.h,
889        rtems/include/rtems/rtems/status.h,
890        rtems/include/rtems/rtems/support.h,
891        rtems/include/rtems/rtems/taskmp.h,
892        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
893        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
894        rtems/inline/rtems/rtems/attr.inl,
895        rtems/inline/rtems/rtems/barrier.inl,
896        rtems/inline/rtems/rtems/dpmem.inl,
897        rtems/inline/rtems/rtems/event.inl,
898        rtems/inline/rtems/rtems/eventset.inl,
899        rtems/inline/rtems/rtems/message.inl,
900        rtems/inline/rtems/rtems/modes.inl,
901        rtems/inline/rtems/rtems/options.inl,
902        rtems/inline/rtems/rtems/part.inl,
903        rtems/inline/rtems/rtems/ratemon.inl,
904        rtems/inline/rtems/rtems/region.inl,
905        rtems/inline/rtems/rtems/sem.inl,
906        rtems/inline/rtems/rtems/status.inl,
907        rtems/inline/rtems/rtems/support.inl,
908        rtems/inline/rtems/rtems/tasks.inl,
909        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
910        header files to Doxygen.
911        * rtems/Doxyfile: New file.
912
9132008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
914
915        * posix/src/key.c: Include <limits.h>
916        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
917        a NULL extension block.
918
9192008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
920
921        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
922        application configuration errors. If any POSIX objects or a POSIX
923        init thread is configured without POSIX being configure, then error
924        out. Similarly for ITRON. Add
925        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
926        parameter so the application has to explicitly configure the Clock
927        driver in or out if the Timer driver is not configured. Also verify
928        RTEMS was built for multiprocessing, if the user tries to configure a
929        multiprocessing application.
930
9312008-04-12      Chris Johns <chrisj@rtems.org>
932
933        * libmisc/shell/shell.c, libmisc/shell/shell.h,
934        libmisc/shell/shell_script.c: Add support to echo the commands to
935        stdout. This is useful with the -v script option to show commands
936        as the run. Also added support to chdir to the directory the task
937        invoking the script is in.
938        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
939        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
940        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
941        support.
942
9432008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
944
945        * score/include/rtems/score/tod.h: Fix typo.
946
9472008-04-08      Chris Johns <chrisj@rtems.org>
948
949        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
950        into argv parts. Was using the command line history buffer so the
951        history was being corrupted.
952
9532008-04-03      Chris Johns <chrisj@rtems.org>
954
955        * libfs/src/nfsclient/src/librtemsNfs.h,
956        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
957        external to RTEMS and even if in the cpukit it should not cross
958        reference in this way.
959        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
960        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
961        in the shell area.
962        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
963        support.
964
9652008-03-29      Chris Johns <chrisj@rtems.org>
966
967        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
968        reported to the mailing list by Pierre Kestener
969        (pierre.kestener@cea.fr).
970
9712008-03-25      Till Straumann <strauman@slac.stanford.edu>
972
973        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
974          coldfire.
975
9762008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
977
978        * libmisc/shell/cmds.c: Directly register the command structure to
979        avoid unnecessary duplication of static strings. We know best this
980        time.
981
9822008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
983
984        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
985        for the ITRON initialization tasks ALL the time.
986        Do not reserve memory for the object name table since it does not
987        exist any longer.
988        * sapi/include/rtems/sptables.h: Fix typo.
989
9902008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
991
992        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
993        rtems/src/clockget.c:
994        * rtems/src/clockgetsecondssinceepoch.c,
995        rtems/src/clockgettickspersecond.c,
996        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
997        rtems/src/clockgettodtimeval.c: New files.
998        Refactored rtems_clock_get into 5 methods which are single purpose
999        and more strongly typed.  They are:
1000            rtems_clock_get_tod - Get TOD in Classic API structure
1001            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1002            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1003            rtems_clock_get_ticks_since_boot - Get ticks since boot
1004            rtems_clock_get_ticks_per_second - Get ticks per second
1005
10062008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1007
1008        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1009        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1010        ensure it is zeroed out each time we use getopt_r().
1011        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1012        This makes the scripts behave more like UNIX scripts.
1013
10142008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1015
1016        * posix/Makefile.am: Make clock_settime() available always just like
1017        clock_gettime().
1018
10192008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1020
1021        * score/include/rtems/score/copyrt.h: Update year.
1022
10232008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1024
1025        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1026        by gcc newer than the 4.3 release series.
1027
10282008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1029
1030        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1031        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1032        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1033        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1034        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1035        libmisc/shell/shell.c, libmisc/shell/shell.h,
1036        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1037        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1038        capability to automatically execute a script from the filesystem. Add
1039        echo command from NetBSD and sleep command.
1040        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1041        libmisc/shell/shell_script.c: New files.
1042
10432008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1044
1045        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1046        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1047        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1048        score/src/threadclose.c, score/src/threadcreateidle.c,
1049        score/src/threadinitialize.c: Switch task create and delete
1050        operations to using API Allocator Mutex. This moves almost all uses
1051        of the RTEMS Workspace from dispatching disabled to mutex protected
1052        which should improve deterministic behavior. The implementation was
1053        carefully done to allow task create and delete extensions to invoke
1054        more services. In particular, a task delete extension should be able
1055        to do mutex and file operations.
1056
10572008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1058
1059        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1060        enabled.
1061
10622008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1063
1064        * libcsupport/src/chroot.c: Formatting.
1065
10662008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1067
1068        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1069        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1070        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1071        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1072        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1073        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1074        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1075        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1076        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1077        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1078        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1079        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1080        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1081        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1082        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1083        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1084        libmisc/shell/shell.h: Clean up done while writing documentation.
1085        Some command improvements such as date now allows setting of the
1086        current TOD. Often commands did not use stdout/stderr per
1087        expectations and did not return -1 on an error.
1088
10892008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1090
1091        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1092        the use of RPC/XDR could be an issue, the code does build multilib
1093        across all targets. There are a few remaining warnings to deal with.
1094        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1095        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1096        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1097        libfs/src/nfsclient/rfc1094.txt,
1098        libfs/src/nfsclient/proto/mount_prot.h,
1099        libfs/src/nfsclient/proto/mount_prot.x,
1100        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1101        libfs/src/nfsclient/proto/nfs_prot.h,
1102        libfs/src/nfsclient/proto/nfs_prot.x,
1103        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1104        libfs/src/nfsclient/src/cexphelp.c,
1105        libfs/src/nfsclient/src/dirutils.c,
1106        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1107        libfs/src/nfsclient/src/nfs.modini.c,
1108        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1109        libfs/src/nfsclient/src/rpcio.h,
1110        libfs/src/nfsclient/src/rpcio.modini.c,
1111        libfs/src/nfsclient/src/sock_mbuf.c,
1112        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1113
11142008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1115
1116        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1117        missing field to default multiprocessing configuration table. Also
1118        document fields in Doxygen format.
1119
11202008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1121
1122        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1123        warnings.
1124
11252008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1126
1127        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1128        command to access statistics reporting functions in TCP/IP stack.
1129        * libmisc/shell/main_netstats.c: New file.
1130
11312008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1132
1133        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1134        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1135        ifconfig commands. The code for these was previously in the
1136        networking guide. Disable NFS filesystem mount until that code is in
1137        cpukit.
1138        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1139
11402008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1141
1142        * posix/preinstall.am,  libcsupport/preinstall.am:
1143        Revert Joel's  2008-01-31 screw up.
1144
11452008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1146
1147        * posix/include/rtems/posix/timer.h: Add c++ guards.
1148        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1149        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1150        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1151        MC68230_ to avoid preprocessor clashes.
1152
11532008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1154
1155        * posix/src/mqueueunlink.c, score/Makefile.am,
1156        score/include/rtems/score/object.h,
1157        score/inline/rtems/score/object.inl: Enhance
1158        _Objects_Namespace_remove() to handle freeing object names which are
1159        strings. All changed _Objects_Close() to call
1160        _Objects_Namespace_remove(). The resulting code was then moved from
1161        inline routines to function calls.
1162        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1163
11642008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1165
1166        * libcsupport/src/printk.c: Added width and padding for %s.
1167        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1168        strings longer than 4 chanracters.
1169
11702008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1171
1172        PR 1277/networking
1173        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1174        constraint for assembly language. This restricts the register choice
1175        to the a-d registers.
1176
11772008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1178
1179        * libnetworking/kern/uipc_socket2.c,
1180        libnetworking/netinet/tcp_usrreq.c,
1181        libnetworking/netinet/udp_usrreq.c,
1182        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1183        Add configuration parameters for network stack efficiency multiplier
1184        and default socket buffer sizes. Change default multiplier from 8 to
1185        2 to match GNU/Linux. This has no impact on performance on the BSPs
1186        tested.
1187
11882008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1189
1190        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1191        workspace manipulation routines for testing.
1192        * rtems/src/workspace.c: New file.
1193
11942008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1195
1196        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1197        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1198        Object Id of SELF.
1199
12002008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1201
1202        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1203        Minor modifications to improve testability.
1204        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1205
12062008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1207
1208        * posix/src/pthreadinitthreads.c: Clean up error paths.
1209
12102008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1211
1212        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1213        changes which aid in coverage testing.
1214
12152008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1216
1217        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1218        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1219        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1220        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1221        whether named or unnamed to have a string name.  If the API does
1222        not directly support having a name, then the user must explicitly
1223        assign it using rtems_object_set_name().
1224        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1225        * score/include/rtems/score/object.h,
1226        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1227        score/src/objectsetname.c: Modifications required to pass testing of
1228        recently modified object name operations.  Also eliminated
1229        multiprocessing related code that was not reachable.
1230
12312008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1232
1233        * posix/src/timersettime.c: Fix to remove warning.
1234
12352008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1236
1237        * libcsupport/src/posix_memalign.c: Remove warning.
1238
12392008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1240
1241        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1242        rtems/include/rtems/rtems/object.h,
1243        rtems/src/rtemsobjectgetapiclassname.c,
1244        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1245        cannot be used as a parameter.
1246
12472008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1248
1249        * score/Makefile.am, score/include/rtems/score/threadq.h,
1250        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1251        was really too complex to be inlined.
1252        * score/src/threadqprocesstimeout.c: New file.
1253
12542008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1255
1256        * score/Doxyfile: Revert Doxygen version changes.
1257
12582008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1259
1260        * score/Doxyfile: Update to latest Doxygen format.
1261        * score/include/rtems/score/apimutex.h,
1262        score/include/rtems/score/corebarrier.h,
1263        score/include/rtems/score/coremutex.h,
1264        score/include/rtems/score/corerwlock.h,
1265        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1266        score/include/rtems/score/protectedheap.h,
1267        score/include/rtems/score/thread.h,
1268        score/include/rtems/score/threadsync.h,
1269        score/include/rtems/score/tod.h,
1270        score/inline/rtems/score/corerwlock.inl,
1271        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1272        warnings.
1273
12742008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1275
1276        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1277        available when API is disabled. Do not attempt to use them.
1278
12792008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1280
1281        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1282
12832008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1284
1285        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1286        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1287        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1288        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1289        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1290        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1291        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1292        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1293        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1294        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1295        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1296        rtems/src/timerserver.c, score/Makefile.am,
1297        score/include/rtems/score/object.h,
1298        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1299        score/src/objectgetnameasstring.c,
1300        score/src/threadqextractwithproxy.c: Add new Object Services
1301        collection. This changed the name of a few previously public but
1302        undocumented services and added a some new services.
1303        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1304        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1305        rtems/src/rtemsobjectapiminimumclass.c,
1306        rtems/src/rtemsobjectgetapiclassname.c,
1307        rtems/src/rtemsobjectgetapiname.c,
1308        rtems/src/rtemsobjectgetclassicname.c,
1309        rtems/src/rtemsobjectgetclassinfo.c,
1310        rtems/src/rtemsobjectidapimaximum.c,
1311        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1312        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1313        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1314        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1315        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1316        * rtems/src/rtemsidtoname.c: Removed.
1317
13182008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1319
1320        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1321        switch statements to if statements.
1322
13232008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1324
1325        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1326        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1327        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1328        as helper and as exposed nmemalign variant with few restrictions.
1329        Also turn on compilation of _Heap_Walk but make forced calls to it
1330        conditionally compiled. This should allow more flexibility to the
1331        user as to run-time checking of the heap.
1332        * libcsupport/src/rtems_memalign.c: New file.
1333
13342008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1335
1336        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1337        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1338        Multiprocessing compiles again and survives initialization. The
1339        recent object name and confdefs.h changes had broken it.
1340
13412008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1342
1343        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1344        score/include/rtems/score/interr.h,
1345        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1346        Modifications to aid in full path testing.
1347
13482008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1349
1350        * posix/src/mqueuesendsupp.c: Remove warning.
1351
13522008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1353
1354        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1355        in public API.
1356
13572008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1358
1359        * score/include/rtems/score/object.h,
1360        score/src/objectextendinformation.c,
1361        score/src/objectinitializeinformation.c,
1362        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1363        not used.
1364
13652008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1366
1367        * score/src/objectnametoidstring.c: New file.
1368
13692008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1370
1371        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1372        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1373        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1374        libmisc/stackchk/check.c, posix/src/condinit.c,
1375        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1376        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1377        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1378        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1379        posix/src/prwlockinit.c, posix/src/pspininit.c,
1380        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1381        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1382        posix/src/timercreate.c, rtems/src/barrierident.c,
1383        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1384        rtems/src/ratemonident.c, rtems/src/regionident.c,
1385        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1386        sapi/src/extensionident.c, score/Makefile.am,
1387        score/include/rtems/score/object.h,
1388        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1389        score/src/objectextendinformation.c,
1390        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1391        score/src/objectnametoid.c: Convert the Objects_Name type from a
1392        simple type to a union of an unsigned 32 bit integer and a pointer.
1393        This should help eliminate weird casts between u32 and pointers in
1394        various places. The APIs now have to explicitly call _u32 or _string
1395        versions of helper routines. This should also simplify things and
1396        eliminate the need for ugly casts in some cases.
1397        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1398        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1399        score/src/objectcopynamestring.c: Removed.
1400
14012008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1402
1403        * score/src/threadblockingoperationcancel.c: Clean up.
1404        * score/src/threadqextract.c: Restructure to eliminate dead code.
1405
14062008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1407
1408        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1409        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1410        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1411        testing and clean up more code.
1412
14132008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1414
1415        * score/src/threadqfirst.c: Remove switch.
1416
14172008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1418
1419        * rtems/include/rtems/rtems/event.h,
1420        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1421        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1422        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1423        score/include/rtems/score/interr.h,
1424        score/include/rtems/score/thread.h,
1425        score/include/rtems/score/threadq.h,
1426        score/include/rtems/score/tqdata.h,
1427        score/inline/rtems/score/threadq.inl,
1428        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1429        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1430        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1431        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1432        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1433        score/src/threadqextractpriority.c,
1434        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1435        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1436        score/src/threadqflush.c, score/src/threadqrequeue.c,
1437        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1438        blocking synchronization critical sections. This resulted in three
1439        copies of essentially the same hard to test critical section code
1440        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1441        addition, the thread queue and event code now share a common
1442        synchronization enumerated type. Along the way, switches were
1443        reworked to eliminate dead code generated by gcc and comments and
1444        copyrights were updated.
1445        * score/include/rtems/score/threadsync.h,
1446        score/src/threadblockingoperationcancel.c: New files.
1447
14482008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1449
1450        * libi2c/README_libi2c: Correct spelling error.
1451        * score/src/threadclearstate.c: Improve comment.
1452
14532008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1454
1455        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1456        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1457        posix/src/timergettime.c, posix/src/timersettime.c,
1458        score/include/rtems/score/timespec.h:
1459
14602008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1461
1462        * libmisc/shell/Makefile.am: Don't use make variables.
1463
14642008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1465
1466        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1467        existing one.
1468
14692008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1470
1471        * score/include/rtems/score/wkspace.h,
1472        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1473        inline _Workspace_Free or _Workspace_Allocate since they are not
1474        always inlined and actually smaller overall as subroutines. They are
1475        not particularly time critical so inlining is not absolutely
1476        necessary.
1477
14782008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1479
1480        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1481        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1482        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1483        Condition Variable object get helpers because they are more
1484        complicated than the norm. They can implicitly perform a create. They
1485        cross the line as being too complex and large to inline since they
1486        negatively impact size and binary test coverage.
1487        * posix/src/condget.c, posix/src/mutexget.c: New files.
1488
14892008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1490
1491        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1492        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1493        * libcsupport/src/malloc_p.h: Correct prototype.
1494
14952008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1496
1497        * score/include/rtems/score/coremutex.h,
1498        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1499        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1500
15012008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1502
1503        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1504
15052008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1506
1507        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1508        libcsupport/src/free.c, libcsupport/src/malloc.c,
1509        libcsupport/src/malloc_deferred.c,
1510        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1511        libcsupport/src/malloc_sbrk_helpers.c,
1512        libcsupport/src/posix_memalign.c: Place all deferred free code and
1513        place it in subroutines. Add plugin for dirtying allocated memory to
1514        assist in debugging. Clean up comments and spacing as needed.
1515        * libcsupport/src/malloc_dirtier.c: New file.
1516
15172008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1518
1519        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1520        when there is an error.
1521
15222008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1523
1524        * posix/src/keycreate.c, rtems/src/eventseize.c,
1525        score/include/rtems/score/interr.h: Rearranged source to allow more
1526        test coverage.
1527
15282008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1529
1530        * libcsupport/src/__assert.c: Clean up and make __assert() call
1531        __assert_func().
1532
15332008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1534
1535        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1536        need to have it also.
1537
15382008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1539
1540        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1541        * libcsupport/include/rtems/malloc.h,
1542        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1543        libcsupport/src/malloc_p.h,
1544        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1545        support pluggable and optional.  This eliminates the need for
1546        heap extend and sbrk in the minimum footprint which is ~2.5K on
1547        the SPARC.
1548        * sapi/include/confdefs.h: Add the following configuration points:
1549          + CONFIGURE_MALLOC_STATISTICS
1550          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1551        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1552
15532008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1554
1555        * score/Makefile.am: Add missing file.
1556
15572008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1558
1559        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1560
15612008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1562
1563        * libmisc/Makefile.am: Add new files.
1564        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1565        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1566        * libmisc/shell/shellconfig.h: Add wkspace command.
1567        * libmisc/shell/main_wkspaceinfo.c,
1568        libmisc/shell/print_heapinfo.c: New files.
1569
15702008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1571
1572        * score/inline/rtems/score/isr.inl: Fix spacing.
1573        * score/src/apimutexallocate.c: Fix spacing.
1574        * score/src/coremsgseize.c: Check for message pending instead of
1575        message pending count to avoid dead code from inlined chain routine.
1576        It checks if the chain is empty so is redundant to count == 0.
1577
15782008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1579
1580        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1581        up.
1582
15832008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1584
1585        * posix/src/pthreadcreate.c: Add commit.
1586        * posix/src/pthreadinitthreads.c: Fix line length.
1587
15882008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1589
1590        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1591
15922008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1593
1594        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1595        coding it.
1596
15972008-01-05      Chris Johns <chrisj@rtems.org>
1598
1599        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1600        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1601        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1602        control fields. Add more control fields to handle the flash when
1603        full.
1604        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1605        detects a descriptor is erased. Add support for unavailable blocks
1606        the user can configure. Print the used list as a diag. Fix the bug
1607        when a page is detected as failed and present on more than one
1608        queue. Add a count to the queues so queue length can be used to
1609        manage compaction.
1610       
16112008-01-03      Till Straumann <strauman@slac.stanford.edu>
1612
1613        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1614        cannot call _fini via atexit() from rtems_shutdown_executive()
1615        because at the point where rtems_shutdown_executive is called
1616        the C-library is already dead.
1617        Instead, register an atexit(_fini) after calling _init().
1618
16192007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1620
1621        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1622        Hopefully this implementation is OK.
1623        * libcsupport/src/_rename_r.c: New file.
1624
16252007-12-22      Chris Johns <chrisj@rtems.org>
1626
1627        * configure.ac: fixed bug that always enabled strict order
1628        mutexes.
1629        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1630        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1631        list if the mutex is initialised locked.
1632        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1633        message to show the error is an rtems-net error.
1634        * libmisc/monitor/mon-network.c: Removed warnings.
1635        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1636        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1637        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1638        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1639        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1640        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1641        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1642        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1643        libmisc/shell/warnx.c: New. Ported from BSD.
1644        * libmisc/shell/shellconfig.h: Add the cp command.
1645        * libmisc/Makefile.am: Add the new files to the shell.
1646        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1647        support.
1648        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1649        bug.
1650       
16512007-12-21      Xi Yang <hiyangxi@gmail.com>
1652
1653        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1654        of priority inheritance on mutexes as well as enforce proper order of
1655        release.
1656
16572007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1658
1659        * configure.ac, score/include/rtems/score/coremutex.h,
1660        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1661        inlining coremutex seize. This reduces the code size and also
1662        improves the process of coverage analysis.
1663        * score/src/coremutexseizeintr.c: New file.
1664
16652007-12-21      Xi Yang <hiyangxi@gmail.com>
1666
1667        * configure.ac, score/include/rtems/score/coremutex.h,
1668        score/include/rtems/score/thread.h,
1669        score/inline/rtems/score/coremutex.inl,
1670        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1671        support for proper stacking of priority inheritance on mutexes as
1672        well as enforce proper order of release.
1673
16742007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1675
1676        PR 1268/cpukit
1677        * libcsupport/include/rtems/assoc.h: There is no
1678        rtems_assoc_ptr_by_value method.
1679
16802007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1681
1682        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1683        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1684
16852007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1686
1687        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1688
16892007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1690
1691        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1692
16932007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1694
1695        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1696        rtems_task_self() directive.
1697        * rtems/src/taskself.c: New file.
1698
16992007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1700
1701        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1702        and resolved copyright information.
1703        * posix/src/kill_r.c: New file.
1704
17052007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1706
1707        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1708
17092007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1710
1711        * sapi/include/confdefs.h: Revert. Requires info not available at
1712        preprocessing time.
1713
17142007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1715
1716        * sapi/include/confdefs.h: Catch the error when the user lowers the
1717        maximum number of drivers below the number of statically configured
1718        ones.
1719
17202007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1721
1722        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1723        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1724        Manager clean up. Update object id switches to new pattern. Catch
1725        some NULL parameter errors.
1726
17272007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1728
1729        * posix/src/psignalunblockthread.c: Remove source that
1730
17312007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1732
1733        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1734        only
1735
17362007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1737
1738        * posix/src/psignal.c: Move source around to enable path testing
1739
17402007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1741
1742        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1743        libcsupport/src/free.c, libcsupport/src/malloc.c,
1744        libcsupport/src/malloc_p.h,
1745        libcsupport/src/malloc_report_statistics_plugin.c,
1746        libmisc/shell/shell.c, libmisc/shell/shell.h,
1747        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1748        out management of deferred frees to subroutines.
1749        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1750
17512007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1752
1753        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1754        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1755        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1756        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1757        one function per file. Also split out statistics into a separate file
1758        which can be plugged in dynamically. Right now, it is always in. I
1759        suspect that splitting the file removed more code than leaving
1760        statistics in. I tinkered with malloc information command in the
1761        shell. I resurrected the malloc arena code as malloc boundary. This
1762        code is now compiled all the time even though it does not appear to
1763        work.
1764        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1765        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1766        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1767        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1768        libcsupport/src/malloc_get_statistics.c,
1769        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1770        libcsupport/src/malloc_report_statistics.c,
1771        libcsupport/src/malloc_report_statistics_plugin.c,
1772        libcsupport/src/malloc_statistics_helpers.c,
1773        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1774        libmisc/shell/main_perioduse.c: New files.
1775
17762007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1777
1778        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1779        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1780        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1781        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1782        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1783        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1784        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1785        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1786        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1787        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1788        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1789        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1790        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1791        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1792        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1793        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1794        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1795        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1796        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1797        rtems_Shell_ to rtems_shell_.
1798
17992007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1800
1801        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1802        with info and dump as replacement for older command. Fix what looked
1803        like a typo for mount sub-commands.
1804        * libmisc/shell/main_mallocinfo.c: New file.
1805        * libmisc/shell/main_mallocdump.c: Removed.
1806
18072007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1808
1809        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1810        malloc_info() routine.
1811        * libcsupport/src/mallocinfo.c: New file.
1812
18132007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1814
1815        * libmisc/stackchk/check.c: Add print of current stack pointer and
1816        stack info even if stack checker is not initialized.
1817
18182007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1819
1820        * libcsupport/src/printk.c: Style.
1821
18222007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1823
1824        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1825        required in multiprocessing configuration.
1826
18272007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1828
1829        * score/src/objectget.c: Revert.
1830
18312007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1832
1833        * posix/src/timergettime.c: Include rtems/score/timespec.h
1834
18352007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1836
1837        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1838        posix/include/mqueue.h, posix/include/sched.h,
1839        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1840        posix/include/rtems/posix/priority.h,
1841        posix/include/rtems/posix/psignal.h,
1842        posix/include/rtems/posix/threadsup.h,
1843        posix/include/rtems/posix/timer.h,
1844        posix/inline/rtems/posix/priority.inl,
1845        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1846        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1847        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1848        posix/src/cleanuppush.c, posix/src/cond.c,
1849        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1850        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1851        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1852        posix/src/conddestroy.c, posix/src/condinit.c,
1853        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1854        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1855        posix/src/keycreate.c, posix/src/keydelete.c,
1856        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1857        posix/src/keysetspecific.c, posix/src/mqueue.c,
1858        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1859        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1860        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
1861        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
1862        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
1863        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1864        posix/src/mqueueunlink.c, posix/src/mutex.c,
1865        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
1866        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1867        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1868        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1869        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1870        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1871        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1872        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1873        posix/src/psignal.c, posix/src/psignalchecksignal.c,
1874        posix/src/psignalclearprocesssignals.c,
1875        posix/src/psignalclearsignals.c,
1876        posix/src/psignalsetprocesssignals.c,
1877        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1878        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
1879        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
1880        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
1881        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
1882        posix/src/semclose.c, posix/src/semdestroy.c,
1883        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
1884        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
1885        posix/src/semwait.c, posix/src/setcancelstate.c,
1886        posix/src/setcanceltype.c, posix/src/sysconf.c,
1887        posix/src/testcancel.c: Add missing copyright statements.
1888
18892007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1890
1891        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
1892
18932007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1894
1895        * posix/Makefile.am, posix/preinstall.am,
1896        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
1897        Timer implementation into multiple files. Add obvious error checks
1898        for NULL parameters. Attempt to reduce include files.
1899        * posix/src/timercreate.c, posix/src/timerdelete.c,
1900        posix/src/timergetoverrun.c, posix/src/timergettime.c,
1901        posix/src/timerinserthelper.c, posix/src/timersettime.c,
1902        posix/src/timertsr.c: New files.
1903        * posix/src/ptimer1.c: Removed.
1904
19052007-12-17      Chris Johns <chrisj@rtems.org>
1906
1907        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
1908        libmisc/shell/main_unmount.c: New.
1909        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
1910        blksync, msdosfmt, and unmount commands.
1911
19122007-12-17      Chris Johns <chrisj@rtems.org>
1913
1914        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
1915        system opts table.
1916        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
1917        system opts table.
1918        * libmisc/Makefile.am: Add the mount command and supporting files.
1919        * libmisc/preinstall.am: Rebuilt.
1920        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
1921        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1922        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1923        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1924        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1925        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1926        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1927        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1928        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1929        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1930        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1931        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1932        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1933        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1934        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
1935        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
1936        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
1937        libmisc/shell/write_file.c: Move all shell_* types, variables and
1938        functions to rtems_shell_* to avoid namespace clashes with
1939        applications. The is an RTEMS shell after all.
1940        * libmisc/shell/shell.h, libmisc/shell/internal.h,
1941        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
1942        functions to rtems_shell_* to avoid namespace clashes with
1943        applications. Add the mount command supporting types.
1944        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
1945        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
1946        libmisc/shell/main_mount_tftp.c: New.
1947       
19482007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1949
1950        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
1951
19522007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1953
1954        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
1955        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
1956        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
1957        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1958        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1959        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1960        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1961        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1962        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1963        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1964        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1965        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1966        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1967        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1968        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1969        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1970        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
1971        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
1972        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
1973        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
1974        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
1975        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
1976        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
1977        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
1978        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
1979        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
1980        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
1981        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
1982        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
1983        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
1984
19852007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1986
1987        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
1988        API.
1989
19902007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1991
1992        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
1993        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
1994        Minor cleanup to improve testability and eliminate dead code.
1995
19962007-12-12      Chris Johns <chrisj@rtems.org>
1997
1998        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1999        Add RTEMS license details.
2000
20012007-12-12      Chris Johns <chrisj@rtems.org>
2002
2003        * Makefile.am, preinstall.am: Added
2004        libblock/include/rtems/flashdisk.h to the installed header list.
2005        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2006        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2007        New.
2008
20092007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2010
2011        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2012        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2013        score/Makefile.am, score/preinstall.am: Revert testing patch.
2014
20152007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2016
2017        * posix/src/sched_rr_get_interval.c: Fix warning.
2018
20192007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2020
2021        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2022        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2023        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2024        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2025        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2026        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2027        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2028        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2029        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2030        files into one function per file.
2031        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2032        posix/src/aio_read.c, posix/src/aio_return.c,
2033        posix/src/aio_suspend.c, posix/src/aio_write.c,
2034        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2035        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2036        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2037        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2038        posix/src/sched_yield.c: New files.
2039        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2040
20412007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2042
2043        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2044        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2045        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2046        posix/src/clocksettime.c, posix/src/devctl.c,
2047        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2048        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2049        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2050        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2051
20522007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2053
2054        * posix/src/adjtime.c: Clean up and verify against behavior documented
2055        in GNU/Linux man page provided with Fedora 7.
2056
20572007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2058
2059        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2060        automake variables.
2061
20622007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2063
2064        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2065        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2066        rtems/src/taskvariabledelete.c: Add test code for task variables to
2067        improve coverage.
2068        * rtems/src/taskvariable_invoke_dtor.c: New file.
2069
20702007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2071
2072        * posix/preinstall.am: Revert debug patch.
2073
20742007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2075
2076        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2077        BSP.
2078
20792007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2080
2081        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2082
20832007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2084
2085        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2086        disabled.
2087
20882007-12-12      Chris Johns <chrisj@rtems.org>
2089
2090        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2091        header list.
2092        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2093        in any order rather than before any commands have been added. Also
2094        made the command's strings be copies rather than references.
2095        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2096
20972007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2098
2099        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2100        Move Ada support code that is untestable from the Standard RTEMS Test
2101        Suite into its own directory. All code in score, posix, rtems, and
2102        sapi should be testable by the Standard RTEMS Test Suites. It was
2103        buried under POSIX before so this should be a clearer location
2104        anyway.
2105        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2106        libgnat/adasupp.c: New files.
2107        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2108
21092007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2110
2111        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2112        Reverse file contents.
2113
21142007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2115
2116        * sapi/include/rtems/config.h: Correct idle task prototype.
2117
21182007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2119
2120        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2121        libmisc/shell/internal.h, libmisc/shell/shell.c,
2122        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2123        processing now separated from main command loop. Addition of user
2124        commands and aliases tested. Monitor registration now explicit.
2125        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2126        libmisc/shell/write_file.c: New files.
2127
21282007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2129
2130        * libmisc/Makefile.am: Fix typo.
2131
21322007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2133
2134        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2135        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2136        into multiple files and add initial stages of command configuration.
2137        This seems to work but the monitor commands need to be integrated
2138        this way and the ability to configure user commands needs to be
2139        tested.
2140        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2141        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2142        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2143        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2144        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2145        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2146        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2147        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2148        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2149        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2150        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2151        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2152        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2153        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2154        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2155        libmisc/shell/str2int.c: New files.
2156
21572007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2158
2159        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2160
21612007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2162
2163        * sapi/include/rtems/config.h: Fix idle thread prototype.
2164
21652007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2166
2167        * sapi/include/confdefs.h: Separate the concept of configuring the
2168        interrupt stack size from actually reserving memory for it in the
2169        RTEMS Workspace.
2170
21712007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2172
2173        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2174        installed. It is the initialization interface for both GoAhead and
2175        Simple HTTPD.
2176
21772007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2178
2179        * sapi/include/rtems/config.h: Correct previous commit.
2180
21812007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2182
2183        * sapi/include/rtems/config.h: Commit temporary fix so
2184        interrupt_stack_size is accessible before RTEMS is initialized.
2185
21862007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2187
2188        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2189        sapi/include/rtems/init.h, sapi/src/exinit.c,
2190        score/include/rtems/system.h, score/src/isr.c: Move
2191        interrupt_stack_size field from CPU Table to Configuration Table.
2192        Eliminate CPU Table from all ports. Delete references to CPU Table in
2193        all forms.
2194
21952007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2196
2197        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2198        Table fields merged from CPU Table.
2199
22002007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2201
2202        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2203        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2204        posix/include/rtems/posix/mqueue.h,
2205        posix/include/rtems/posix/mutex.h,
2206        posix/include/rtems/posix/pthread.h,
2207        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2208        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2209        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2210        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2211        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2212        sapi/src/exinit.c, score/include/rtems/system.h,
2213        score/include/rtems/score/mpci.h, score/src/mpci.c,
2214        score/src/thread.c, score/src/threadcreateidle.c,
2215        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2216        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2217        the Configuration Table. This included pretasking_hook,
2218        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2219        extra_mpci_receive_server_stack, stack_allocate_hook, and
2220        stack_free_hook. As a side-effect of this effort some multiprocessing
2221        code was made conditional and some style clean up occurred.
2222
22232007-12-03      Chris Johns <chrisj@rtems.org>
2224
2225        * libmisc/shell/shell.h: Added comments for the parameters to the
2226        shell_init function.
2227        * libmisc/shell/shell.c: Only set cflags if tcflags is
2228        non-zero. This means the shell can use the current cflags settings
2229        and the application does not need to know the baudrate etc.
2230        * libmisc/capture/capture.h: Fix the comment.
2231
22322007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2233
2234        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2235        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2236        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2237        rtems/src/dpmemexternal2internal.c,
2238        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2239        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2240        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2241        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2242        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2243        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2244        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2245        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2246        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2247        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2248        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2249        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2250        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2251        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2252        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2253        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2254        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2255        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2256        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2257        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2258        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2259        rtems/src/timerserverfirewhen.c: Restructured all code with
2260        the switch (location) pattern so that OBJECTS_LOCAL is first
2261        and we can fall into it and the OBJECTS_ERROR case breaks
2262        to a return RTEMS_INVALID_ID.  This eliminates the return
2263        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2264        was unreachable and untestable code.  This resulted in a code
2265        savings of approximately 20 bytes per file on the SPARC/ERC32.
2266
22672007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2268
2269        * posix/Makefile.am: Restructed to move the
2270        OBJECTS_LOCAL case to the top of the switch statement and
2271        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2272        changes produced simplier assembly code and allowed for complete
2273        test coverage.  Also applied some consistency to the functions
2274        that translate the core status codes to POSIX status codes.
2275
22762007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2277
2278        * posix/include/rtems/posix/mutex.h,
2279        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2280        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2281        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2282        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2283        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2284        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2285        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2286        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2287        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2288        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2289        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2290        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2291        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2292        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2293        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2294        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2295        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2296        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2297        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2298        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2299        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2300        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2301        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2302        posix/src/semclose.c, posix/src/semdestroy.c,
2303        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2304        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2305        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2306        score/include/rtems/score/corebarrier.h,
2307        score/include/rtems/score/coremsg.h,
2308        score/include/rtems/score/coremutex.h,
2309        score/include/rtems/score/coresem.h: Restructed to move the
2310        OBJECTS_LOCAL case to the top of the switch statement and
2311        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2312        changes produced simplier assembly code and allowed for complete
2313        test coverage.  Also applied some consistency to the functions
2314        that translate the core status codes to POSIX status codes.
2315        * posix/src/mutextranslatereturncode.c,
2316        posix/src/semaphoretranslatereturncode.c: New files.
2317        * posix/src/mutexfromcorestatus.c: Removed.
2318
23192007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2320
2321        * posix/inline/rtems/posix/priority.inl: Fix typo.
2322
23232007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2324
2325        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2326        score/include/rtems/score/thread.h, score/src/object.c,
2327        score/src/thread.c: Conditionally compile out more code that is
2328        specific to multiprocessor configurations.
2329
23302007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2331
2332        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2333        posix/src/conddestroy.c, posix/src/condinit.c,
2334        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2335        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2336        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2337        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2338        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2339        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2340        posix/src/mutexattrgetprioceiling.c,
2341        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2342        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2343        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2344        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2345        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2346        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2347        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2348        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2349        posix/src/semclose.c, posix/src/semdestroy.c,
2350        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2351        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2352        Remove all pretense of POSIX MP support. The support in place was
2353        only a shell. This should make maintenance easier.
2354        * posix/include/rtems/posix/condmp.h,
2355        posix/include/rtems/posix/mqueuemp.h,
2356        posix/include/rtems/posix/mutexmp.h,
2357        posix/include/rtems/posix/pthreadmp.h,
2358        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2359        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2360
23612007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2362
2363        * configure.ac, score/inline/rtems/score/thread.inl,
2364        score/src/threaddispatch.c: Add ability for user to disable inlining
2365        of _Thread_Enable_dispatch. This can save code space but more
2366        importantly it means the binary generated does not have code inlined
2367        that is difficult to test and very seldom executed.
2368
23692007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2370
2371        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2372        rtems/include/rtems/rtems/barrier.h,
2373        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2374        score/src/corerwlockrelease.c: Fixed several implementation errors.
2375
23762007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2377
2378        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2379        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2380        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2381        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2382        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2383        case to the top of the switch statement, have a single exit with one
2384        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2385        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2386        code and allowed for complete test coverage.
2387
23882007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2389
2390        * sapi/include/confdefs.h,
2391        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2392        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2393
23942007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2395
2396        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2397
23982007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2399
2400        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2401        support Thumb.
2402
24032007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2404
2405        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2406        Now works on gen5200/icecube.
2407
24082007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2409
2410        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2411
24122007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2413
2414        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2415
24162007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2417
2418        * score/include/rtems/score/thread.h: Fix spelling error.
2419
24202007-11-17      Till Straumann <strauman@slac.stanford.edu>
2421
2422        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2423        Added checks so that use of 'stdio' is avoided (falling
2424        back to 'printk') before the system is up.
2425        Publish driver entry points so that the libi2c driver could
2426        be added to the applications 'device driver table'.
2427        This is not fully implemented yet, though, since in addition to
2428        initializing libi2c the low-level i2c bus drivers as well
2429        as high-level i2c device drivers need to be registered
2430        with the library.
2431        Updated README_libi2c accordingly.
2432
24332007-11-17      Till Straumann <strauman@slac.stanford.edu>
2434
2435        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2436        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2437        so that it knows what PHY they want to look at.
2438
24392007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2440
2441        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2442        in opposite files. Whoops!
2443
24442007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2445
2446        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2447        of the focus was on the beginning stages of making the login checker
2448        pluggable just like the shell.
2449
24502007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2451
2452        * posix/src/mprotect.c: Update comments.
2453
24542007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2455
2456        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2457        will require gcc 4.3 or newer.
2458        * posix/src/ada_intrsupp.c: New file.
2459
24602007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2461
2462        * sapi/src/exinit.c, score/Makefile.am,
2463        score/include/rtems/score/apimutex.h: API Mutex calls should never
2464        have been inlined. Inlining them lead to many inlined copies of core
2465        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2466        minimum.exe.
2467        * score/src/apimutex.c, score/src/apimutexallocate.c,
2468        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2469
24702007-11-07      Till Straumann <strauman@slac.stanford.edu>
2471
2472        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2473        around _CPU_ISR_Set_level().
2474
24752007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2476
2477        * score/inline/rtems/score/object.inl: During test coverage analysis,
2478        we identified this sanity check which should have been conditional on
2479        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2480        operations. With all APIs enabled, this saved 352 bytes from the
2481        minimum executable on the SPARC/ERC32.
2482
24832007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2484
2485        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2486        compiler conditional attribute for methods that do not return. This
2487        avoids gcc generating unreachable code following calls to
2488        _Internal_error_Occurred.
2489
24902007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2491
2492        * configure.ac: Add ARM/Thumb Makefile.
2493
24942007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2495
2496        PR 1266/cpukit
2497        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2498        of class for key indexing.
2499
25002007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2501
2502        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2503        Fix headers and formatting.
2504
25052007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2506
2507        Miscellaneous changes made after a review against the POSIX spec.
2508        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2509        passes a NULL in the attributes parameter, default attributes are used.
2510        * posix/src/prwlockdestroy.c: If there is at least one thread
2511        waiting, do not allow deletion.
2512        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2513        operation used to obtain a RWLock for writing.
2514        * posix/src/pspinlocktranslatereturncode.c,
2515        score/include/rtems/score/corespinlock.h,
2516        score/src/corespinlockrelease.c: If the current thread is not the
2517        holder of the lock, do not allow an unlock and return EPERM.
2518        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2519        for queueing with a timeout handler.
2520
25212007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2522
2523        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2524        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2525        stack so gdb backtrace does not print corrupted frame message after
2526        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2527        SPARC implementation and I made it more general.
2528
25292007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2530
2531        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2532        Cleaned up reports and fixed a bug related the printf format which
2533        resulted in lack of leading zeroes and misleading magnitude.
2534        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2535
25362007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2537
2538        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2539        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2540        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2541        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2542        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2543        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2544        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2545        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2546        posix/src/condinit.c, posix/src/condsignalsupp.c,
2547        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2548        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2549        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2550        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2551        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2552        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2553        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2554        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2555        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2556        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2557        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2558        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2559        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2560        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2561        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2562        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2563        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2564        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2565        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2566        posix/src/semclose.c, posix/src/semdestroy.c,
2567        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2568        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2569        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2570        rtems/src/dpmemexternal2internal.c,
2571        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2572        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2573        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2574        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2575        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2576        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2577        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2578        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2579        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2580        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2581        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2582        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2583        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2584        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2585        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2586        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2587        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2588        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2589        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2590        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2591        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2592        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2593        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2594        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2595        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2596        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2597        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2598        score/src/mpci.c, score/src/objectgetnameasstring.c,
2599        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2600        multiprocessing is disabled, do not even allow the constant
2601        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2602        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2603        in the generation of binary code which can NOT be reached.
2604
26052007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2606
2607        * score/Makefile.am, score/include/rtems/score/thread.h,
2608        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2609        resulted in unnessary code explosion, many uncovered paths when
2610        looking at binary executable coverage, and only optimized getting
2611        self. Id translations were still getting pushed to a subroutine call
2612        to _Objects_Get. Later the non-inlined version can be further
2613        optimized to get Ids in range for the current API, then self, then
2614        look at other APIs.
2615        * score/src/threadget.c: New file.
2616
26172007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2618
2619        * libi2c/README-libi2c
2620        document structure of libi2c library
2621
26222007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2623
2624        * libi2c/libi2c.c, libi2c/libi2c.h:
2625        extend API to support SPI devices
2626        made libi2c.h C++-proof
2627
26282007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2629
2630        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2631        also in another file.  Mistake after splitting.
2632        * libcsupport/Makefile.am: Reflect file removal.
2633
26342007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2635
2636        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2637        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2638        Minor updates from FreeBSD.
2639
26402007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2641
2642        * score/include/rtems/score/copyrt.h: Update year.
2643
26442007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2645
2646        * score/include/rtems/score/copyrt.h: Update year.
2647
26482007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2649
2650        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2651        Fixed check of status when registering driver. Add use of strerror().
2652
26532007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2654        Ralf Corsépius <ralf.corsepius@rtems.org>
2655
2656        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2657        libnetworking/libc/if_indextoname.c,
2658        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2659        * Makefile.am: Add files above.
2660        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2661
26622007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2663
2664        * libmisc/stackchk/check.c: Eliminate output with little information.
2665        Always print a blown message using the same routine. Now works with
2666        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2667        support in your GCC version.
2668
26692007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2670
2671        * libcsupport/src/gxx_wrappers.c: Revert.
2672
26732007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2674
2675        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2676        PRId32 to fix warning.
2677
26782007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2679
2680        * telnetd/passwd.h: New file.
2681
26822007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2683
2684        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2685        telnetd/telnetd.h: telnetd rewrite.
2686        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2687
26882007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2689
2690        PR 1262/filesystem
2691        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2692        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2693        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2694        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2695        writev() including documentation and test case.
2696        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2697
26982007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2699
2700        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2701        document what is required to provide a fully functional
2702        implementation.
2703        * libnetworking/rtems/rtems_socketpair.c: New file.
2704
27052007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2706
2707        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2708        Bump RTEMS_VERSION to 4.8.99.0.
2709
27102007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2711
2712        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2713
27142007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2715
2716        * posix/src/semaphorecreatesupp.c: Fixed warning.
2717
27182007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2719
2720        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2721
27222007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2723
2724        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2725        Use uint32_t for ext_accm.
2726
27272007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2728
2729        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2730        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2731        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2732        fixed-size types instead of BSD fixed-size types.
2733
27342007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2735
2736        * libmisc/stackchk/check.c: Fix alignment of output.
2737
27382007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2739
2740        * libmisc/monitor/monitor.h: Add network commands that were in the
2741        network supplement but not in the code.
2742        * libmisc/monitor/mon-network.c: New file.
2743
27442007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2745
2746        PR 1261/cpukit
2747        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2748        semaphore creation.
2749
27502007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2751
2752        PR 1260/cpukit
2753        * posix/src/pthread.c: Get initial signals blocked from creating
2754        thread not from ourselves.
2755
27562007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2757
2758        * score/src/watchdogtickle.c: Remove tabs.
2759
27602007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2761
2762        PR 1259/rtems
2763        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2764        memory is not guaranteed to be zero.
2765
27662007-09-12  Sergei Organov  <osv@javad.com>
2767
2768        PR 1258/rtems
2769        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2770        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2771        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2772        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2773        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2774        to changed block split strategy in _Heap_Allocate_aligned().
2775
27762007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2777
2778        * libcsupport/src/printk.c: Remove unnecessary comments.
2779
27802007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2781
2782        * libmisc/monitor/mon-monitor.c:
2783        Corrected linked list of rtems_monitor_commands
2784
27852007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2786
2787        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2788        walk on init, malloc, and free. The ability to walk the heap appears
2789        to disappeared during the rework of the C Program heap to skip the
2790        Region.
2791
27922007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2793
2794        * score/src/heap.c: Style.
2795        * score/src/heapwalk.c: Add more information to prints.
2796        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2797        is disabled.
2798
27992007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2800
2801        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2802        * libcsupport/src/printk_plugin.c: New file.
2803        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2804        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2805        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2806        rtems/src/ratemonreportstatistics.c: Added capability to specify
2807        your own "printf" routine to various reporting functions.  This
2808        added an XXX_with_plugin as the underlying implementation for
2809          + rtems_rate_monotonic_report_statistics
2810          + rtems_stack_checker_report_usage
2811          + rtems_cpu_usage_report
2812        As demonstration, the http netdemo can now print out stack
2813        and cpu usage reports.
2814
28152007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2816
2817        * shttpd/compat_rtems.c: Style clean up.
2818
28192007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2820
2821        * rtems/src/ratemonperiod.c: Clean up.
2822        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2823
28242007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2825
2826        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2827
28282007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2829
2830        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2831
28322007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2833
2834        * libmisc/Makefile.am: Add new files.
2835
28362007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2837
2838        * libmisc/monitor/mon-object.c,
2839        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2840        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2841        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2842        Added functionality for osmonweb support
2843
28442007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2845
2846        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2847        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2848        that are needed by osmonweb.
2849
28502007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2851
2852        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2853        Use printk.
2854
28552007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2856
2857        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2858        spacing and spelling.
2859
28602007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2861
2862        PR 1256/networking
2863        * ftpd/ftpd.c: Fix unaligned access.
2864
28652007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2866
2867        * posix/Makefile.am: Always build nanosleep.
2868
28692007-08-17      Chris Johns <chrisj@rtems.org>
2870
2871        * libmisc/capture/README: Minor copyright change.
2872        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
2873        libmisc/capture/capture.h: Fixed the memory leak when lots of
2874        tasks are being created and deleted. Improved the trigger
2875        interface so all task type actions can be caught.
2876
28772007-08-13      Chris Johns <chrisj@rtems.org>
2878
2879        * score/include/rtems/score/object.h: Point the
2880        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2881
28822007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2883
2884        PR 1248/networking
2885        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
2886        reported that when no interfaces are successfully attached, the
2887        default route is broken and may result in a jump to an illegal
2888        address.
2889
28902007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2891
2892        * score/inline/rtems/score/priority.inl: Use size_t instead of
2893          uint32_t for array index.
2894
28952007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2896
2897        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
2898          identify coldfire cpus.
2899
29002007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2901
2902        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
2903          coldfire.
2904
29052007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2906
2907        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
2908          work-around bug m68k/coldfire -fomit-frame-pointer bug
2909          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
2910
29112007-07-27      Chris Johns <chrisj@rtems.org>
2912
2913        * wrapup/Makefile.am: Create archive from a file for hosts
2914        with a limited command line size.
2915
29162007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2917
2918        * include/rtems/bspIo.h, include/rtems/pci.h:
2919        Add extern "C" guards. Reported by
2920        Robert S. Grimes <rsg@alum.mit.edu>.
2921
29222007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2923
2924        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
2925        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
2926        the time appears to be reported correctly and add up to what is
2927        expected.
2928
29292007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2930
2931        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
2932        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
2933        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
2934
29352007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2936
2937        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
2938        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
2939        was always using uptime not time since last cpu usage reset when
2940        using nanoseconds granularity.
2941        * libmisc/cpuuse/cpuusagedata.c: New file.
2942
29432007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
2944
2945        * libcsupport/src/mount.c: Allow null for output parameter.
2946
29472007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2948
2949        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
2950        to shttpd initialization.
2951
29522007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2953
2954        * libcsupport/src/malloc.c: Clean up Malloc debug code.
2955        * score/include/rtems/score/heap.h: Spacing.
2956        * score/inline/rtems/score/thread.inl:
2957        * score/src/heapfree.c. Clean up and add explicit check of the address
2958        being freed actually being in the heap.
2959        * score/src/heapwalk.c: Switch to printk and do not call abort.
2960
29612007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2962
2963        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
2964        area contingent on the stack checker user extension having been
2965        initialized.
2966
29672007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2968
2969        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
2970        and recv(). We already had the BSD versions and these conflict
2971        sometimes when linking.
2972
29732007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2974
2975        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
2976        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2977
29782007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2979
2980        * sapi/include/confdefs.h: Do not instantiate initialization
2981        thas/thread pointer tables for an API that is not configured.
2982
29832007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2984
2985        * libcsupport/Makefile.am:
2986        * libcsupport/src/open_dev_console.c: New file.
2987
29882007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2989
2990        * score/src/corerwlock.c: Make sure structure is fully initialized.
2991        When reused, some fields will not be zero like at initialization.
2992
29932007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2994
2995        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
2996        size. Account for this.
2997
29982007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2999
3000        * configure.ac: Add NDEBUG as a command line compilation option.
3001
30022007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3003
3004        * libmd/.cvsignore: New file.
3005
30062007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3007
3008        * shttpd/defs.h: Eliminate my_strncasecmp.
3009        * shttpd/string.c: Eliminate my_strncasecmp.
3010
30112007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3012
3013        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3014        * pppd/Makefile.am: Reflect moving out md*.
3015        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3016          libmd).
3017        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3018        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3019        * configure.ac, Makefile.am: Add libmd.
3020
30212007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3022
3023        * shttpd/defs.h: Eliminate my_strlcpy.
3024        * shttpd/string.c: Eliminate my_strlcpy.
3025
30262007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3027
3028        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3029        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3030        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3031          libmd.a.
3032
30332007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3034
3035        * wrapup/Makefile.am: Add libmd.a.
3036
30372007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3038
3039        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3040          Add pppd/libmd.a.
3041        * pppd/md4.c: Don't include pppd.h.
3042
30432007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3044
3045        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3046
30472007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3048
3049        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3050        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3051        Add config.h support.
3052
30532007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3054
3055        * shttpd/compat_rtems.h: Define closesocket.
3056
30572007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3058
3059        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3060
30612007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3062        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3063        Use size_t for stack sizes.
3064
30652007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3066
3067        * configure.ac, Makefile.am: Add shttpd.
3068        * shttpd/Makefile.am: New.
3069        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3070        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3071        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3072        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3073        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3074        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3075        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3076        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3077        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3078        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3079        Import from shttpd-1.37.tar.gz.
3080
30812007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3082
3083        * configure.ac: Remove "pad" from CPU_CONTEXT.
3084
30852007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3086
3087        * score/src/coremsg.c: Formatting.
3088
30892007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3090
3091        * score/include/rtems/score/copyrt.h: Update copyright notice.
3092
30932007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3094
3095        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3096        one function per file execpt io.c which contains required
3097        initialization methods.
3098        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3099        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3100        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3101        sapi/src/iowrite.c: New files.
3102
31032007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3104
3105        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3106        table into Workspace but now it is only done if the application needs
3107        extra slots for dynamic driver registration. Cleaned up
3108        rtems_io_register_driver and rtems_io_unregister_driver code and
3109        added numerous error cases to register.
3110
31112007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3112
3113        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3114        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3115        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3116        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3117        configuration parameter since it was used to configure a no longer
3118        used feature. Device names are now part of the filesystem not in a
3119        table. This also eliminated the variables _IO_Number_of_devices and
3120        _IO_Driver_name_table from RTEMS as well as the memory allocation
3121        used to populate _IO_Driver_name_table.
3122        * libmisc/monitor/mon-dname.c: Removed.
3123
31242007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3125
3126        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3127        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3128        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3129        unused Workspace. Round the workspace required size to an 8 byte
3130        boundary instead of a 0x400 byte one. We may end up needing to add 8
3131        bytes again to account for the alignment rounding.
3132
31332007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3134
3135        Yu Chen <chyyuu@gmail.com>
3136        * score/src/corespinlockwait.c: Per question posted as
3137        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3138        logical operator to <=.
3139
31402007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3141
3142        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3143        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3144        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3145        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3146        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3147        executive initialization.
3148
31492007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3150
3151        * score/src/corerwlockrelease.c: Do not dereference NULL.
3152
31532007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3154
3155        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3156        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3157        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3158        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3159        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3160        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3161        sapi/include/rtems/extension.h: Split Classic API data instantiation
3162        into individual files. This reduces the size of the BSS section when
3163        an optional manager stub is used. Some tests showed about a 600 byte
3164        reduction in BSS size.
3165        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3166        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3167        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3168        used in one place after initialized. It was a waste of space.
3169        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3170        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3171        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3172        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3173        sapi/src/extensiondata.c: New files.
3174
31752007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3176
3177        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3178        functionality into multiple files to eliminate unnecessary cohesion.
3179        Update README.
3180        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3181        New files.
3182        * libmisc/cpuuse/cpuuse.c: Removed.
3183
31842007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3185
3186        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3187        negative value in some circumstances. Also cleaned up to share uptime
3188        declaration.
3189
31902007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3191
3192        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3193        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3194        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3195        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3196        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3197        score/Makefile.am, score/include/rtems/score/thread.h,
3198        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3199        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3200        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3201        monotonic period statistics and CPU usage statistics. This capability
3202        is enabled by default although may be conditionally disabled by the
3203        user. It could be too much overhead on small targets but it does not
3204        appear to be bad in early testing. Its impact on code size has not
3205        been evaluated either. It is possible that both forms of statistics
3206        gathering could be disabled with further tweaking of the conditional
3207        compilation.
3208        * score/src/timespecdividebyinteger.c: New file.
3209
32102007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3211
3212        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3213        functionally similar code here. Also cleanup print formats.
3214
32152007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3216
3217        * score/src/objectgetnameasstring.c: Internal threads use string names
3218        so in the current RTEMS source string object name can NOT be
3219        disabled. It is probably worth considering converting the internal
3220        threads to uint32_t style names so all the support for string names
3221        can be conditionally disabled.
3222
32232007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3224
3225        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3226        and greater than operations for timespecs.
3227        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3228        New files.
3229
32302007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3231
3232        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3233        RTEMS_POSIX_API.
3234
32352007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3236
3237        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3238        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3239        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3240        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3241        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3242        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3243        score/Makefile.am, score/include/rtems/score/object.h,
3244        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3245        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3246        Added the following directives: rtems_rate_monotonic_get_statistics,
3247        rtems_rate_monotonic_reset_statistics,
3248        rtems_rate_monotonic_reset_all_statistics,
3249        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3250        Obsoleted the rtems/rtmonuse.h file as a public interface.
3251        * rtems/src/ratemongetstatistics.c,
3252        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3253        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3254        score/src/objectgetnameasstring.c: New files.
3255        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3256
32572007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3258
3259        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3260        rtems_io_register_name for use on unix.
3261        * libcsupport/src/unixlibc_io.c: New file.
3262
32632007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3264
3265        * score/src/coremsgseize.c: A blocking sender's message size was
3266        pulled out of the wrong field in the Wait information structure.
3267        * score/src/objectallocate.c: With the new optional manager support,
3268        we only stub out the initialization. This makes it possible to attempt
3269        to create an object with the information structure only initialized
3270        with all zeros.  This ensures we return an error cleanly in this case.
3271
32722007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3273
3274        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3275        an optional manager, we cannot depend on it do initialize the
3276        internal Allocator Mutex.  This was always a questionable place to
3277        do it, so this is a cleanup.
3278
32792007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3280
3281        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3282        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3283        suitable for inclusion in the Users Guide.
3284
32852007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3286
3287        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3288        ChangeLog-pre2007.
3289        * ChangeLog-pre2007: New file.
3290
32912007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3292
3293        PR 1241/rtems
3294        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3295        critical section window added with requeueing support.
3296
32972007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3298
3299        * libcsupport/include/rtems/cdefs.h,
3300          libcsupport/include/sys/cdefs.h: Remove.
3301        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3302        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3303        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3304        libnetworking/netdb.h, libnetworking/resolv.h,
3305        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3306        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3307        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3308        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3309        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3310        libnetworking/rtems/rtems_bsdnet_internal.h,
3311        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3312        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3313        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3314        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3315        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3316        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3317        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3318        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3319        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3320        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3321        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3322
33232007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3324
3325        * Makefile.am: Reflect introduction of
3326          include/rtems/bsd/sys/cdefs.h.
3327        * include/rtems/bsd/sys/cdefs.h: New.
3328
33292007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3330
3331        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3332        * libnetworking/sys/queue.h: Remove.
3333
33342007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3335
3336        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3337        <machine/endian.h>.
3338        * libnetworking/rtems/rtems_showroute.c,
3339        libnetworking/rtems/rtems_showipstat.c,
3340        libnetworking/rtems/rtems_showtcpstat.c,
3341        libnetworking/rtems/rtems_showicmpstat.c,
3342        libnetworking/rtems/rtems_showmbuf.c,
3343        libnetworking/rtems/rtems_showudpstat.c,
3344        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3345        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3346        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3347        libnetworking/netinet/tcp_usrreq.c,
3348        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3349        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3350        libnetworking/netinet/ip_output.c,
3351        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3352        libnetworking/netinet/udp_usrreq.c,
3353        libnetworking/netinet/tcp_output.c,
3354        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3355        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3356        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3357        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3358        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3359        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3360        instead of <sys/queue.h>.
3361        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3362        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3363        libnetworking/net/if.h, libnetworking/net/if_media.h,
3364        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3365        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3366        instead of <sys/queue.h>.
3367        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3368        * include/rtems/bsd/sys/queue.h: New (Copied from
3369          libnetworking/sys/queue.h).
3370
33712007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3372
3373        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3374        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3375        score/Makefile.am, score/preinstall.am,
3376        score/include/rtems/score/userext.h, score/src/chain.c,
3377        score/src/userext.c: Switch to newlib reentrancy extension being
3378        installed in the initial set instead of using rtems_extension_create.
3379        While implementing this, noticed that user extensions and chain code
3380        had multiple functions in a single file which is not desirable in the
3381        SuperCore and API portions of RTEMS, so split these into multiple
3382        files with one function per file. Also noticed that some of user
3383        extension code was inlined for no particular reason so moved that to
3384        C bodies.  Split executive shutdown from initialization since not
3385        every application shuts down.  Moved __fini call to executive shutdown
3386        to be more symmetrical with where it is called at startup.
3387        * sapi/src/exshutdown.c, score/src/chainappend.c,
3388        score/src/chainextract.c, score/src/chainget.c,
3389        score/src/chaininsert.c, score/src/userextaddapiset.c,
3390        score/src/userextaddset.c, score/src/userextremoveset.c,
3391        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3392        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3393        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3394        files.
3395        * score/inline/rtems/score/userext.inl: Removed.
3396
33972007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3398
3399        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3400        reference _Configuration_MP_table if multiprocessing is disabled.
3401
34022007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3403
3404        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3405        reference _Configuration_MP_table if multiprocessing is disabled.
3406
34072007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3408
3409        * libnetworking/machine/endian.h: Remove.
3410        * libnetworking/Makefile.am: Remove machine/endian.h.
3411        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3412        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3413        <rtems/endian.h> instead of <machine/endian.h>.
3414        * Makefile.am: Add include/rtems/endian.h.
3415        * include/rtems/endian.h: New (Copied from
3416          libnetworking/machine/endian.h).
3417
34182007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3419
3420        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3421        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3422        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3423        of <stdint.h>.
3424        * libnetworking/machine/endian.h: Remove
3425          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3426        * NEWS: new.
3427
34282007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3429
3430        PR 1243
3431        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3432
34332007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3434
3435        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3436        to inline functions, using uint[16,32]_t.
3437        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3438        with SUSv3.
3439        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3440        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3441        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3442        Add HAVE_CONFIG_H magic.
3443        * libnetworking/libc/gethostbydns.c,
3444        libnetworking/libc/inet_net_ntop.c,
3445        libnetworking/libc/inet_pton.c: Eliminate __P.
3446        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3447        return value of ntohl (POSIX requirement).
3448        Use UINT32_C macros to avoid overflows on 16bit targets.
3449        Eliminate __P.
3450        * configure.ac: Check for working PRIxPTR.
3451
34522007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3453
3454        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3455        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3456        Use size_t for stack sizes.
3457
34582007-05-03      Joel Sherrill <joel@OARcorp.com>
3459
3460        * ChangeLog, libcsupport/src/malloc.c,
3461        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3462        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3463        Region Manager is quite heavy for implementing this. This patch
3464        implements the C Program Heap directly in terms of the new Protected
3465        Heap handler. This handler is a direct use of a SuperCore Heap in
3466        conjunction with the Allocator Mutex used internally by RTEMS. This
3467        saves 3184 bytes on most SPARC test executables.
3468        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3469        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3470        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3471        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3472        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3473        score/src/pheapwalk.c: New files.
3474
34752007-05-03      Joel Sherrill <joel@OARcorp.com>
3476
3477        * libcsupport/src/rmdir.c: Fixed spacing.
3478        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3479        newlibc.c. It is not required for minimum executing and drops 624
3480        from SPARC minimum executable.
3481        * libcsupport/src/newlibc_exit.c: New file.
3482
34832007-04-17      Joel Sherrill <joel@OARcorp.com>
3484
3485        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3486        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3487        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3488        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3489        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3490        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3491        reduce executable size. Most were refactoring of files. Split ITRON
3492        API files. Implemented mechanism to avoid initialization task/thread
3493        loop being linked in when that style of task initialization was not
3494        being used.
3495        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3496        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3497        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3498        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3499        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3500        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3501        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3502        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3503        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3504        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3505        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3506        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3507        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3508        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3509        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3510        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3511        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3512        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3513        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3514        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3515        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3516
35172007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3518
3519        * score/include/rtems/score/thread.h:
3520          Use Context_Control_fp* instead of void* for fp_contexts.
3521
35222007-04-16      Joel Sherrill <joel@OARcorp.com>
3523
3524        PR 1240/filesystem
3525        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3526        for filename was not being freed.
3527
35282007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3529
3530        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3531
35322007-04-16      Joel Sherrill <joel@OARcorp.com>
3533
3534        * itron/src/rsm_tsk.c: Correct error returned.
3535
35362007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3537
3538        * configure.ac: Redefine LIBPOSIX to !UNIX.
3539        * posix/src/usleep.c, libcsupport/src/readlink.c:
3540        Update API to SUSv3.
3541
35422007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3543
3544        * posix/Makefile.am: Unconditionally build src/sleep.c,
3545          src/usleep.c.
3546        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3547          CLOCK_MONOTONIC case.
3548        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3549
35502007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3551
3552        * posix/Makefile.am: Cosmetics.
3553        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3554        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3555
35562007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3557
3558        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3559          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3560        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3561          rtems/posix/time.h.
3562        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3563          rtems/posix/time.h.
3564        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3565
35662007-04-12      Joel Sherrill <joel@OARcorp.com>
3567
3568        * itron/src/rsm_tsk.c: Correct error returned.
3569
35702007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3571
3572        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3573
35742007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3575
3576        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3577        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3578        _impure_ptr bug).
3579        Fix abuse of _REENT_INIT().
3580
35812007-04-05      Joel Sherrill <joel@OARcorp.com>
3582
3583        * itron/src/itrontime.c: Fix typo.
3584        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3585        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3586        * score/src/threaddispatch.c: Formatting.
3587
35882007-04-05      Joel Sherrill <joel@OARcorp.com>
3589
3590        * posix/Makefile.am: Fix formatting.
3591
35922007-04-05      Joel Sherrill <joel@OARcorp.com>
3593
3594        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3595        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3596        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3597        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3598        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3599        posix/src/pthread.c, posix/src/pthreadcreate.c,
3600        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3601        posix/src/sched.c, posix/src/semtimedwait.c,
3602        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3603        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3604        score/preinstall.am, score/include/rtems/score/tod.h,
3605        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3606        score/src/coretodget.c, score/src/coretodgetuptime.c,
3607        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3608        manipulation routines in the SuperCore. Use them everywhere possible.
3609        This lead to significant cleanup in the API routines and eliminated
3610        some of the same code from the POSIX API. At this point, the
3611        SuperCore keeps time in POSIX timespec format properly from 1970. You
3612        just cannot set it before 1988 in keeping with RTEMS traditional
3613        behavior.
3614        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3615        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3616        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3617        score/src/timespectoticks.c: New files.
3618        * posix/src/posixintervaltotimespec.c,
3619        posix/src/posixtimespecsubtract.c,
3620        posix/src/posixtimespectointerval.c: Removed.
3621
36222007-04-04      Joel Sherrill <joel@OARcorp.com>
3623
3624        * score/Makefile.am, score/include/rtems/score/tod.h,
3625        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3626        non-inlined routine. It should only be used once so there is little
3627        advantage to inlining it.
3628        * score/src/coretodtickle.c: New file.
3629
36302007-04-02      Joel Sherrill <joel@OARcorp.com>
3631
3632        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3633        dead code.
3634        * posix/src/time.c: Removed.
3635
36362007-04-02      Joel Sherrill <joel@OARcorp.com>
3637
3638        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3639        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3640        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3641        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3642        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3643        TOD_Ticks_per_second variable.
3644
36452007-04-02      Joel Sherrill <joel@OARcorp.com>
3646
3647        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3648        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3649        posix/src/clockgettime.c, posix/src/clocksettime.c,
3650        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3651        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3652        posix/src/sleep.c, rtems/Makefile.am,
3653        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3654        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3655        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3656        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3657        score/Makefile.am, score/include/rtems/score/tod.h,
3658        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3659        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3660        fundamental time structure to POSIX struct timespec. Add
3661        clock_get_uptime().
3662        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3663        score/src/coretodgetuptime.c: New files.
3664        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3665        score/src/coretodvalidate.c: Removed.
3666
36672007-04-02      Joel Sherrill <joel@OARcorp.com>
3668
3669        * libcsupport/src/printk.c: Add %p support.
3670
36712007-04-02      Joel Sherrill <joel@OARcorp.com>
3672
3673        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3674        in addition to the pattern area being overwritten. Also do some
3675        cleanup.
3676
36772007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3678
3679        * include/rtems/pci.h: Further stdint.h fixed-size types.
3680
36812007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3682
3683        * include/rtems/pci.h: Use stdint.h fixed size-types.
3684
36852007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3686
3687        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3688        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3689        * libnetworking/Makefile.am: Move libc/res_config.h to
3690          libc_a_SOURCES (File is being used).
3691        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3692        Remove (Unused).
3693        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3694        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3695        Remove (Unused).
3696        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3697
36982007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3699
3700        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3701        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3702        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3703        libnetworking/libc/gethostbynis.c,
3704        libnetworking/libc/gethostnamadr.c,
3705        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3706        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3707        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3708        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3709        libnetworking/libc/getservbyname.c,
3710        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3711        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3712        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3713        libnetworking/libc/inet_net_ntop.c,
3714        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3715        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3716        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3717        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3718        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3719        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3720        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3721        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3722        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3723        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3724        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3725        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3726        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3727        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3728        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3729        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3730        SCCS, LINT. Add HAVE_CONFIG_H.
3731        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3732
37332007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3734
3735        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3736          uintptr_t.
3737
37382007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3739
3740        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3741        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3742
37432007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3744
3745        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3746        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3747        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3748        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3749        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3750        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3751        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3752        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3753        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3754        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3755        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3756        (Abandoned in FreeBSD).
3757        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3758        (Abandoned in FreeBSD).
3759        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3760        (Abandoned in FreeBSD).
3761        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3762        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3763
37642007-03-28      Chris Johns <chrisj@rtems.org>
3765
3766        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3767        score/include/rtems/score/watchdog.h: Add support for a handler to
3768        obtain the number of nanoseconds since the last clock tick. The
3769        primary interface for this is rtems_clock_set_nanoseconds_extension.
3770        Subsequent commits from Joel will redo the TOD support to use this
3771        capability.
3772        * rtems/src/clocksetnsecshandler.c: New file.
3773
37742007-03-28      Joel Sherrill <joel@OARcorp.com>
3775
3776        PR 1234/cpukit
3777        * libcsupport/Makefile.am: Provide printk() based implementation of
3778        __assert() to reduce dependencies in executables.
3779        * libcsupport/src/__assert.c: New file.
3780
37812007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3782
3783        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3784        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3785        * libnetworking/net/ppp-comp.h: Remove (Unused).
3786        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3787        * libnetworking/sys/buf.h: Remove (Unused).
3788        * libnetworking/Makefile.am: Remove sys/buf.h.
3789        * libnetworking/kern/kern_sysctl.c,
3790        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3791        <sys/buf.h>.
3792        *  libcsupport/include/sys/sockio.h: Partial update from
3793          FreeBSD.
3794
37952007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3796
3797        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3798        * libnetworking/netinet/igmp.c: Eliminate __P().
3799        * libnetworking/netinet/in.c: Eliminate __P().
3800        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3801        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3802        * libnetworking/netinet/ip_output.c: Eliminate __P().
3803
38042007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3805
3806        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3807        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3808        Change int args to intptr_t because they are casted to pointers.
3809        * libnetworking/netinet/tcp_usrreq.c,
3810        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3811
38122007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3813
3814        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3815        "long", because long is not guaranteed to be castable to char*.
3816        * libnetworking/netinet/ip_input.c: Eliminate __P().
3817        Change "int next" to "int32_t next" for 16bit targets.
3818        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3819        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3820        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3821        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3822        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3823        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3824        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3825
38262007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3827
3828        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3829        Remove (Abandoned in FreeBSD).
3830        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3831        net/pppcompress.h.
3832        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3833        net/pppcompress.h.
3834        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3835        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3836        net/pppcompress.h.
3837
38382007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3839
3840        * libnetworking/net/pppcompress.h: Eliminate __P().
3841        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3842        * libnetworking/net/if_llc.h: Update from FreeBSD.
3843
38442007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3845
3846        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3847          <net/ppp-comp.h>.
3848        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3849        Warn about using it.
3850        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3851        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3852        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3853          FreeBSD.
3854        * libnetworking/machine/in_cksum.h: Eliminate __P().
3855        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3856        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3857        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3858        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
3859        Eliminate __P().
3860        * libcsupport/src/scandir.c: Eliminate __P().
3861        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
3862        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
3863        Eliminate __P().
3864        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
3865        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
3866        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
3867
38682007-03-26      Joel Sherrill <joel@OARcorp.com>
3869
3870        PR 1231/cpukit
3871        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
3872        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
3873        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
3874        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
3875        posix/src/mutexattrgetprioceiling.c,
3876        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
3877        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
3878        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
3879        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
3880        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
3881        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
3882        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
3883        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
3884        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
3885        posix/src/posixtimespecsubtract.c,
3886        posix/src/posixtimespectointerval.c,
3887        posix/src/psignalclearprocesssignals.c,
3888        posix/src/psignalclearsignals.c,
3889        posix/src/psignalsetprocesssignals.c,
3890        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
3891        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
3892        unneeded includes of assert.h
3893
38942007-03-26      Joel Sherrill <joel@OARcorp.com>
3895
3896        * libcsupport/include/rtems/assoc.h: Pick up the include file
3897        changes associated with the file splitting.
3898
38992007-03-26      Joel Sherrill <joel@OARcorp.com>
3900
3901        * libcsupport/Makefile.am: Pick up the Makefile changes associated
3902        with the file splitting.
3903
39042007-03-26      Joel Sherrill <joel@OARcorp.com>
3905
3906        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
3907        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
3908        this will not be deemed necessary to commit to the 4.7 branch.
3909        * libcsupport/src/assoclocalbyname.c,
3910        libcsupport/src/assoclocalbyremote.c,
3911        libcsupport/src/assoclocalbyremotebitfield.c,
3912        libcsupport/src/assocnamebylocal.c,
3913        libcsupport/src/assocnamebylocalbitfield.c,
3914        libcsupport/src/assocnamebyremote.c,
3915        libcsupport/src/assocnamebyremotebitfield.c,
3916        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
3917        libcsupport/src/assocptrbyremote.c,
3918        libcsupport/src/assocremotebylocal.c,
3919        libcsupport/src/assocremotebylocalbitfield.c,
3920        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
3921        libcsupport/src/write_r.c: New files.
3922
39232007-03-26      Joel Sherrill <joel@OARcorp.com>
3924
3925        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
3926        support and remove deadcode. Replace with comment explaining that
3927        behavior is compatible with GNU/Linux per Eric Norum.
3928
39292007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3930
3931        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
3932        Partial update from FreeBSD.
3933        * libnetworking/netinet/if_ether.h: Eliminate __P().
3934        * libnetworking/netinet/ip_var.h: Eliminate __P().
3935        * libnetworking/netinet/in.h: Eliminate __P().
3936        * libnetworking/netinet/tcp_var.h: Eliminate __P().
3937
39382007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3939
3940        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
3941        Remove __P();
3942        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
3943
39442007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3945
3946        * libnetworking/netinet/in_var.h: Remove __P().
3947        * libnetworking/netinet/in_systm.h: Remove __P().
3948        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
3949        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
3950        * libnetworking/netinet/if_ether.c: Remove __P().
3951        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
3952        More updates from FreeBSD.
3953        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
3954        libnetworking/net/route.h: Partial update from FreeBSD.
3955
39562007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3957
3958        * libnetworking/Makefile.am: Remove nfs/krpc.h.
3959        * libnetworking/nfs/krpc.h: Remove (Unused).
3960        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
3961        * libnetworking/Makefile.am: Remove nfs/nfs.h.
3962        * libnetworking/nfs/nfs.h: Remove (Unused).
3963
39642007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3965
3966        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
3967          symbols.
3968        * libnetworking/sys/conf.h: Don't include machine/conf.h.
3969        Update copyright notice.
3970        Remove unused/non-implemented declarations.
3971        * libnetworking/Makefile.am: Remove machine/conf.h.
3972        * libnetworking/machine/conf.h: Remove.
3973
39742007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3975
3976        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
3977        Remove many non-supported/unused declarations.
3978
39792007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3980
3981        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
3982          crhold (Unused/non-implemented).
3983
39842007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3985
3986        * libnetworking/sys/ucred.h: Remove __P().
3987        * libnetworking/sys/callout.h: Remove __P().
3988        * libnetworking/sys/domain.h: Remove __P().
3989        * libnetworking/sys/socketvar.h: Remove __P().
3990        * libnetworking/sys/socket.h: Remove __P().
3991        * libnetworking/sys/select.h: Remove __P().
3992        * libnetworking/sys/kernel.h: Remove __P().
3993        * libnetworking/sys/protosw.h: Remove __P().
3994        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
3995        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
3996        swdevt, nswdev, nswap (Unused).
3997
39982007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3999
4000        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4001        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4002        instead of struct linesw (PR 1229)
4003        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4004        around clash with defines from rtems_bsdnet_internal.h.
4005        * score/src/heapwalk.c: include stdlib.h.
4006
40072007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4008
4009        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4010        Remove __P().
4011        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4012        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4013        Remove __P().
4014        * libcsupport/include/rtems/termiostypes.h,
4015        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4016        with rtems_termios_*.
4017        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4018        (Clash with termiostypes.h - PR 1229).
4019
40202007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4021
4022        * score/include/rtems/score/wkspace.h,
4023        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4024        Change _Workspace_Handler_initialization and
4025        _Workspace_Allocate_or_fatal_error to using size_t.
4026        * libnetworking/sys/rtprio.h: Remove (Unused).
4027        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4028
40292007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4030
4031        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4032        Remove __P().
4033
40342007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4035
4036        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4037          to fix warnings.
4038        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4039        * score/include/rtems/score/chain.h, score/src/chain.c:
4040        Change _Chain_Initialize to using size_t.
4041
40422007-03-12      Joel Sherrill <joel@OARcorp.com>
4043
4044        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4045        Dump_Buffer to rtems_print_buffer.
4046
40472007-03-12      Joel Sherrill <joel@OARcorp.com>
4048
4049        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4050        license URL and/or fix mistake in copyright notice. Both of these
4051        mistakes appear to be from code submitted after these changes were
4052        made previously.
4053
40542007-03-10      Joel Sherrill <joel@OARcorp.com>
4055
4056        PR 1226/cpukit
4057        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4058        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4059
40602007-03-08      Joel Sherrill <joel@OARcorp.com>
4061
4062        * libfs/src/imfs/imfs.h: Fix comment.
4063
40642007-03-08      Joel Sherrill <joel@OARcorp.com>
4065
4066        * libfs/src/imfs/imfs.h: Fix comment.
4067
40682007-03-08      Joel Sherrill <joel@OARcorp.com>
4069
4070        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4071        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4072
40732007-03-08      Joel Sherrill <joel@OARcorp.com>
4074
4075        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4076        Remove wrapper for message queue send and urgent and implement them
4077        directly. There was an unnecessary function call layer in addition to
4078        conditions in the shared routine. Directly coding both directives is
4079        simpler and should result in smaller code.
4080        * rtems/src/msgqsubmit.c: Removed.
4081
40822007-03-05      Joel Sherrill <joel@OARcorp.com>
4083
4084        PR 1222/cpukit
4085        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4086        score/include/rtems/score/threadq.h,
4087        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4088        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4089        score/src/threadclearstate.c, score/src/threadhandler.c,
4090        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4091        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4092        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4093        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4094        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4095        thread that is blocked on a priority based thread queue is changed,
4096        that its placement in the queue is reevaluated based upon the new
4097        priority. This enhancement includes modifications to the SuperCore as
4098        well as new test cases.
4099        * score/src/threadqrequeue.c: New file.
4100
41012007-03-05      Joel Sherrill <joel@OARcorp.com>
4102
4103        * sapi/src/exinit.c: Fix spacing.
4104
41052007-03-05      Joel Sherrill <joel@OARcorp.com>
4106
4107        PR 1221/cpukit
4108        * posix/src/pthreadequal.c: Fix critical section nesting.
4109
41102007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4111
4112        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4113          compiled files.
4114
41152007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4116
4117        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4118
41192007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4120
4121        * score/Makefile.am: Remove macros/README.
4122
41232007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4124
4125        * score/include/rtems/score/heap.h, score/src/heap.c,
4126        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4127        More size_t for heap-sizes.
4128        * score/include/rtems/score/heap.h, score/src/heap.c,
4129        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4130        heap-sizes.
4131        * libnetworking/resolv.h: Typo fixes. Remove __P().
4132
41332007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4134
4135        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4136        Use size_t for stack-sizes.
4137
41382007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4139
4140        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4141          functions.
4142        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4143        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4144
41452007-02-06      Till Straumann <strauman@slac.stanford.edu>
4146
4147        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4148        taskvar dtor to plug memory leak. Applied patch attached
4149        to PR#690.
4150
41512007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4152
4153        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4154        * posix/src/getpagesize.c: Removed.
4155        * posix/Makefile.am: Remove references to getpagesize.c.
4156        * libcsupport/Makefile.am: Add getpagesize.c.
4157
41582007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4159
4160        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4161        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4162          visible.
4163        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4164
41652007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4166
4167        * rtems/src/msgqsend.c: Use size_t for sizes.
4168        * rtems/src/msgqurgent.c: Use size_t for sizes.
4169        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4170        * rtems/src/msgmp.c: Use size_t for sizes.
4171        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4172        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4173        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4174        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4175
41762007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4177
4178        * itron/src/trcv_mbf.c: Use size_t for sizes.
4179        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4180        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4181        * libmisc/monitor/monitor.h: Use size_t for sizes.
4182        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4183        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4184        * rtems/src/msgqreceive.c: Use size_t for sizes.
4185        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4186        * score/src/coremsgseize.c: Use size_t for sizes.
4187
41882007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4189
4190        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4191        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4192        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4193        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4194        * score/src/coremsgsubmit.c: Use size_t for sizes.
4195
41962007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4197
4198        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4199
42002007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4201
4202        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4203
42042007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4205
4206        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4207        Remove isblank (supposed to be provided by libc).
4208
42092007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4210
4211        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4212
42132007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4214
4215        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4216         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4217        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4218        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4219        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4220
42212007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4222
4223        * score/include/rtems/system.h:
4224        #define __RTEMS_MINOR__ 7 (BZ 1206).
4225
42262007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4227
4228        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4229        export some internal variables to make them available in
4230        "show_bdbuf" monitor add-on
4231
42322007-01-16      Till Straumann <strauman@slac.stanford.edu>
4233
4234        * libnetworking/rtems/rtems_mii_ioctl.c,
4235        libnetworking/rtems/rtems_mii_ioctl.h,
4236        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4237        libi2c/libi2c.c, libi2c/libi2c.h:
4238        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4239
42402007-01-09      Joel Sherrill <joel@OARcorp.com>
4241
4242        * libcsupport/src/error.c: rtems_progname is no longer defined in
4243        the BSP startup since it never held a meaningful value.
4244
42452007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4246
4247        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4248        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.