source: rtems/cpukit/ChangeLog @ 6d5c3cd

4.104.114.95
Last change on this file since 6d5c3cd was 6d5c3cd, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/01/08 at 07:04:18

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

  • librpc/src/rpc/svc_tcp.c: Misc. ansifications.
  • Property mode set to 100644
File size: 169.5 KB
Line 
12008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
2
3        * librpc/src/rpc/svc_tcp.c: Misc. ansifications.
4        * librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
5        * librpc/src/rpc/svc_raw.c: Misc. ansifications.
6        * librpc/src/xdr/xdr_rec.c: Misc. ansifications.
7        * librpc/src/rpc/svc_simple.c: Add missing prototypes.
8        * librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
9        * librpc/src/rpc/rpcdname.c: Add missing prototypes.
10        * librpc/src/rpc/rpc_prot.c: Misc. ansifications.
11        * librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
12        * librpc/src/rpc/clnt_simple.c: Misc. ansifications.
13        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
14        Add missing prototypes.
15        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
16        Misc. ansifications.
17
182008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
19
20        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
21        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
22        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
23        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
24        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
25        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
26        Eliminate __P().
27
282008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
29
30        * score/include/rtems/score/thread.h: Add missing prototype.
31        * score/inline/rtems/score/thread.inl: Add missing prototypes.
32        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
33        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
34        libnetworking/netinet/in_cksum_m68k.h,
35        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
36        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
37        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
38        * itron/include/itronsys/types.h: Add missing prototype.
39        * ftpd/ftpd.c: Fix broken prototype.
40        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
41        Add missing prototypes.
42
432008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
44
45        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
46        is disabled but luckily it is not even needed to compile.
47
482008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
49
50        * libmisc/shell/main_netstats.c: Add missing prototypes.
51        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
52        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
53
542008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
55
56        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
57        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
58        httpd/wsIntrn.h: Add missing protoypes.
59
602008-07-29      Tim Cussins <timcussins@eml.cc>
61
62        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
63        conditional.
64
652008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
66
67        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
68        call.
69
702008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
71
72        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
73
742008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
75
76        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
77        libmisc/monitor/monitor.h: Add missing prototypes.
78        * score/inline/rtems/score/tod.inl: Add prototypes.
79        * score/src/coretodset.c: Remove stray args in function call.
80        * libcsupport/include/rtems/libcsupport.h,
81        libcsupport/include/rtems/libio_.h,
82        libcsupport/src/malloc_statistics_helpers.c,
83        libcsupport/src/scandir.c: Add prototypes.
84        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
85        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
86        posix/src/prwlockrdlock.c: Use C-style comments.
87
882008-07-29      Chris Johns <chrisj@rtems.org>
89
90        * libblock/src/nvdisk.c: Fix block compile bug.
91
922008-07-29      Chris Johns <chrisj@rtems.org>
93
94        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
95        Update the comments.
96
972008-07-29      Chris Johns <chrisj@rtems.org>
98
99        * libblock/Makefile.am: Removed src/show_bdbuf.c.
100
101        * libblock/src/show_bdbuf.c: Removed.
102
103        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
104        Rewritten the bdbuf code. Remove pre-emption disable, score
105        access, fixed many bugs and increased performance.
106
107        * libblock/include/rtems/blkdev.h: Added
108        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
109        comments. Added block and user fields to the sg buffer
110        request. Move to rtems_* namespace.
111
112        * libblock/include/rtems/diskdevs.h,
113        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
114        capabilities field for drivers. Change rtems_disk_lookup to
115        rtems_disk_obtain to match the release call. You do not lookup and
116        release a disk, you obtain and release a disk.
117
118        * libblock/include/rtems/ide_part_table.h,
119        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
120        Move to rtems_* namespace.
121
122        * libblock/include/rtems/nvdisk.h: Formatting change.
123
124        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
125        rtems_disk_lookup to rtems_disk_obtain
126
127        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
128        support for the block number in the scatter/grather request
129        struct. This allows non-continuous buffer requests for those
130        drivers that can support increasing performance.
131
132        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
133        warnings. Added better error checking. Fixed some comments.
134
135        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
136        trace functions to help debugging upper layers. Use the new
137        support for the block number in the scatter/grather request
138        struct. This allows non-continuous buffer requests for those
139        drivers that can support increasing performance.
140
141        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
142        API. Removed temporary hack and changed
143        set_errno_and_return_minus_one to
144        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
145        header and stopped it being inlined. Updated to libblock changes.
146       
147        * libfs/src/dosfs/fat_fat_operations.c,
148        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
149        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
150        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
151        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
152        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
153        new chains API. Removed temporary hack and changed
154        set_errno_and_return_minus_one to
155        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
156
157        * libmisc/Makefile.am: Add new ls and rm command files.
158
159        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
160        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
161        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
162        libmisc/shell/vis.c, shell/vis.h: New.
163
164        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
165        libmisc/shell/utils-cp.c: Fixed the usage call bug.
166
167        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
168        command.
169
170        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
171        commands with more features.
172       
173        * score/src/coremutex.c: Fix the strick order mutex code.
174
175        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
176        and no ASR.
177       
178        * sapi/include/confdefs.h: Change ata_driver_task_priority to
179        rtems_ata_driver_task_priority. Add the new BD buf cache
180        parameters with defaults.
181
182        * score/src/interr.c: Do not return if the CPU halt call returns.
183       
1842008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
185
186        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
187        bsp_libc_init() into new bootcard.h.
188
189        * cpukit/include/rtems/irq-extension.h: New function
190        rtems_interrupt_handler_iterate() for system information and
191        diagnostics.
192
1932008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
194
195        * libmisc/shell/shell_script.c: Clean up code for command not found
196        including the error message.
197
1982008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
199
200        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
201        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
202        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
203        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
204        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
205        internal routine. This makes it possible to also print string names
206        of POSIX objects. Adjust task report to realign since we can have
207        longer names.
208
2092008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
210
211        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
212        body is now completely configured via the Configuration table.
213
2142008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
215
216        PR 1291/cpukit
217        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
218        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
219        posix/include/rtems/posix/semaphore.h,
220        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
221        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
222        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
223        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
224        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
225        posix/src/posixtimespecabsolutetimeout.c,
226        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
227        posix/src/semaphoretranslatereturncode.c,
228        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
229        posix/src/semtrywait.c, posix/src/semwait.c,
230        posix/src/sigtimedwait.c, posix/src/timersettime.c,
231        posix/src/ualarm.c, rtems/src/semobtain.c,
232        rtems/src/semtranslatereturncode.c,
233        score/include/rtems/score/coremutex.h,
234        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
235        patch addresses issues on implementation of the timeout on the
236        following POSIX services. Some of these services incorrectly took a
237        timeout as a relative time. Others would compute a 0 delta to timeout
238        if the absolute time and the current time were equal and thus
239        incorrectly block the caller forever. The root of the confusion is
240        that POSIX specifies that if the timeout is incorrect (e.g. in the
241        past, is now, or is numerically invalid), that it does not matter if
242        the call would succeed without blocking. This is in contrast to RTEMS
243        programming style where all errors are checked before any critical
244        sections are entered. This fix implemented a more uniform way of
245        handling POSIX absolute time timeouts.
246            + pthread_cond_timedwait - could block forever
247            + mq_timedreceive - used relative not absolute time
248            + mq_timedsend - used relative not absolute time
249            + pthread_mutex_timedlock - used relative not absolute time
250            + pthread_rwlock_timedrdlock- used relative not absolute time
251            + pthread_rwlock_timedwrlock- used relative not absolute time
252            + sem_timedwait - could block forever
253
2542008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
255
256        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
257        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
258        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
259        libmisc/shell/main_whoami.c: Add pthread command to monitor when
260        POSIX is enabled. Remove include of rtems/monitor.h from files not
261        related.
262
2632008-07-16      Till Straumann <strauman@slac.stanford.edu>
264
265        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
266        use ppc_interrupt_get_disable_mask() to determine
267        which bits to set/clear from _CPU_ISR_Set_level().
268
2692008-07-16      Till Straumann <strauman@slac.stanford.edu>
270
271        * score/cpu/powerpc/rtems/powerpc/registers.h:
272        added ppc_interrupt_get_disable_mask() inline function.
273
2742008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
275
276        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
277
2782008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
279
280        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
281        for rtems_shell_init(). This makes it possible to run the shell
282        forever or invoke it from a program as a subroutine, have a user
283        enter commands, and wait for it to exit.
284
2852008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
286
287        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
288        RTEMS version string.
289        * sapi/src/getversionstring.c: New file.
290
2912008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
292
293        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
294        cpukit/score/cpu/m68k/rtems/score/cpu.h,
295        score/cpu/m68k/rtems/score/m68k.h:
296
297        added support to save coldfire FPU/EMAC context
298
2992008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
300
301        * libi2c/libi2c.c, libi2c/libi2c.h:
302        make buffer passed to *write* functions a const pointer
303
304
3052008-07-10      Till Straumann <strauman@slac.stanford.edu>
306
307        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
308        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
309        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
310        Removed all macro definitions which depended on
311        the compiler defining a PPC CPU-model dependent
312        symbol.
313        Macros which were not used by cpukit have been
314        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
315       
3162008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
317
318        * include/rtems/status-checks.h: Fix style.
319
3202008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
321
322        * rtems/include/rtems/rtems/intr.h: Documentation.
323
324        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
325        Interrupt Manager (shared handler and handler with a handle).
326
327
3282008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
329
330        * cpukit/include/rtems/status-checks.h: Macros for status code and
331        return value checks.
332
333        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
334
335        * cpukit/libfs/src/dosfs/msdos_dir.c,
336        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
337        to file mode.
338
339        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
340        messages.  Driver operations table is now constant.  New entry in the
341        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
342        continuously transmitted in read only functions.
343
3442008-07-03      Chris Johns <chrisj@rtems.org>
345
346        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
347        interface that is supported.
348
349        * cpukit/libcsupport/Makefile.am,
350        cpukit/libcsupport/preinstall.am: Remove chain.h header
351        references.
352
353        * cpukit/sapi/include/rtems/chain.h,
354        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
355        interface.
356
357        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
358        include the new chains interface.
359
360        * cpukit/libfs/src/imfs/imfs.h,
361        cpukit/libfs/src/imfs/imfs_creat.c,
362        cpukit/libfs/src/imfs/imfs_debug.c,
363        cpukit/libfs/src/imfs/imfs_directory.c,
364        cpukit/libfs/src/imfs/imfs_fsunmount.c,
365        cpukit/libfs/src/imfs/imfs_getchild.c,
366        cpukit/libfs/src/imfs/imfs_load_tar.c,
367        cpukit/libfs/src/imfs/imfs_rmnod.c,
368        cpukit/libfs/src/imfs/memfile.c,
369        cpukit/libfs/src/nfsclient/src/nfs.c,
370        cpukit/libcsupport/include/rtems/libio.h,
371        cpukit/libcsupport/src/malloc_deferred.c,
372        cpukit/libcsupport/src/mount.c,
373        cpukit/libcsupport/src/privateenv.c,
374        cpukit/libcsupport/src/unmount.c: Change to the new chains
375        interface.
376
377        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
378
3792008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
380
381        * score/include/rtems/score/thread.h,
382        score/src/threaddispatch.c, score/src/threadinitialize.c:
383        Support rtems_ada_self iff __RTEMS_ADA__ is given.
384
3852008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
386
387        * libmisc/shell/shell_script.c: Remove unused function.
388
3892008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
390
391        * configure.ac: Add __RTEMS_ADA__.
392
3932008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
394
395        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
396        libnetworking/libc/getservbyname.c,
397        libnetworking/libc/getservbyport.c: Add initial versions of
398        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
399        point they are just simple weappers for the version without the _r in
400        the name.
401
4022008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
403
404        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
405        Review association tables in monitor.
406
4072008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
408
409        * configure.ac, rtems/src/semtranslatereturncode.c,
410        score/include/rtems/score/coremutex.h,
411        score/include/rtems/score/thread.h,
412        score/inline/rtems/score/coremutex.inl,
413        score/src/coremutex.c, score/src/coremutexsurrender.c,
414        score/src/threadinitialize.c:
415        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
416
4172008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
418
419        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
420        * libgnat/Makefile.am: Use LIBGNAT.
421        * wrapup/Makefile.am: Use LIBGNAT.
422
4232008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
424
425        * acinclude.m4: Add magic to update cpuopt.h.
426        * configure.ac: Remove magic to update cpuopt.h.
427
4282008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
429
430        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
431        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
432        Cleanup mal-formated RTEMS_CPUOPT's.
433
4342008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
435
436        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
437        AC_PREREQ(2.62).
438
4392008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
440
441        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
442        than a number.
443
4442008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
445
446        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
447        still reserved memory for the reentrancy structure. This is about 1K
448        per task. On psim, we now reserve only 1936 bytes and only 240 remain
449        after all allocations. Further analysis will be required to narrow
450        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
451        be defined and the structure named Configuration_Memory_Debug will be
452        instantiated. This structure contains many of the component values
453        that go into the memory reservation computation. This is helpful when
454        tracking down problems.
455
4562008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
457
458        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
459        was always adding heap overhead even when the number of objects
460        configured was zero and we would not do an allocation. This resulted
461        in an over estimation of the amount of Workspace required (~2K on
462        minimum.exe on PowerPC).
463
4642008-06-17      Chris Johns <chrisj@rtems.org>
465
466        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
467        remove warning.
468       
469        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
470        priority level for large memory Coldfires.
471
4722008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
473
474        * rtems/include/rtems/rtems/config.h,
475        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
476        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
477        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
478
4792008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
480
481        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
482        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
483        CONFIGURE_MAXIMUM_PRIORITY.
484
4852008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
486
487        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
488        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
489        sapi/include/confdefs.h, sapi/include/rtems/config.h,
490        score/inline/rtems/score/stack.inl, score/src/isr.c,
491        score/src/mpci.c, score/src/threadcreateidle.c,
492        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
493        ability for application to configure minimum stack size. Add
494        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
495        indicate they want the configured as opposed to the recommended
496        minimum stack size.
497
4982008-06-10      Chris Johns <chrisj@rtems.org>
499
500        * score/include/rtems/score/priority.h: Let the CPU define the
501        maximum and minimum priority levels to reduce the amount of memory
502        thread chains use.
503
5042008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
505
506        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
507        rtems/include/rtems/rtems/config.h,
508        rtems/include/rtems/rtems/dpmem.h,
509        rtems/include/rtems/rtems/eventset.h,
510        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
511        rtems/include/rtems/rtems/ratemon.h,
512        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
513        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
514        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
515        Classic API Doxygen.
516
5172008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
518
519        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
520        score/include/rtems/score/thread.h: Complete previous patch. Add
521        typedef for cpu usage statistics.
522
5232008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
524
525        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
526        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
527        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
528        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
529        score/src/threaddispatch.c, score/src/threadinitialize.c,
530        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
531        period timing statistics. Also renamed related variables and
532        structure members so they are the same whether you are using
533        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
534        granularity. This lays the groundwork for future cleanup.
535
5362008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
537
538        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
539        particular, there was a report from that Matthew Riek that memory was
540        being reserved twice for the IDLE task. This was covering up other
541        places that under allocated memory. Before I was done, I had reworked
542        the file to be easier to read, maintain and be more accurate.
543
5442008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
545
546        * score/include/rtems/score/isr.h, score/src/isr.c: Use
547        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
548        memory for vector table.
549
5502008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
551
552        * score/src/wkspace.c: Fix error in comment.
553
5542008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
555
556        * posix/src/psignal.c: Do not allocate any memory for queued signals if
557        the configuration parameter is 0. Before we would end up with an
558        allocation of 0 which rounded up and wasted some memory when POSIX
559        was configured.
560
5612008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
562
563        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
564        the target toolset uses init/fini sections.
565
5662008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
567
568        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
569        has no functional data in the user extension data area structure so
570        this disables the definition, allocation and deallocation of that
571        structure. If we ever have to add data to it, then it will be easy to
572        reenable.
573
5742008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
575
576        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
577        score/src/threadget.c: Make sure the pointer to the API object table
578        is valid before derefencing it.
579
5802008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
581
582        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
583        calls for leading underscore on private RTEMS variables.
584
5852008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
586
587        * score/include/rtems/score/object.h,
588        score/include/rtems/score/watchdog.h: Move #include's out of
589        extern "C" {}.
590
5912008-05-30      Till Straumann <strauman@slac.stanford.edu>
592
593        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
594        release node if rtems_filesystem_evaluate_path() fails
595        in nfs_eval_link() since pathloc contains no valid node.
596
5972008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
598
599        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
600        while at prompt results in shell logging out and connection still
601        being available.
602
6032008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
604
605        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
606        fini() as part of exit(). This avoids atexit() being a required
607        function.
608
6092008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
610
611        * libmisc/shell/shell.c: Minor change so dropping connection during
612        login prompt results in connection still being available.
613
614
6152008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
616
617        * score/include/rtems/score/object.h,
618        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
619        and RTEMS_ID_NONE.  No object can have this ID.
620
6212008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
622
623        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
624        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
625        libcsupport/src/base_fs.c, libcsupport/src/error.c,
626        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
627        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
628        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
629        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
630        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
631        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
632        libfs/src/imfs/imfs_handlers_device.c,
633        libfs/src/imfs/imfs_handlers_directory.c,
634        libfs/src/imfs/imfs_handlers_link.c,
635        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
636        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
637        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
638        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
639        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
640        sapi/include/confdefs.h, sapi/include/rtems/io.h,
641        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
642        Added const qualifier to various pointers and data tables to
643        reduce size of data area.
644        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
645        DOSFS: Use LibBlock instead of read() to read the boot record.
646       
6472008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
648
649        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
650
6512008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
652
653        * libcsupport/src/printk.c:
654        Bugfix: String output without width option.
655
6562008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
657
658        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
659        Bugfix: Moved definition of ppp_softc into source file.
660
6612008-05-23      Till Straumann <strauman@slac.stanford.edu>
662
663        * libnetworking/netinet/ip_output.c: when fragmenting
664        multicast packets M_MCAST must be set on all fragments.
665        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
666        (see my email to rtems-users from 2008/5/15).
667
6682008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
669
670        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
671        itron/src/exd_tsk.c, itron/src/task.c,
672        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
673        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
674        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
675        posix/src/testcancel.c, rtems/src/taskdelete.c,
676        score/inline/rtems/score/object.inl, score/src/objectclose.c,
677        score/src/threadclose.c: Make all task delete/exit/cancel routines
678        follow the same critical section pattern. Also ensure that POSIX
679        cancelation routines are run at thread exit.
680
6812008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
682
683        * libcsupport/src/termios_baud2index.c,
684        libcsupport/src/termios_baud2num.c,
685        libcsupport/src/termios_num2baud.c,
686        libcsupport/src/termios_setinitialbaud.c: New files.
687
6882008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
689
690        * libcsupport/Makefile.am, libcsupport/preinstall.am,
691        libcsupport/include/rtems/termiostypes.h: Move termios helper
692        routines from libchip to libcsupport. Add routine which makes it easy
693        for a termios device driver to inform termios of its default baud
694        rate. This avoids inconsistencies in later termios settings changes.
695
6962008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
697
698        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
699
7002008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
701
702        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
703        interface for Watchdog Driver.
704        * libcsupport/include/rtems/watchdogdrv.h: New file.
705
7062008-05-16      Till Straumann <strauman@slac.stanford.edu>
707
708        * score/src/threadchangepriority.c: Just in case the transient
709        state was set when we entered, ensure that it is still set when
710        we exit.
711        * score/src/threadclose.c: When a thread is being deleted, it should
712        go into the dormant state -- not the transient state.
713
7142008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
715
716        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
717        driver private data
718
7192008-05-13      Eric Norum: <norume@aps.anl.gov>
720
721        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
722        structure assignment.
723
7242008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
725
726        * libi2c/libi2c.h: Fix typo.
727
7282008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
729
730        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
731        CPUKIT.
732
7332008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
734
735        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
736        initialization routines to rtems_initialize_data_structures,
737        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
738        rtems_initialize_start_multitasking. This opened the sequence up so
739        that bootcard() could provide a more robust and flexible framework
740        which is easier to explain and understand. This also lays the
741        groundwork for sharing the division of available memory between the
742        RTEMS workspace and heap and the C library initialization across all
743        BSPs.
744
7452008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
746
747        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
748        comments.
749
7502008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
751
752        * score/src/objectget.c: Improve comments and readability.
753
7542008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
755
756        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
757        score/src/coresemseize.c, score/src/threadhandler.c: Comment
758        improvements from class.
759
7602008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
761
762        PR 1285/rtems
763        * sapi/include/rtems/config.h: Remove obsolete
764        rtems_configuration_get_maximum_devices().
765
7662008-05-01      Chris Johns <chrisj@rtems.org>
767
768        * libblock/include/rtems/nvdisk-sram.h,
769        libblock/include/rtems/nvdisk.h,
770        libblock/src/nvdisk-sram.c,
771        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
772        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
773        the NV disk driver.
774
7752008-05-01  Maarten Van Es <maarten@mind.be>
776
777        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
778        interface for rtems_dhcp_failsafe.
779        * libnetworking/rtems/rtems_dhcp.h: Added interface for
780        rtems_dhcp_failsafe.
781
7822008-05-01  Arnout Vandecappelle <arnout@mind.be>
783
784        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
785        return on timeout in bootpc_call().  Removed panic()s.
786        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
787        SIOCAIFADDR ioctl call.
788        * libnetworking/rtems/rtems_dhcp_failsafe.c,
789        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
790        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
791        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
792
7932008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
794
795        * rtems/include/rtems/rtems/timer.h: Fix typo.
796
7972008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
798
799        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
800        rtems/include/rtems/rtems/status.h,
801        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
802        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
803
8042008-04-28      Daron Chabot <daron.chabot@usask.ca>
805
806        * posix/src/keycreate.c, posix/src/pthreadequal.c,
807        rtems/src/semtranslatereturncode.c,
808        score/src/threadblockingoperationcancel.c: Fix compilation errors
809        when --enable-rtems-debug is used.
810
8112008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
812
813        * score/include/rtems/system.h: Fix typo in comment.
814
8152008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
816
817        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
818        typos added with recent changes.
819
8202008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
821
822        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
823        rtems_termios_reserve_resources. It is obsolete.
824        * libcsupport/src/termiosreserveresources.c: Removed.
825
8262008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
827
828        * rtems/mainpage.h: New file.
829
8302008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
831
832        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
833        rtems/include/rtems/rtems/attr.h,
834        rtems/include/rtems/rtems/barrier.h,
835        rtems/include/rtems/rtems/barriermp.h,
836        rtems/include/rtems/rtems/cache.h,
837        rtems/include/rtems/rtems/config.h,
838        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
839        rtems/include/rtems/rtems/eventmp.h,
840        rtems/include/rtems/rtems/eventset.h,
841        rtems/include/rtems/rtems/intr.h,
842        rtems/include/rtems/rtems/message.h,
843        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
844        rtems/include/rtems/rtems/msgmp.h,
845        rtems/include/rtems/rtems/options.h,
846        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
847        rtems/include/rtems/rtems/ratemon.h,
848        rtems/include/rtems/rtems/region.h,
849        rtems/include/rtems/rtems/regionmp.h,
850        rtems/include/rtems/rtems/rtemsapi.h,
851        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
852        rtems/include/rtems/rtems/signal.h,
853        rtems/include/rtems/rtems/signalmp.h,
854        rtems/include/rtems/rtems/status.h,
855        rtems/include/rtems/rtems/support.h,
856        rtems/include/rtems/rtems/taskmp.h,
857        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
858        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
859        rtems/inline/rtems/rtems/attr.inl,
860        rtems/inline/rtems/rtems/barrier.inl,
861        rtems/inline/rtems/rtems/dpmem.inl,
862        rtems/inline/rtems/rtems/event.inl,
863        rtems/inline/rtems/rtems/message.inl,
864        rtems/inline/rtems/rtems/modes.inl,
865        rtems/inline/rtems/rtems/options.inl,
866        rtems/inline/rtems/rtems/part.inl,
867        rtems/inline/rtems/rtems/ratemon.inl,
868        rtems/inline/rtems/rtems/region.inl,
869        rtems/inline/rtems/rtems/sem.inl,
870        rtems/inline/rtems/rtems/status.inl,
871        rtems/inline/rtems/rtems/support.inl,
872        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
873
8742008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
875
876        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
877        rtems/include/rtems/rtems/attr.h,
878        rtems/include/rtems/rtems/barrier.h,
879        rtems/include/rtems/rtems/barriermp.h,
880        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
881        rtems/include/rtems/rtems/config.h,
882        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
883        rtems/include/rtems/rtems/eventmp.h,
884        rtems/include/rtems/rtems/eventset.h,
885        rtems/include/rtems/rtems/intr.h,
886        rtems/include/rtems/rtems/message.h,
887        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
888        rtems/include/rtems/rtems/msgmp.h,
889        rtems/include/rtems/rtems/object.h,
890        rtems/include/rtems/rtems/options.h,
891        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
892        rtems/include/rtems/rtems/ratemon.h,
893        rtems/include/rtems/rtems/region.h,
894        rtems/include/rtems/rtems/regionmp.h,
895        rtems/include/rtems/rtems/rtemsapi.h,
896        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
897        rtems/include/rtems/rtems/signal.h,
898        rtems/include/rtems/rtems/signalmp.h,
899        rtems/include/rtems/rtems/status.h,
900        rtems/include/rtems/rtems/support.h,
901        rtems/include/rtems/rtems/taskmp.h,
902        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
903        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
904        rtems/inline/rtems/rtems/attr.inl,
905        rtems/inline/rtems/rtems/barrier.inl,
906        rtems/inline/rtems/rtems/dpmem.inl,
907        rtems/inline/rtems/rtems/event.inl,
908        rtems/inline/rtems/rtems/eventset.inl,
909        rtems/inline/rtems/rtems/message.inl,
910        rtems/inline/rtems/rtems/modes.inl,
911        rtems/inline/rtems/rtems/options.inl,
912        rtems/inline/rtems/rtems/part.inl,
913        rtems/inline/rtems/rtems/ratemon.inl,
914        rtems/inline/rtems/rtems/region.inl,
915        rtems/inline/rtems/rtems/sem.inl,
916        rtems/inline/rtems/rtems/status.inl,
917        rtems/inline/rtems/rtems/support.inl,
918        rtems/inline/rtems/rtems/tasks.inl,
919        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
920        header files to Doxygen.
921        * rtems/Doxyfile: New file.
922
9232008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
924
925        * posix/src/key.c: Include <limits.h>
926        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
927        a NULL extension block.
928
9292008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
930
931        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
932        application configuration errors. If any POSIX objects or a POSIX
933        init thread is configured without POSIX being configure, then error
934        out. Similarly for ITRON. Add
935        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
936        parameter so the application has to explicitly configure the Clock
937        driver in or out if the Timer driver is not configured. Also verify
938        RTEMS was built for multiprocessing, if the user tries to configure a
939        multiprocessing application.
940
9412008-04-12      Chris Johns <chrisj@rtems.org>
942
943        * libmisc/shell/shell.c, libmisc/shell/shell.h,
944        libmisc/shell/shell_script.c: Add support to echo the commands to
945        stdout. This is useful with the -v script option to show commands
946        as the run. Also added support to chdir to the directory the task
947        invoking the script is in.
948        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
949        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
950        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
951        support.
952
9532008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
954
955        * score/include/rtems/score/tod.h: Fix typo.
956
9572008-04-08      Chris Johns <chrisj@rtems.org>
958
959        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
960        into argv parts. Was using the command line history buffer so the
961        history was being corrupted.
962
9632008-04-03      Chris Johns <chrisj@rtems.org>
964
965        * libfs/src/nfsclient/src/librtemsNfs.h,
966        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
967        external to RTEMS and even if in the cpukit it should not cross
968        reference in this way.
969        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
970        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
971        in the shell area.
972        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
973        support.
974
9752008-03-29      Chris Johns <chrisj@rtems.org>
976
977        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
978        reported to the mailing list by Pierre Kestener
979        (pierre.kestener@cea.fr).
980
9812008-03-25      Till Straumann <strauman@slac.stanford.edu>
982
983        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
984          coldfire.
985
9862008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
987
988        * libmisc/shell/cmds.c: Directly register the command structure to
989        avoid unnecessary duplication of static strings. We know best this
990        time.
991
9922008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
993
994        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
995        for the ITRON initialization tasks ALL the time.
996        Do not reserve memory for the object name table since it does not
997        exist any longer.
998        * sapi/include/rtems/sptables.h: Fix typo.
999
10002008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1001
1002        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1003        rtems/src/clockget.c:
1004        * rtems/src/clockgetsecondssinceepoch.c,
1005        rtems/src/clockgettickspersecond.c,
1006        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
1007        rtems/src/clockgettodtimeval.c: New files.
1008        Refactored rtems_clock_get into 5 methods which are single purpose
1009        and more strongly typed.  They are:
1010            rtems_clock_get_tod - Get TOD in Classic API structure
1011            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1012            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1013            rtems_clock_get_ticks_since_boot - Get ticks since boot
1014            rtems_clock_get_ticks_per_second - Get ticks per second
1015
10162008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1017
1018        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1019        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1020        ensure it is zeroed out each time we use getopt_r().
1021        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1022        This makes the scripts behave more like UNIX scripts.
1023
10242008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1025
1026        * posix/Makefile.am: Make clock_settime() available always just like
1027        clock_gettime().
1028
10292008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1030
1031        * score/include/rtems/score/copyrt.h: Update year.
1032
10332008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1034
1035        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1036        by gcc newer than the 4.3 release series.
1037
10382008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1039
1040        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1041        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1042        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1043        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1044        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1045        libmisc/shell/shell.c, libmisc/shell/shell.h,
1046        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1047        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1048        capability to automatically execute a script from the filesystem. Add
1049        echo command from NetBSD and sleep command.
1050        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1051        libmisc/shell/shell_script.c: New files.
1052
10532008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1054
1055        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1056        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1057        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1058        score/src/threadclose.c, score/src/threadcreateidle.c,
1059        score/src/threadinitialize.c: Switch task create and delete
1060        operations to using API Allocator Mutex. This moves almost all uses
1061        of the RTEMS Workspace from dispatching disabled to mutex protected
1062        which should improve deterministic behavior. The implementation was
1063        carefully done to allow task create and delete extensions to invoke
1064        more services. In particular, a task delete extension should be able
1065        to do mutex and file operations.
1066
10672008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1068
1069        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1070        enabled.
1071
10722008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1073
1074        * libcsupport/src/chroot.c: Formatting.
1075
10762008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1077
1078        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1079        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1080        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1081        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1082        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1083        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1084        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1085        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1086        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1087        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1088        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1089        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1090        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1091        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1092        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1093        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1094        libmisc/shell/shell.h: Clean up done while writing documentation.
1095        Some command improvements such as date now allows setting of the
1096        current TOD. Often commands did not use stdout/stderr per
1097        expectations and did not return -1 on an error.
1098
10992008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1100
1101        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1102        the use of RPC/XDR could be an issue, the code does build multilib
1103        across all targets. There are a few remaining warnings to deal with.
1104        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1105        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1106        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1107        libfs/src/nfsclient/rfc1094.txt,
1108        libfs/src/nfsclient/proto/mount_prot.h,
1109        libfs/src/nfsclient/proto/mount_prot.x,
1110        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1111        libfs/src/nfsclient/proto/nfs_prot.h,
1112        libfs/src/nfsclient/proto/nfs_prot.x,
1113        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1114        libfs/src/nfsclient/src/cexphelp.c,
1115        libfs/src/nfsclient/src/dirutils.c,
1116        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1117        libfs/src/nfsclient/src/nfs.modini.c,
1118        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1119        libfs/src/nfsclient/src/rpcio.h,
1120        libfs/src/nfsclient/src/rpcio.modini.c,
1121        libfs/src/nfsclient/src/sock_mbuf.c,
1122        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1123
11242008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1125
1126        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1127        missing field to default multiprocessing configuration table. Also
1128        document fields in Doxygen format.
1129
11302008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1131
1132        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1133        warnings.
1134
11352008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1136
1137        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1138        command to access statistics reporting functions in TCP/IP stack.
1139        * libmisc/shell/main_netstats.c: New file.
1140
11412008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1142
1143        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1144        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1145        ifconfig commands. The code for these was previously in the
1146        networking guide. Disable NFS filesystem mount until that code is in
1147        cpukit.
1148        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1149
11502008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1151
1152        * posix/preinstall.am,  libcsupport/preinstall.am:
1153        Revert Joel's  2008-01-31 screw up.
1154
11552008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1156
1157        * posix/include/rtems/posix/timer.h: Add c++ guards.
1158        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1159        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1160        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1161        MC68230_ to avoid preprocessor clashes.
1162
11632008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1164
1165        * posix/src/mqueueunlink.c, score/Makefile.am,
1166        score/include/rtems/score/object.h,
1167        score/inline/rtems/score/object.inl: Enhance
1168        _Objects_Namespace_remove() to handle freeing object names which are
1169        strings. All changed _Objects_Close() to call
1170        _Objects_Namespace_remove(). The resulting code was then moved from
1171        inline routines to function calls.
1172        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1173
11742008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1175
1176        * libcsupport/src/printk.c: Added width and padding for %s.
1177        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1178        strings longer than 4 chanracters.
1179
11802008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1181
1182        PR 1277/networking
1183        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1184        constraint for assembly language. This restricts the register choice
1185        to the a-d registers.
1186
11872008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1188
1189        * libnetworking/kern/uipc_socket2.c,
1190        libnetworking/netinet/tcp_usrreq.c,
1191        libnetworking/netinet/udp_usrreq.c,
1192        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1193        Add configuration parameters for network stack efficiency multiplier
1194        and default socket buffer sizes. Change default multiplier from 8 to
1195        2 to match GNU/Linux. This has no impact on performance on the BSPs
1196        tested.
1197
11982008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1199
1200        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1201        workspace manipulation routines for testing.
1202        * rtems/src/workspace.c: New file.
1203
12042008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1205
1206        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1207        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1208        Object Id of SELF.
1209
12102008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1211
1212        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1213        Minor modifications to improve testability.
1214        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1215
12162008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1217
1218        * posix/src/pthreadinitthreads.c: Clean up error paths.
1219
12202008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1221
1222        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1223        changes which aid in coverage testing.
1224
12252008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1226
1227        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1228        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1229        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1230        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1231        whether named or unnamed to have a string name.  If the API does
1232        not directly support having a name, then the user must explicitly
1233        assign it using rtems_object_set_name().
1234        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1235        * score/include/rtems/score/object.h,
1236        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1237        score/src/objectsetname.c: Modifications required to pass testing of
1238        recently modified object name operations.  Also eliminated
1239        multiprocessing related code that was not reachable.
1240
12412008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1242
1243        * posix/src/timersettime.c: Fix to remove warning.
1244
12452008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1246
1247        * libcsupport/src/posix_memalign.c: Remove warning.
1248
12492008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1250
1251        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1252        rtems/include/rtems/rtems/object.h,
1253        rtems/src/rtemsobjectgetapiclassname.c,
1254        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1255        cannot be used as a parameter.
1256
12572008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1258
1259        * score/Makefile.am, score/include/rtems/score/threadq.h,
1260        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1261        was really too complex to be inlined.
1262        * score/src/threadqprocesstimeout.c: New file.
1263
12642008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1265
1266        * score/Doxyfile: Revert Doxygen version changes.
1267
12682008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1269
1270        * score/Doxyfile: Update to latest Doxygen format.
1271        * score/include/rtems/score/apimutex.h,
1272        score/include/rtems/score/corebarrier.h,
1273        score/include/rtems/score/coremutex.h,
1274        score/include/rtems/score/corerwlock.h,
1275        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1276        score/include/rtems/score/protectedheap.h,
1277        score/include/rtems/score/thread.h,
1278        score/include/rtems/score/threadsync.h,
1279        score/include/rtems/score/tod.h,
1280        score/inline/rtems/score/corerwlock.inl,
1281        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1282        warnings.
1283
12842008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1285
1286        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1287        available when API is disabled. Do not attempt to use them.
1288
12892008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1290
1291        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1292
12932008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1294
1295        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1296        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1297        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1298        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1299        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1300        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1301        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1302        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1303        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1304        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1305        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1306        rtems/src/timerserver.c, score/Makefile.am,
1307        score/include/rtems/score/object.h,
1308        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1309        score/src/objectgetnameasstring.c,
1310        score/src/threadqextractwithproxy.c: Add new Object Services
1311        collection. This changed the name of a few previously public but
1312        undocumented services and added a some new services.
1313        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1314        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1315        rtems/src/rtemsobjectapiminimumclass.c,
1316        rtems/src/rtemsobjectgetapiclassname.c,
1317        rtems/src/rtemsobjectgetapiname.c,
1318        rtems/src/rtemsobjectgetclassicname.c,
1319        rtems/src/rtemsobjectgetclassinfo.c,
1320        rtems/src/rtemsobjectidapimaximum.c,
1321        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1322        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1323        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1324        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1325        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1326        * rtems/src/rtemsidtoname.c: Removed.
1327
13282008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1329
1330        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1331        switch statements to if statements.
1332
13332008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1334
1335        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1336        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1337        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1338        as helper and as exposed nmemalign variant with few restrictions.
1339        Also turn on compilation of _Heap_Walk but make forced calls to it
1340        conditionally compiled. This should allow more flexibility to the
1341        user as to run-time checking of the heap.
1342        * libcsupport/src/rtems_memalign.c: New file.
1343
13442008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1345
1346        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1347        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1348        Multiprocessing compiles again and survives initialization. The
1349        recent object name and confdefs.h changes had broken it.
1350
13512008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1352
1353        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1354        score/include/rtems/score/interr.h,
1355        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1356        Modifications to aid in full path testing.
1357
13582008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1359
1360        * posix/src/mqueuesendsupp.c: Remove warning.
1361
13622008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1363
1364        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1365        in public API.
1366
13672008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1368
1369        * score/include/rtems/score/object.h,
1370        score/src/objectextendinformation.c,
1371        score/src/objectinitializeinformation.c,
1372        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1373        not used.
1374
13752008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1376
1377        * score/src/objectnametoidstring.c: New file.
1378
13792008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1380
1381        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1382        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1383        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1384        libmisc/stackchk/check.c, posix/src/condinit.c,
1385        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1386        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1387        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1388        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1389        posix/src/prwlockinit.c, posix/src/pspininit.c,
1390        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1391        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1392        posix/src/timercreate.c, rtems/src/barrierident.c,
1393        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1394        rtems/src/ratemonident.c, rtems/src/regionident.c,
1395        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1396        sapi/src/extensionident.c, score/Makefile.am,
1397        score/include/rtems/score/object.h,
1398        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1399        score/src/objectextendinformation.c,
1400        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1401        score/src/objectnametoid.c: Convert the Objects_Name type from a
1402        simple type to a union of an unsigned 32 bit integer and a pointer.
1403        This should help eliminate weird casts between u32 and pointers in
1404        various places. The APIs now have to explicitly call _u32 or _string
1405        versions of helper routines. This should also simplify things and
1406        eliminate the need for ugly casts in some cases.
1407        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1408        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1409        score/src/objectcopynamestring.c: Removed.
1410
14112008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1412
1413        * score/src/threadblockingoperationcancel.c: Clean up.
1414        * score/src/threadqextract.c: Restructure to eliminate dead code.
1415
14162008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1417
1418        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1419        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1420        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1421        testing and clean up more code.
1422
14232008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1424
1425        * score/src/threadqfirst.c: Remove switch.
1426
14272008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1428
1429        * rtems/include/rtems/rtems/event.h,
1430        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1431        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1432        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1433        score/include/rtems/score/interr.h,
1434        score/include/rtems/score/thread.h,
1435        score/include/rtems/score/threadq.h,
1436        score/include/rtems/score/tqdata.h,
1437        score/inline/rtems/score/threadq.inl,
1438        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1439        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1440        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1441        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1442        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1443        score/src/threadqextractpriority.c,
1444        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1445        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1446        score/src/threadqflush.c, score/src/threadqrequeue.c,
1447        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1448        blocking synchronization critical sections. This resulted in three
1449        copies of essentially the same hard to test critical section code
1450        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1451        addition, the thread queue and event code now share a common
1452        synchronization enumerated type. Along the way, switches were
1453        reworked to eliminate dead code generated by gcc and comments and
1454        copyrights were updated.
1455        * score/include/rtems/score/threadsync.h,
1456        score/src/threadblockingoperationcancel.c: New files.
1457
14582008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1459
1460        * libi2c/README_libi2c: Correct spelling error.
1461        * score/src/threadclearstate.c: Improve comment.
1462
14632008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1464
1465        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1466        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1467        posix/src/timergettime.c, posix/src/timersettime.c,
1468        score/include/rtems/score/timespec.h:
1469
14702008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1471
1472        * libmisc/shell/Makefile.am: Don't use make variables.
1473
14742008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1475
1476        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1477        existing one.
1478
14792008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1480
1481        * score/include/rtems/score/wkspace.h,
1482        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1483        inline _Workspace_Free or _Workspace_Allocate since they are not
1484        always inlined and actually smaller overall as subroutines. They are
1485        not particularly time critical so inlining is not absolutely
1486        necessary.
1487
14882008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1489
1490        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1491        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1492        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1493        Condition Variable object get helpers because they are more
1494        complicated than the norm. They can implicitly perform a create. They
1495        cross the line as being too complex and large to inline since they
1496        negatively impact size and binary test coverage.
1497        * posix/src/condget.c, posix/src/mutexget.c: New files.
1498
14992008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1500
1501        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1502        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1503        * libcsupport/src/malloc_p.h: Correct prototype.
1504
15052008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1506
1507        * score/include/rtems/score/coremutex.h,
1508        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1509        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1510
15112008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1512
1513        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1514
15152008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1516
1517        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1518        libcsupport/src/free.c, libcsupport/src/malloc.c,
1519        libcsupport/src/malloc_deferred.c,
1520        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1521        libcsupport/src/malloc_sbrk_helpers.c,
1522        libcsupport/src/posix_memalign.c: Place all deferred free code and
1523        place it in subroutines. Add plugin for dirtying allocated memory to
1524        assist in debugging. Clean up comments and spacing as needed.
1525        * libcsupport/src/malloc_dirtier.c: New file.
1526
15272008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1528
1529        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1530        when there is an error.
1531
15322008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1533
1534        * posix/src/keycreate.c, rtems/src/eventseize.c,
1535        score/include/rtems/score/interr.h: Rearranged source to allow more
1536        test coverage.
1537
15382008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1539
1540        * libcsupport/src/__assert.c: Clean up and make __assert() call
1541        __assert_func().
1542
15432008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1544
1545        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1546        need to have it also.
1547
15482008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1549
1550        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1551        * libcsupport/include/rtems/malloc.h,
1552        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1553        libcsupport/src/malloc_p.h,
1554        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1555        support pluggable and optional.  This eliminates the need for
1556        heap extend and sbrk in the minimum footprint which is ~2.5K on
1557        the SPARC.
1558        * sapi/include/confdefs.h: Add the following configuration points:
1559          + CONFIGURE_MALLOC_STATISTICS
1560          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1561        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1562
15632008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1564
1565        * score/Makefile.am: Add missing file.
1566
15672008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1568
1569        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1570
15712008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1572
1573        * libmisc/Makefile.am: Add new files.
1574        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1575        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1576        * libmisc/shell/shellconfig.h: Add wkspace command.
1577        * libmisc/shell/main_wkspaceinfo.c,
1578        libmisc/shell/print_heapinfo.c: New files.
1579
15802008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1581
1582        * score/inline/rtems/score/isr.inl: Fix spacing.
1583        * score/src/apimutexallocate.c: Fix spacing.
1584        * score/src/coremsgseize.c: Check for message pending instead of
1585        message pending count to avoid dead code from inlined chain routine.
1586        It checks if the chain is empty so is redundant to count == 0.
1587
15882008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1589
1590        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1591        up.
1592
15932008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1594
1595        * posix/src/pthreadcreate.c: Add commit.
1596        * posix/src/pthreadinitthreads.c: Fix line length.
1597
15982008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1599
1600        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1601
16022008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1603
1604        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1605        coding it.
1606
16072008-01-05      Chris Johns <chrisj@rtems.org>
1608
1609        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1610        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1611        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1612        control fields. Add more control fields to handle the flash when
1613        full.
1614        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1615        detects a descriptor is erased. Add support for unavailable blocks
1616        the user can configure. Print the used list as a diag. Fix the bug
1617        when a page is detected as failed and present on more than one
1618        queue. Add a count to the queues so queue length can be used to
1619        manage compaction.
1620       
16212008-01-03      Till Straumann <strauman@slac.stanford.edu>
1622
1623        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1624        cannot call _fini via atexit() from rtems_shutdown_executive()
1625        because at the point where rtems_shutdown_executive is called
1626        the C-library is already dead.
1627        Instead, register an atexit(_fini) after calling _init().
1628
16292007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1630
1631        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1632        Hopefully this implementation is OK.
1633        * libcsupport/src/_rename_r.c: New file.
1634
16352007-12-22      Chris Johns <chrisj@rtems.org>
1636
1637        * configure.ac: fixed bug that always enabled strict order
1638        mutexes.
1639        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1640        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1641        list if the mutex is initialised locked.
1642        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1643        message to show the error is an rtems-net error.
1644        * libmisc/monitor/mon-network.c: Removed warnings.
1645        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1646        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1647        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1648        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1649        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1650        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1651        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1652        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1653        libmisc/shell/warnx.c: New. Ported from BSD.
1654        * libmisc/shell/shellconfig.h: Add the cp command.
1655        * libmisc/Makefile.am: Add the new files to the shell.
1656        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1657        support.
1658        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1659        bug.
1660       
16612007-12-21      Xi Yang <hiyangxi@gmail.com>
1662
1663        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1664        of priority inheritance on mutexes as well as enforce proper order of
1665        release.
1666
16672007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1668
1669        * configure.ac, score/include/rtems/score/coremutex.h,
1670        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1671        inlining coremutex seize. This reduces the code size and also
1672        improves the process of coverage analysis.
1673        * score/src/coremutexseizeintr.c: New file.
1674
16752007-12-21      Xi Yang <hiyangxi@gmail.com>
1676
1677        * configure.ac, score/include/rtems/score/coremutex.h,
1678        score/include/rtems/score/thread.h,
1679        score/inline/rtems/score/coremutex.inl,
1680        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1681        support for proper stacking of priority inheritance on mutexes as
1682        well as enforce proper order of release.
1683
16842007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1685
1686        PR 1268/cpukit
1687        * libcsupport/include/rtems/assoc.h: There is no
1688        rtems_assoc_ptr_by_value method.
1689
16902007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1691
1692        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1693        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1694
16952007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1696
1697        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1698
16992007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1700
1701        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1702
17032007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1704
1705        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1706        rtems_task_self() directive.
1707        * rtems/src/taskself.c: New file.
1708
17092007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1710
1711        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1712        and resolved copyright information.
1713        * posix/src/kill_r.c: New file.
1714
17152007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1716
1717        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1718
17192007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1720
1721        * sapi/include/confdefs.h: Revert. Requires info not available at
1722        preprocessing time.
1723
17242007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1725
1726        * sapi/include/confdefs.h: Catch the error when the user lowers the
1727        maximum number of drivers below the number of statically configured
1728        ones.
1729
17302007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1731
1732        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1733        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1734        Manager clean up. Update object id switches to new pattern. Catch
1735        some NULL parameter errors.
1736
17372007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1738
1739        * posix/src/psignalunblockthread.c: Remove source that
1740
17412007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1742
1743        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1744        only
1745
17462007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1747
1748        * posix/src/psignal.c: Move source around to enable path testing
1749
17502007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1751
1752        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1753        libcsupport/src/free.c, libcsupport/src/malloc.c,
1754        libcsupport/src/malloc_p.h,
1755        libcsupport/src/malloc_report_statistics_plugin.c,
1756        libmisc/shell/shell.c, libmisc/shell/shell.h,
1757        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1758        out management of deferred frees to subroutines.
1759        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1760
17612007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1762
1763        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1764        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1765        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1766        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1767        one function per file. Also split out statistics into a separate file
1768        which can be plugged in dynamically. Right now, it is always in. I
1769        suspect that splitting the file removed more code than leaving
1770        statistics in. I tinkered with malloc information command in the
1771        shell. I resurrected the malloc arena code as malloc boundary. This
1772        code is now compiled all the time even though it does not appear to
1773        work.
1774        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1775        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1776        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1777        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1778        libcsupport/src/malloc_get_statistics.c,
1779        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1780        libcsupport/src/malloc_report_statistics.c,
1781        libcsupport/src/malloc_report_statistics_plugin.c,
1782        libcsupport/src/malloc_statistics_helpers.c,
1783        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1784        libmisc/shell/main_perioduse.c: New files.
1785
17862007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1787
1788        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1789        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1790        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1791        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1792        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1793        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1794        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1795        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1796        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1797        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1798        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1799        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1800        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1801        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1802        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1803        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1804        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1805        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1806        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1807        rtems_Shell_ to rtems_shell_.
1808
18092007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1810
1811        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1812        with info and dump as replacement for older command. Fix what looked
1813        like a typo for mount sub-commands.
1814        * libmisc/shell/main_mallocinfo.c: New file.
1815        * libmisc/shell/main_mallocdump.c: Removed.
1816
18172007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1818
1819        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1820        malloc_info() routine.
1821        * libcsupport/src/mallocinfo.c: New file.
1822
18232007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1824
1825        * libmisc/stackchk/check.c: Add print of current stack pointer and
1826        stack info even if stack checker is not initialized.
1827
18282007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1829
1830        * libcsupport/src/printk.c: Style.
1831
18322007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1833
1834        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1835        required in multiprocessing configuration.
1836
18372007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1838
1839        * score/src/objectget.c: Revert.
1840
18412007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1842
1843        * posix/src/timergettime.c: Include rtems/score/timespec.h
1844
18452007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1846
1847        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1848        posix/include/mqueue.h, posix/include/sched.h,
1849        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1850        posix/include/rtems/posix/priority.h,
1851        posix/include/rtems/posix/psignal.h,
1852        posix/include/rtems/posix/threadsup.h,
1853        posix/include/rtems/posix/timer.h,
1854        posix/inline/rtems/posix/priority.inl,
1855        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1856        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1857        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1858        posix/src/cleanuppush.c, posix/src/cond.c,
1859        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1860        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1861        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1862        posix/src/conddestroy.c, posix/src/condinit.c,
1863        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1864        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1865        posix/src/keycreate.c, posix/src/keydelete.c,
1866        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1867        posix/src/keysetspecific.c, posix/src/mqueue.c,
1868        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1869        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1870        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
1871        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
1872        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
1873        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1874        posix/src/mqueueunlink.c, posix/src/mutex.c,
1875        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
1876        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1877        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1878        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1879        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1880        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1881        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1882        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1883        posix/src/psignal.c, posix/src/psignalchecksignal.c,
1884        posix/src/psignalclearprocesssignals.c,
1885        posix/src/psignalclearsignals.c,
1886        posix/src/psignalsetprocesssignals.c,
1887        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1888        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
1889        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
1890        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
1891        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
1892        posix/src/semclose.c, posix/src/semdestroy.c,
1893        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
1894        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
1895        posix/src/semwait.c, posix/src/setcancelstate.c,
1896        posix/src/setcanceltype.c, posix/src/sysconf.c,
1897        posix/src/testcancel.c: Add missing copyright statements.
1898
18992007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1900
1901        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
1902
19032007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1904
1905        * posix/Makefile.am, posix/preinstall.am,
1906        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
1907        Timer implementation into multiple files. Add obvious error checks
1908        for NULL parameters. Attempt to reduce include files.
1909        * posix/src/timercreate.c, posix/src/timerdelete.c,
1910        posix/src/timergetoverrun.c, posix/src/timergettime.c,
1911        posix/src/timerinserthelper.c, posix/src/timersettime.c,
1912        posix/src/timertsr.c: New files.
1913        * posix/src/ptimer1.c: Removed.
1914
19152007-12-17      Chris Johns <chrisj@rtems.org>
1916
1917        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
1918        libmisc/shell/main_unmount.c: New.
1919        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
1920        blksync, msdosfmt, and unmount commands.
1921
19222007-12-17      Chris Johns <chrisj@rtems.org>
1923
1924        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
1925        system opts table.
1926        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
1927        system opts table.
1928        * libmisc/Makefile.am: Add the mount command and supporting files.
1929        * libmisc/preinstall.am: Rebuilt.
1930        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
1931        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1932        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1933        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1934        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1935        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1936        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1937        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1938        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1939        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1940        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1941        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1942        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1943        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1944        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
1945        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
1946        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
1947        libmisc/shell/write_file.c: Move all shell_* types, variables and
1948        functions to rtems_shell_* to avoid namespace clashes with
1949        applications. The is an RTEMS shell after all.
1950        * libmisc/shell/shell.h, libmisc/shell/internal.h,
1951        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
1952        functions to rtems_shell_* to avoid namespace clashes with
1953        applications. Add the mount command supporting types.
1954        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
1955        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
1956        libmisc/shell/main_mount_tftp.c: New.
1957       
19582007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1959
1960        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
1961
19622007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1963
1964        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
1965        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
1966        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
1967        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1968        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1969        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1970        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1971        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1972        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1973        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1974        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1975        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1976        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1977        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1978        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1979        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1980        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
1981        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
1982        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
1983        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
1984        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
1985        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
1986        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
1987        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
1988        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
1989        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
1990        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
1991        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
1992        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
1993        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
1994
19952007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1996
1997        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
1998        API.
1999
20002007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2001
2002        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
2003        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
2004        Minor cleanup to improve testability and eliminate dead code.
2005
20062007-12-12      Chris Johns <chrisj@rtems.org>
2007
2008        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2009        Add RTEMS license details.
2010
20112007-12-12      Chris Johns <chrisj@rtems.org>
2012
2013        * Makefile.am, preinstall.am: Added
2014        libblock/include/rtems/flashdisk.h to the installed header list.
2015        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2016        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2017        New.
2018
20192007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2020
2021        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2022        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2023        score/Makefile.am, score/preinstall.am: Revert testing patch.
2024
20252007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2026
2027        * posix/src/sched_rr_get_interval.c: Fix warning.
2028
20292007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2030
2031        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2032        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2033        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2034        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2035        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2036        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2037        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2038        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2039        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2040        files into one function per file.
2041        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2042        posix/src/aio_read.c, posix/src/aio_return.c,
2043        posix/src/aio_suspend.c, posix/src/aio_write.c,
2044        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2045        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2046        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2047        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2048        posix/src/sched_yield.c: New files.
2049        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2050
20512007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2052
2053        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2054        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2055        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2056        posix/src/clocksettime.c, posix/src/devctl.c,
2057        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2058        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2059        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2060        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2061
20622007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2063
2064        * posix/src/adjtime.c: Clean up and verify against behavior documented
2065        in GNU/Linux man page provided with Fedora 7.
2066
20672007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2068
2069        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2070        automake variables.
2071
20722007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2073
2074        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2075        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2076        rtems/src/taskvariabledelete.c: Add test code for task variables to
2077        improve coverage.
2078        * rtems/src/taskvariable_invoke_dtor.c: New file.
2079
20802007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2081
2082        * posix/preinstall.am: Revert debug patch.
2083
20842007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2085
2086        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2087        BSP.
2088
20892007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2090
2091        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2092
20932007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2094
2095        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2096        disabled.
2097
20982007-12-12      Chris Johns <chrisj@rtems.org>
2099
2100        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2101        header list.
2102        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2103        in any order rather than before any commands have been added. Also
2104        made the command's strings be copies rather than references.
2105        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2106
21072007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2108
2109        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2110        Move Ada support code that is untestable from the Standard RTEMS Test
2111        Suite into its own directory. All code in score, posix, rtems, and
2112        sapi should be testable by the Standard RTEMS Test Suites. It was
2113        buried under POSIX before so this should be a clearer location
2114        anyway.
2115        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2116        libgnat/adasupp.c: New files.
2117        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2118
21192007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2120
2121        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2122        Reverse file contents.
2123
21242007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2125
2126        * sapi/include/rtems/config.h: Correct idle task prototype.
2127
21282007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2129
2130        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2131        libmisc/shell/internal.h, libmisc/shell/shell.c,
2132        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2133        processing now separated from main command loop. Addition of user
2134        commands and aliases tested. Monitor registration now explicit.
2135        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2136        libmisc/shell/write_file.c: New files.
2137
21382007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2139
2140        * libmisc/Makefile.am: Fix typo.
2141
21422007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2143
2144        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2145        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2146        into multiple files and add initial stages of command configuration.
2147        This seems to work but the monitor commands need to be integrated
2148        this way and the ability to configure user commands needs to be
2149        tested.
2150        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2151        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2152        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2153        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2154        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2155        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2156        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2157        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2158        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2159        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2160        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2161        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2162        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2163        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2164        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2165        libmisc/shell/str2int.c: New files.
2166
21672007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2168
2169        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2170
21712007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2172
2173        * sapi/include/rtems/config.h: Fix idle thread prototype.
2174
21752007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2176
2177        * sapi/include/confdefs.h: Separate the concept of configuring the
2178        interrupt stack size from actually reserving memory for it in the
2179        RTEMS Workspace.
2180
21812007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2182
2183        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2184        installed. It is the initialization interface for both GoAhead and
2185        Simple HTTPD.
2186
21872007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2188
2189        * sapi/include/rtems/config.h: Correct previous commit.
2190
21912007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2192
2193        * sapi/include/rtems/config.h: Commit temporary fix so
2194        interrupt_stack_size is accessible before RTEMS is initialized.
2195
21962007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2197
2198        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2199        sapi/include/rtems/init.h, sapi/src/exinit.c,
2200        score/include/rtems/system.h, score/src/isr.c: Move
2201        interrupt_stack_size field from CPU Table to Configuration Table.
2202        Eliminate CPU Table from all ports. Delete references to CPU Table in
2203        all forms.
2204
22052007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2206
2207        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2208        Table fields merged from CPU Table.
2209
22102007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2211
2212        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2213        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2214        posix/include/rtems/posix/mqueue.h,
2215        posix/include/rtems/posix/mutex.h,
2216        posix/include/rtems/posix/pthread.h,
2217        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2218        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2219        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2220        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2221        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2222        sapi/src/exinit.c, score/include/rtems/system.h,
2223        score/include/rtems/score/mpci.h, score/src/mpci.c,
2224        score/src/thread.c, score/src/threadcreateidle.c,
2225        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2226        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2227        the Configuration Table. This included pretasking_hook,
2228        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2229        extra_mpci_receive_server_stack, stack_allocate_hook, and
2230        stack_free_hook. As a side-effect of this effort some multiprocessing
2231        code was made conditional and some style clean up occurred.
2232
22332007-12-03      Chris Johns <chrisj@rtems.org>
2234
2235        * libmisc/shell/shell.h: Added comments for the parameters to the
2236        shell_init function.
2237        * libmisc/shell/shell.c: Only set cflags if tcflags is
2238        non-zero. This means the shell can use the current cflags settings
2239        and the application does not need to know the baudrate etc.
2240        * libmisc/capture/capture.h: Fix the comment.
2241
22422007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2243
2244        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2245        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2246        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2247        rtems/src/dpmemexternal2internal.c,
2248        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2249        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2250        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2251        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2252        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2253        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2254        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2255        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2256        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2257        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2258        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2259        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2260        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2261        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2262        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2263        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2264        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2265        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2266        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2267        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2268        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2269        rtems/src/timerserverfirewhen.c: Restructured all code with
2270        the switch (location) pattern so that OBJECTS_LOCAL is first
2271        and we can fall into it and the OBJECTS_ERROR case breaks
2272        to a return RTEMS_INVALID_ID.  This eliminates the return
2273        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2274        was unreachable and untestable code.  This resulted in a code
2275        savings of approximately 20 bytes per file on the SPARC/ERC32.
2276
22772007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2278
2279        * posix/Makefile.am: Restructed to move the
2280        OBJECTS_LOCAL case to the top of the switch statement and
2281        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2282        changes produced simplier assembly code and allowed for complete
2283        test coverage.  Also applied some consistency to the functions
2284        that translate the core status codes to POSIX status codes.
2285
22862007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2287
2288        * posix/include/rtems/posix/mutex.h,
2289        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2290        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2291        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2292        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2293        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2294        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2295        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2296        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2297        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2298        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2299        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2300        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2301        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2302        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2303        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2304        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2305        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2306        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2307        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2308        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2309        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2310        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2311        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2312        posix/src/semclose.c, posix/src/semdestroy.c,
2313        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2314        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2315        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2316        score/include/rtems/score/corebarrier.h,
2317        score/include/rtems/score/coremsg.h,
2318        score/include/rtems/score/coremutex.h,
2319        score/include/rtems/score/coresem.h: Restructed to move the
2320        OBJECTS_LOCAL case to the top of the switch statement and
2321        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2322        changes produced simplier assembly code and allowed for complete
2323        test coverage.  Also applied some consistency to the functions
2324        that translate the core status codes to POSIX status codes.
2325        * posix/src/mutextranslatereturncode.c,
2326        posix/src/semaphoretranslatereturncode.c: New files.
2327        * posix/src/mutexfromcorestatus.c: Removed.
2328
23292007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2330
2331        * posix/inline/rtems/posix/priority.inl: Fix typo.
2332
23332007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2334
2335        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2336        score/include/rtems/score/thread.h, score/src/object.c,
2337        score/src/thread.c: Conditionally compile out more code that is
2338        specific to multiprocessor configurations.
2339
23402007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2341
2342        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2343        posix/src/conddestroy.c, posix/src/condinit.c,
2344        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2345        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2346        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2347        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2348        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2349        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2350        posix/src/mutexattrgetprioceiling.c,
2351        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2352        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2353        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2354        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2355        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2356        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2357        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2358        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2359        posix/src/semclose.c, posix/src/semdestroy.c,
2360        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2361        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2362        Remove all pretense of POSIX MP support. The support in place was
2363        only a shell. This should make maintenance easier.
2364        * posix/include/rtems/posix/condmp.h,
2365        posix/include/rtems/posix/mqueuemp.h,
2366        posix/include/rtems/posix/mutexmp.h,
2367        posix/include/rtems/posix/pthreadmp.h,
2368        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2369        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2370
23712007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2372
2373        * configure.ac, score/inline/rtems/score/thread.inl,
2374        score/src/threaddispatch.c: Add ability for user to disable inlining
2375        of _Thread_Enable_dispatch. This can save code space but more
2376        importantly it means the binary generated does not have code inlined
2377        that is difficult to test and very seldom executed.
2378
23792007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2380
2381        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2382        rtems/include/rtems/rtems/barrier.h,
2383        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2384        score/src/corerwlockrelease.c: Fixed several implementation errors.
2385
23862007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2387
2388        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2389        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2390        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2391        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2392        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2393        case to the top of the switch statement, have a single exit with one
2394        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2395        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2396        code and allowed for complete test coverage.
2397
23982007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2399
2400        * sapi/include/confdefs.h,
2401        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2402        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2403
24042007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2405
2406        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2407
24082007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2409
2410        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2411        support Thumb.
2412
24132007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2414
2415        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2416        Now works on gen5200/icecube.
2417
24182007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2419
2420        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2421
24222007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2423
2424        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2425
24262007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2427
2428        * score/include/rtems/score/thread.h: Fix spelling error.
2429
24302007-11-17      Till Straumann <strauman@slac.stanford.edu>
2431
2432        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2433        Added checks so that use of 'stdio' is avoided (falling
2434        back to 'printk') before the system is up.
2435        Publish driver entry points so that the libi2c driver could
2436        be added to the applications 'device driver table'.
2437        This is not fully implemented yet, though, since in addition to
2438        initializing libi2c the low-level i2c bus drivers as well
2439        as high-level i2c device drivers need to be registered
2440        with the library.
2441        Updated README_libi2c accordingly.
2442
24432007-11-17      Till Straumann <strauman@slac.stanford.edu>
2444
2445        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2446        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2447        so that it knows what PHY they want to look at.
2448
24492007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2450
2451        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2452        in opposite files. Whoops!
2453
24542007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2455
2456        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2457        of the focus was on the beginning stages of making the login checker
2458        pluggable just like the shell.
2459
24602007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2461
2462        * posix/src/mprotect.c: Update comments.
2463
24642007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2465
2466        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2467        will require gcc 4.3 or newer.
2468        * posix/src/ada_intrsupp.c: New file.
2469
24702007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2471
2472        * sapi/src/exinit.c, score/Makefile.am,
2473        score/include/rtems/score/apimutex.h: API Mutex calls should never
2474        have been inlined. Inlining them lead to many inlined copies of core
2475        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2476        minimum.exe.
2477        * score/src/apimutex.c, score/src/apimutexallocate.c,
2478        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2479
24802007-11-07      Till Straumann <strauman@slac.stanford.edu>
2481
2482        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2483        around _CPU_ISR_Set_level().
2484
24852007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2486
2487        * score/inline/rtems/score/object.inl: During test coverage analysis,
2488        we identified this sanity check which should have been conditional on
2489        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2490        operations. With all APIs enabled, this saved 352 bytes from the
2491        minimum executable on the SPARC/ERC32.
2492
24932007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2494
2495        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2496        compiler conditional attribute for methods that do not return. This
2497        avoids gcc generating unreachable code following calls to
2498        _Internal_error_Occurred.
2499
25002007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2501
2502        * configure.ac: Add ARM/Thumb Makefile.
2503
25042007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2505
2506        PR 1266/cpukit
2507        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2508        of class for key indexing.
2509
25102007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2511
2512        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2513        Fix headers and formatting.
2514
25152007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2516
2517        Miscellaneous changes made after a review against the POSIX spec.
2518        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2519        passes a NULL in the attributes parameter, default attributes are used.
2520        * posix/src/prwlockdestroy.c: If there is at least one thread
2521        waiting, do not allow deletion.
2522        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2523        operation used to obtain a RWLock for writing.
2524        * posix/src/pspinlocktranslatereturncode.c,
2525        score/include/rtems/score/corespinlock.h,
2526        score/src/corespinlockrelease.c: If the current thread is not the
2527        holder of the lock, do not allow an unlock and return EPERM.
2528        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2529        for queueing with a timeout handler.
2530
25312007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2532
2533        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2534        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2535        stack so gdb backtrace does not print corrupted frame message after
2536        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2537        SPARC implementation and I made it more general.
2538
25392007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2540
2541        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2542        Cleaned up reports and fixed a bug related the printf format which
2543        resulted in lack of leading zeroes and misleading magnitude.
2544        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2545
25462007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2547
2548        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2549        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2550        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2551        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2552        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2553        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2554        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2555        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2556        posix/src/condinit.c, posix/src/condsignalsupp.c,
2557        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2558        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2559        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2560        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2561        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2562        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2563        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2564        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2565        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2566        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2567        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2568        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2569        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2570        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2571        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2572        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2573        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2574        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2575        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2576        posix/src/semclose.c, posix/src/semdestroy.c,
2577        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2578        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2579        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2580        rtems/src/dpmemexternal2internal.c,
2581        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2582        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2583        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2584        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2585        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2586        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2587        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2588        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2589        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2590        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2591        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2592        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2593        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2594        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2595        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2596        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2597        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2598        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2599        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2600        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2601        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2602        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2603        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2604        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2605        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2606        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2607        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2608        score/src/mpci.c, score/src/objectgetnameasstring.c,
2609        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2610        multiprocessing is disabled, do not even allow the constant
2611        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2612        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2613        in the generation of binary code which can NOT be reached.
2614
26152007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2616
2617        * score/Makefile.am, score/include/rtems/score/thread.h,
2618        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2619        resulted in unnessary code explosion, many uncovered paths when
2620        looking at binary executable coverage, and only optimized getting
2621        self. Id translations were still getting pushed to a subroutine call
2622        to _Objects_Get. Later the non-inlined version can be further
2623        optimized to get Ids in range for the current API, then self, then
2624        look at other APIs.
2625        * score/src/threadget.c: New file.
2626
26272007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2628
2629        * libi2c/README-libi2c
2630        document structure of libi2c library
2631
26322007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2633
2634        * libi2c/libi2c.c, libi2c/libi2c.h:
2635        extend API to support SPI devices
2636        made libi2c.h C++-proof
2637
26382007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2639
2640        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2641        also in another file.  Mistake after splitting.
2642        * libcsupport/Makefile.am: Reflect file removal.
2643
26442007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2645
2646        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2647        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2648        Minor updates from FreeBSD.
2649
26502007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2651
2652        * score/include/rtems/score/copyrt.h: Update year.
2653
26542007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2655
2656        * score/include/rtems/score/copyrt.h: Update year.
2657
26582007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2659
2660        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2661        Fixed check of status when registering driver. Add use of strerror().
2662
26632007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2664        Ralf Corsépius <ralf.corsepius@rtems.org>
2665
2666        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2667        libnetworking/libc/if_indextoname.c,
2668        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2669        * Makefile.am: Add files above.
2670        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2671
26722007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2673
2674        * libmisc/stackchk/check.c: Eliminate output with little information.
2675        Always print a blown message using the same routine. Now works with
2676        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2677        support in your GCC version.
2678
26792007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2680
2681        * libcsupport/src/gxx_wrappers.c: Revert.
2682
26832007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2684
2685        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2686        PRId32 to fix warning.
2687
26882007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2689
2690        * telnetd/passwd.h: New file.
2691
26922007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2693
2694        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2695        telnetd/telnetd.h: telnetd rewrite.
2696        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2697
26982007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2699
2700        PR 1262/filesystem
2701        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2702        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2703        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2704        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2705        writev() including documentation and test case.
2706        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2707
27082007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2709
2710        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2711        document what is required to provide a fully functional
2712        implementation.
2713        * libnetworking/rtems/rtems_socketpair.c: New file.
2714
27152007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2716
2717        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2718        Bump RTEMS_VERSION to 4.8.99.0.
2719
27202007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2721
2722        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2723
27242007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2725
2726        * posix/src/semaphorecreatesupp.c: Fixed warning.
2727
27282007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2729
2730        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2731
27322007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2733
2734        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2735        Use uint32_t for ext_accm.
2736
27372007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2738
2739        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2740        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2741        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2742        fixed-size types instead of BSD fixed-size types.
2743
27442007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2745
2746        * libmisc/stackchk/check.c: Fix alignment of output.
2747
27482007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2749
2750        * libmisc/monitor/monitor.h: Add network commands that were in the
2751        network supplement but not in the code.
2752        * libmisc/monitor/mon-network.c: New file.
2753
27542007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2755
2756        PR 1261/cpukit
2757        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2758        semaphore creation.
2759
27602007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2761
2762        PR 1260/cpukit
2763        * posix/src/pthread.c: Get initial signals blocked from creating
2764        thread not from ourselves.
2765
27662007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2767
2768        * score/src/watchdogtickle.c: Remove tabs.
2769
27702007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2771
2772        PR 1259/rtems
2773        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2774        memory is not guaranteed to be zero.
2775
27762007-09-12  Sergei Organov  <osv@javad.com>
2777
2778        PR 1258/rtems
2779        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2780        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2781        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2782        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2783        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2784        to changed block split strategy in _Heap_Allocate_aligned().
2785
27862007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2787
2788        * libcsupport/src/printk.c: Remove unnecessary comments.
2789
27902007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2791
2792        * libmisc/monitor/mon-monitor.c:
2793        Corrected linked list of rtems_monitor_commands
2794
27952007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2796
2797        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2798        walk on init, malloc, and free. The ability to walk the heap appears
2799        to disappeared during the rework of the C Program heap to skip the
2800        Region.
2801
28022007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2803
2804        * score/src/heap.c: Style.
2805        * score/src/heapwalk.c: Add more information to prints.
2806        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2807        is disabled.
2808
28092007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2810
2811        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2812        * libcsupport/src/printk_plugin.c: New file.
2813        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2814        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2815        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2816        rtems/src/ratemonreportstatistics.c: Added capability to specify
2817        your own "printf" routine to various reporting functions.  This
2818        added an XXX_with_plugin as the underlying implementation for
2819          + rtems_rate_monotonic_report_statistics
2820          + rtems_stack_checker_report_usage
2821          + rtems_cpu_usage_report
2822        As demonstration, the http netdemo can now print out stack
2823        and cpu usage reports.
2824
28252007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2826
2827        * shttpd/compat_rtems.c: Style clean up.
2828
28292007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2830
2831        * rtems/src/ratemonperiod.c: Clean up.
2832        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2833
28342007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2835
2836        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2837
28382007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2839
2840        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2841
28422007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2843
2844        * libmisc/Makefile.am: Add new files.
2845
28462007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2847
2848        * libmisc/monitor/mon-object.c,
2849        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2850        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2851        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2852        Added functionality for osmonweb support
2853
28542007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2855
2856        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2857        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2858        that are needed by osmonweb.
2859
28602007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2861
2862        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2863        Use printk.
2864
28652007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2866
2867        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2868        spacing and spelling.
2869
28702007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2871
2872        PR 1256/networking
2873        * ftpd/ftpd.c: Fix unaligned access.
2874
28752007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2876
2877        * posix/Makefile.am: Always build nanosleep.
2878
28792007-08-17      Chris Johns <chrisj@rtems.org>
2880
2881        * libmisc/capture/README: Minor copyright change.
2882        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
2883        libmisc/capture/capture.h: Fixed the memory leak when lots of
2884        tasks are being created and deleted. Improved the trigger
2885        interface so all task type actions can be caught.
2886
28872007-08-13      Chris Johns <chrisj@rtems.org>
2888
2889        * score/include/rtems/score/object.h: Point the
2890        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2891
28922007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2893
2894        PR 1248/networking
2895        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
2896        reported that when no interfaces are successfully attached, the
2897        default route is broken and may result in a jump to an illegal
2898        address.
2899
29002007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2901
2902        * score/inline/rtems/score/priority.inl: Use size_t instead of
2903          uint32_t for array index.
2904
29052007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2906
2907        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
2908          identify coldfire cpus.
2909
29102007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2911
2912        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
2913          coldfire.
2914
29152007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2916
2917        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
2918          work-around bug m68k/coldfire -fomit-frame-pointer bug
2919          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
2920
29212007-07-27      Chris Johns <chrisj@rtems.org>
2922
2923        * wrapup/Makefile.am: Create archive from a file for hosts
2924        with a limited command line size.
2925
29262007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2927
2928        * include/rtems/bspIo.h, include/rtems/pci.h:
2929        Add extern "C" guards. Reported by
2930        Robert S. Grimes <rsg@alum.mit.edu>.
2931
29322007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2933
2934        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
2935        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
2936        the time appears to be reported correctly and add up to what is
2937        expected.
2938
29392007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2940
2941        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
2942        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
2943        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
2944
29452007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2946
2947        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
2948        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
2949        was always using uptime not time since last cpu usage reset when
2950        using nanoseconds granularity.
2951        * libmisc/cpuuse/cpuusagedata.c: New file.
2952
29532007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
2954
2955        * libcsupport/src/mount.c: Allow null for output parameter.
2956
29572007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2958
2959        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
2960        to shttpd initialization.
2961
29622007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2963
2964        * libcsupport/src/malloc.c: Clean up Malloc debug code.
2965        * score/include/rtems/score/heap.h: Spacing.
2966        * score/inline/rtems/score/thread.inl:
2967        * score/src/heapfree.c. Clean up and add explicit check of the address
2968        being freed actually being in the heap.
2969        * score/src/heapwalk.c: Switch to printk and do not call abort.
2970
29712007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2972
2973        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
2974        area contingent on the stack checker user extension having been
2975        initialized.
2976
29772007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2978
2979        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
2980        and recv(). We already had the BSD versions and these conflict
2981        sometimes when linking.
2982
29832007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2984
2985        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
2986        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2987
29882007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2989
2990        * sapi/include/confdefs.h: Do not instantiate initialization
2991        thas/thread pointer tables for an API that is not configured.
2992
29932007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2994
2995        * libcsupport/Makefile.am:
2996        * libcsupport/src/open_dev_console.c: New file.
2997
29982007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2999
3000        * score/src/corerwlock.c: Make sure structure is fully initialized.
3001        When reused, some fields will not be zero like at initialization.
3002
30032007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3004
3005        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
3006        size. Account for this.
3007
30082007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3009
3010        * configure.ac: Add NDEBUG as a command line compilation option.
3011
30122007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3013
3014        * libmd/.cvsignore: New file.
3015
30162007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3017
3018        * shttpd/defs.h: Eliminate my_strncasecmp.
3019        * shttpd/string.c: Eliminate my_strncasecmp.
3020
30212007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3022
3023        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3024        * pppd/Makefile.am: Reflect moving out md*.
3025        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3026          libmd).
3027        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3028        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3029        * configure.ac, Makefile.am: Add libmd.
3030
30312007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3032
3033        * shttpd/defs.h: Eliminate my_strlcpy.
3034        * shttpd/string.c: Eliminate my_strlcpy.
3035
30362007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3037
3038        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3039        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3040        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3041          libmd.a.
3042
30432007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3044
3045        * wrapup/Makefile.am: Add libmd.a.
3046
30472007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3048
3049        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3050          Add pppd/libmd.a.
3051        * pppd/md4.c: Don't include pppd.h.
3052
30532007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3054
3055        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3056
30572007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3058
3059        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3060        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3061        Add config.h support.
3062
30632007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3064
3065        * shttpd/compat_rtems.h: Define closesocket.
3066
30672007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3068
3069        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3070
30712007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3072        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3073        Use size_t for stack sizes.
3074
30752007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3076
3077        * configure.ac, Makefile.am: Add shttpd.
3078        * shttpd/Makefile.am: New.
3079        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3080        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3081        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3082        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3083        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3084        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3085        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3086        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3087        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3088        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3089        Import from shttpd-1.37.tar.gz.
3090
30912007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3092
3093        * configure.ac: Remove "pad" from CPU_CONTEXT.
3094
30952007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3096
3097        * score/src/coremsg.c: Formatting.
3098
30992007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3100
3101        * score/include/rtems/score/copyrt.h: Update copyright notice.
3102
31032007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3104
3105        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3106        one function per file execpt io.c which contains required
3107        initialization methods.
3108        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3109        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3110        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3111        sapi/src/iowrite.c: New files.
3112
31132007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3114
3115        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3116        table into Workspace but now it is only done if the application needs
3117        extra slots for dynamic driver registration. Cleaned up
3118        rtems_io_register_driver and rtems_io_unregister_driver code and
3119        added numerous error cases to register.
3120
31212007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3122
3123        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3124        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3125        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3126        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3127        configuration parameter since it was used to configure a no longer
3128        used feature. Device names are now part of the filesystem not in a
3129        table. This also eliminated the variables _IO_Number_of_devices and
3130        _IO_Driver_name_table from RTEMS as well as the memory allocation
3131        used to populate _IO_Driver_name_table.
3132        * libmisc/monitor/mon-dname.c: Removed.
3133
31342007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3135
3136        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3137        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3138        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3139        unused Workspace. Round the workspace required size to an 8 byte
3140        boundary instead of a 0x400 byte one. We may end up needing to add 8
3141        bytes again to account for the alignment rounding.
3142
31432007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3144
3145        Yu Chen <chyyuu@gmail.com>
3146        * score/src/corespinlockwait.c: Per question posted as
3147        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3148        logical operator to <=.
3149
31502007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3151
3152        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3153        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3154        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3155        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3156        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3157        executive initialization.
3158
31592007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3160
3161        * score/src/corerwlockrelease.c: Do not dereference NULL.
3162
31632007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3164
3165        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3166        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3167        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3168        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3169        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3170        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3171        sapi/include/rtems/extension.h: Split Classic API data instantiation
3172        into individual files. This reduces the size of the BSS section when
3173        an optional manager stub is used. Some tests showed about a 600 byte
3174        reduction in BSS size.
3175        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3176        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3177        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3178        used in one place after initialized. It was a waste of space.
3179        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3180        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3181        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3182        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3183        sapi/src/extensiondata.c: New files.
3184
31852007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3186
3187        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3188        functionality into multiple files to eliminate unnecessary cohesion.
3189        Update README.
3190        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3191        New files.
3192        * libmisc/cpuuse/cpuuse.c: Removed.
3193
31942007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3195
3196        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3197        negative value in some circumstances. Also cleaned up to share uptime
3198        declaration.
3199
32002007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3201
3202        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3203        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3204        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3205        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3206        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3207        score/Makefile.am, score/include/rtems/score/thread.h,
3208        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3209        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3210        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3211        monotonic period statistics and CPU usage statistics. This capability
3212        is enabled by default although may be conditionally disabled by the
3213        user. It could be too much overhead on small targets but it does not
3214        appear to be bad in early testing. Its impact on code size has not
3215        been evaluated either. It is possible that both forms of statistics
3216        gathering could be disabled with further tweaking of the conditional
3217        compilation.
3218        * score/src/timespecdividebyinteger.c: New file.
3219
32202007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3221
3222        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3223        functionally similar code here. Also cleanup print formats.
3224
32252007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3226
3227        * score/src/objectgetnameasstring.c: Internal threads use string names
3228        so in the current RTEMS source string object name can NOT be
3229        disabled. It is probably worth considering converting the internal
3230        threads to uint32_t style names so all the support for string names
3231        can be conditionally disabled.
3232
32332007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3234
3235        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3236        and greater than operations for timespecs.
3237        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3238        New files.
3239
32402007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3241
3242        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3243        RTEMS_POSIX_API.
3244
32452007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3246
3247        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3248        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3249        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3250        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3251        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3252        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3253        score/Makefile.am, score/include/rtems/score/object.h,
3254        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3255        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3256        Added the following directives: rtems_rate_monotonic_get_statistics,
3257        rtems_rate_monotonic_reset_statistics,
3258        rtems_rate_monotonic_reset_all_statistics,
3259        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3260        Obsoleted the rtems/rtmonuse.h file as a public interface.
3261        * rtems/src/ratemongetstatistics.c,
3262        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3263        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3264        score/src/objectgetnameasstring.c: New files.
3265        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3266
32672007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3268
3269        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3270        rtems_io_register_name for use on unix.
3271        * libcsupport/src/unixlibc_io.c: New file.
3272
32732007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3274
3275        * score/src/coremsgseize.c: A blocking sender's message size was
3276        pulled out of the wrong field in the Wait information structure.
3277        * score/src/objectallocate.c: With the new optional manager support,
3278        we only stub out the initialization. This makes it possible to attempt
3279        to create an object with the information structure only initialized
3280        with all zeros.  This ensures we return an error cleanly in this case.
3281
32822007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3283
3284        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3285        an optional manager, we cannot depend on it do initialize the
3286        internal Allocator Mutex.  This was always a questionable place to
3287        do it, so this is a cleanup.
3288
32892007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3290
3291        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3292        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3293        suitable for inclusion in the Users Guide.
3294
32952007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3296
3297        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3298        ChangeLog-pre2007.
3299        * ChangeLog-pre2007: New file.
3300
33012007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3302
3303        PR 1241/rtems
3304        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3305        critical section window added with requeueing support.
3306
33072007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3308
3309        * libcsupport/include/rtems/cdefs.h,
3310          libcsupport/include/sys/cdefs.h: Remove.
3311        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3312        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3313        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3314        libnetworking/netdb.h, libnetworking/resolv.h,
3315        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3316        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3317        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3318        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3319        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3320        libnetworking/rtems/rtems_bsdnet_internal.h,
3321        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3322        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3323        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3324        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3325        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3326        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3327        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3328        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3329        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3330        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3331        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3332
33332007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3334
3335        * Makefile.am: Reflect introduction of
3336          include/rtems/bsd/sys/cdefs.h.
3337        * include/rtems/bsd/sys/cdefs.h: New.
3338
33392007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3340
3341        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3342        * libnetworking/sys/queue.h: Remove.
3343
33442007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3345
3346        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3347        <machine/endian.h>.
3348        * libnetworking/rtems/rtems_showroute.c,
3349        libnetworking/rtems/rtems_showipstat.c,
3350        libnetworking/rtems/rtems_showtcpstat.c,
3351        libnetworking/rtems/rtems_showicmpstat.c,
3352        libnetworking/rtems/rtems_showmbuf.c,
3353        libnetworking/rtems/rtems_showudpstat.c,
3354        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3355        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3356        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3357        libnetworking/netinet/tcp_usrreq.c,
3358        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3359        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3360        libnetworking/netinet/ip_output.c,
3361        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3362        libnetworking/netinet/udp_usrreq.c,
3363        libnetworking/netinet/tcp_output.c,
3364        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3365        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3366        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3367        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3368        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3369        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3370        instead of <sys/queue.h>.
3371        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3372        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3373        libnetworking/net/if.h, libnetworking/net/if_media.h,
3374        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3375        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3376        instead of <sys/queue.h>.
3377        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3378        * include/rtems/bsd/sys/queue.h: New (Copied from
3379          libnetworking/sys/queue.h).
3380
33812007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3382
3383        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3384        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3385        score/Makefile.am, score/preinstall.am,
3386        score/include/rtems/score/userext.h, score/src/chain.c,
3387        score/src/userext.c: Switch to newlib reentrancy extension being
3388        installed in the initial set instead of using rtems_extension_create.
3389        While implementing this, noticed that user extensions and chain code
3390        had multiple functions in a single file which is not desirable in the
3391        SuperCore and API portions of RTEMS, so split these into multiple
3392        files with one function per file. Also noticed that some of user
3393        extension code was inlined for no particular reason so moved that to
3394        C bodies.  Split executive shutdown from initialization since not
3395        every application shuts down.  Moved __fini call to executive shutdown
3396        to be more symmetrical with where it is called at startup.
3397        * sapi/src/exshutdown.c, score/src/chainappend.c,
3398        score/src/chainextract.c, score/src/chainget.c,
3399        score/src/chaininsert.c, score/src/userextaddapiset.c,
3400        score/src/userextaddset.c, score/src/userextremoveset.c,
3401        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3402        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3403        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3404        files.
3405        * score/inline/rtems/score/userext.inl: Removed.
3406
34072007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3408
3409        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3410        reference _Configuration_MP_table if multiprocessing is disabled.
3411
34122007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3413
3414        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3415        reference _Configuration_MP_table if multiprocessing is disabled.
3416
34172007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3418
3419        * libnetworking/machine/endian.h: Remove.
3420        * libnetworking/Makefile.am: Remove machine/endian.h.
3421        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3422        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3423        <rtems/endian.h> instead of <machine/endian.h>.
3424        * Makefile.am: Add include/rtems/endian.h.
3425        * include/rtems/endian.h: New (Copied from
3426          libnetworking/machine/endian.h).
3427
34282007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3429
3430        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3431        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3432        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3433        of <stdint.h>.
3434        * libnetworking/machine/endian.h: Remove
3435          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3436        * NEWS: new.
3437
34382007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3439
3440        PR 1243
3441        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3442
34432007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3444
3445        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3446        to inline functions, using uint[16,32]_t.
3447        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3448        with SUSv3.
3449        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3450        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3451        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3452        Add HAVE_CONFIG_H magic.
3453        * libnetworking/libc/gethostbydns.c,
3454        libnetworking/libc/inet_net_ntop.c,
3455        libnetworking/libc/inet_pton.c: Eliminate __P.
3456        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3457        return value of ntohl (POSIX requirement).
3458        Use UINT32_C macros to avoid overflows on 16bit targets.
3459        Eliminate __P.
3460        * configure.ac: Check for working PRIxPTR.
3461
34622007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3463
3464        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3465        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3466        Use size_t for stack sizes.
3467
34682007-05-03      Joel Sherrill <joel@OARcorp.com>
3469
3470        * ChangeLog, libcsupport/src/malloc.c,
3471        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3472        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3473        Region Manager is quite heavy for implementing this. This patch
3474        implements the C Program Heap directly in terms of the new Protected
3475        Heap handler. This handler is a direct use of a SuperCore Heap in
3476        conjunction with the Allocator Mutex used internally by RTEMS. This
3477        saves 3184 bytes on most SPARC test executables.
3478        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3479        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3480        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3481        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3482        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3483        score/src/pheapwalk.c: New files.
3484
34852007-05-03      Joel Sherrill <joel@OARcorp.com>
3486
3487        * libcsupport/src/rmdir.c: Fixed spacing.
3488        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3489        newlibc.c. It is not required for minimum executing and drops 624
3490        from SPARC minimum executable.
3491        * libcsupport/src/newlibc_exit.c: New file.
3492
34932007-04-17      Joel Sherrill <joel@OARcorp.com>
3494
3495        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3496        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3497        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3498        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3499        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3500        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3501        reduce executable size. Most were refactoring of files. Split ITRON
3502        API files. Implemented mechanism to avoid initialization task/thread
3503        loop being linked in when that style of task initialization was not
3504        being used.
3505        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3506        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3507        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3508        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3509        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3510        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3511        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3512        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3513        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3514        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3515        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3516        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3517        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3518        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3519        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3520        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3521        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3522        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3523        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3524        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3525        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3526
35272007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3528
3529        * score/include/rtems/score/thread.h:
3530          Use Context_Control_fp* instead of void* for fp_contexts.
3531
35322007-04-16      Joel Sherrill <joel@OARcorp.com>
3533
3534        PR 1240/filesystem
3535        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3536        for filename was not being freed.
3537
35382007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3539
3540        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3541
35422007-04-16      Joel Sherrill <joel@OARcorp.com>
3543
3544        * itron/src/rsm_tsk.c: Correct error returned.
3545
35462007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3547
3548        * configure.ac: Redefine LIBPOSIX to !UNIX.
3549        * posix/src/usleep.c, libcsupport/src/readlink.c:
3550        Update API to SUSv3.
3551
35522007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3553
3554        * posix/Makefile.am: Unconditionally build src/sleep.c,
3555          src/usleep.c.
3556        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3557          CLOCK_MONOTONIC case.
3558        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3559
35602007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3561
3562        * posix/Makefile.am: Cosmetics.
3563        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3564        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3565
35662007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3567
3568        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3569          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3570        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3571          rtems/posix/time.h.
3572        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3573          rtems/posix/time.h.
3574        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3575
35762007-04-12      Joel Sherrill <joel@OARcorp.com>
3577
3578        * itron/src/rsm_tsk.c: Correct error returned.
3579
35802007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3581
3582        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3583
35842007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3585
3586        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3587        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3588        _impure_ptr bug).
3589        Fix abuse of _REENT_INIT().
3590
35912007-04-05      Joel Sherrill <joel@OARcorp.com>
3592
3593        * itron/src/itrontime.c: Fix typo.
3594        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3595        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3596        * score/src/threaddispatch.c: Formatting.
3597
35982007-04-05      Joel Sherrill <joel@OARcorp.com>
3599
3600        * posix/Makefile.am: Fix formatting.
3601
36022007-04-05      Joel Sherrill <joel@OARcorp.com>
3603
3604        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3605        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3606        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3607        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3608        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3609        posix/src/pthread.c, posix/src/pthreadcreate.c,
3610        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3611        posix/src/sched.c, posix/src/semtimedwait.c,
3612        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3613        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3614        score/preinstall.am, score/include/rtems/score/tod.h,
3615        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3616        score/src/coretodget.c, score/src/coretodgetuptime.c,
3617        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3618        manipulation routines in the SuperCore. Use them everywhere possible.
3619        This lead to significant cleanup in the API routines and eliminated
3620        some of the same code from the POSIX API. At this point, the
3621        SuperCore keeps time in POSIX timespec format properly from 1970. You
3622        just cannot set it before 1988 in keeping with RTEMS traditional
3623        behavior.
3624        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3625        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3626        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3627        score/src/timespectoticks.c: New files.
3628        * posix/src/posixintervaltotimespec.c,
3629        posix/src/posixtimespecsubtract.c,
3630        posix/src/posixtimespectointerval.c: Removed.
3631
36322007-04-04      Joel Sherrill <joel@OARcorp.com>
3633
3634        * score/Makefile.am, score/include/rtems/score/tod.h,
3635        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3636        non-inlined routine. It should only be used once so there is little
3637        advantage to inlining it.
3638        * score/src/coretodtickle.c: New file.
3639
36402007-04-02      Joel Sherrill <joel@OARcorp.com>
3641
3642        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3643        dead code.
3644        * posix/src/time.c: Removed.
3645
36462007-04-02      Joel Sherrill <joel@OARcorp.com>
3647
3648        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3649        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3650        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3651        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3652        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3653        TOD_Ticks_per_second variable.
3654
36552007-04-02      Joel Sherrill <joel@OARcorp.com>
3656
3657        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3658        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3659        posix/src/clockgettime.c, posix/src/clocksettime.c,
3660        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3661        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3662        posix/src/sleep.c, rtems/Makefile.am,
3663        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3664        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3665        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3666        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3667        score/Makefile.am, score/include/rtems/score/tod.h,
3668        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3669        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3670        fundamental time structure to POSIX struct timespec. Add
3671        clock_get_uptime().
3672        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3673        score/src/coretodgetuptime.c: New files.
3674        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3675        score/src/coretodvalidate.c: Removed.
3676
36772007-04-02      Joel Sherrill <joel@OARcorp.com>
3678
3679        * libcsupport/src/printk.c: Add %p support.
3680
36812007-04-02      Joel Sherrill <joel@OARcorp.com>
3682
3683        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3684        in addition to the pattern area being overwritten. Also do some
3685        cleanup.
3686
36872007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3688
3689        * include/rtems/pci.h: Further stdint.h fixed-size types.
3690
36912007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3692
3693        * include/rtems/pci.h: Use stdint.h fixed size-types.
3694
36952007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3696
3697        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3698        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3699        * libnetworking/Makefile.am: Move libc/res_config.h to
3700          libc_a_SOURCES (File is being used).
3701        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3702        Remove (Unused).
3703        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3704        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3705        Remove (Unused).
3706        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3707
37082007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3709
3710        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3711        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3712        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3713        libnetworking/libc/gethostbynis.c,
3714        libnetworking/libc/gethostnamadr.c,
3715        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3716        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3717        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3718        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3719        libnetworking/libc/getservbyname.c,
3720        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3721        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3722        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3723        libnetworking/libc/inet_net_ntop.c,
3724        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3725        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3726        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3727        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3728        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3729        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3730        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3731        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3732        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3733        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3734        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3735        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3736        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3737        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3738        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3739        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3740        SCCS, LINT. Add HAVE_CONFIG_H.
3741        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3742
37432007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3744
3745        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3746          uintptr_t.
3747
37482007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3749
3750        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3751        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3752
37532007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3754
3755        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3756        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3757        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3758        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3759        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3760        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3761        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3762        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3763        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3764        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3765        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3766        (Abandoned in FreeBSD).
3767        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3768        (Abandoned in FreeBSD).
3769        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3770        (Abandoned in FreeBSD).
3771        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3772        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3773
37742007-03-28      Chris Johns <chrisj@rtems.org>
3775
3776        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3777        score/include/rtems/score/watchdog.h: Add support for a handler to
3778        obtain the number of nanoseconds since the last clock tick. The
3779        primary interface for this is rtems_clock_set_nanoseconds_extension.
3780        Subsequent commits from Joel will redo the TOD support to use this
3781        capability.
3782        * rtems/src/clocksetnsecshandler.c: New file.
3783
37842007-03-28      Joel Sherrill <joel@OARcorp.com>
3785
3786        PR 1234/cpukit
3787        * libcsupport/Makefile.am: Provide printk() based implementation of
3788        __assert() to reduce dependencies in executables.
3789        * libcsupport/src/__assert.c: New file.
3790
37912007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3792
3793        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3794        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3795        * libnetworking/net/ppp-comp.h: Remove (Unused).
3796        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3797        * libnetworking/sys/buf.h: Remove (Unused).
3798        * libnetworking/Makefile.am: Remove sys/buf.h.
3799        * libnetworking/kern/kern_sysctl.c,
3800        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3801        <sys/buf.h>.
3802        *  libcsupport/include/sys/sockio.h: Partial update from
3803          FreeBSD.
3804
38052007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3806
3807        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3808        * libnetworking/netinet/igmp.c: Eliminate __P().
3809        * libnetworking/netinet/in.c: Eliminate __P().
3810        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3811        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3812        * libnetworking/netinet/ip_output.c: Eliminate __P().
3813
38142007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3815
3816        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3817        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3818        Change int args to intptr_t because they are casted to pointers.
3819        * libnetworking/netinet/tcp_usrreq.c,
3820        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3821
38222007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3823
3824        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3825        "long", because long is not guaranteed to be castable to char*.
3826        * libnetworking/netinet/ip_input.c: Eliminate __P().
3827        Change "int next" to "int32_t next" for 16bit targets.
3828        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3829        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3830        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3831        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3832        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3833        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3834        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3835
38362007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3837
3838        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3839        Remove (Abandoned in FreeBSD).
3840        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3841        net/pppcompress.h.
3842        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3843        net/pppcompress.h.
3844        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3845        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3846        net/pppcompress.h.
3847
38482007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3849
3850        * libnetworking/net/pppcompress.h: Eliminate __P().
3851        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3852        * libnetworking/net/if_llc.h: Update from FreeBSD.
3853
38542007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3855
3856        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3857          <net/ppp-comp.h>.
3858        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3859        Warn about using it.
3860        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3861        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3862        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3863          FreeBSD.
3864        * libnetworking/machine/in_cksum.h: Eliminate __P().
3865        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3866        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3867        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3868        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
3869        Eliminate __P().
3870        * libcsupport/src/scandir.c: Eliminate __P().
3871        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
3872        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
3873        Eliminate __P().
3874        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
3875        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
3876        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
3877
38782007-03-26      Joel Sherrill <joel@OARcorp.com>
3879
3880        PR 1231/cpukit
3881        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
3882        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
3883        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
3884        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
3885        posix/src/mutexattrgetprioceiling.c,
3886        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
3887        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
3888        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
3889        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
3890        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
3891        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
3892        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
3893        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
3894        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
3895        posix/src/posixtimespecsubtract.c,
3896        posix/src/posixtimespectointerval.c,
3897        posix/src/psignalclearprocesssignals.c,
3898        posix/src/psignalclearsignals.c,
3899        posix/src/psignalsetprocesssignals.c,
3900        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
3901        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
3902        unneeded includes of assert.h
3903
39042007-03-26      Joel Sherrill <joel@OARcorp.com>
3905
3906        * libcsupport/include/rtems/assoc.h: Pick up the include file
3907        changes associated with the file splitting.
3908
39092007-03-26      Joel Sherrill <joel@OARcorp.com>
3910
3911        * libcsupport/Makefile.am: Pick up the Makefile changes associated
3912        with the file splitting.
3913
39142007-03-26      Joel Sherrill <joel@OARcorp.com>
3915
3916        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
3917        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
3918        this will not be deemed necessary to commit to the 4.7 branch.
3919        * libcsupport/src/assoclocalbyname.c,
3920        libcsupport/src/assoclocalbyremote.c,
3921        libcsupport/src/assoclocalbyremotebitfield.c,
3922        libcsupport/src/assocnamebylocal.c,
3923        libcsupport/src/assocnamebylocalbitfield.c,
3924        libcsupport/src/assocnamebyremote.c,
3925        libcsupport/src/assocnamebyremotebitfield.c,
3926        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
3927        libcsupport/src/assocptrbyremote.c,
3928        libcsupport/src/assocremotebylocal.c,
3929        libcsupport/src/assocremotebylocalbitfield.c,
3930        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
3931        libcsupport/src/write_r.c: New files.
3932
39332007-03-26      Joel Sherrill <joel@OARcorp.com>
3934
3935        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
3936        support and remove deadcode. Replace with comment explaining that
3937        behavior is compatible with GNU/Linux per Eric Norum.
3938
39392007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3940
3941        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
3942        Partial update from FreeBSD.
3943        * libnetworking/netinet/if_ether.h: Eliminate __P().
3944        * libnetworking/netinet/ip_var.h: Eliminate __P().
3945        * libnetworking/netinet/in.h: Eliminate __P().
3946        * libnetworking/netinet/tcp_var.h: Eliminate __P().
3947
39482007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3949
3950        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
3951        Remove __P();
3952        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
3953
39542007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3955
3956        * libnetworking/netinet/in_var.h: Remove __P().
3957        * libnetworking/netinet/in_systm.h: Remove __P().
3958        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
3959        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
3960        * libnetworking/netinet/if_ether.c: Remove __P().
3961        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
3962        More updates from FreeBSD.
3963        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
3964        libnetworking/net/route.h: Partial update from FreeBSD.
3965
39662007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3967
3968        * libnetworking/Makefile.am: Remove nfs/krpc.h.
3969        * libnetworking/nfs/krpc.h: Remove (Unused).
3970        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
3971        * libnetworking/Makefile.am: Remove nfs/nfs.h.
3972        * libnetworking/nfs/nfs.h: Remove (Unused).
3973
39742007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3975
3976        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
3977          symbols.
3978        * libnetworking/sys/conf.h: Don't include machine/conf.h.
3979        Update copyright notice.
3980        Remove unused/non-implemented declarations.
3981        * libnetworking/Makefile.am: Remove machine/conf.h.
3982        * libnetworking/machine/conf.h: Remove.
3983
39842007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3985
3986        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
3987        Remove many non-supported/unused declarations.
3988
39892007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3990
3991        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
3992          crhold (Unused/non-implemented).
3993
39942007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3995
3996        * libnetworking/sys/ucred.h: Remove __P().
3997        * libnetworking/sys/callout.h: Remove __P().
3998        * libnetworking/sys/domain.h: Remove __P().
3999        * libnetworking/sys/socketvar.h: Remove __P().
4000        * libnetworking/sys/socket.h: Remove __P().
4001        * libnetworking/sys/select.h: Remove __P().
4002        * libnetworking/sys/kernel.h: Remove __P().
4003        * libnetworking/sys/protosw.h: Remove __P().
4004        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
4005        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
4006        swdevt, nswdev, nswap (Unused).
4007
40082007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4009
4010        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4011        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4012        instead of struct linesw (PR 1229)
4013        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4014        around clash with defines from rtems_bsdnet_internal.h.
4015        * score/src/heapwalk.c: include stdlib.h.
4016
40172007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4018
4019        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4020        Remove __P().
4021        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4022        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4023        Remove __P().
4024        * libcsupport/include/rtems/termiostypes.h,
4025        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4026        with rtems_termios_*.
4027        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4028        (Clash with termiostypes.h - PR 1229).
4029
40302007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4031
4032        * score/include/rtems/score/wkspace.h,
4033        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4034        Change _Workspace_Handler_initialization and
4035        _Workspace_Allocate_or_fatal_error to using size_t.
4036        * libnetworking/sys/rtprio.h: Remove (Unused).
4037        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4038
40392007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4040
4041        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4042        Remove __P().
4043
40442007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4045
4046        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4047          to fix warnings.
4048        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4049        * score/include/rtems/score/chain.h, score/src/chain.c:
4050        Change _Chain_Initialize to using size_t.
4051
40522007-03-12      Joel Sherrill <joel@OARcorp.com>
4053
4054        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4055        Dump_Buffer to rtems_print_buffer.
4056
40572007-03-12      Joel Sherrill <joel@OARcorp.com>
4058
4059        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4060        license URL and/or fix mistake in copyright notice. Both of these
4061        mistakes appear to be from code submitted after these changes were
4062        made previously.
4063
40642007-03-10      Joel Sherrill <joel@OARcorp.com>
4065
4066        PR 1226/cpukit
4067        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4068        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4069
40702007-03-08      Joel Sherrill <joel@OARcorp.com>
4071
4072        * libfs/src/imfs/imfs.h: Fix comment.
4073
40742007-03-08      Joel Sherrill <joel@OARcorp.com>
4075
4076        * libfs/src/imfs/imfs.h: Fix comment.
4077
40782007-03-08      Joel Sherrill <joel@OARcorp.com>
4079
4080        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4081        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4082
40832007-03-08      Joel Sherrill <joel@OARcorp.com>
4084
4085        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4086        Remove wrapper for message queue send and urgent and implement them
4087        directly. There was an unnecessary function call layer in addition to
4088        conditions in the shared routine. Directly coding both directives is
4089        simpler and should result in smaller code.
4090        * rtems/src/msgqsubmit.c: Removed.
4091
40922007-03-05      Joel Sherrill <joel@OARcorp.com>
4093
4094        PR 1222/cpukit
4095        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4096        score/include/rtems/score/threadq.h,
4097        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4098        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4099        score/src/threadclearstate.c, score/src/threadhandler.c,
4100        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4101        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4102        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4103        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4104        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4105        thread that is blocked on a priority based thread queue is changed,
4106        that its placement in the queue is reevaluated based upon the new
4107        priority. This enhancement includes modifications to the SuperCore as
4108        well as new test cases.
4109        * score/src/threadqrequeue.c: New file.
4110
41112007-03-05      Joel Sherrill <joel@OARcorp.com>
4112
4113        * sapi/src/exinit.c: Fix spacing.
4114
41152007-03-05      Joel Sherrill <joel@OARcorp.com>
4116
4117        PR 1221/cpukit
4118        * posix/src/pthreadequal.c: Fix critical section nesting.
4119
41202007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4121
4122        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4123          compiled files.
4124
41252007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4126
4127        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4128
41292007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4130
4131        * score/Makefile.am: Remove macros/README.
4132
41332007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4134
4135        * score/include/rtems/score/heap.h, score/src/heap.c,
4136        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4137        More size_t for heap-sizes.
4138        * score/include/rtems/score/heap.h, score/src/heap.c,
4139        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4140        heap-sizes.
4141        * libnetworking/resolv.h: Typo fixes. Remove __P().
4142
41432007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4144
4145        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4146        Use size_t for stack-sizes.
4147
41482007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4149
4150        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4151          functions.
4152        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4153        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4154
41552007-02-06      Till Straumann <strauman@slac.stanford.edu>
4156
4157        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4158        taskvar dtor to plug memory leak. Applied patch attached
4159        to PR#690.
4160
41612007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4162
4163        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4164        * posix/src/getpagesize.c: Removed.
4165        * posix/Makefile.am: Remove references to getpagesize.c.
4166        * libcsupport/Makefile.am: Add getpagesize.c.
4167
41682007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4169
4170        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4171        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4172          visible.
4173        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4174
41752007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4176
4177        * rtems/src/msgqsend.c: Use size_t for sizes.
4178        * rtems/src/msgqurgent.c: Use size_t for sizes.
4179        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4180        * rtems/src/msgmp.c: Use size_t for sizes.
4181        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4182        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4183        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4184        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4185
41862007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4187
4188        * itron/src/trcv_mbf.c: Use size_t for sizes.
4189        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4190        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4191        * libmisc/monitor/monitor.h: Use size_t for sizes.
4192        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4193        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4194        * rtems/src/msgqreceive.c: Use size_t for sizes.
4195        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4196        * score/src/coremsgseize.c: Use size_t for sizes.
4197
41982007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4199
4200        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4201        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4202        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4203        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4204        * score/src/coremsgsubmit.c: Use size_t for sizes.
4205
42062007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4207
4208        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4209
42102007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4211
4212        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4213
42142007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4215
4216        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4217        Remove isblank (supposed to be provided by libc).
4218
42192007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4220
4221        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4222
42232007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4224
4225        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4226         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4227        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4228        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4229        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4230
42312007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4232
4233        * score/include/rtems/system.h:
4234        #define __RTEMS_MINOR__ 7 (BZ 1206).
4235
42362007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4237
4238        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4239        export some internal variables to make them available in
4240        "show_bdbuf" monitor add-on
4241
42422007-01-16      Till Straumann <strauman@slac.stanford.edu>
4243
4244        * libnetworking/rtems/rtems_mii_ioctl.c,
4245        libnetworking/rtems/rtems_mii_ioctl.h,
4246        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4247        libi2c/libi2c.c, libi2c/libi2c.h:
4248        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4249
42502007-01-09      Joel Sherrill <joel@OARcorp.com>
4251
4252        * libcsupport/src/error.c: rtems_progname is no longer defined in
4253        the BSP startup since it never held a meaningful value.
4254
42552007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4256
4257        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4258        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.