source: rtems/cpukit/ChangeLog @ 2905296

4.104.114.95
Last change on this file since 2905296 was 2905296, checked in by Joel Sherrill <joel.sherrill@…>, on 05/06/08 at 15:14:45

2008-05-06 Joel Sherrill <joel.sherrill@…>

PR 1285/rtems

  • sapi/include/rtems/config.h: Remove obsolete rtems_configuration_get_maximum_devices().
  • Property mode set to 100644
File size: 140.5 KB
Line 
12008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2
3        PR 1285/rtems
4        * sapi/include/rtems/config.h: Remove obsolete
5        rtems_configuration_get_maximum_devices().
6
72008-05-01      Chris Johns <chrisj@rtems.org>
8
9        * libblock/include/rtems/nvdisk-sram.h,
10        libblock/include/rtems/nvdisk.h,
11        libblock/src/nvdisk-sram.c,
12        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
13        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
14        the NV disk driver.
15
162008-05-01  Maarten Van Es <maarten@mind.be>
17        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
18        interface for rtems_dhcp_failsafe.
19        * libnetworking/rtems/rtems_dhcp.h: Added interface for
20        rtems_dhcp_failsafe.
21
222008-05-01  Arnout Vandecappelle <arnout@mind.be>
23
24        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
25        return on timeout in bootpc_call().  Removed panic()s.
26        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
27        SIOCAIFADDR ioctl call.
28        * libnetworking/rtems/rtems_dhcp_failsafe.c,
29        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
30        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
31        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
32
332008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
34
35        * rtems/include/rtems/rtems/timer.h: Fix typo.
36
372008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
38
39        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
40        rtems/include/rtems/rtems/status.h,
41        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
42        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
43
442008-04-28      Daron Chabot <daron.chabot@usask.ca>
45
46        * posix/src/keycreate.c, posix/src/pthreadequal.c,
47        rtems/src/semtranslatereturncode.c,
48        score/src/threadblockingoperationcancel.c: Fix compilation errors
49        when --enable-rtems-debug is used.
50
512008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
52
53        * score/include/rtems/system.h: Fix typo in comment.
54
552008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
56
57        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
58        typos added with recent changes.
59
602008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
61
62        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
63        rtems_termios_reserve_resources. It is obsolete.
64        * libcsupport/src/termiosreserveresources.c: Removed.
65
662008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
67
68        * rtems/mainpage.h: New file.
69
702008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
71
72        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
73        rtems/include/rtems/rtems/attr.h,
74        rtems/include/rtems/rtems/barrier.h,
75        rtems/include/rtems/rtems/barriermp.h,
76        rtems/include/rtems/rtems/cache.h,
77        rtems/include/rtems/rtems/config.h,
78        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
79        rtems/include/rtems/rtems/eventmp.h,
80        rtems/include/rtems/rtems/eventset.h,
81        rtems/include/rtems/rtems/intr.h,
82        rtems/include/rtems/rtems/message.h,
83        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
84        rtems/include/rtems/rtems/msgmp.h,
85        rtems/include/rtems/rtems/options.h,
86        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
87        rtems/include/rtems/rtems/ratemon.h,
88        rtems/include/rtems/rtems/region.h,
89        rtems/include/rtems/rtems/regionmp.h,
90        rtems/include/rtems/rtems/rtemsapi.h,
91        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
92        rtems/include/rtems/rtems/signal.h,
93        rtems/include/rtems/rtems/signalmp.h,
94        rtems/include/rtems/rtems/status.h,
95        rtems/include/rtems/rtems/support.h,
96        rtems/include/rtems/rtems/taskmp.h,
97        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
98        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
99        rtems/inline/rtems/rtems/attr.inl,
100        rtems/inline/rtems/rtems/barrier.inl,
101        rtems/inline/rtems/rtems/dpmem.inl,
102        rtems/inline/rtems/rtems/event.inl,
103        rtems/inline/rtems/rtems/message.inl,
104        rtems/inline/rtems/rtems/modes.inl,
105        rtems/inline/rtems/rtems/options.inl,
106        rtems/inline/rtems/rtems/part.inl,
107        rtems/inline/rtems/rtems/ratemon.inl,
108        rtems/inline/rtems/rtems/region.inl,
109        rtems/inline/rtems/rtems/sem.inl,
110        rtems/inline/rtems/rtems/status.inl,
111        rtems/inline/rtems/rtems/support.inl,
112        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
113
1142008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
115
116        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
117        rtems/include/rtems/rtems/attr.h,
118        rtems/include/rtems/rtems/barrier.h,
119        rtems/include/rtems/rtems/barriermp.h,
120        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
121        rtems/include/rtems/rtems/config.h,
122        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
123        rtems/include/rtems/rtems/eventmp.h,
124        rtems/include/rtems/rtems/eventset.h,
125        rtems/include/rtems/rtems/intr.h,
126        rtems/include/rtems/rtems/message.h,
127        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
128        rtems/include/rtems/rtems/msgmp.h,
129        rtems/include/rtems/rtems/object.h,
130        rtems/include/rtems/rtems/options.h,
131        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
132        rtems/include/rtems/rtems/ratemon.h,
133        rtems/include/rtems/rtems/region.h,
134        rtems/include/rtems/rtems/regionmp.h,
135        rtems/include/rtems/rtems/rtemsapi.h,
136        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
137        rtems/include/rtems/rtems/signal.h,
138        rtems/include/rtems/rtems/signalmp.h,
139        rtems/include/rtems/rtems/status.h,
140        rtems/include/rtems/rtems/support.h,
141        rtems/include/rtems/rtems/taskmp.h,
142        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
143        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
144        rtems/inline/rtems/rtems/attr.inl,
145        rtems/inline/rtems/rtems/barrier.inl,
146        rtems/inline/rtems/rtems/dpmem.inl,
147        rtems/inline/rtems/rtems/event.inl,
148        rtems/inline/rtems/rtems/eventset.inl,
149        rtems/inline/rtems/rtems/message.inl,
150        rtems/inline/rtems/rtems/modes.inl,
151        rtems/inline/rtems/rtems/options.inl,
152        rtems/inline/rtems/rtems/part.inl,
153        rtems/inline/rtems/rtems/ratemon.inl,
154        rtems/inline/rtems/rtems/region.inl,
155        rtems/inline/rtems/rtems/sem.inl,
156        rtems/inline/rtems/rtems/status.inl,
157        rtems/inline/rtems/rtems/support.inl,
158        rtems/inline/rtems/rtems/tasks.inl,
159        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
160        header files to Doxygen.
161        * rtems/Doxyfile: New file.
162
1632008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
164
165        * posix/src/key.c: Include <limits.h>
166        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
167        a NULL extension block.
168
1692008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
170
171        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
172        application configuration errors. If any POSIX objects or a POSIX
173        init thread is configured without POSIX being configure, then error
174        out. Similarly for ITRON. Add
175        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
176        parameter so the application has to explicitly configure the Clock
177        driver in or out if the Timer driver is not configured. Also verify
178        RTEMS was built for multiprocessing, if the user tries to configure a
179        multiprocessing application.
180
1812008-04-12      Chris Johns <chrisj@rtems.org>
182
183        * libmisc/shell/shell.c, libmisc/shell/shell.h,
184        libmisc/shell/shell_script.c: Add support to echo the commands to
185        stdout. This is useful with the -v script option to show commands
186        as the run. Also added support to chdir to the directory the task
187        invoking the script is in.
188        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
189        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
190        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
191        support.
192
1932008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
194
195        * score/include/rtems/score/tod.h: Fix typo.
196
1972008-04-08      Chris Johns <chrisj@rtems.org>
198
199        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
200        into argv parts. Was using the command line history buffer so the
201        history was being corrupted.
202
2032008-04-03      Chris Johns <chrisj@rtems.org>
204
205        * libfs/src/nfsclient/src/librtemsNfs.h,
206        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
207        external to RTEMS and even if in the cpukit it should not cross
208        reference in this way.
209        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
210        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
211        in the shell area.
212        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
213        support.
214
2152008-03-29      Chris Johns <chrisj@rtems.org>
216
217        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
218        reported to the mailing list by Pierre Kestener
219        (pierre.kestener@cea.fr).
220
2212008-03-25      Till Straumann <strauman@slac.stanford.edu>
222
223        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
224          coldfire.
225
2262008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
227
228        * libmisc/shell/cmds.c: Directly register the command structure to
229        avoid unnecessary duplication of static strings. We know best this
230        time.
231
2322008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
233
234        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
235        for the ITRON initialization tasks ALL the time.
236        Do not reserve memory for the object name table since it does not
237        exist any longer.
238        * sapi/include/rtems/sptables.h: Fix typo.
239
2402008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
241
242        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
243        rtems/src/clockget.c:
244        * rtems/src/clockgetsecondssinceepoch.c,
245        rtems/src/clockgettickspersecond.c,
246        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
247        rtems/src/clockgettodtimeval.c: New files.
248        Refactored rtems_clock_get into 5 methods which are single purpose
249        and more strongly typed.  They are:
250            rtems_clock_get_tod - Get TOD in Classic API structure
251            rtems_clock_get_tod_timeval - Get TOD in struct timeval
252            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
253            rtems_clock_get_ticks_since_boot - Get ticks since boot
254            rtems_clock_get_ticks_per_second - Get ticks per second
255
2562008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
257
258        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
259        libmisc/shell/shell_script.c: Add memset() of getopt_data to
260        ensure it is zeroed out each time we use getopt_r().
261        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
262        This makes the scripts behave more like UNIX scripts.
263
2642008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
265
266        * posix/Makefile.am: Make clock_settime() available always just like
267        clock_gettime().
268
2692008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
270
271        * score/include/rtems/score/copyrt.h: Update year.
272
2732008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
274
275        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
276        by gcc newer than the 4.3 release series.
277
2782008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
279
280        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
281        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
282        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
283        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
284        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
285        libmisc/shell/shell.c, libmisc/shell/shell.h,
286        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
287        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
288        capability to automatically execute a script from the filesystem. Add
289        echo command from NetBSD and sleep command.
290        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
291        libmisc/shell/shell_script.c: New files.
292
2932008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
294
295        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
296        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
297        rtems/src/taskdelete.c, rtems/src/timerserver.c,
298        score/src/threadclose.c, score/src/threadcreateidle.c,
299        score/src/threadinitialize.c: Switch task create and delete
300        operations to using API Allocator Mutex. This moves almost all uses
301        of the RTEMS Workspace from dispatching disabled to mutex protected
302        which should improve deterministic behavior. The implementation was
303        carefully done to allow task create and delete extensions to invoke
304        more services. In particular, a task delete extension should be able
305        to do mutex and file operations.
306
3072008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
308
309        * libmisc/Makefile.am: Turn on NFS mount support when networking is
310        enabled.
311
3122008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
313
314        * libcsupport/src/chroot.c: Formatting.
315
3162008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
317
318        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
319        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
320        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
321        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
322        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
323        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
324        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
325        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
326        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
327        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
328        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
329        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
330        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
331        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
332        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
333        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
334        libmisc/shell/shell.h: Clean up done while writing documentation.
335        Some command improvements such as date now allows setting of the
336        current TOD. Often commands did not use stdout/stderr per
337        expectations and did not return -1 on an error.
338
3392008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
340
341        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
342        the use of RPC/XDR could be an issue, the code does build multilib
343        across all targets. There are a few remaining warnings to deal with.
344        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
345        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
346        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
347        libfs/src/nfsclient/rfc1094.txt,
348        libfs/src/nfsclient/proto/mount_prot.h,
349        libfs/src/nfsclient/proto/mount_prot.x,
350        libfs/src/nfsclient/proto/mount_prot_xdr.c,
351        libfs/src/nfsclient/proto/nfs_prot.h,
352        libfs/src/nfsclient/proto/nfs_prot.x,
353        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
354        libfs/src/nfsclient/src/cexphelp.c,
355        libfs/src/nfsclient/src/dirutils.c,
356        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
357        libfs/src/nfsclient/src/nfs.modini.c,
358        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
359        libfs/src/nfsclient/src/rpcio.h,
360        libfs/src/nfsclient/src/rpcio.modini.c,
361        libfs/src/nfsclient/src/sock_mbuf.c,
362        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
363
3642008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
365
366        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
367        missing field to default multiprocessing configuration table. Also
368        document fields in Doxygen format.
369
3702008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
371
372        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
373        warnings.
374
3752008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
376
377        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
378        command to access statistics reporting functions in TCP/IP stack.
379        * libmisc/shell/main_netstats.c: New file.
380
3812008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
382
383        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
384        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
385        ifconfig commands. The code for these was previously in the
386        networking guide. Disable NFS filesystem mount until that code is in
387        cpukit.
388        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
389
3902008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
391
392        * posix/preinstall.am,  libcsupport/preinstall.am:
393        Revert Joel's  2008-01-31 screw up.
394
3952008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
396
397        * posix/include/rtems/posix/timer.h: Add c++ guards.
398        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
399        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
400        * libcsupport/include/motorola/mc68230.h: Prefix defines with
401        MC68230_ to avoid preprocessor clashes.
402
4032008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
404
405        * posix/src/mqueueunlink.c, score/Makefile.am,
406        score/include/rtems/score/object.h,
407        score/inline/rtems/score/object.inl: Enhance
408        _Objects_Namespace_remove() to handle freeing object names which are
409        strings. All changed _Objects_Close() to call
410        _Objects_Namespace_remove(). The resulting code was then moved from
411        inline routines to function calls.
412        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
413
4142008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
415
416        * libcsupport/src/printk.c: Added width and padding for %s.
417        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
418        strings longer than 4 chanracters.
419
4202008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
421
422        PR 1277/networking
423        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
424        constraint for assembly language. This restricts the register choice
425        to the a-d registers.
426
4272008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
428
429        * libnetworking/kern/uipc_socket2.c,
430        libnetworking/netinet/tcp_usrreq.c,
431        libnetworking/netinet/udp_usrreq.c,
432        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
433        Add configuration parameters for network stack efficiency multiplier
434        and default socket buffer sizes. Change default multiplier from 8 to
435        2 to match GNU/Linux. This has no impact on performance on the BSPs
436        tested.
437
4382008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
439
440        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
441        workspace manipulation routines for testing.
442        * rtems/src/workspace.c: New file.
443
4442008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
445
446        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
447        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
448        Object Id of SELF.
449
4502008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
451
452        * posix/src/clockgettime.c, posix/src/clocksettime.c,
453        Minor modifications to improve testability.
454        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
455
4562008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
457
458        * posix/src/pthreadinitthreads.c: Clean up error paths.
459
4602008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
461
462        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
463        changes which aid in coverage testing.
464
4652008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
466
467        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
468        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
469        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
470        posix/src/semaphorenametoid.c: Add option for all POSIX objects
471        whether named or unnamed to have a string name.  If the API does
472        not directly support having a name, then the user must explicitly
473        assign it using rtems_object_set_name().
474        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
475        * score/include/rtems/score/object.h,
476        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
477        score/src/objectsetname.c: Modifications required to pass testing of
478        recently modified object name operations.  Also eliminated
479        multiprocessing related code that was not reachable.
480
4812008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
482
483        * posix/src/timersettime.c: Fix to remove warning.
484
4852008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
486
487        * libcsupport/src/posix_memalign.c: Remove warning.
488
4892008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
490
491        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
492        rtems/include/rtems/rtems/object.h,
493        rtems/src/rtemsobjectgetapiclassname.c,
494        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
495        cannot be used as a parameter.
496
4972008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
498
499        * score/Makefile.am, score/include/rtems/score/threadq.h,
500        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
501        was really too complex to be inlined.
502        * score/src/threadqprocesstimeout.c: New file.
503
5042008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
505
506        * score/Doxyfile: Revert Doxygen version changes.
507
5082008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
509
510        * score/Doxyfile: Update to latest Doxygen format.
511        * score/include/rtems/score/apimutex.h,
512        score/include/rtems/score/corebarrier.h,
513        score/include/rtems/score/coremutex.h,
514        score/include/rtems/score/corerwlock.h,
515        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
516        score/include/rtems/score/protectedheap.h,
517        score/include/rtems/score/thread.h,
518        score/include/rtems/score/threadsync.h,
519        score/include/rtems/score/tod.h,
520        score/inline/rtems/score/corerwlock.inl,
521        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
522        warnings.
523
5242008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
525
526        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
527        available when API is disabled. Do not attempt to use them.
528
5292008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
530
531        * score/include/rtems/system.h: First cut at Doxygen mainpage.
532
5332008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
534
535        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
536        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
537        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
538        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
539        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
540        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
541        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
542        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
543        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
544        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
545        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
546        rtems/src/timerserver.c, score/Makefile.am,
547        score/include/rtems/score/object.h,
548        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
549        score/src/objectgetnameasstring.c,
550        score/src/threadqextractwithproxy.c: Add new Object Services
551        collection. This changed the name of a few previously public but
552        undocumented services and added a some new services.
553        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
554        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
555        rtems/src/rtemsobjectapiminimumclass.c,
556        rtems/src/rtemsobjectgetapiclassname.c,
557        rtems/src/rtemsobjectgetapiname.c,
558        rtems/src/rtemsobjectgetclassicname.c,
559        rtems/src/rtemsobjectgetclassinfo.c,
560        rtems/src/rtemsobjectidapimaximum.c,
561        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
562        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
563        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
564        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
565        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
566        * rtems/src/rtemsidtoname.c: Removed.
567
5682008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
569
570        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
571        switch statements to if statements.
572
5732008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
574
575        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
576        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
577        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
578        as helper and as exposed nmemalign variant with few restrictions.
579        Also turn on compilation of _Heap_Walk but make forced calls to it
580        conditionally compiled. This should allow more flexibility to the
581        user as to run-time checking of the heap.
582        * libcsupport/src/rtems_memalign.c: New file.
583
5842008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
585
586        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
587        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
588        Multiprocessing compiles again and survives initialization. The
589        recent object name and confdefs.h changes had broken it.
590
5912008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
592
593        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
594        score/include/rtems/score/interr.h,
595        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
596        Modifications to aid in full path testing.
597
5982008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
599
600        * posix/src/mqueuesendsupp.c: Remove warning.
601
6022008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
603
604        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
605        in public API.
606
6072008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
608
609        * score/include/rtems/score/object.h,
610        score/src/objectextendinformation.c,
611        score/src/objectinitializeinformation.c,
612        score/src/objectshrinkinformation.c: Eliminate name_table since it is
613        not used.
614
6152008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
616
617        * score/src/objectnametoidstring.c: New file.
618
6192008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
620
621        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
622        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
623        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
624        libmisc/stackchk/check.c, posix/src/condinit.c,
625        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
626        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
627        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
628        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
629        posix/src/prwlockinit.c, posix/src/pspininit.c,
630        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
631        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
632        posix/src/timercreate.c, rtems/src/barrierident.c,
633        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
634        rtems/src/ratemonident.c, rtems/src/regionident.c,
635        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
636        sapi/src/extensionident.c, score/Makefile.am,
637        score/include/rtems/score/object.h,
638        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
639        score/src/objectextendinformation.c,
640        score/src/objectgetnameasstring.c, score/src/objectmp.c,
641        score/src/objectnametoid.c: Convert the Objects_Name type from a
642        simple type to a union of an unsigned 32 bit integer and a pointer.
643        This should help eliminate weird casts between u32 and pointers in
644        various places. The APIs now have to explicitly call _u32 or _string
645        versions of helper routines. This should also simplify things and
646        eliminate the need for ugly casts in some cases.
647        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
648        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
649        score/src/objectcopynamestring.c: Removed.
650
6512008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
652
653        * score/src/threadblockingoperationcancel.c: Clean up.
654        * score/src/threadqextract.c: Restructure to eliminate dead code.
655
6562008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
657
658        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
659        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
660        score/src/threadqdequeuepriority.c: Fix bugs encountered while
661        testing and clean up more code.
662
6632008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
664
665        * score/src/threadqfirst.c: Remove switch.
666
6672008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
668
669        * rtems/include/rtems/rtems/event.h,
670        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
671        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
672        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
673        score/include/rtems/score/interr.h,
674        score/include/rtems/score/thread.h,
675        score/include/rtems/score/threadq.h,
676        score/include/rtems/score/tqdata.h,
677        score/inline/rtems/score/threadq.inl,
678        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
679        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
680        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
681        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
682        score/src/threadqextract.c, score/src/threadqextractfifo.c,
683        score/src/threadqextractpriority.c,
684        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
685        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
686        score/src/threadqflush.c, score/src/threadqrequeue.c,
687        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
688        blocking synchronization critical sections. This resulted in three
689        copies of essentially the same hard to test critical section code
690        becoming the one shared routine _Thread_blocking_operation_Cancel. In
691        addition, the thread queue and event code now share a common
692        synchronization enumerated type. Along the way, switches were
693        reworked to eliminate dead code generated by gcc and comments and
694        copyrights were updated.
695        * score/include/rtems/score/threadsync.h,
696        score/src/threadblockingoperationcancel.c: New files.
697
6982008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
699
700        * libi2c/README_libi2c: Correct spelling error.
701        * score/src/threadclearstate.c: Improve comment.
702
7032008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
704
705        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
706        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
707        posix/src/timergettime.c, posix/src/timersettime.c,
708        score/include/rtems/score/timespec.h:
709
7102008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
711
712        * libmisc/shell/Makefile.am: Don't use make variables.
713
7142008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
715
716        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
717        existing one.
718
7192008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
720
721        * score/include/rtems/score/wkspace.h,
722        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
723        inline _Workspace_Free or _Workspace_Allocate since they are not
724        always inlined and actually smaller overall as subroutines. They are
725        not particularly time critical so inlining is not absolutely
726        necessary.
727
7282008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
729
730        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
731        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
732        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
733        Condition Variable object get helpers because they are more
734        complicated than the norm. They can implicitly perform a create. They
735        cross the line as being too complex and large to inline since they
736        negatively impact size and binary test coverage.
737        * posix/src/condget.c, posix/src/mutexget.c: New files.
738
7392008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
740
741        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
742        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
743        * libcsupport/src/malloc_p.h: Correct prototype.
744
7452008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
746
747        * score/include/rtems/score/coremutex.h,
748        score/src/coremutexseizeintr.c: Fix conditional code for inlining
749        _CORE_mutex_Seize_interrupt_trylock() and add comments.
750
7512008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
752
753        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
754
7552008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
756
757        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
758        libcsupport/src/free.c, libcsupport/src/malloc.c,
759        libcsupport/src/malloc_deferred.c,
760        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
761        libcsupport/src/malloc_sbrk_helpers.c,
762        libcsupport/src/posix_memalign.c: Place all deferred free code and
763        place it in subroutines. Add plugin for dirtying allocated memory to
764        assist in debugging. Clean up comments and spacing as needed.
765        * libcsupport/src/malloc_dirtier.c: New file.
766
7672008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
768
769        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
770        when there is an error.
771
7722008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
773
774        * posix/src/keycreate.c, rtems/src/eventseize.c,
775        score/include/rtems/score/interr.h: Rearranged source to allow more
776        test coverage.
777
7782008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
779
780        * libcsupport/src/__assert.c: Clean up and make __assert() call
781        __assert_func().
782
7832008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
784
785        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
786        need to have it also.
787
7882008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
789
790        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
791        * libcsupport/include/rtems/malloc.h,
792        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
793        libcsupport/src/malloc_p.h,
794        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
795        support pluggable and optional.  This eliminates the need for
796        heap extend and sbrk in the minimum footprint which is ~2.5K on
797        the SPARC.
798        * sapi/include/confdefs.h: Add the following configuration points:
799          + CONFIGURE_MALLOC_STATISTICS
800          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
801        * libcsupport/src/malloc_sbrk_helpers.c: New file.
802
8032008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
804
805        * score/Makefile.am: Add missing file.
806
8072008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
808
809        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
810
8112008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
812
813        * libmisc/Makefile.am: Add new files.
814        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
815        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
816        * libmisc/shell/shellconfig.h: Add wkspace command.
817        * libmisc/shell/main_wkspaceinfo.c,
818        libmisc/shell/print_heapinfo.c: New files.
819
8202008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
821
822        * score/inline/rtems/score/isr.inl: Fix spacing.
823        * score/src/apimutexallocate.c: Fix spacing.
824        * score/src/coremsgseize.c: Check for message pending instead of
825        message pending count to avoid dead code from inlined chain routine.
826        It checks if the chain is empty so is redundant to count == 0.
827
8282008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
829
830        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
831        up.
832
8332008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
834
835        * posix/src/pthreadcreate.c: Add commit.
836        * posix/src/pthreadinitthreads.c: Fix line length.
837
8382008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
839
840        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
841
8422008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
843
844        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
845        coding it.
846
8472008-01-05      Chris Johns <chrisj@rtems.org>
848
849        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
850        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
851        * libblock/include/rtems/flashdisk.h: Add docmentation about the
852        control fields. Add more control fields to handle the flash when
853        full.
854        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
855        detects a descriptor is erased. Add support for unavailable blocks
856        the user can configure. Print the used list as a diag. Fix the bug
857        when a page is detected as failed and present on more than one
858        queue. Add a count to the queues so queue length can be used to
859        manage compaction.
860       
8612008-01-03      Till Straumann <strauman@slac.stanford.edu>
862
863        * score/src/threadhandler.c, sapi/src/exshutdown.c:
864        cannot call _fini via atexit() from rtems_shutdown_executive()
865        because at the point where rtems_shutdown_executive is called
866        the C-library is already dead.
867        Instead, register an atexit(_fini) after calling _init().
868
8692007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
870
871        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
872        Hopefully this implementation is OK.
873        * libcsupport/src/_rename_r.c: New file.
874
8752007-12-22      Chris Johns <chrisj@rtems.org>
876
877        * configure.ac: fixed bug that always enabled strict order
878        mutexes.
879        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
880        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
881        list if the mutex is initialised locked.
882        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
883        message to show the error is an rtems-net error.
884        * libmisc/monitor/mon-network.c: Removed warnings.
885        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
886        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
887        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
888        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
889        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
890        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
891        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
892        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
893        libmisc/shell/warnx.c: New. Ported from BSD.
894        * libmisc/shell/shellconfig.h: Add the cp command.
895        * libmisc/Makefile.am: Add the new files to the shell.
896        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
897        support.
898        * libblock/src/flashdisk.c: Fixed disk drive count size setting
899        bug.
900       
9012007-12-21      Xi Yang <hiyangxi@gmail.com>
902
903        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
904        of priority inheritance on mutexes as well as enforce proper order of
905        release.
906
9072007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
908
909        * configure.ac, score/include/rtems/score/coremutex.h,
910        score/inline/rtems/score/coremutex.inl: Add the ability to disable
911        inlining coremutex seize. This reduces the code size and also
912        improves the process of coverage analysis.
913        * score/src/coremutexseizeintr.c: New file.
914
9152007-12-21      Xi Yang <hiyangxi@gmail.com>
916
917        * configure.ac, score/include/rtems/score/coremutex.h,
918        score/include/rtems/score/thread.h,
919        score/inline/rtems/score/coremutex.inl,
920        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
921        support for proper stacking of priority inheritance on mutexes as
922        well as enforce proper order of release.
923
9242007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
925
926        PR 1268/cpukit
927        * libcsupport/include/rtems/assoc.h: There is no
928        rtems_assoc_ptr_by_value method.
929
9302007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
931
932        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
933        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
934
9352007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
936
937        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
938
9392007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
940
941        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
942
9432007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
944
945        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
946        rtems_task_self() directive.
947        * rtems/src/taskself.c: New file.
948
9492007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
950
951        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
952        and resolved copyright information.
953        * posix/src/kill_r.c: New file.
954
9552007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
956
957        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
958
9592007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
960
961        * sapi/include/confdefs.h: Revert. Requires info not available at
962        preprocessing time.
963
9642007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
965
966        * sapi/include/confdefs.h: Catch the error when the user lowers the
967        maximum number of drivers below the number of statically configured
968        ones.
969
9702007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
971
972        * sapi/src/extension.c, sapi/src/extensioncreate.c,
973        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
974        Manager clean up. Update object id switches to new pattern. Catch
975        some NULL parameter errors.
976
9772007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
978
979        * posix/src/psignalunblockthread.c: Remove source that
980
9812007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
982
983        * posix/src/psignalchecksignal.c: Make assert active during debug mode
984        only
985
9862007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
987
988        * posix/src/psignal.c: Move source around to enable path testing
989
9902007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
991
992        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
993        libcsupport/src/free.c, libcsupport/src/malloc.c,
994        libcsupport/src/malloc_p.h,
995        libcsupport/src/malloc_report_statistics_plugin.c,
996        libmisc/shell/shell.c, libmisc/shell/shell.h,
997        score/src/objectinitializeinformation.c: Add posix_memalign. Split
998        out management of deferred frees to subroutines.
999        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1000
10012007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1002
1003        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1004        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1005        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1006        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1007        one function per file. Also split out statistics into a separate file
1008        which can be plugged in dynamically. Right now, it is always in. I
1009        suspect that splitting the file removed more code than leaving
1010        statistics in. I tinkered with malloc information command in the
1011        shell. I resurrected the malloc arena code as malloc boundary. This
1012        code is now compiled all the time even though it does not appear to
1013        work.
1014        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1015        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1016        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1017        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1018        libcsupport/src/malloc_get_statistics.c,
1019        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1020        libcsupport/src/malloc_report_statistics.c,
1021        libcsupport/src/malloc_report_statistics_plugin.c,
1022        libcsupport/src/malloc_statistics_helpers.c,
1023        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1024        libmisc/shell/main_perioduse.c: New files.
1025
10262007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1027
1028        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1029        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1030        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1031        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1032        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1033        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1034        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1035        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1036        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1037        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1038        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1039        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1040        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1041        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1042        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1043        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1044        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1045        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1046        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1047        rtems_Shell_ to rtems_shell_.
1048
10492007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1050
1051        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1052        with info and dump as replacement for older command. Fix what looked
1053        like a typo for mount sub-commands.
1054        * libmisc/shell/main_mallocinfo.c: New file.
1055        * libmisc/shell/main_mallocdump.c: Removed.
1056
10572007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1058
1059        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1060        malloc_info() routine.
1061        * libcsupport/src/mallocinfo.c: New file.
1062
10632007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1064
1065        * libmisc/stackchk/check.c: Add print of current stack pointer and
1066        stack info even if stack checker is not initialized.
1067
10682007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1069
1070        * libcsupport/src/printk.c: Style.
1071
10722007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1073
1074        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1075        required in multiprocessing configuration.
1076
10772007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1078
1079        * score/src/objectget.c: Revert.
1080
10812007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1082
1083        * posix/src/timergettime.c: Include rtems/score/timespec.h
1084
10852007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1086
1087        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1088        posix/include/mqueue.h, posix/include/sched.h,
1089        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1090        posix/include/rtems/posix/priority.h,
1091        posix/include/rtems/posix/psignal.h,
1092        posix/include/rtems/posix/threadsup.h,
1093        posix/include/rtems/posix/timer.h,
1094        posix/inline/rtems/posix/priority.inl,
1095        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1096        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1097        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1098        posix/src/cleanuppush.c, posix/src/cond.c,
1099        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1100        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1101        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1102        posix/src/conddestroy.c, posix/src/condinit.c,
1103        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1104        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1105        posix/src/keycreate.c, posix/src/keydelete.c,
1106        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1107        posix/src/keysetspecific.c, posix/src/mqueue.c,
1108        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1109        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1110        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
1111        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
1112        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
1113        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1114        posix/src/mqueueunlink.c, posix/src/mutex.c,
1115        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
1116        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1117        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1118        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1119        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1120        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1121        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1122        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1123        posix/src/psignal.c, posix/src/psignalchecksignal.c,
1124        posix/src/psignalclearprocesssignals.c,
1125        posix/src/psignalclearsignals.c,
1126        posix/src/psignalsetprocesssignals.c,
1127        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1128        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
1129        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
1130        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
1131        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
1132        posix/src/semclose.c, posix/src/semdestroy.c,
1133        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
1134        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
1135        posix/src/semwait.c, posix/src/setcancelstate.c,
1136        posix/src/setcanceltype.c, posix/src/sysconf.c,
1137        posix/src/testcancel.c: Add missing copyright statements.
1138
11392007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1140
1141        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
1142
11432007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1144
1145        * posix/Makefile.am, posix/preinstall.am,
1146        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
1147        Timer implementation into multiple files. Add obvious error checks
1148        for NULL parameters. Attempt to reduce include files.
1149        * posix/src/timercreate.c, posix/src/timerdelete.c,
1150        posix/src/timergetoverrun.c, posix/src/timergettime.c,
1151        posix/src/timerinserthelper.c, posix/src/timersettime.c,
1152        posix/src/timertsr.c: New files.
1153        * posix/src/ptimer1.c: Removed.
1154
11552007-12-17      Chris Johns <chrisj@rtems.org>
1156
1157        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
1158        libmisc/shell/main_unmount.c: New.
1159        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
1160        blksync, msdosfmt, and unmount commands.
1161
11622007-12-17      Chris Johns <chrisj@rtems.org>
1163
1164        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
1165        system opts table.
1166        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
1167        system opts table.
1168        * libmisc/Makefile.am: Add the mount command and supporting files.
1169        * libmisc/preinstall.am: Rebuilt.
1170        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
1171        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1172        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1173        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1174        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1175        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1176        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1177        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1178        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1179        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1180        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1181        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1182        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1183        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1184        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
1185        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
1186        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
1187        libmisc/shell/write_file.c: Move all shell_* types, variables and
1188        functions to rtems_shell_* to avoid namespace clashes with
1189        applications. The is an RTEMS shell after all.
1190        * libmisc/shell/shell.h, libmisc/shell/internal.h,
1191        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
1192        functions to rtems_shell_* to avoid namespace clashes with
1193        applications. Add the mount command supporting types.
1194        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
1195        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
1196        libmisc/shell/main_mount_tftp.c: New.
1197       
11982007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1199
1200        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
1201
12022007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1203
1204        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
1205        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
1206        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
1207        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1208        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1209        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1210        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1211        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1212        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1213        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1214        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1215        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1216        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1217        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1218        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1219        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1220        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
1221        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
1222        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
1223        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
1224        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
1225        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
1226        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
1227        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
1228        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
1229        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
1230        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
1231        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
1232        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
1233        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
1234
12352007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1236
1237        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
1238        API.
1239
12402007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1241
1242        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
1243        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
1244        Minor cleanup to improve testability and eliminate dead code.
1245
12462007-12-12      Chris Johns <chrisj@rtems.org>
1247
1248        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1249        Add RTEMS license details.
1250
12512007-12-12      Chris Johns <chrisj@rtems.org>
1252
1253        * Makefile.am, preinstall.am: Added
1254        libblock/include/rtems/flashdisk.h to the installed header list.
1255        * libblock/Makefile.am: Add flashdisk.c to the files to build.
1256        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1257        New.
1258
12592007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1260
1261        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
1262        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
1263        score/Makefile.am, score/preinstall.am: Revert testing patch.
1264
12652007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1266
1267        * posix/src/sched_rr_get_interval.c: Fix warning.
1268
12692007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1270
1271        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
1272        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
1273        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
1274        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
1275        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
1276        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
1277        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
1278        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
1279        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
1280        files into one function per file.
1281        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
1282        posix/src/aio_read.c, posix/src/aio_return.c,
1283        posix/src/aio_suspend.c, posix/src/aio_write.c,
1284        posix/src/lio_listio.c, posix/src/sched_getparam.c,
1285        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
1286        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
1287        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
1288        posix/src/sched_yield.c: New files.
1289        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
1290
12912007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1292
1293        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
1294        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
1295        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1296        posix/src/clocksettime.c, posix/src/devctl.c,
1297        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
1298        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
1299        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
1300        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
1301
13022007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1303
1304        * posix/src/adjtime.c: Clean up and verify against behavior documented
1305        in GNU/Linux man page provided with Fedora 7.
1306
13072007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1308
1309        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
1310        automake variables.
1311
13122007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1313
1314        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
1315        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
1316        rtems/src/taskvariabledelete.c: Add test code for task variables to
1317        improve coverage.
1318        * rtems/src/taskvariable_invoke_dtor.c: New file.
1319
13202007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1321
1322        * posix/preinstall.am: Revert debug patch.
1323
13242007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1325
1326        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
1327        BSP.
1328
13292007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1330
1331        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
1332
13332007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1334
1335        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
1336        disabled.
1337
13382007-12-12      Chris Johns <chrisj@rtems.org>
1339
1340        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
1341        header list.
1342        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
1343        in any order rather than before any commands have been added. Also
1344        made the command's strings be copies rather than references.
1345        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
1346
13472007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1348
1349        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
1350        Move Ada support code that is untestable from the Standard RTEMS Test
1351        Suite into its own directory. All code in score, posix, rtems, and
1352        sapi should be testable by the Standard RTEMS Test Suites. It was
1353        buried under POSIX before so this should be a clearer location
1354        anyway.
1355        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
1356        libgnat/adasupp.c: New files.
1357        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
1358
13592007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1360
1361        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
1362        Reverse file contents.
1363
13642007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1365
1366        * sapi/include/rtems/config.h: Correct idle task prototype.
1367
13682007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1369
1370        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
1371        libmisc/shell/internal.h, libmisc/shell/shell.c,
1372        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
1373        processing now separated from main command loop. Addition of user
1374        commands and aliases tested. Monitor registration now explicit.
1375        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
1376        libmisc/shell/write_file.c: New files.
1377
13782007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1379
1380        * libmisc/Makefile.am: Fix typo.
1381
13822007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1383
1384        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
1385        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
1386        into multiple files and add initial stages of command configuration.
1387        This seems to work but the monitor commands need to be integrated
1388        this way and the ability to configure user commands needs to be
1389        tested.
1390        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
1391        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
1392        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
1393        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
1394        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
1395        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
1396        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
1397        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
1398        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
1399        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
1400        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
1401        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
1402        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
1403        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
1404        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
1405        libmisc/shell/str2int.c: New files.
1406
14072007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1408
1409        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
1410
14112007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1412
1413        * sapi/include/rtems/config.h: Fix idle thread prototype.
1414
14152007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1416
1417        * sapi/include/confdefs.h: Separate the concept of configuring the
1418        interrupt stack size from actually reserving memory for it in the
1419        RTEMS Workspace.
1420
14212007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1422
1423        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
1424        installed. It is the initialization interface for both GoAhead and
1425        Simple HTTPD.
1426
14272007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1428
1429        * sapi/include/rtems/config.h: Correct previous commit.
1430
14312007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1432
1433        * sapi/include/rtems/config.h: Commit temporary fix so
1434        interrupt_stack_size is accessible before RTEMS is initialized.
1435
14362007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
1437
1438        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
1439        sapi/include/rtems/init.h, sapi/src/exinit.c,
1440        score/include/rtems/system.h, score/src/isr.c: Move
1441        interrupt_stack_size field from CPU Table to Configuration Table.
1442        Eliminate CPU Table from all ports. Delete references to CPU Table in
1443        all forms.
1444
14452007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1446
1447        * sapi/include/rtems/config.h: Add accessory macros for Configuration
1448        Table fields merged from CPU Table.
1449
14502007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
1451
1452        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
1453        posix/preinstall.am, posix/include/rtems/posix/cond.h,
1454        posix/include/rtems/posix/mqueue.h,
1455        posix/include/rtems/posix/mutex.h,
1456        posix/include/rtems/posix/pthread.h,
1457        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
1458        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
1459        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1460        sapi/include/confdefs.h, sapi/include/rtems/config.h,
1461        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
1462        sapi/src/exinit.c, score/include/rtems/system.h,
1463        score/include/rtems/score/mpci.h, score/src/mpci.c,
1464        score/src/thread.c, score/src/threadcreateidle.c,
1465        score/src/threadstackallocate.c, score/src/threadstackfree.c,
1466        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
1467        the Configuration Table. This included pretasking_hook,
1468        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
1469        extra_mpci_receive_server_stack, stack_allocate_hook, and
1470        stack_free_hook. As a side-effect of this effort some multiprocessing
1471        code was made conditional and some style clean up occurred.
1472
14732007-12-03      Chris Johns <chrisj@rtems.org>
1474
1475        * libmisc/shell/shell.h: Added comments for the parameters to the
1476        shell_init function.
1477        * libmisc/shell/shell.c: Only set cflags if tcflags is
1478        non-zero. This means the shell can use the current cflags settings
1479        and the application does not need to know the baudrate etc.
1480        * libmisc/capture/capture.h: Fix the comment.
1481
14822007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1483
1484        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1485        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
1486        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
1487        rtems/src/dpmemexternal2internal.c,
1488        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1489        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1490        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1491        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1492        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1493        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1494        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1495        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1496        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1497        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
1498        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1499        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
1500        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
1501        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
1502        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
1503        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
1504        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
1505        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
1506        rtems/src/timercancel.c, rtems/src/timerdelete.c,
1507        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1508        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1509        rtems/src/timerserverfirewhen.c: Restructured all code with
1510        the switch (location) pattern so that OBJECTS_LOCAL is first
1511        and we can fall into it and the OBJECTS_ERROR case breaks
1512        to a return RTEMS_INVALID_ID.  This eliminates the return
1513        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
1514        was unreachable and untestable code.  This resulted in a code
1515        savings of approximately 20 bytes per file on the SPARC/ERC32.
1516
15172007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1518
1519        * posix/Makefile.am: Restructed to move the
1520        OBJECTS_LOCAL case to the top of the switch statement and
1521        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1522        changes produced simplier assembly code and allowed for complete
1523        test coverage.  Also applied some consistency to the functions
1524        that translate the core status codes to POSIX status codes.
1525
15262007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1527
1528        * posix/include/rtems/posix/mutex.h,
1529        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
1530        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
1531        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1532        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1533        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1534        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1535        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1536        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
1537        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1538        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1539        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
1540        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
1541        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1542        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1543        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
1544        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
1545        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
1546        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
1547        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1548        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1549        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1550        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1551        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1552        posix/src/semclose.c, posix/src/semdestroy.c,
1553        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1554        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
1555        rtems/src/timerfireafter.c, score/include/rtems/system.h,
1556        score/include/rtems/score/corebarrier.h,
1557        score/include/rtems/score/coremsg.h,
1558        score/include/rtems/score/coremutex.h,
1559        score/include/rtems/score/coresem.h: Restructed to move the
1560        OBJECTS_LOCAL case to the top of the switch statement and
1561        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1562        changes produced simplier assembly code and allowed for complete
1563        test coverage.  Also applied some consistency to the functions
1564        that translate the core status codes to POSIX status codes.
1565        * posix/src/mutextranslatereturncode.c,
1566        posix/src/semaphoretranslatereturncode.c: New files.
1567        * posix/src/mutexfromcorestatus.c: Removed.
1568
15692007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
1570
1571        * posix/inline/rtems/posix/priority.inl: Fix typo.
1572
15732007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1574
1575        * sapi/src/exinit.c, score/include/rtems/score/object.h,
1576        score/include/rtems/score/thread.h, score/src/object.c,
1577        score/src/thread.c: Conditionally compile out more code that is
1578        specific to multiprocessor configurations.
1579
15802007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1581
1582        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
1583        posix/src/conddestroy.c, posix/src/condinit.c,
1584        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
1585        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1586        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1587        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1588        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1589        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
1590        posix/src/mutexattrgetprioceiling.c,
1591        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1592        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1593        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1594        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1595        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1596        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1597        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
1598        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
1599        posix/src/semclose.c, posix/src/semdestroy.c,
1600        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
1601        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
1602        Remove all pretense of POSIX MP support. The support in place was
1603        only a shell. This should make maintenance easier.
1604        * posix/include/rtems/posix/condmp.h,
1605        posix/include/rtems/posix/mqueuemp.h,
1606        posix/include/rtems/posix/mutexmp.h,
1607        posix/include/rtems/posix/pthreadmp.h,
1608        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
1609        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
1610
16112007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1612
1613        * configure.ac, score/inline/rtems/score/thread.inl,
1614        score/src/threaddispatch.c: Add ability for user to disable inlining
1615        of _Thread_Enable_dispatch. This can save code space but more
1616        importantly it means the binary generated does not have code inlined
1617        that is difficult to test and very seldom executed.
1618
16192007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1620
1621        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1622        rtems/include/rtems/rtems/barrier.h,
1623        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
1624        score/src/corerwlockrelease.c: Fixed several implementation errors.
1625
16262007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1627
1628        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
1629        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1630        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1631        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1632        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
1633        case to the top of the switch statement, have a single exit with one
1634        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
1635        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
1636        code and allowed for complete test coverage.
1637
16382007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1639
1640        * sapi/include/confdefs.h,
1641        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
1642        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1643
16442007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1645
1646        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1647
16482007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1649
1650        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
1651        support Thumb.
1652
16532007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1654
1655        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
1656        Now works on gen5200/icecube.
1657
16582007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1659
1660        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
1661
16622007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1663
1664        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
1665
16662007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1667
1668        * score/include/rtems/score/thread.h: Fix spelling error.
1669
16702007-11-17      Till Straumann <strauman@slac.stanford.edu>
1671
1672        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
1673        Added checks so that use of 'stdio' is avoided (falling
1674        back to 'printk') before the system is up.
1675        Publish driver entry points so that the libi2c driver could
1676        be added to the applications 'device driver table'.
1677        This is not fully implemented yet, though, since in addition to
1678        initializing libi2c the low-level i2c bus drivers as well
1679        as high-level i2c device drivers need to be registered
1680        with the library.
1681        Updated README_libi2c accordingly.
1682
16832007-11-17      Till Straumann <strauman@slac.stanford.edu>
1684
1685        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
1686        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
1687        so that it knows what PHY they want to look at.
1688
16892007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1690
1691        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
1692        in opposite files. Whoops!
1693
16942007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1695
1696        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
1697        of the focus was on the beginning stages of making the login checker
1698        pluggable just like the shell.
1699
17002007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1701
1702        * posix/src/mprotect.c: Update comments.
1703
17042007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1705
1706        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
1707        will require gcc 4.3 or newer.
1708        * posix/src/ada_intrsupp.c: New file.
1709
17102007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1711
1712        * sapi/src/exinit.c, score/Makefile.am,
1713        score/include/rtems/score/apimutex.h: API Mutex calls should never
1714        have been inlined. Inlining them lead to many inlined copies of core
1715        mutex lock. This lead to over 2K savings in the SPARC/ERC32
1716        minimum.exe.
1717        * score/src/apimutex.c, score/src/apimutexallocate.c,
1718        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
1719
17202007-11-07      Till Straumann <strauman@slac.stanford.edu>
1721
1722        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
1723        around _CPU_ISR_Set_level().
1724
17252007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1726
1727        * score/inline/rtems/score/object.inl: During test coverage analysis,
1728        we identified this sanity check which should have been conditional on
1729        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
1730        operations. With all APIs enabled, this saved 352 bytes from the
1731        minimum executable on the SPARC/ERC32.
1732
17332007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1734
1735        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
1736        compiler conditional attribute for methods that do not return. This
1737        avoids gcc generating unreachable code following calls to
1738        _Internal_error_Occurred.
1739
17402007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1741
1742        * configure.ac: Add ARM/Thumb Makefile.
1743
17442007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1745
1746        PR 1266/cpukit
1747        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
1748        of class for key indexing.
1749
17502007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1751
1752        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
1753        Fix headers and formatting.
1754
17552007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1756
1757        Miscellaneous changes made after a review against the POSIX spec.
1758        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
1759        passes a NULL in the attributes parameter, default attributes are used.
1760        * posix/src/prwlockdestroy.c: If there is at least one thread
1761        waiting, do not allow deletion.
1762        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
1763        operation used to obtain a RWLock for writing.
1764        * posix/src/pspinlocktranslatereturncode.c,
1765        score/include/rtems/score/corespinlock.h,
1766        score/src/corespinlockrelease.c: If the current thread is not the
1767        holder of the lock, do not allow an unlock and return EPERM.
1768        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
1769        for queueing with a timeout handler.
1770
17712007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
1772
1773        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
1774        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
1775        stack so gdb backtrace does not print corrupted frame message after
1776        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
1777        SPARC implementation and I made it more general.
1778
17792007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1780
1781        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
1782        Cleaned up reports and fixed a bug related the printf format which
1783        resulted in lack of leading zeroes and misleading magnitude.
1784        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
1785
17862007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1787
1788        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
1789        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
1790        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
1791        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
1792        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
1793        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
1794        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
1795        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
1796        posix/src/condinit.c, posix/src/condsignalsupp.c,
1797        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1798        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1799        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1800        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1801        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1802        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
1803        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
1804        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1805        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
1806        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1807        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1808        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
1809        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
1810        posix/src/pspindestroy.c, posix/src/pspinlock.c,
1811        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1812        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1813        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1814        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1815        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1816        posix/src/semclose.c, posix/src/semdestroy.c,
1817        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1818        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1819        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
1820        rtems/src/dpmemexternal2internal.c,
1821        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1822        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1823        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1824        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1825        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1826        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1827        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1828        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1829        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1830        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
1831        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1832        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1833        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1834        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
1835        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1836        rtems/src/signalsend.c, rtems/src/taskdelete.c,
1837        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
1838        rtems/src/taskrestart.c, rtems/src/taskresume.c,
1839        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
1840        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
1841        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
1842        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
1843        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
1844        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1845        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1846        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
1847        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
1848        score/src/mpci.c, score/src/objectgetnameasstring.c,
1849        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
1850        multiprocessing is disabled, do not even allow the constant
1851        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
1852        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
1853        in the generation of binary code which can NOT be reached.
1854
18552007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1856
1857        * score/Makefile.am, score/include/rtems/score/thread.h,
1858        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
1859        resulted in unnessary code explosion, many uncovered paths when
1860        looking at binary executable coverage, and only optimized getting
1861        self. Id translations were still getting pushed to a subroutine call
1862        to _Objects_Get. Later the non-inlined version can be further
1863        optimized to get Ids in range for the current API, then self, then
1864        look at other APIs.
1865        * score/src/threadget.c: New file.
1866
18672007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1868
1869        * libi2c/README-libi2c
1870        document structure of libi2c library
1871
18722007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1873
1874        * libi2c/libi2c.c, libi2c/libi2c.h:
1875        extend API to support SPI devices
1876        made libi2c.h C++-proof
1877
18782007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1879
1880        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
1881        also in another file.  Mistake after splitting.
1882        * libcsupport/Makefile.am: Reflect file removal.
1883
18842007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1885
1886        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
1887        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
1888        Minor updates from FreeBSD.
1889
18902007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1891
1892        * score/include/rtems/score/copyrt.h: Update year.
1893
18942007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1895
1896        * score/include/rtems/score/copyrt.h: Update year.
1897
18982007-10-11      Daniel Hellstrom <daniel@gaisler.com>
1899
1900        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
1901        Fixed check of status when registering driver. Add use of strerror().
1902
19032007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
1904        Ralf Corsépius <ralf.corsepius@rtems.org>
1905
1906        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
1907        libnetworking/libc/if_indextoname.c,
1908        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
1909        * Makefile.am: Add files above.
1910        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
1911
19122007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1913
1914        * libmisc/stackchk/check.c: Eliminate output with little information.
1915        Always print a blown message using the same routine. Now works with
1916        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
1917        support in your GCC version.
1918
19192007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1920
1921        * libcsupport/src/gxx_wrappers.c: Revert.
1922
19232007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1924
1925        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
1926        PRId32 to fix warning.
1927
19282007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1929
1930        * telnetd/passwd.h: New file.
1931
19322007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1933
1934        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
1935        telnetd/telnetd.h: telnetd rewrite.
1936        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
1937
19382007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1939
1940        PR 1262/filesystem
1941        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
1942        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
1943        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
1944        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
1945        writev() including documentation and test case.
1946        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
1947
19482007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1949
1950        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
1951        document what is required to provide a fully functional
1952        implementation.
1953        * libnetworking/rtems/rtems_socketpair.c: New file.
1954
19552007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1956
1957        * aclocal/version.m4: Bump RTEMS_API to 4.9.
1958        Bump RTEMS_VERSION to 4.8.99.0.
1959
19602007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1961
1962        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
1963
19642007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1965
1966        * posix/src/semaphorecreatesupp.c: Fixed warning.
1967
19682007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1969
1970        * libmisc/dumpbuf/dumpbuf.c: Use printk.
1971
19722007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1973
1974        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
1975        Use uint32_t for ext_accm.
1976
19772007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1978
1979        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
1980        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
1981        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
1982        fixed-size types instead of BSD fixed-size types.
1983
19842007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1985
1986        * libmisc/stackchk/check.c: Fix alignment of output.
1987
19882007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1989
1990        * libmisc/monitor/monitor.h: Add network commands that were in the
1991        network supplement but not in the code.
1992        * libmisc/monitor/mon-network.c: New file.
1993
19942007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1995
1996        PR 1261/cpukit
1997        * posix/src/semaphorecreatesupp.c: Initialize all fields during
1998        semaphore creation.
1999
20002007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2001
2002        PR 1260/cpukit
2003        * posix/src/pthread.c: Get initial signals blocked from creating
2004        thread not from ourselves.
2005
20062007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2007
2008        * score/src/watchdogtickle.c: Remove tabs.
2009
20102007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2011
2012        PR 1259/rtems
2013        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2014        memory is not guaranteed to be zero.
2015
20162007-09-12  Sergei Organov  <osv@javad.com>
2017
2018        PR 1258/rtems
2019        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2020        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2021        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2022        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2023        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2024        to changed block split strategy in _Heap_Allocate_aligned().
2025
20262007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2027
2028        * libcsupport/src/printk.c: Remove unnecessary comments.
2029
20302007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2031
2032        * libmisc/monitor/mon-monitor.c:
2033        Corrected linked list of rtems_monitor_commands
2034
20352007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2036
2037        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2038        walk on init, malloc, and free. The ability to walk the heap appears
2039        to disappeared during the rework of the C Program heap to skip the
2040        Region.
2041
20422007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2043
2044        * score/src/heap.c: Style.
2045        * score/src/heapwalk.c: Add more information to prints.
2046        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2047        is disabled.
2048
20492007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2050
2051        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2052        * libcsupport/src/printk_plugin.c: New file.
2053        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2054        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2055        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2056        rtems/src/ratemonreportstatistics.c: Added capability to specify
2057        your own "printf" routine to various reporting functions.  This
2058        added an XXX_with_plugin as the underlying implementation for
2059          + rtems_rate_monotonic_report_statistics
2060          + rtems_stack_checker_report_usage
2061          + rtems_cpu_usage_report
2062        As demonstration, the http netdemo can now print out stack
2063        and cpu usage reports.
2064
20652007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2066
2067        * shttpd/compat_rtems.c: Style clean up.
2068
20692007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2070
2071        * rtems/src/ratemonperiod.c: Clean up.
2072        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2073
20742007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2075
2076        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2077
20782007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2079
2080        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2081
20822007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2083
2084        * libmisc/Makefile.am: Add new files.
2085
20862007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2087
2088        * libmisc/monitor/mon-object.c,
2089        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2090        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2091        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2092        Added functionality for osmonweb support
2093
20942007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2095
2096        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2097        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2098        that are needed by osmonweb.
2099
21002007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2101
2102        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2103        Use printk.
2104
21052007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2106
2107        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2108        spacing and spelling.
2109
21102007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2111
2112        PR 1256/networking
2113        * ftpd/ftpd.c: Fix unaligned access.
2114
21152007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2116
2117        * posix/Makefile.am: Always build nanosleep.
2118
21192007-08-17      Chris Johns <chrisj@rtems.org>
2120
2121        * libmisc/capture/README: Minor copyright change.
2122        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
2123        libmisc/capture/capture.h: Fixed the memory leak when lots of
2124        tasks are being created and deleted. Improved the trigger
2125        interface so all task type actions can be caught.
2126
21272007-08-13      Chris Johns <chrisj@rtems.org>
2128
2129        * score/include/rtems/score/object.h: Point the
2130        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2131
21322007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2133
2134        PR 1248/networking
2135        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
2136        reported that when no interfaces are successfully attached, the
2137        default route is broken and may result in a jump to an illegal
2138        address.
2139
21402007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2141
2142        * score/inline/rtems/score/priority.inl: Use size_t instead of
2143          uint32_t for array index.
2144
21452007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2146
2147        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
2148          identify coldfire cpus.
2149
21502007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2151
2152        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
2153          coldfire.
2154
21552007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2156
2157        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
2158          work-around bug m68k/coldfire -fomit-frame-pointer bug
2159          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
2160
21612007-07-27      Chris Johns <chrisj@rtems.org>
2162
2163        * wrapup/Makefile.am: Create archive from a file for hosts
2164        with a limited command line size.
2165
21662007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2167
2168        * include/rtems/bspIo.h, include/rtems/pci.h:
2169        Add extern "C" guards. Reported by
2170        Robert S. Grimes <rsg@alum.mit.edu>.
2171
21722007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2173
2174        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
2175        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
2176        the time appears to be reported correctly and add up to what is
2177        expected.
2178
21792007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2180
2181        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
2182        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
2183        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
2184
21852007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2186
2187        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
2188        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
2189        was always using uptime not time since last cpu usage reset when
2190        using nanoseconds granularity.
2191        * libmisc/cpuuse/cpuusagedata.c: New file.
2192
21932007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
2194
2195        * libcsupport/src/mount.c: Allow null for output parameter.
2196
21972007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2198
2199        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
2200        to shttpd initialization.
2201
22022007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2203
2204        * libcsupport/src/malloc.c: Clean up Malloc debug code.
2205        * score/include/rtems/score/heap.h: Spacing.
2206        * score/inline/rtems/score/thread.inl:
2207        * score/src/heapfree.c. Clean up and add explicit check of the address
2208        being freed actually being in the heap.
2209        * score/src/heapwalk.c: Switch to printk and do not call abort.
2210
22112007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2212
2213        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
2214        area contingent on the stack checker user extension having been
2215        initialized.
2216
22172007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2218
2219        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
2220        and recv(). We already had the BSD versions and these conflict
2221        sometimes when linking.
2222
22232007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2224
2225        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
2226        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2227
22282007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2229
2230        * sapi/include/confdefs.h: Do not instantiate initialization
2231        thas/thread pointer tables for an API that is not configured.
2232
22332007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2234
2235        * libcsupport/Makefile.am:
2236        * libcsupport/src/open_dev_console.c: New file.
2237
22382007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2239
2240        * score/src/corerwlock.c: Make sure structure is fully initialized.
2241        When reused, some fields will not be zero like at initialization.
2242
22432007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2244
2245        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
2246        size. Account for this.
2247
22482007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2249
2250        * configure.ac: Add NDEBUG as a command line compilation option.
2251
22522007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2253
2254        * libmd/.cvsignore: New file.
2255
22562007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2257
2258        * shttpd/defs.h: Eliminate my_strncasecmp.
2259        * shttpd/string.c: Eliminate my_strncasecmp.
2260
22612007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2262
2263        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
2264        * pppd/Makefile.am: Reflect moving out md*.
2265        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
2266          libmd).
2267        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
2268        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
2269        * configure.ac, Makefile.am: Add libmd.
2270
22712007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2272
2273        * shttpd/defs.h: Eliminate my_strlcpy.
2274        * shttpd/string.c: Eliminate my_strlcpy.
2275
22762007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2277
2278        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
2279        * shttpd/string.c: Eliminate my_strdup, my_strndup.
2280        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
2281          libmd.a.
2282
22832007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2284
2285        * wrapup/Makefile.am: Add libmd.a.
2286
22872007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2288
2289        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
2290          Add pppd/libmd.a.
2291        * pppd/md4.c: Don't include pppd.h.
2292
22932007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2294
2295        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
2296
22972007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2298
2299        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
2300        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
2301        Add config.h support.
2302
23032007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2304
2305        * shttpd/compat_rtems.h: Define closesocket.
2306
23072007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2308
2309        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
2310
23112007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2312        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
2313        Use size_t for stack sizes.
2314
23152007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2316
2317        * configure.ac, Makefile.am: Add shttpd.
2318        * shttpd/Makefile.am: New.
2319        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
2320        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
2321        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
2322        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
2323        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
2324        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
2325        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
2326        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
2327        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
2328        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
2329        Import from shttpd-1.37.tar.gz.
2330
23312007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2332
2333        * configure.ac: Remove "pad" from CPU_CONTEXT.
2334
23352007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2336
2337        * score/src/coremsg.c: Formatting.
2338
23392007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2340
2341        * score/include/rtems/score/copyrt.h: Update copyright notice.
2342
23432007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2344
2345        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
2346        one function per file execpt io.c which contains required
2347        initialization methods.
2348        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
2349        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
2350        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
2351        sapi/src/iowrite.c: New files.
2352
23532007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2354
2355        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
2356        table into Workspace but now it is only done if the application needs
2357        extra slots for dynamic driver registration. Cleaned up
2358        rtems_io_register_driver and rtems_io_unregister_driver code and
2359        added numerous error cases to register.
2360
23612007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2362
2363        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
2364        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
2365        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
2366        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
2367        configuration parameter since it was used to configure a no longer
2368        used feature. Device names are now part of the filesystem not in a
2369        table. This also eliminated the variables _IO_Number_of_devices and
2370        _IO_Driver_name_table from RTEMS as well as the memory allocation
2371        used to populate _IO_Driver_name_table.
2372        * libmisc/monitor/mon-dname.c: Removed.
2373
23742007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2375
2376        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
2377        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
2378        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
2379        unused Workspace. Round the workspace required size to an 8 byte
2380        boundary instead of a 0x400 byte one. We may end up needing to add 8
2381        bytes again to account for the alignment rounding.
2382
23832007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2384
2385        Yu Chen <chyyuu@gmail.com>
2386        * score/src/corespinlockwait.c: Per question posted as
2387        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
2388        logical operator to <=.
2389
23902007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2391
2392        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
2393        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
2394        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
2395        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
2396        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
2397        executive initialization.
2398
23992007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2400
2401        * score/src/corerwlockrelease.c: Do not dereference NULL.
2402
24032007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2404
2405        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
2406        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
2407        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
2408        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
2409        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
2410        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
2411        sapi/include/rtems/extension.h: Split Classic API data instantiation
2412        into individual files. This reduces the size of the BSS section when
2413        an optional manager stub is used. Some tests showed about a 600 byte
2414        reduction in BSS size.
2415        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
2416        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
2417        _RTEMS_tasks_Number_of_initialization_tasks because they were only
2418        used in one place after initialized. It was a waste of space.
2419        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
2420        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
2421        rtems/src/ratemondata.c, rtems/src/regiondata.c,
2422        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
2423        sapi/src/extensiondata.c: New files.
2424
24252007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2426
2427        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
2428        functionality into multiple files to eliminate unnecessary cohesion.
2429        Update README.
2430        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
2431        New files.
2432        * libmisc/cpuuse/cpuuse.c: Removed.
2433
24342007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2435
2436        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
2437        negative value in some circumstances. Also cleaned up to share uptime
2438        declaration.
2439
24402007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2441
2442        * ChangeLog, configure.ac, libcsupport/src/__times.c,
2443        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2444        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
2445        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
2446        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
2447        score/Makefile.am, score/include/rtems/score/thread.h,
2448        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
2449        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
2450        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
2451        monotonic period statistics and CPU usage statistics. This capability
2452        is enabled by default although may be conditionally disabled by the
2453        user. It could be too much overhead on small targets but it does not
2454        appear to be bad in early testing. Its impact on code size has not
2455        been evaluated either. It is possible that both forms of statistics
2456        gathering could be disabled with further tweaking of the conditional
2457        compilation.
2458        * score/src/timespecdividebyinteger.c: New file.
2459
24602007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2461
2462        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
2463        functionally similar code here. Also cleanup print formats.
2464
24652007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2466
2467        * score/src/objectgetnameasstring.c: Internal threads use string names
2468        so in the current RTEMS source string object name can NOT be
2469        disabled. It is probably worth considering converting the internal
2470        threads to uint32_t style names so all the support for string names
2471        can be conditionally disabled.
2472
24732007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2474
2475        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
2476        and greater than operations for timespecs.
2477        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
2478        New files.
2479
24802007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2481
2482        * score/src/objectgetnameasstring.c: Remove bogus ifdef
2483        RTEMS_POSIX_API.
2484
24852007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
2486
2487        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
2488        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
2489        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
2490        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
2491        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
2492        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
2493        score/Makefile.am, score/include/rtems/score/object.h,
2494        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
2495        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
2496        Added the following directives: rtems_rate_monotonic_get_statistics,
2497        rtems_rate_monotonic_reset_statistics,
2498        rtems_rate_monotonic_reset_all_statistics,
2499        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
2500        Obsoleted the rtems/rtmonuse.h file as a public interface.
2501        * rtems/src/ratemongetstatistics.c,
2502        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
2503        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
2504        score/src/objectgetnameasstring.c: New files.
2505        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2506
25072007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2508
2509        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
2510        rtems_io_register_name for use on unix.
2511        * libcsupport/src/unixlibc_io.c: New file.
2512
25132007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2514
2515        * score/src/coremsgseize.c: A blocking sender's message size was
2516        pulled out of the wrong field in the Wait information structure.
2517        * score/src/objectallocate.c: With the new optional manager support,
2518        we only stub out the initialization. This makes it possible to attempt
2519        to create an object with the information structure only initialized
2520        with all zeros.  This ensures we return an error cleanly in this case.
2521
25222007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2523
2524        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
2525        an optional manager, we cannot depend on it do initialize the
2526        internal Allocator Mutex.  This was always a questionable place to
2527        do it, so this is a cleanup.
2528
25292007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2530
2531        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2532        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
2533        suitable for inclusion in the Users Guide.
2534
25352007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2536
2537        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
2538        ChangeLog-pre2007.
2539        * ChangeLog-pre2007: New file.
2540
25412007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2542
2543        PR 1241/rtems
2544        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
2545        critical section window added with requeueing support.
2546
25472007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2548
2549        * libcsupport/include/rtems/cdefs.h,
2550          libcsupport/include/sys/cdefs.h: Remove.
2551        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
2552        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
2553        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
2554        libnetworking/netdb.h, libnetworking/resolv.h,
2555        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
2556        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
2557        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
2558        libnetworking/net/if.h, libnetworking/net/if_dl.h,
2559        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
2560        libnetworking/rtems/rtems_bsdnet_internal.h,
2561        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
2562        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
2563        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
2564        libnetworking/sys/uio.h, libnetworking/sys/un.h,
2565        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
2566        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
2567        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
2568        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
2569        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
2570        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
2571        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
2572
25732007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2574
2575        * Makefile.am: Reflect introduction of
2576          include/rtems/bsd/sys/cdefs.h.
2577        * include/rtems/bsd/sys/cdefs.h: New.
2578
25792007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2580
2581        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
2582        * libnetworking/sys/queue.h: Remove.
2583
25842007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2585
2586        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
2587        <machine/endian.h>.
2588        * libnetworking/rtems/rtems_showroute.c,
2589        libnetworking/rtems/rtems_showipstat.c,
2590        libnetworking/rtems/rtems_showtcpstat.c,
2591        libnetworking/rtems/rtems_showicmpstat.c,
2592        libnetworking/rtems/rtems_showmbuf.c,
2593        libnetworking/rtems/rtems_showudpstat.c,
2594        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
2595        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
2596        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
2597        libnetworking/netinet/tcp_usrreq.c,
2598        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
2599        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
2600        libnetworking/netinet/ip_output.c,
2601        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
2602        libnetworking/netinet/udp_usrreq.c,
2603        libnetworking/netinet/tcp_output.c,
2604        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
2605        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
2606        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
2607        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
2608        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
2609        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
2610        instead of <sys/queue.h>.
2611        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
2612        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
2613        libnetworking/net/if.h, libnetworking/net/if_media.h,
2614        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
2615        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
2616        instead of <sys/queue.h>.
2617        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
2618        * include/rtems/bsd/sys/queue.h: New (Copied from
2619          libnetworking/sys/queue.h).
2620
26212007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2622
2623        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
2624        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
2625        score/Makefile.am, score/preinstall.am,
2626        score/include/rtems/score/userext.h, score/src/chain.c,
2627        score/src/userext.c: Switch to newlib reentrancy extension being
2628        installed in the initial set instead of using rtems_extension_create.
2629        While implementing this, noticed that user extensions and chain code
2630        had multiple functions in a single file which is not desirable in the
2631        SuperCore and API portions of RTEMS, so split these into multiple
2632        files with one function per file. Also noticed that some of user
2633        extension code was inlined for no particular reason so moved that to
2634        C bodies.  Split executive shutdown from initialization since not
2635        every application shuts down.  Moved __fini call to executive shutdown
2636        to be more symmetrical with where it is called at startup.
2637        * sapi/src/exshutdown.c, score/src/chainappend.c,
2638        score/src/chainextract.c, score/src/chainget.c,
2639        score/src/chaininsert.c, score/src/userextaddapiset.c,
2640        score/src/userextaddset.c, score/src/userextremoveset.c,
2641        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
2642        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
2643        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
2644        files.
2645        * score/inline/rtems/score/userext.inl: Removed.
2646
26472007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2648
2649        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
2650        reference _Configuration_MP_table if multiprocessing is disabled.
2651
26522007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2653
2654        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
2655        reference _Configuration_MP_table if multiprocessing is disabled.
2656
26572007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2658
2659        * libnetworking/machine/endian.h: Remove.
2660        * libnetworking/Makefile.am: Remove machine/endian.h.
2661        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
2662        libnetworking/rtems/rtems_bsdnet_internal.h: Include
2663        <rtems/endian.h> instead of <machine/endian.h>.
2664        * Makefile.am: Add include/rtems/endian.h.
2665        * include/rtems/endian.h: New (Copied from
2666          libnetworking/machine/endian.h).
2667
26682007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2669
2670        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
2671        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
2672        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
2673        of <stdint.h>.
2674        * libnetworking/machine/endian.h: Remove
2675          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2676        * NEWS: new.
2677
26782007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2679
2680        PR 1243
2681        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
2682
26832007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2684
2685        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
2686        to inline functions, using uint[16,32]_t.
2687        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
2688        with SUSv3.
2689        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
2690        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
2691        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
2692        Add HAVE_CONFIG_H magic.
2693        * libnetworking/libc/gethostbydns.c,
2694        libnetworking/libc/inet_net_ntop.c,
2695        libnetworking/libc/inet_pton.c: Eliminate __P.
2696        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
2697        return value of ntohl (POSIX requirement).
2698        Use UINT32_C macros to avoid overflows on 16bit targets.
2699        Eliminate __P.
2700        * configure.ac: Check for working PRIxPTR.
2701
27022007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2703
2704        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
2705        score/src/threadinitialize.c, score/src/threadstackallocate.c:
2706        Use size_t for stack sizes.
2707
27082007-05-03      Joel Sherrill <joel@OARcorp.com>
2709
2710        * ChangeLog, libcsupport/src/malloc.c,
2711        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
2712        score/Makefile.am, score/preinstall.am: malloc never blocks so the
2713        Region Manager is quite heavy for implementing this. This patch
2714        implements the C Program Heap directly in terms of the new Protected
2715        Heap handler. This handler is a direct use of a SuperCore Heap in
2716        conjunction with the Allocator Mutex used internally by RTEMS. This
2717        saves 3184 bytes on most SPARC test executables.
2718        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
2719        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
2720        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
2721        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
2722        score/src/pheapinit.c, score/src/pheapresizeblock.c,
2723        score/src/pheapwalk.c: New files.
2724
27252007-05-03      Joel Sherrill <joel@OARcorp.com>
2726
2727        * libcsupport/src/rmdir.c: Fixed spacing.
2728        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
2729        newlibc.c. It is not required for minimum executing and drops 624
2730        from SPARC minimum executable.
2731        * libcsupport/src/newlibc_exit.c: New file.
2732
27332007-04-17      Joel Sherrill <joel@OARcorp.com>
2734
2735        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
2736        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
2737        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
2738        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
2739        rtems/src/taskinitusers.c, rtems/src/tasks.c,
2740        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
2741        reduce executable size. Most were refactoring of files. Split ITRON
2742        API files. Implemented mechanism to avoid initialization task/thread
2743        loop being linked in when that style of task initialization was not
2744        being used.
2745        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
2746        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
2747        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
2748        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
2749        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
2750        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
2751        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
2752        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
2753        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
2754        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
2755        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
2756        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
2757        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
2758        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
2759        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
2760        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
2761        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
2762        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
2763        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
2764        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
2765        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
2766
27672007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
2768
2769        * score/include/rtems/score/thread.h:
2770          Use Context_Control_fp* instead of void* for fp_contexts.
2771
27722007-04-16      Joel Sherrill <joel@OARcorp.com>
2773
2774        PR 1240/filesystem
2775        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
2776        for filename was not being freed.
2777
27782007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2779
2780        * pppd/utils.c: Use uintptr_t instead of unsigned long.
2781
27822007-04-16      Joel Sherrill <joel@OARcorp.com>
2783
2784        * itron/src/rsm_tsk.c: Correct error returned.
2785
27862007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
2787
2788        * configure.ac: Redefine LIBPOSIX to !UNIX.
2789        * posix/src/usleep.c, libcsupport/src/readlink.c:
2790        Update API to SUSv3.
2791
27922007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2793
2794        * posix/Makefile.am: Unconditionally build src/sleep.c,
2795          src/usleep.c.
2796        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
2797          CLOCK_MONOTONIC case.
2798        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
2799
28002007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2801
2802        * posix/Makefile.am: Cosmetics.
2803        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
2804        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
2805
28062007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2807
2808        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
2809          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
2810        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
2811          rtems/posix/time.h.
2812        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
2813          rtems/posix/time.h.
2814        * score/include/rtems/score/object.h: Use size_t for byte sizes.
2815
28162007-04-12      Joel Sherrill <joel@OARcorp.com>
2817
2818        * itron/src/rsm_tsk.c: Correct error returned.
2819
28202007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2821
2822        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
2823
28242007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2825
2826        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
2827        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
2828        _impure_ptr bug).
2829        Fix abuse of _REENT_INIT().
2830
28312007-04-05      Joel Sherrill <joel@OARcorp.com>
2832
2833        * itron/src/itrontime.c: Fix typo.
2834        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
2835        * score/src/iterateoverthreads.c: Safely take NULL as argument.
2836        * score/src/threaddispatch.c: Formatting.
2837
28382007-04-05      Joel Sherrill <joel@OARcorp.com>
2839
2840        * posix/Makefile.am: Fix formatting.
2841
28422007-04-05      Joel Sherrill <joel@OARcorp.com>
2843
2844        * posix/Makefile.am, posix/include/rtems/posix/time.h,
2845        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
2846        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
2847        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
2848        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
2849        posix/src/pthread.c, posix/src/pthreadcreate.c,
2850        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
2851        posix/src/sched.c, posix/src/semtimedwait.c,
2852        posix/src/sigtimedwait.c, posix/src/ualarm.c,
2853        rtems/src/clocktodtoseconds.c, score/Makefile.am,
2854        score/preinstall.am, score/include/rtems/score/tod.h,
2855        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2856        score/src/coretodget.c, score/src/coretodgetuptime.c,
2857        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
2858        manipulation routines in the SuperCore. Use them everywhere possible.
2859        This lead to significant cleanup in the API routines and eliminated
2860        some of the same code from the POSIX API. At this point, the
2861        SuperCore keeps time in POSIX timespec format properly from 1970. You
2862        just cannot set it before 1988 in keeping with RTEMS traditional
2863        behavior.
2864        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
2865        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
2866        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
2867        score/src/timespectoticks.c: New files.
2868        * posix/src/posixintervaltotimespec.c,
2869        posix/src/posixtimespecsubtract.c,
2870        posix/src/posixtimespectointerval.c: Removed.
2871
28722007-04-04      Joel Sherrill <joel@OARcorp.com>
2873
2874        * score/Makefile.am, score/include/rtems/score/tod.h,
2875        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
2876        non-inlined routine. It should only be used once so there is little
2877        advantage to inlining it.
2878        * score/src/coretodtickle.c: New file.
2879
28802007-04-02      Joel Sherrill <joel@OARcorp.com>
2881
2882        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
2883        dead code.
2884        * posix/src/time.c: Removed.
2885
28862007-04-02      Joel Sherrill <joel@OARcorp.com>
2887
2888        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
2889        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2890        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
2891        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
2892        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
2893        TOD_Ticks_per_second variable.
2894
28952007-04-02      Joel Sherrill <joel@OARcorp.com>
2896
2897        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
2898        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
2899        posix/src/clockgettime.c, posix/src/clocksettime.c,
2900        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
2901        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2902        posix/src/sleep.c, rtems/Makefile.am,
2903        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
2904        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
2905        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
2906        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
2907        score/Makefile.am, score/include/rtems/score/tod.h,
2908        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2909        score/src/coretodset.c: Convert from Classic API style TOD_Control as
2910        fundamental time structure to POSIX struct timespec. Add
2911        clock_get_uptime().
2912        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
2913        score/src/coretodgetuptime.c: New files.
2914        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
2915        score/src/coretodvalidate.c: Removed.
2916
29172007-04-02      Joel Sherrill <joel@OARcorp.com>
2918
2919        * libcsupport/src/printk.c: Add %p support.
2920
29212007-04-02      Joel Sherrill <joel@OARcorp.com>
2922
2923        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
2924        in addition to the pattern area being overwritten. Also do some
2925        cleanup.
2926
29272007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2928
2929        * include/rtems/pci.h: Further stdint.h fixed-size types.
2930
29312007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2932
2933        * include/rtems/pci.h: Use stdint.h fixed size-types.
2934
29352007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2936
2937        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
2938        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
2939        * libnetworking/Makefile.am: Move libc/res_config.h to
2940          libc_a_SOURCES (File is being used).
2941        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
2942        Remove (Unused).
2943        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
2944        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
2945        Remove (Unused).
2946        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
2947
29482007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2949
2950        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
2951        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
2952        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
2953        libnetworking/libc/gethostbynis.c,
2954        libnetworking/libc/gethostnamadr.c,
2955        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
2956        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
2957        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
2958        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
2959        libnetworking/libc/getservbyname.c,
2960        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
2961        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
2962        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
2963        libnetworking/libc/inet_net_ntop.c,
2964        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
2965        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
2966        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
2967        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
2968        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
2969        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
2970        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
2971        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
2972        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
2973        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
2974        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
2975        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
2976        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
2977        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
2978        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
2979        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
2980        SCCS, LINT. Add HAVE_CONFIG_H.
2981        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
2982
29832007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2984
2985        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
2986          uintptr_t.
2987
29882007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2989
2990        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
2991        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
2992
29932007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2994
2995        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
2996        * libnetworking/net/netisr.h: Partial update from FreeBSD.
2997        * libcsupport/src/getpwent.c: Remove bogus cast to long.
2998        * libnetworking/libc/strsep.c: Don't build if provided by libc.
2999        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3000        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3001        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3002        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3003        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3004        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3005        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3006        (Abandoned in FreeBSD).
3007        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3008        (Abandoned in FreeBSD).
3009        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3010        (Abandoned in FreeBSD).
3011        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3012        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3013
30142007-03-28      Chris Johns <chrisj@rtems.org>
3015
3016        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3017        score/include/rtems/score/watchdog.h: Add support for a handler to
3018        obtain the number of nanoseconds since the last clock tick. The
3019        primary interface for this is rtems_clock_set_nanoseconds_extension.
3020        Subsequent commits from Joel will redo the TOD support to use this
3021        capability.
3022        * rtems/src/clocksetnsecshandler.c: New file.
3023
30242007-03-28      Joel Sherrill <joel@OARcorp.com>
3025
3026        PR 1234/cpukit
3027        * libcsupport/Makefile.am: Provide printk() based implementation of
3028        __assert() to reduce dependencies in executables.
3029        * libcsupport/src/__assert.c: New file.
3030
30312007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3032
3033        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3034        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3035        * libnetworking/net/ppp-comp.h: Remove (Unused).
3036        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3037        * libnetworking/sys/buf.h: Remove (Unused).
3038        * libnetworking/Makefile.am: Remove sys/buf.h.
3039        * libnetworking/kern/kern_sysctl.c,
3040        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3041        <sys/buf.h>.
3042        *  libcsupport/include/sys/sockio.h: Partial update from
3043          FreeBSD.
3044
30452007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3046
3047        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3048        * libnetworking/netinet/igmp.c: Eliminate __P().
3049        * libnetworking/netinet/in.c: Eliminate __P().
3050        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3051        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3052        * libnetworking/netinet/ip_output.c: Eliminate __P().
3053
30542007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3055
3056        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3057        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3058        Change int args to intptr_t because they are casted to pointers.
3059        * libnetworking/netinet/tcp_usrreq.c,
3060        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3061
30622007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3063
3064        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3065        "long", because long is not guaranteed to be castable to char*.
3066        * libnetworking/netinet/ip_input.c: Eliminate __P().
3067        Change "int next" to "int32_t next" for 16bit targets.
3068        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3069        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3070        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3071        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3072        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3073        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3074        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3075
30762007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3077
3078        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3079        Remove (Abandoned in FreeBSD).
3080        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3081        net/pppcompress.h.
3082        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3083        net/pppcompress.h.
3084        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3085        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3086        net/pppcompress.h.
3087
30882007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3089
3090        * libnetworking/net/pppcompress.h: Eliminate __P().
3091        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3092        * libnetworking/net/if_llc.h: Update from FreeBSD.
3093
30942007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3095
3096        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3097          <net/ppp-comp.h>.
3098        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3099        Warn about using it.
3100        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3101        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3102        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3103          FreeBSD.
3104        * libnetworking/machine/in_cksum.h: Eliminate __P().
3105        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3106        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3107        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3108        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
3109        Eliminate __P().
3110        * libcsupport/src/scandir.c: Eliminate __P().
3111        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
3112        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
3113        Eliminate __P().
3114        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
3115        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
3116        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
3117
31182007-03-26      Joel Sherrill <joel@OARcorp.com>
3119
3120        PR 1231/cpukit
3121        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
3122        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
3123        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
3124        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
3125        posix/src/mutexattrgetprioceiling.c,
3126        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
3127        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
3128        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
3129        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
3130        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
3131        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
3132        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
3133        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
3134        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
3135        posix/src/posixtimespecsubtract.c,
3136        posix/src/posixtimespectointerval.c,
3137        posix/src/psignalclearprocesssignals.c,
3138        posix/src/psignalclearsignals.c,
3139        posix/src/psignalsetprocesssignals.c,
3140        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
3141        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
3142        unneeded includes of assert.h
3143
31442007-03-26      Joel Sherrill <joel@OARcorp.com>
3145
3146        * libcsupport/include/rtems/assoc.h: Pick up the include file
3147        changes associated with the file splitting.
3148
31492007-03-26      Joel Sherrill <joel@OARcorp.com>
3150
3151        * libcsupport/Makefile.am: Pick up the Makefile changes associated
3152        with the file splitting.
3153
31542007-03-26      Joel Sherrill <joel@OARcorp.com>
3155
3156        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
3157        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
3158        this will not be deemed necessary to commit to the 4.7 branch.
3159        * libcsupport/src/assoclocalbyname.c,
3160        libcsupport/src/assoclocalbyremote.c,
3161        libcsupport/src/assoclocalbyremotebitfield.c,
3162        libcsupport/src/assocnamebylocal.c,
3163        libcsupport/src/assocnamebylocalbitfield.c,
3164        libcsupport/src/assocnamebyremote.c,
3165        libcsupport/src/assocnamebyremotebitfield.c,
3166        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
3167        libcsupport/src/assocptrbyremote.c,
3168        libcsupport/src/assocremotebylocal.c,
3169        libcsupport/src/assocremotebylocalbitfield.c,
3170        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
3171        libcsupport/src/write_r.c: New files.
3172
31732007-03-26      Joel Sherrill <joel@OARcorp.com>
3174
3175        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
3176        support and remove deadcode. Replace with comment explaining that
3177        behavior is compatible with GNU/Linux per Eric Norum.
3178
31792007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3180
3181        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
3182        Partial update from FreeBSD.
3183        * libnetworking/netinet/if_ether.h: Eliminate __P().
3184        * libnetworking/netinet/ip_var.h: Eliminate __P().
3185        * libnetworking/netinet/in.h: Eliminate __P().
3186        * libnetworking/netinet/tcp_var.h: Eliminate __P().
3187
31882007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3189
3190        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
3191        Remove __P();
3192        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
3193
31942007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3195
3196        * libnetworking/netinet/in_var.h: Remove __P().
3197        * libnetworking/netinet/in_systm.h: Remove __P().
3198        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
3199        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
3200        * libnetworking/netinet/if_ether.c: Remove __P().
3201        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
3202        More updates from FreeBSD.
3203        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
3204        libnetworking/net/route.h: Partial update from FreeBSD.
3205
32062007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3207
3208        * libnetworking/Makefile.am: Remove nfs/krpc.h.
3209        * libnetworking/nfs/krpc.h: Remove (Unused).
3210        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
3211        * libnetworking/Makefile.am: Remove nfs/nfs.h.
3212        * libnetworking/nfs/nfs.h: Remove (Unused).
3213
32142007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3215
3216        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
3217          symbols.
3218        * libnetworking/sys/conf.h: Don't include machine/conf.h.
3219        Update copyright notice.
3220        Remove unused/non-implemented declarations.
3221        * libnetworking/Makefile.am: Remove machine/conf.h.
3222        * libnetworking/machine/conf.h: Remove.
3223
32242007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3225
3226        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
3227        Remove many non-supported/unused declarations.
3228
32292007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3230
3231        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
3232          crhold (Unused/non-implemented).
3233
32342007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3235
3236        * libnetworking/sys/ucred.h: Remove __P().
3237        * libnetworking/sys/callout.h: Remove __P().
3238        * libnetworking/sys/domain.h: Remove __P().
3239        * libnetworking/sys/socketvar.h: Remove __P().
3240        * libnetworking/sys/socket.h: Remove __P().
3241        * libnetworking/sys/select.h: Remove __P().
3242        * libnetworking/sys/kernel.h: Remove __P().
3243        * libnetworking/sys/protosw.h: Remove __P().
3244        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
3245        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
3246        swdevt, nswdev, nswap (Unused).
3247
32482007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3249
3250        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
3251        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
3252        instead of struct linesw (PR 1229)
3253        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
3254        around clash with defines from rtems_bsdnet_internal.h.
3255        * score/src/heapwalk.c: include stdlib.h.
3256
32572007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3258
3259        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
3260        Remove __P().
3261        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
3262        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
3263        Remove __P().
3264        * libcsupport/include/rtems/termiostypes.h,
3265        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
3266        with rtems_termios_*.
3267        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
3268        (Clash with termiostypes.h - PR 1229).
3269
32702007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3271
3272        * score/include/rtems/score/wkspace.h,
3273        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
3274        Change _Workspace_Handler_initialization and
3275        _Workspace_Allocate_or_fatal_error to using size_t.
3276        * libnetworking/sys/rtprio.h: Remove (Unused).
3277        * libnetworking/Makefile.am: Remove sys/rtprio.h.
3278
32792007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3280
3281        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
3282        Remove __P().
3283
32842007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3285
3286        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
3287          to fix warnings.
3288        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
3289        * score/include/rtems/score/chain.h, score/src/chain.c:
3290        Change _Chain_Initialize to using size_t.
3291
32922007-03-12      Joel Sherrill <joel@OARcorp.com>
3293
3294        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
3295        Dump_Buffer to rtems_print_buffer.
3296
32972007-03-12      Joel Sherrill <joel@OARcorp.com>
3298
3299        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
3300        license URL and/or fix mistake in copyright notice. Both of these
3301        mistakes appear to be from code submitted after these changes were
3302        made previously.
3303
33042007-03-10      Joel Sherrill <joel@OARcorp.com>
3305
3306        PR 1226/cpukit
3307        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
3308        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
3309
33102007-03-08      Joel Sherrill <joel@OARcorp.com>
3311
3312        * libfs/src/imfs/imfs.h: Fix comment.
3313
33142007-03-08      Joel Sherrill <joel@OARcorp.com>
3315
3316        * libfs/src/imfs/imfs.h: Fix comment.
3317
33182007-03-08      Joel Sherrill <joel@OARcorp.com>
3319
3320        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
3321        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
3322
33232007-03-08      Joel Sherrill <joel@OARcorp.com>
3324
3325        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
3326        Remove wrapper for message queue send and urgent and implement them
3327        directly. There was an unnecessary function call layer in addition to
3328        conditions in the shared routine. Directly coding both directives is
3329        simpler and should result in smaller code.
3330        * rtems/src/msgqsubmit.c: Removed.
3331
33322007-03-05      Joel Sherrill <joel@OARcorp.com>
3333
3334        PR 1222/cpukit
3335        * score/Makefile.am, score/include/rtems/score/coremutex.h,
3336        score/include/rtems/score/threadq.h,
3337        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
3338        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
3339        score/src/threadclearstate.c, score/src/threadhandler.c,
3340        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
3341        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
3342        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
3343        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
3344        score/src/threadsetstate.c: Enhance so that when the prioirity of a
3345        thread that is blocked on a priority based thread queue is changed,
3346        that its placement in the queue is reevaluated based upon the new
3347        priority. This enhancement includes modifications to the SuperCore as
3348        well as new test cases.
3349        * score/src/threadqrequeue.c: New file.
3350
33512007-03-05      Joel Sherrill <joel@OARcorp.com>
3352
3353        * sapi/src/exinit.c: Fix spacing.
3354
33552007-03-05      Joel Sherrill <joel@OARcorp.com>
3356
3357        PR 1221/cpukit
3358        * posix/src/pthreadequal.c: Fix critical section nesting.
3359
33602007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
3361
3362        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
3363          compiled files.
3364
33652007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
3366
3367        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
3368
33692007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
3370
3371        * score/Makefile.am: Remove macros/README.
3372
33732007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
3374
3375        * score/include/rtems/score/heap.h, score/src/heap.c,
3376        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
3377        More size_t for heap-sizes.
3378        * score/include/rtems/score/heap.h, score/src/heap.c,
3379        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
3380        heap-sizes.
3381        * libnetworking/resolv.h: Typo fixes. Remove __P().
3382
33832007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
3384
3385        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
3386        Use size_t for stack-sizes.
3387
33882007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
3389
3390        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
3391          functions.
3392        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
3393        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
3394
33952007-02-06      Till Straumann <strauman@slac.stanford.edu>
3396
3397        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
3398        taskvar dtor to plug memory leak. Applied patch attached
3399        to PR#690.
3400
34012007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3402
3403        * libcsupport/src/getpagesize.c: New (moved from posix/src).
3404        * posix/src/getpagesize.c: Removed.
3405        * posix/Makefile.am: Remove references to getpagesize.c.
3406        * libcsupport/Makefile.am: Add getpagesize.c.
3407
34082007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3409
3410        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
3411        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
3412          visible.
3413        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
3414
34152007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3416
3417        * rtems/src/msgqsend.c: Use size_t for sizes.
3418        * rtems/src/msgqurgent.c: Use size_t for sizes.
3419        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
3420        * rtems/src/msgmp.c: Use size_t for sizes.
3421        * rtems/src/msgqsubmit.c: Use size_t for sizes.
3422        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
3423        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3424        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
3425
34262007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3427
3428        * itron/src/trcv_mbf.c: Use size_t for sizes.
3429        * libmisc/monitor/mon-object.c: Use size_t for sizes.
3430        * libmisc/monitor/mon-server.c: Use size_t for sizes.
3431        * libmisc/monitor/monitor.h: Use size_t for sizes.
3432        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
3433        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3434        * rtems/src/msgqreceive.c: Use size_t for sizes.
3435        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
3436        * score/src/coremsgseize.c: Use size_t for sizes.
3437
34382007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
3439
3440        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
3441        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
3442        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
3443        * score/src/coremsgbroadcast.c: Use size_t for sizes.
3444        * score/src/coremsgsubmit.c: Use size_t for sizes.
3445
34462007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3447
3448        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
3449
34502007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3451
3452        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
3453
34542007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3455
3456        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
3457        Remove isblank (supposed to be provided by libc).
3458
34592007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3460
3461        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
3462
34632007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3464
3465        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
3466         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
3467        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
3468        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
3469        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
3470
34712007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3472
3473        * score/include/rtems/system.h:
3474        #define __RTEMS_MINOR__ 7 (BZ 1206).
3475
34762007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3477
3478        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
3479        export some internal variables to make them available in
3480        "show_bdbuf" monitor add-on
3481
34822007-01-16      Till Straumann <strauman@slac.stanford.edu>
3483
3484        * libnetworking/rtems/rtems_mii_ioctl.c,
3485        libnetworking/rtems/rtems_mii_ioctl.h,
3486        libnetworking/rtems/rtems_mii_ioctl_kern.c,
3487        libi2c/libi2c.c, libi2c/libi2c.h:
3488        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
3489
34902007-01-09      Joel Sherrill <joel@OARcorp.com>
3491
3492        * libcsupport/src/error.c: rtems_progname is no longer defined in
3493        the BSP startup since it never held a meaningful value.
3494
34952007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
3496
3497        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
3498        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.