source: rtems/cpukit/ChangeLog @ 1dab788

4.104.114.95
Last change on this file since 1dab788 was 19b9991, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/20/08 at 15:10:42

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

  • configure.ac: Abort if stdbool.h is not c99 compliant.
  • Property mode set to 100644
File size: 183.7 KB
Line 
12008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
2
3        * configure.ac: Abort if stdbool.h is not c99 compliant.
4
52008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
6
7        * pppd/pppd.h: Use stdbool.h. Remove local bool.
8
92008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
10
11        * configure.ac: Add AC_HEADER_STDBOOL.
12        * libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes
13        with C99/POSIX).
14
152008-08-19      Cedric Aubert <cedric_aubert@yahoo.fr>
16
17        PR 500/misc
18        * libcsupport/src/termios.c: Avoid potential buffer overflow.
19
202008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
21
22        * libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
23        warnings.
24
252008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
26
27        * libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:
28        Remove some warnings. Using ASSERT/assert macros confuses gcc who is
29        unsure actions take place. More importantly if you ever compiled with
30        NDEBUG set wrong, intended actions would not occur. Likely I did not
31        catch all of these.
32
332008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
34
35        * httpd/uemf.h: Add empty braces to macro.
36
372008-08-19      Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
38
39        PR 1296/cpukit.
40        * posix/src/timersettime.c: POSIX timers use incorrect repeat interval.
41        This patch fixes the following problems in timer_settime: 1) Uses
42        value.it_interval for repeat period. 2) Corrects test for incorrect
43        value of it_value.tv_nsec (should reject 1000000000).
44
452008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
46
47        * score/inline/rtems/score/threadmp.inl: Add include of
48        rtems/score/mpci.h and remove extern.
49
502008-08-19      Sebastian Huber <sebastian.huber@embedded-brains.de>
51
52        * libcsupport/include/clockdrv.h: Add Clock_Exit prototype.
53
542008-08-19      Ralf Corsepius <ralf.corsepius@rtems.org>
55
56        * rtems/inline/rtems/rtems/asr.inl,
57        rtems/inline/rtems/rtems/attr.inl,
58        rtems/inline/rtems/rtems/barrier.inl,
59        rtems/inline/rtems/rtems/dpmem.inl,
60        rtems/inline/rtems/rtems/event.inl,
61        rtems/inline/rtems/rtems/eventset.inl,
62        rtems/inline/rtems/rtems/message.inl,
63        rtems/inline/rtems/rtems/modes.inl,
64        rtems/inline/rtems/rtems/options.inl,
65        rtems/inline/rtems/rtems/part.inl,
66        rtems/inline/rtems/rtems/ratemon.inl,
67        rtems/inline/rtems/rtems/region.inl,
68        rtems/inline/rtems/rtems/sem.inl,
69        rtems/inline/rtems/rtems/status.inl,
70        rtems/inline/rtems/rtems/support.inl,
71        rtems/inline/rtems/rtems/tasks.inl,
72        rtems/inline/rtems/rtems/timer.inl,
73        Add header guard to force indirect inclusion.
74        * score/inline/rtems/score/address.inl,
75        score/inline/rtems/score/chain.inl,
76        score/inline/rtems/score/corebarrier.inl,
77        score/inline/rtems/score/coremsg.inl,
78        score/inline/rtems/score/coremutex.inl,
79        score/inline/rtems/score/corerwlock.inl,
80        score/inline/rtems/score/coresem.inl,
81        score/inline/rtems/score/corespinlock.inl,
82        score/inline/rtems/score/heap.inl,
83        score/inline/rtems/score/isr.inl,
84        score/inline/rtems/score/mppkt.inl,
85        score/inline/rtems/score/object.inl,
86        score/inline/rtems/score/objectmp.inl,
87        score/inline/rtems/score/priority.inl,
88        score/inline/rtems/score/stack.inl,
89        score/inline/rtems/score/states.inl,
90        score/inline/rtems/score/sysstate.inl,
91        score/inline/rtems/score/thread.inl,
92        score/inline/rtems/score/threadmp.inl,
93        score/inline/rtems/score/threadq.inl,
94        score/inline/rtems/score/tod.inl,
95        score/inline/rtems/score/tqdata.inl,
96        score/inline/rtems/score/watchdog.inl,
97        score/inline/rtems/score/wkspace.inl:
98        Add header guard to force indirect inclusion.
99        * posix/inline/rtems/posix/barrier.inl,
100        posix/inline/rtems/posix/cond.inl,
101        posix/inline/rtems/posix/key.inl,
102        posix/inline/rtems/posix/mqueue.inl,
103        posix/inline/rtems/posix/mutex.inl,
104        posix/inline/rtems/posix/priority.inl,
105        posix/inline/rtems/posix/pthread.inl,
106        posix/inline/rtems/posix/rwlock.inl,
107        posix/inline/rtems/posix/semaphore.inl,
108        posix/inline/rtems/posix/spinlock.inl,
109        posix/inline/rtems/posix/timer.inl:
110        Add header guard to force indirect inclusion.
111        * itron/inline/rtems/itron/eventflags.inl,
112        itron/inline/rtems/itron/fmempool.inl,
113        itron/inline/rtems/itron/intr.inl,
114        itron/inline/rtems/itron/mbox.inl,
115        itron/inline/rtems/itron/msgbuffer.inl,
116        itron/inline/rtems/itron/network.inl,
117        itron/inline/rtems/itron/port.inl,
118        itron/inline/rtems/itron/semaphore.inl,
119        itron/inline/rtems/itron/sysmgmt.inl,
120        itron/inline/rtems/itron/task.inl,
121        itron/inline/rtems/itron/time.inl,
122        itron/inline/rtems/itron/vmempool.inl:
123        Add header guard to force indirect inclusion.
124        * sapi/inline/rtems/chain.inl:
125        Add header guard to force indirect inclusion.
126
1272008-08-19      Ralf Corsepius <ralf.corsepius@rtems.org>
128
129        * rtems/include/rtems/rtems/object.h: Use _RTEMS_RTEMS_OBJECT_H as
130        header guard.
131
1322008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
133
134        * libnetworking/netinet/in_cksum_arm.h, score/cpu/arm/cpu.c
135        score/cpu/h8300/rtems/score/cpu.h: Add missing prototypes.
136
1372008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
138
139        * libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
140        libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
141        libnetworking/rtems/rtems_glue.c,
142        libnetworking/rtems/rtems_malloc_mbuf.c,
143        libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
144        Fix some warnings.
145
1462008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
147
148        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
149        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
150        libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
151        libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
152        warnings.
153
1542008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
155
156        * itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
157        itron/src/task.c, libcsupport/src/newlibc_exit.c,
158        libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
159        posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
160        posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
161        rtems/src/tasks.c, score/include/rtems/score/stack.h,
162        score/inline/rtems/score/stack.inl,
163        score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
164        various nested-externs warnings.
165
1662008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
167
168        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split libc_init()
169        into a separate file to avoid linkage dependencies on newlibc.c which
170        in turn pulls in fclose() and other C library methods.
171        * libcsupport/src/newlibc_init.c: New file.
172
1732008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
174
175        * aclocal/prog-cc.m4: Add -Wnested-externs.
176
1772008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
178
179        * libnetworking/net/ppp_tty.c: Remove bogus local decl of
180        termios_baud_to_number(int).
181        * libnetworking/netinet/in_cksum_i386.h: Add missing prototype.
182        * libnetworking/netinet/in_cksum.c: Add missing prototypes.
183        * librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/svc_tcp.c:
184        Add missing prototypes.
185
1862008-08-16      Ralf Corsepius <ralf.corsepius@rtems.org>
187
188        * libfs/src/nfsclient/src/librtemsNfs.h: Add missing prototype.
189
1902008-08-16      Ralf Corsepius <ralf.corsepius@rtems.org>
191
192        * aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
193        -Wstrict-prototypes to RTEMS_CFLAGS.
194
1952008-08-15      Joel Sherrill <joel.sherrill@OARcorp.com>
196
197        PR 1297/cpukit
198        * posix/src/prwlockinit.c: Fix NULL attribute pointer handling.
199
2002008-08-14     Sebastian Huber <sebastian.huber@embedded-brains.de>
201
202        * rtems/include/rtems/rtems/ratemon.h,
203        rtems/include/rtems/rtems/status.h,
204        score/include/rtems/score/coremutex.h,
205        score/include/rtems/score/object.h: Removed extraneous commas.
206
2072008-08-08      Joel Sherrill <joel.sherrill@OARcorp.com>
208
209        * rtems/include/rtems/rtems/msgmp.h: Fix MP code missed by Sebastian.
210
2112008-08-08     Sebastian Huber <sebastian.huber@embedded-brains.de>
212
213        * libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
214        score/include/rtems/score/thread.h, score/src/threadreset.c,
215        score/src/threadrestart.c, score/src/threadstart.c: New type
216        Thread_Entry_numeric_type for numeric arguments in thread entry
217        functions with at least one numeric argument.
218
2192008-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
220
221        * score/include/rtems/score/sysstate.h,
222        score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
223        _System_state_Is_multiprocessing unused when multiprocessing is not
224        enabled. Saves one more variable from single processor configuration.
225
2262008-08-07      Chris Johns <chrisj@rtems.org>
227
228        * libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
229        to see if the 'to' path was a directory and removed the directory.
230
231        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv
232        command.
233
234        * libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
235
2362008-08-06      Chris Johns <chrisj@rtems.org>
237
238        * libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
239        the new bdbuf code.
240
2412008-08-06      Brett Swimley <brett.swimley@aedbozeman.com>
242
243        PR 1192/filesystem
244        * libblock/src/diskdevs.c: PR1192. Update the disktap pointer
245        after the realloc.
246
2472008-08-06      Till Straumann <strauman@slac.stanford.edu>
248
249        * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
250        than release it.
251
2522008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
253
254        PR 537/bsps
255        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
256        libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
257        vestiges of ticks_per_timeslice controlling newlib reentrancy. The
258        parameter was ignored in libc_init().
259
2602008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
261
262        PR 741/networking
263        * libmisc/dummy/dummy.c: Add dummy network configuration.
264
2652008-08-05     Sebastian Huber <sebastian.huber@embedded-brains.de>
266
267        * rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
268        Changed option set type to rtems_option.
269
270        * score/src/objectgetinfo.c: Check return value of
271        _Objects_API_maximum_class().
272
273        * libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
274        rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
275        rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
276        rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
277        rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
278        score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
279        score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
280        score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
281        score/src/coremsgsubmit.c:
282        Removed parameters of _Message_queue_Allocate().  Changed option set
283        type to rtems_option.  Changed type of maximum message and packet size
284        to size_t.  Changed the input buffer type for message send functions to
285        "const void *".  Changed the pointer to the second return argument in
286        the thread wait information to a union.  This union can contain a
287        pointer to an immutable or a mutable object.  This is somewhat fragile.
288        An alternative would be to add a third pointer for immutable objects,
289        but this would increase the structure size.
290
2912008-08-05      Xudong Guan <xudong.guan@criticalsoftware.com>
292
293        PR 1212/cpukit
294        * rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
295        will not happen if the task mode is changed from a non-timeslicing
296        mode to timeslicing mode if it is done by the executing thread (e.g.
297        in its task body). This change includes sp44 to demonstrate the
298        problem and verify the correction.
299
3002008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
301
302        * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
303        warnings.
304
3052008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
306
307        PR 1265/cpukit
308        * score/include/rtems/score/object.h,
309        score/src/objectallocatebyindex.c: Rename index argument to avoid
310        warning when rtems.h and string.h are included at the same time by
311        user code.
312
3132008-08-03      Ralf Corsépius <ralf.corsepius@rtems.org>
314
315        * libnetworking/lib/tftpDriver.c: Add prototypes.
316        * pppd/rtemsmain.c: Add prototypes.
317        * zlib/crc32.c: Add prototypes.
318
3192008-08-02      Chris Johns (chrisj@rtems.org>
320
321        * libblock/include/rtems/blkdev.h: Remove count and start from
322        rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.
323
324        * libblock/src/bdbuf.c: Add read ahead blocks always consecutive
325        comment. Change count to bufnum and remove start references. Sort
326        the transfer list so blocks are consecutive where possible.
327
328        * libblock/src/blkdev.c, libblock/src/nvdisk.c,
329        libblock/src/ramdisk.c: Change count to bufnum and remove start
330        references.
331
3322008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
333
334        * telnetd/telnetd.c: Add missing prototypes.
335        Remove unused local declations.
336
3372008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
338
339        * libnetworking/libc/gethostbydns.c,
340        libnetworking/libc/gethostbyht.c,
341        libnetworking/libc/gethostbynis.c,
342        libnetworking/libc/gethostnamadr.c,
343        libnetworking/libc/getnetbydns.c,
344        libnetworking/libc/getnetbynis.c,
345        libnetworking/libc/getnetnamadr.c,
346        libnetworking/libc/nsap_addr.c,
347        libnetworking/libc/res_debug.c,
348        libnetworking/libc/res_send.c: Add missing prototypes.
349
3502008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
351
352        * libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
353        * libmd/md4.c, libmd/md5.c: Add missing prototypes.
354        * libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
355        libmisc/shell/shell_script.c: Add missing prototypes.
356
3572008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
358
359        * libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
360
3612008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
362
363        * librpc/include/rpc/clnt.h: Cleanup.
364        * librpc/include/rpc/svc.h: Cleanup.
365
3662008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
367
368        * librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
369        librpc/src/xdr/xdr_sizeof.c, librpc/src/xdr/xdr_stdio.c:
370        Misc. ansifications. Add prototypes.
371
3722008-08-01      Joel Sherrill <joel.sherrill@OARcorp.com>
373
374        * rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
375
3762008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
377
378        * librpc/src/rpc/getrpcport.c: Misc. ansifications.
379        * librpc/src/rpc/getrpcent.c: Remove stray local decls.
380        Misc. ansifications.
381        * librpc/src/rpc/clnt_perror.c: Misc. ansifications.
382        * librpc/src/rpc/get_myaddress.c: Misc. ansifications.
383        * librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
384        * librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
385        * librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
386        * librpc/src/rpc/clnt_raw.c: Add missing prototypes.
387        * librpc/src/rpc/clnt_udp.c: Add missing prototypes.
388        * librpc/src/rpc/svc_auth.c: Add missing prototypes.
389        * librpc/src/rpc/svc_raw.c: Add missing prototypes.
390        * librpc/src/rpc/svc_tcp.c: Add missing prototypes.
391        * librpc/src/rpc/svc_udp.c: Add missing prototypes.
392
3932008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
394
395        * librpc/src/rpc/svc.c: Add missing prototypes.
396        * librpc/src/xdr/xdr_rec.c: Remove register vars.
397        * librpc/src/xdr/xdr_mem.c: Misc. ansifications.
398        * librpc/src/rpc/svc_tcp.c: Misc. ansifications.
399        * librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
400        * librpc/src/rpc/svc_raw.c: Misc. ansifications.
401        * librpc/src/xdr/xdr_rec.c: Misc. ansifications.
402        * librpc/src/rpc/svc_simple.c: Add missing prototypes.
403        * librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
404        * librpc/src/rpc/rpcdname.c: Add missing prototypes.
405        * librpc/src/rpc/rpc_prot.c: Misc. ansifications.
406        * librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
407        * librpc/src/rpc/clnt_simple.c: Misc. ansifications.
408        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
409        Add missing prototypes.
410        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
411        Misc. ansifications.
412
4132008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
414
415        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
416        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
417        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
418        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
419        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
420        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
421        Eliminate __P().
422
4232008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
424
425        * score/include/rtems/score/thread.h: Add missing prototype.
426        * score/inline/rtems/score/thread.inl: Add missing prototypes.
427        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
428        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
429        libnetworking/netinet/in_cksum_m68k.h,
430        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
431        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
432        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
433        * itron/include/itronsys/types.h: Add missing prototype.
434        * ftpd/ftpd.c: Fix broken prototype.
435        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
436        Add missing prototypes.
437
4382008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
439
440        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
441        is disabled but luckily it is not even needed to compile.
442
4432008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
444
445        * libmisc/shell/main_netstats.c: Add missing prototypes.
446        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
447        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
448
4492008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
450
451        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
452        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
453        httpd/wsIntrn.h: Add missing protoypes.
454
4552008-07-29      Tim Cussins <timcussins@eml.cc>
456
457        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
458        conditional.
459
4602008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
461
462        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
463        call.
464
4652008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
466
467        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
468
4692008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
470
471        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
472        libmisc/monitor/monitor.h: Add missing prototypes.
473        * score/inline/rtems/score/tod.inl: Add prototypes.
474        * score/src/coretodset.c: Remove stray args in function call.
475        * libcsupport/include/rtems/libcsupport.h,
476        libcsupport/include/rtems/libio_.h,
477        libcsupport/src/malloc_statistics_helpers.c,
478        libcsupport/src/scandir.c: Add prototypes.
479        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
480        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
481        posix/src/prwlockrdlock.c: Use C-style comments.
482
4832008-07-29      Chris Johns <chrisj@rtems.org>
484
485        * libblock/src/nvdisk.c: Fix block compile bug.
486
4872008-07-29      Chris Johns <chrisj@rtems.org>
488
489        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
490        Update the comments.
491
4922008-07-29      Chris Johns <chrisj@rtems.org>
493
494        * libblock/Makefile.am: Removed src/show_bdbuf.c.
495
496        * libblock/src/show_bdbuf.c: Removed.
497
498        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
499        Rewritten the bdbuf code. Remove pre-emption disable, score
500        access, fixed many bugs and increased performance.
501
502        * libblock/include/rtems/blkdev.h: Added
503        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
504        comments. Added block and user fields to the sg buffer
505        request. Move to rtems_* namespace.
506
507        * libblock/include/rtems/diskdevs.h,
508        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
509        capabilities field for drivers. Change rtems_disk_lookup to
510        rtems_disk_obtain to match the release call. You do not lookup and
511        release a disk, you obtain and release a disk.
512
513        * libblock/include/rtems/ide_part_table.h,
514        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
515        Move to rtems_* namespace.
516
517        * libblock/include/rtems/nvdisk.h: Formatting change.
518
519        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
520        rtems_disk_lookup to rtems_disk_obtain
521
522        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
523        support for the block number in the scatter/grather request
524        struct. This allows non-continuous buffer requests for those
525        drivers that can support increasing performance.
526
527        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
528        warnings. Added better error checking. Fixed some comments.
529
530        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
531        trace functions to help debugging upper layers. Use the new
532        support for the block number in the scatter/grather request
533        struct. This allows non-continuous buffer requests for those
534        drivers that can support increasing performance.
535
536        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
537        API. Removed temporary hack and changed
538        set_errno_and_return_minus_one to
539        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
540        header and stopped it being inlined. Updated to libblock changes.
541       
542        * libfs/src/dosfs/fat_fat_operations.c,
543        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
544        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
545        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
546        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
547        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
548        new chains API. Removed temporary hack and changed
549        set_errno_and_return_minus_one to
550        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
551
552        * libmisc/Makefile.am: Add new ls and rm command files.
553
554        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
555        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
556        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
557        libmisc/shell/vis.c, shell/vis.h: New.
558
559        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
560        libmisc/shell/utils-cp.c: Fixed the usage call bug.
561
562        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
563        command.
564
565        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
566        commands with more features.
567       
568        * score/src/coremutex.c: Fix the strict order mutex code.
569
570        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
571        and no ASR.
572       
573        * sapi/include/confdefs.h: Change ata_driver_task_priority to
574        rtems_ata_driver_task_priority. Add the new BD buf cache
575        parameters with defaults.
576
577        * score/src/interr.c: Do not return if the CPU halt call returns.
578       
5792008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
580
581        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
582        bsp_libc_init() into new bootcard.h.
583
584        * cpukit/include/rtems/irq-extension.h: New function
585        rtems_interrupt_handler_iterate() for system information and
586        diagnostics.
587
5882008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
589
590        * libmisc/shell/shell_script.c: Clean up code for command not found
591        including the error message.
592
5932008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
594
595        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
596        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
597        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
598        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
599        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
600        internal routine. This makes it possible to also print string names
601        of POSIX objects. Adjust task report to realign since we can have
602        longer names.
603
6042008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
605
606        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
607        body is now completely configured via the Configuration table.
608
6092008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
610
611        PR 1291/cpukit
612        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
613        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
614        posix/include/rtems/posix/semaphore.h,
615        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
616        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
617        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
618        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
619        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
620        posix/src/posixtimespecabsolutetimeout.c,
621        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
622        posix/src/semaphoretranslatereturncode.c,
623        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
624        posix/src/semtrywait.c, posix/src/semwait.c,
625        posix/src/sigtimedwait.c, posix/src/timersettime.c,
626        posix/src/ualarm.c, rtems/src/semobtain.c,
627        rtems/src/semtranslatereturncode.c,
628        score/include/rtems/score/coremutex.h,
629        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
630        patch addresses issues on implementation of the timeout on the
631        following POSIX services. Some of these services incorrectly took a
632        timeout as a relative time. Others would compute a 0 delta to timeout
633        if the absolute time and the current time were equal and thus
634        incorrectly block the caller forever. The root of the confusion is
635        that POSIX specifies that if the timeout is incorrect (e.g. in the
636        past, is now, or is numerically invalid), that it does not matter if
637        the call would succeed without blocking. This is in contrast to RTEMS
638        programming style where all errors are checked before any critical
639        sections are entered. This fix implemented a more uniform way of
640        handling POSIX absolute time timeouts.
641            + pthread_cond_timedwait - could block forever
642            + mq_timedreceive - used relative not absolute time
643            + mq_timedsend - used relative not absolute time
644            + pthread_mutex_timedlock - used relative not absolute time
645            + pthread_rwlock_timedrdlock- used relative not absolute time
646            + pthread_rwlock_timedwrlock- used relative not absolute time
647            + sem_timedwait - could block forever
648
6492008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
650
651        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
652        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
653        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
654        libmisc/shell/main_whoami.c: Add pthread command to monitor when
655        POSIX is enabled. Remove include of rtems/monitor.h from files not
656        related.
657
6582008-07-16      Till Straumann <strauman@slac.stanford.edu>
659
660        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
661        use ppc_interrupt_get_disable_mask() to determine
662        which bits to set/clear from _CPU_ISR_Set_level().
663
6642008-07-16      Till Straumann <strauman@slac.stanford.edu>
665
666        * score/cpu/powerpc/rtems/powerpc/registers.h:
667        added ppc_interrupt_get_disable_mask() inline function.
668
6692008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
670
671        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
672
6732008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
674
675        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
676        for rtems_shell_init(). This makes it possible to run the shell
677        forever or invoke it from a program as a subroutine, have a user
678        enter commands, and wait for it to exit.
679
6802008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
681
682        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
683        RTEMS version string.
684        * sapi/src/getversionstring.c: New file.
685
6862008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
687
688        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
689        cpukit/score/cpu/m68k/rtems/score/cpu.h,
690        score/cpu/m68k/rtems/score/m68k.h:
691
692        added support to save coldfire FPU/EMAC context
693
6942008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
695
696        * libi2c/libi2c.c, libi2c/libi2c.h:
697        make buffer passed to *write* functions a const pointer
698
699
7002008-07-10      Till Straumann <strauman@slac.stanford.edu>
701
702        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
703        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
704        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
705        Removed all macro definitions which depended on
706        the compiler defining a PPC CPU-model dependent
707        symbol.
708        Macros which were not used by cpukit have been
709        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
710       
7112008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
712
713        * include/rtems/status-checks.h: Fix style.
714
7152008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
716
717        * rtems/include/rtems/rtems/intr.h: Documentation.
718
719        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
720        Interrupt Manager (shared handler and handler with a handle).
721
722
7232008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
724
725        * cpukit/include/rtems/status-checks.h: Macros for status code and
726        return value checks.
727
728        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
729
730        * cpukit/libfs/src/dosfs/msdos_dir.c,
731        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
732        to file mode.
733
734        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
735        messages.  Driver operations table is now constant.  New entry in the
736        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
737        continuously transmitted in read only functions.
738
7392008-07-03      Chris Johns <chrisj@rtems.org>
740
741        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
742        interface that is supported.
743
744        * cpukit/libcsupport/Makefile.am,
745        cpukit/libcsupport/preinstall.am: Remove chain.h header
746        references.
747
748        * cpukit/sapi/include/rtems/chain.h,
749        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
750        interface.
751
752        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
753        include the new chains interface.
754
755        * cpukit/libfs/src/imfs/imfs.h,
756        cpukit/libfs/src/imfs/imfs_creat.c,
757        cpukit/libfs/src/imfs/imfs_debug.c,
758        cpukit/libfs/src/imfs/imfs_directory.c,
759        cpukit/libfs/src/imfs/imfs_fsunmount.c,
760        cpukit/libfs/src/imfs/imfs_getchild.c,
761        cpukit/libfs/src/imfs/imfs_load_tar.c,
762        cpukit/libfs/src/imfs/imfs_rmnod.c,
763        cpukit/libfs/src/imfs/memfile.c,
764        cpukit/libfs/src/nfsclient/src/nfs.c,
765        cpukit/libcsupport/include/rtems/libio.h,
766        cpukit/libcsupport/src/malloc_deferred.c,
767        cpukit/libcsupport/src/mount.c,
768        cpukit/libcsupport/src/privateenv.c,
769        cpukit/libcsupport/src/unmount.c: Change to the new chains
770        interface.
771
772        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
773
7742008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
775
776        * score/include/rtems/score/thread.h,
777        score/src/threaddispatch.c, score/src/threadinitialize.c:
778        Support rtems_ada_self iff __RTEMS_ADA__ is given.
779
7802008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
781
782        * libmisc/shell/shell_script.c: Remove unused function.
783
7842008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
785
786        * configure.ac: Add __RTEMS_ADA__.
787
7882008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
789
790        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
791        libnetworking/libc/getservbyname.c,
792        libnetworking/libc/getservbyport.c: Add initial versions of
793        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
794        point they are just simple weappers for the version without the _r in
795        the name.
796
7972008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
798
799        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
800        Review association tables in monitor.
801
8022008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
803
804        * configure.ac, rtems/src/semtranslatereturncode.c,
805        score/include/rtems/score/coremutex.h,
806        score/include/rtems/score/thread.h,
807        score/inline/rtems/score/coremutex.inl,
808        score/src/coremutex.c, score/src/coremutexsurrender.c,
809        score/src/threadinitialize.c:
810        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
811
8122008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
813
814        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
815        * libgnat/Makefile.am: Use LIBGNAT.
816        * wrapup/Makefile.am: Use LIBGNAT.
817
8182008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
819
820        * acinclude.m4: Add magic to update cpuopt.h.
821        * configure.ac: Remove magic to update cpuopt.h.
822
8232008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
824
825        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
826        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
827        Cleanup mal-formated RTEMS_CPUOPT's.
828
8292008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
830
831        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
832        AC_PREREQ(2.62).
833
8342008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
835
836        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
837        than a number.
838
8392008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
840
841        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
842        still reserved memory for the reentrancy structure. This is about 1K
843        per task. On psim, we now reserve only 1936 bytes and only 240 remain
844        after all allocations. Further analysis will be required to narrow
845        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
846        be defined and the structure named Configuration_Memory_Debug will be
847        instantiated. This structure contains many of the component values
848        that go into the memory reservation computation. This is helpful when
849        tracking down problems.
850
8512008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
852
853        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
854        was always adding heap overhead even when the number of objects
855        configured was zero and we would not do an allocation. This resulted
856        in an over estimation of the amount of Workspace required (~2K on
857        minimum.exe on PowerPC).
858
8592008-06-17      Chris Johns <chrisj@rtems.org>
860
861        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
862        remove warning.
863       
864        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
865        priority level for large memory Coldfires.
866
8672008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
868
869        * rtems/include/rtems/rtems/config.h,
870        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
871        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
872        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
873
8742008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
875
876        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
877        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
878        CONFIGURE_MAXIMUM_PRIORITY.
879
8802008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
881
882        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
883        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
884        sapi/include/confdefs.h, sapi/include/rtems/config.h,
885        score/inline/rtems/score/stack.inl, score/src/isr.c,
886        score/src/mpci.c, score/src/threadcreateidle.c,
887        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
888        ability for application to configure minimum stack size. Add
889        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
890        indicate they want the configured as opposed to the recommended
891        minimum stack size.
892
8932008-06-10      Chris Johns <chrisj@rtems.org>
894
895        * score/include/rtems/score/priority.h: Let the CPU define the
896        maximum and minimum priority levels to reduce the amount of memory
897        thread chains use.
898
8992008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
900
901        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
902        rtems/include/rtems/rtems/config.h,
903        rtems/include/rtems/rtems/dpmem.h,
904        rtems/include/rtems/rtems/eventset.h,
905        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
906        rtems/include/rtems/rtems/ratemon.h,
907        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
908        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
909        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
910        Classic API Doxygen.
911
9122008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
913
914        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
915        score/include/rtems/score/thread.h: Complete previous patch. Add
916        typedef for cpu usage statistics.
917
9182008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
919
920        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
921        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
922        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
923        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
924        score/src/threaddispatch.c, score/src/threadinitialize.c,
925        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
926        period timing statistics. Also renamed related variables and
927        structure members so they are the same whether you are using
928        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
929        granularity. This lays the groundwork for future cleanup.
930
9312008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
932
933        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
934        particular, there was a report from that Matthew Riek that memory was
935        being reserved twice for the IDLE task. This was covering up other
936        places that under allocated memory. Before I was done, I had reworked
937        the file to be easier to read, maintain and be more accurate.
938
9392008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
940
941        * score/include/rtems/score/isr.h, score/src/isr.c: Use
942        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
943        memory for vector table.
944
9452008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
946
947        * score/src/wkspace.c: Fix error in comment.
948
9492008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
950
951        * posix/src/psignal.c: Do not allocate any memory for queued signals if
952        the configuration parameter is 0. Before we would end up with an
953        allocation of 0 which rounded up and wasted some memory when POSIX
954        was configured.
955
9562008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
957
958        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
959        the target toolset uses init/fini sections.
960
9612008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
962
963        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
964        has no functional data in the user extension data area structure so
965        this disables the definition, allocation and deallocation of that
966        structure. If we ever have to add data to it, then it will be easy to
967        reenable.
968
9692008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
970
971        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
972        score/src/threadget.c: Make sure the pointer to the API object table
973        is valid before derefencing it.
974
9752008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
976
977        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
978        calls for leading underscore on private RTEMS variables.
979
9802008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
981
982        * score/include/rtems/score/object.h,
983        score/include/rtems/score/watchdog.h: Move #include's out of
984        extern "C" {}.
985
9862008-05-30      Till Straumann <strauman@slac.stanford.edu>
987
988        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
989        release node if rtems_filesystem_evaluate_path() fails
990        in nfs_eval_link() since pathloc contains no valid node.
991
9922008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
993
994        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
995        while at prompt results in shell logging out and connection still
996        being available.
997
9982008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
999
1000        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
1001        fini() as part of exit(). This avoids atexit() being a required
1002        function.
1003
10042008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1005
1006        * libmisc/shell/shell.c: Minor change so dropping connection during
1007        login prompt results in connection still being available.
1008
1009
10102008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
1011
1012        * score/include/rtems/score/object.h,
1013        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
1014        and RTEMS_ID_NONE.  No object can have this ID.
1015
10162008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1017
1018        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
1019        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
1020        libcsupport/src/base_fs.c, libcsupport/src/error.c,
1021        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
1022        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
1023        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
1024        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
1025        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
1026        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
1027        libfs/src/imfs/imfs_handlers_device.c,
1028        libfs/src/imfs/imfs_handlers_directory.c,
1029        libfs/src/imfs/imfs_handlers_link.c,
1030        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
1031        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
1032        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
1033        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
1034        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
1035        sapi/include/confdefs.h, sapi/include/rtems/io.h,
1036        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
1037        Added const qualifier to various pointers and data tables to
1038        reduce size of data area.
1039        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
1040        DOSFS: Use LibBlock instead of read() to read the boot record.
1041       
10422008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1043
1044        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
1045
10462008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1047
1048        * libcsupport/src/printk.c:
1049        Bugfix: String output without width option.
1050
10512008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1052
1053        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
1054        Bugfix: Moved definition of ppp_softc into source file.
1055
10562008-05-23      Till Straumann <strauman@slac.stanford.edu>
1057
1058        * libnetworking/netinet/ip_output.c: when fragmenting
1059        multicast packets M_MCAST must be set on all fragments.
1060        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
1061        (see my email to rtems-users from 2008/5/15).
1062
10632008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1064
1065        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
1066        itron/src/exd_tsk.c, itron/src/task.c,
1067        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
1068        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
1069        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
1070        posix/src/testcancel.c, rtems/src/taskdelete.c,
1071        score/inline/rtems/score/object.inl, score/src/objectclose.c,
1072        score/src/threadclose.c: Make all task delete/exit/cancel routines
1073        follow the same critical section pattern. Also ensure that POSIX
1074        cancelation routines are run at thread exit.
1075
10762008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1077
1078        * libcsupport/src/termios_baud2index.c,
1079        libcsupport/src/termios_baud2num.c,
1080        libcsupport/src/termios_num2baud.c,
1081        libcsupport/src/termios_setinitialbaud.c: New files.
1082
10832008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1084
1085        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1086        libcsupport/include/rtems/termiostypes.h: Move termios helper
1087        routines from libchip to libcsupport. Add routine which makes it easy
1088        for a termios device driver to inform termios of its default baud
1089        rate. This avoids inconsistencies in later termios settings changes.
1090
10912008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1092
1093        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
1094
10952008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1096
1097        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
1098        interface for Watchdog Driver.
1099        * libcsupport/include/rtems/watchdogdrv.h: New file.
1100
11012008-05-16      Till Straumann <strauman@slac.stanford.edu>
1102
1103        * score/src/threadchangepriority.c: Just in case the transient
1104        state was set when we entered, ensure that it is still set when
1105        we exit.
1106        * score/src/threadclose.c: When a thread is being deleted, it should
1107        go into the dormant state -- not the transient state.
1108
11092008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1110
1111        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
1112        driver private data
1113
11142008-05-13      Eric Norum: <norume@aps.anl.gov>
1115
1116        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
1117        structure assignment.
1118
11192008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
1120
1121        * libi2c/libi2c.h: Fix typo.
1122
11232008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
1124
1125        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
1126        CPUKIT.
1127
11282008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1129
1130        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
1131        initialization routines to rtems_initialize_data_structures,
1132        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
1133        rtems_initialize_start_multitasking. This opened the sequence up so
1134        that bootcard() could provide a more robust and flexible framework
1135        which is easier to explain and understand. This also lays the
1136        groundwork for sharing the division of available memory between the
1137        RTEMS workspace and heap and the C library initialization across all
1138        BSPs.
1139
11402008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1141
1142        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
1143        comments.
1144
11452008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1146
1147        * score/src/objectget.c: Improve comments and readability.
1148
11492008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1150
1151        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
1152        score/src/coresemseize.c, score/src/threadhandler.c: Comment
1153        improvements from class.
1154
11552008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1156
1157        PR 1285/rtems
1158        * sapi/include/rtems/config.h: Remove obsolete
1159        rtems_configuration_get_maximum_devices().
1160
11612008-05-01      Chris Johns <chrisj@rtems.org>
1162
1163        * libblock/include/rtems/nvdisk-sram.h,
1164        libblock/include/rtems/nvdisk.h,
1165        libblock/src/nvdisk-sram.c,
1166        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
1167        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
1168        the NV disk driver.
1169
11702008-05-01  Maarten Van Es <maarten@mind.be>
1171
1172        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
1173        interface for rtems_dhcp_failsafe.
1174        * libnetworking/rtems/rtems_dhcp.h: Added interface for
1175        rtems_dhcp_failsafe.
1176
11772008-05-01  Arnout Vandecappelle <arnout@mind.be>
1178
1179        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
1180        return on timeout in bootpc_call().  Removed panic()s.
1181        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
1182        SIOCAIFADDR ioctl call.
1183        * libnetworking/rtems/rtems_dhcp_failsafe.c,
1184        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
1185        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
1186        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
1187
11882008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
1189
1190        * rtems/include/rtems/rtems/timer.h: Fix typo.
1191
11922008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1193
1194        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
1195        rtems/include/rtems/rtems/status.h,
1196        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1197        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
1198
11992008-04-28      Daron Chabot <daron.chabot@usask.ca>
1200
1201        * posix/src/keycreate.c, posix/src/pthreadequal.c,
1202        rtems/src/semtranslatereturncode.c,
1203        score/src/threadblockingoperationcancel.c: Fix compilation errors
1204        when --enable-rtems-debug is used.
1205
12062008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1207
1208        * score/include/rtems/system.h: Fix typo in comment.
1209
12102008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1211
1212        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
1213        typos added with recent changes.
1214
12152008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1216
1217        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
1218        rtems_termios_reserve_resources. It is obsolete.
1219        * libcsupport/src/termiosreserveresources.c: Removed.
1220
12212008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1222
1223        * rtems/mainpage.h: New file.
1224
12252008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1226
1227        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
1228        rtems/include/rtems/rtems/attr.h,
1229        rtems/include/rtems/rtems/barrier.h,
1230        rtems/include/rtems/rtems/barriermp.h,
1231        rtems/include/rtems/rtems/cache.h,
1232        rtems/include/rtems/rtems/config.h,
1233        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1234        rtems/include/rtems/rtems/eventmp.h,
1235        rtems/include/rtems/rtems/eventset.h,
1236        rtems/include/rtems/rtems/intr.h,
1237        rtems/include/rtems/rtems/message.h,
1238        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1239        rtems/include/rtems/rtems/msgmp.h,
1240        rtems/include/rtems/rtems/options.h,
1241        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1242        rtems/include/rtems/rtems/ratemon.h,
1243        rtems/include/rtems/rtems/region.h,
1244        rtems/include/rtems/rtems/regionmp.h,
1245        rtems/include/rtems/rtems/rtemsapi.h,
1246        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1247        rtems/include/rtems/rtems/signal.h,
1248        rtems/include/rtems/rtems/signalmp.h,
1249        rtems/include/rtems/rtems/status.h,
1250        rtems/include/rtems/rtems/support.h,
1251        rtems/include/rtems/rtems/taskmp.h,
1252        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1253        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1254        rtems/inline/rtems/rtems/attr.inl,
1255        rtems/inline/rtems/rtems/barrier.inl,
1256        rtems/inline/rtems/rtems/dpmem.inl,
1257        rtems/inline/rtems/rtems/event.inl,
1258        rtems/inline/rtems/rtems/message.inl,
1259        rtems/inline/rtems/rtems/modes.inl,
1260        rtems/inline/rtems/rtems/options.inl,
1261        rtems/inline/rtems/rtems/part.inl,
1262        rtems/inline/rtems/rtems/ratemon.inl,
1263        rtems/inline/rtems/rtems/region.inl,
1264        rtems/inline/rtems/rtems/sem.inl,
1265        rtems/inline/rtems/rtems/status.inl,
1266        rtems/inline/rtems/rtems/support.inl,
1267        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
1268
12692008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1270
1271        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
1272        rtems/include/rtems/rtems/attr.h,
1273        rtems/include/rtems/rtems/barrier.h,
1274        rtems/include/rtems/rtems/barriermp.h,
1275        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
1276        rtems/include/rtems/rtems/config.h,
1277        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1278        rtems/include/rtems/rtems/eventmp.h,
1279        rtems/include/rtems/rtems/eventset.h,
1280        rtems/include/rtems/rtems/intr.h,
1281        rtems/include/rtems/rtems/message.h,
1282        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1283        rtems/include/rtems/rtems/msgmp.h,
1284        rtems/include/rtems/rtems/object.h,
1285        rtems/include/rtems/rtems/options.h,
1286        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1287        rtems/include/rtems/rtems/ratemon.h,
1288        rtems/include/rtems/rtems/region.h,
1289        rtems/include/rtems/rtems/regionmp.h,
1290        rtems/include/rtems/rtems/rtemsapi.h,
1291        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1292        rtems/include/rtems/rtems/signal.h,
1293        rtems/include/rtems/rtems/signalmp.h,
1294        rtems/include/rtems/rtems/status.h,
1295        rtems/include/rtems/rtems/support.h,
1296        rtems/include/rtems/rtems/taskmp.h,
1297        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1298        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1299        rtems/inline/rtems/rtems/attr.inl,
1300        rtems/inline/rtems/rtems/barrier.inl,
1301        rtems/inline/rtems/rtems/dpmem.inl,
1302        rtems/inline/rtems/rtems/event.inl,
1303        rtems/inline/rtems/rtems/eventset.inl,
1304        rtems/inline/rtems/rtems/message.inl,
1305        rtems/inline/rtems/rtems/modes.inl,
1306        rtems/inline/rtems/rtems/options.inl,
1307        rtems/inline/rtems/rtems/part.inl,
1308        rtems/inline/rtems/rtems/ratemon.inl,
1309        rtems/inline/rtems/rtems/region.inl,
1310        rtems/inline/rtems/rtems/sem.inl,
1311        rtems/inline/rtems/rtems/status.inl,
1312        rtems/inline/rtems/rtems/support.inl,
1313        rtems/inline/rtems/rtems/tasks.inl,
1314        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
1315        header files to Doxygen.
1316        * rtems/Doxyfile: New file.
1317
13182008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1319
1320        * posix/src/key.c: Include <limits.h>
1321        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
1322        a NULL extension block.
1323
13242008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1325
1326        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
1327        application configuration errors. If any POSIX objects or a POSIX
1328        init thread is configured without POSIX being configure, then error
1329        out. Similarly for ITRON. Add
1330        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
1331        parameter so the application has to explicitly configure the Clock
1332        driver in or out if the Timer driver is not configured. Also verify
1333        RTEMS was built for multiprocessing, if the user tries to configure a
1334        multiprocessing application.
1335
13362008-04-12      Chris Johns <chrisj@rtems.org>
1337
1338        * libmisc/shell/shell.c, libmisc/shell/shell.h,
1339        libmisc/shell/shell_script.c: Add support to echo the commands to
1340        stdout. This is useful with the -v script option to show commands
1341        as the run. Also added support to chdir to the directory the task
1342        invoking the script is in.
1343        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
1344        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
1345        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
1346        support.
1347
13482008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
1349
1350        * score/include/rtems/score/tod.h: Fix typo.
1351
13522008-04-08      Chris Johns <chrisj@rtems.org>
1353
1354        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
1355        into argv parts. Was using the command line history buffer so the
1356        history was being corrupted.
1357
13582008-04-03      Chris Johns <chrisj@rtems.org>
1359
1360        * libfs/src/nfsclient/src/librtemsNfs.h,
1361        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
1362        external to RTEMS and even if in the cpukit it should not cross
1363        reference in this way.
1364        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
1365        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
1366        in the shell area.
1367        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
1368        support.
1369
13702008-03-29      Chris Johns <chrisj@rtems.org>
1371
1372        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
1373        reported to the mailing list by Pierre Kestener
1374        (pierre.kestener@cea.fr).
1375
13762008-03-25      Till Straumann <strauman@slac.stanford.edu>
1377
1378        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
1379          coldfire.
1380
13812008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1382
1383        * libmisc/shell/cmds.c: Directly register the command structure to
1384        avoid unnecessary duplication of static strings. We know best this
1385        time.
1386
13872008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1388
1389        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
1390        for the ITRON initialization tasks ALL the time.
1391        Do not reserve memory for the object name table since it does not
1392        exist any longer.
1393        * sapi/include/rtems/sptables.h: Fix typo.
1394
13952008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1396
1397        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1398        rtems/src/clockget.c:
1399        * rtems/src/clockgetsecondssinceepoch.c,
1400        rtems/src/clockgettickspersecond.c,
1401        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
1402        rtems/src/clockgettodtimeval.c: New files.
1403        Refactored rtems_clock_get into 5 methods which are single purpose
1404        and more strongly typed.  They are:
1405            rtems_clock_get_tod - Get TOD in Classic API structure
1406            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1407            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1408            rtems_clock_get_ticks_since_boot - Get ticks since boot
1409            rtems_clock_get_ticks_per_second - Get ticks per second
1410
14112008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1412
1413        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1414        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1415        ensure it is zeroed out each time we use getopt_r().
1416        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1417        This makes the scripts behave more like UNIX scripts.
1418
14192008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1420
1421        * posix/Makefile.am: Make clock_settime() available always just like
1422        clock_gettime().
1423
14242008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1425
1426        * score/include/rtems/score/copyrt.h: Update year.
1427
14282008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1429
1430        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1431        by gcc newer than the 4.3 release series.
1432
14332008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1434
1435        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1436        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1437        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1438        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1439        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1440        libmisc/shell/shell.c, libmisc/shell/shell.h,
1441        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1442        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1443        capability to automatically execute a script from the filesystem. Add
1444        echo command from NetBSD and sleep command.
1445        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1446        libmisc/shell/shell_script.c: New files.
1447
14482008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1449
1450        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1451        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1452        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1453        score/src/threadclose.c, score/src/threadcreateidle.c,
1454        score/src/threadinitialize.c: Switch task create and delete
1455        operations to using API Allocator Mutex. This moves almost all uses
1456        of the RTEMS Workspace from dispatching disabled to mutex protected
1457        which should improve deterministic behavior. The implementation was
1458        carefully done to allow task create and delete extensions to invoke
1459        more services. In particular, a task delete extension should be able
1460        to do mutex and file operations.
1461
14622008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1463
1464        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1465        enabled.
1466
14672008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1468
1469        * libcsupport/src/chroot.c: Formatting.
1470
14712008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1472
1473        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1474        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1475        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1476        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1477        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1478        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1479        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1480        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1481        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1482        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1483        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1484        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1485        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1486        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1487        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1488        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1489        libmisc/shell/shell.h: Clean up done while writing documentation.
1490        Some command improvements such as date now allows setting of the
1491        current TOD. Often commands did not use stdout/stderr per
1492        expectations and did not return -1 on an error.
1493
14942008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1495
1496        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1497        the use of RPC/XDR could be an issue, the code does build multilib
1498        across all targets. There are a few remaining warnings to deal with.
1499        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1500        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1501        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1502        libfs/src/nfsclient/rfc1094.txt,
1503        libfs/src/nfsclient/proto/mount_prot.h,
1504        libfs/src/nfsclient/proto/mount_prot.x,
1505        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1506        libfs/src/nfsclient/proto/nfs_prot.h,
1507        libfs/src/nfsclient/proto/nfs_prot.x,
1508        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1509        libfs/src/nfsclient/src/cexphelp.c,
1510        libfs/src/nfsclient/src/dirutils.c,
1511        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1512        libfs/src/nfsclient/src/nfs.modini.c,
1513        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1514        libfs/src/nfsclient/src/rpcio.h,
1515        libfs/src/nfsclient/src/rpcio.modini.c,
1516        libfs/src/nfsclient/src/sock_mbuf.c,
1517        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1518
15192008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1520
1521        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1522        missing field to default multiprocessing configuration table. Also
1523        document fields in Doxygen format.
1524
15252008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1526
1527        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1528        warnings.
1529
15302008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1531
1532        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1533        command to access statistics reporting functions in TCP/IP stack.
1534        * libmisc/shell/main_netstats.c: New file.
1535
15362008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1537
1538        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1539        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1540        ifconfig commands. The code for these was previously in the
1541        networking guide. Disable NFS filesystem mount until that code is in
1542        cpukit.
1543        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1544
15452008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1546
1547        * posix/preinstall.am,  libcsupport/preinstall.am:
1548        Revert Joel's  2008-01-31 screw up.
1549
15502008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1551
1552        * posix/include/rtems/posix/timer.h: Add c++ guards.
1553        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1554        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1555        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1556        MC68230_ to avoid preprocessor clashes.
1557
15582008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1559
1560        * posix/src/mqueueunlink.c, score/Makefile.am,
1561        score/include/rtems/score/object.h,
1562        score/inline/rtems/score/object.inl: Enhance
1563        _Objects_Namespace_remove() to handle freeing object names which are
1564        strings. All changed _Objects_Close() to call
1565        _Objects_Namespace_remove(). The resulting code was then moved from
1566        inline routines to function calls.
1567        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1568
15692008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1570
1571        * libcsupport/src/printk.c: Added width and padding for %s.
1572        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1573        strings longer than 4 chanracters.
1574
15752008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1576
1577        PR 1277/networking
1578        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1579        constraint for assembly language. This restricts the register choice
1580        to the a-d registers.
1581
15822008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1583
1584        * libnetworking/kern/uipc_socket2.c,
1585        libnetworking/netinet/tcp_usrreq.c,
1586        libnetworking/netinet/udp_usrreq.c,
1587        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1588        Add configuration parameters for network stack efficiency multiplier
1589        and default socket buffer sizes. Change default multiplier from 8 to
1590        2 to match GNU/Linux. This has no impact on performance on the BSPs
1591        tested.
1592
15932008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1594
1595        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1596        workspace manipulation routines for testing.
1597        * rtems/src/workspace.c: New file.
1598
15992008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1600
1601        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1602        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1603        Object Id of SELF.
1604
16052008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1606
1607        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1608        Minor modifications to improve testability.
1609        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1610
16112008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1612
1613        * posix/src/pthreadinitthreads.c: Clean up error paths.
1614
16152008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1616
1617        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1618        changes which aid in coverage testing.
1619
16202008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1621
1622        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1623        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1624        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1625        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1626        whether named or unnamed to have a string name.  If the API does
1627        not directly support having a name, then the user must explicitly
1628        assign it using rtems_object_set_name().
1629        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1630        * score/include/rtems/score/object.h,
1631        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1632        score/src/objectsetname.c: Modifications required to pass testing of
1633        recently modified object name operations.  Also eliminated
1634        multiprocessing related code that was not reachable.
1635
16362008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1637
1638        * posix/src/timersettime.c: Fix to remove warning.
1639
16402008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1641
1642        * libcsupport/src/posix_memalign.c: Remove warning.
1643
16442008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1645
1646        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1647        rtems/include/rtems/rtems/object.h,
1648        rtems/src/rtemsobjectgetapiclassname.c,
1649        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1650        cannot be used as a parameter.
1651
16522008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1653
1654        * score/Makefile.am, score/include/rtems/score/threadq.h,
1655        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1656        was really too complex to be inlined.
1657        * score/src/threadqprocesstimeout.c: New file.
1658
16592008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1660
1661        * score/Doxyfile: Revert Doxygen version changes.
1662
16632008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1664
1665        * score/Doxyfile: Update to latest Doxygen format.
1666        * score/include/rtems/score/apimutex.h,
1667        score/include/rtems/score/corebarrier.h,
1668        score/include/rtems/score/coremutex.h,
1669        score/include/rtems/score/corerwlock.h,
1670        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1671        score/include/rtems/score/protectedheap.h,
1672        score/include/rtems/score/thread.h,
1673        score/include/rtems/score/threadsync.h,
1674        score/include/rtems/score/tod.h,
1675        score/inline/rtems/score/corerwlock.inl,
1676        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1677        warnings.
1678
16792008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1680
1681        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1682        available when API is disabled. Do not attempt to use them.
1683
16842008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1685
1686        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1687
16882008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1689
1690        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1691        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1692        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1693        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1694        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1695        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1696        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1697        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1698        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1699        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1700        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1701        rtems/src/timerserver.c, score/Makefile.am,
1702        score/include/rtems/score/object.h,
1703        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1704        score/src/objectgetnameasstring.c,
1705        score/src/threadqextractwithproxy.c: Add new Object Services
1706        collection. This changed the name of a few previously public but
1707        undocumented services and added a some new services.
1708        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1709        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1710        rtems/src/rtemsobjectapiminimumclass.c,
1711        rtems/src/rtemsobjectgetapiclassname.c,
1712        rtems/src/rtemsobjectgetapiname.c,
1713        rtems/src/rtemsobjectgetclassicname.c,
1714        rtems/src/rtemsobjectgetclassinfo.c,
1715        rtems/src/rtemsobjectidapimaximum.c,
1716        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1717        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1718        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1719        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1720        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1721        * rtems/src/rtemsidtoname.c: Removed.
1722
17232008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1724
1725        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1726        switch statements to if statements.
1727
17282008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1729
1730        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1731        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1732        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1733        as helper and as exposed nmemalign variant with few restrictions.
1734        Also turn on compilation of _Heap_Walk but make forced calls to it
1735        conditionally compiled. This should allow more flexibility to the
1736        user as to run-time checking of the heap.
1737        * libcsupport/src/rtems_memalign.c: New file.
1738
17392008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1740
1741        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1742        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1743        Multiprocessing compiles again and survives initialization. The
1744        recent object name and confdefs.h changes had broken it.
1745
17462008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1747
1748        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1749        score/include/rtems/score/interr.h,
1750        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1751        Modifications to aid in full path testing.
1752
17532008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1754
1755        * posix/src/mqueuesendsupp.c: Remove warning.
1756
17572008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1758
1759        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1760        in public API.
1761
17622008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1763
1764        * score/include/rtems/score/object.h,
1765        score/src/objectextendinformation.c,
1766        score/src/objectinitializeinformation.c,
1767        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1768        not used.
1769
17702008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1771
1772        * score/src/objectnametoidstring.c: New file.
1773
17742008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1775
1776        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1777        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1778        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1779        libmisc/stackchk/check.c, posix/src/condinit.c,
1780        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1781        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1782        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1783        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1784        posix/src/prwlockinit.c, posix/src/pspininit.c,
1785        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1786        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1787        posix/src/timercreate.c, rtems/src/barrierident.c,
1788        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1789        rtems/src/ratemonident.c, rtems/src/regionident.c,
1790        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1791        sapi/src/extensionident.c, score/Makefile.am,
1792        score/include/rtems/score/object.h,
1793        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1794        score/src/objectextendinformation.c,
1795        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1796        score/src/objectnametoid.c: Convert the Objects_Name type from a
1797        simple type to a union of an unsigned 32 bit integer and a pointer.
1798        This should help eliminate weird casts between u32 and pointers in
1799        various places. The APIs now have to explicitly call _u32 or _string
1800        versions of helper routines. This should also simplify things and
1801        eliminate the need for ugly casts in some cases.
1802        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1803        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1804        score/src/objectcopynamestring.c: Removed.
1805
18062008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1807
1808        * score/src/threadblockingoperationcancel.c: Clean up.
1809        * score/src/threadqextract.c: Restructure to eliminate dead code.
1810
18112008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1812
1813        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1814        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1815        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1816        testing and clean up more code.
1817
18182008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1819
1820        * score/src/threadqfirst.c: Remove switch.
1821
18222008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1823
1824        * rtems/include/rtems/rtems/event.h,
1825        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1826        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1827        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1828        score/include/rtems/score/interr.h,
1829        score/include/rtems/score/thread.h,
1830        score/include/rtems/score/threadq.h,
1831        score/include/rtems/score/tqdata.h,
1832        score/inline/rtems/score/threadq.inl,
1833        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1834        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1835        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1836        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1837        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1838        score/src/threadqextractpriority.c,
1839        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1840        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1841        score/src/threadqflush.c, score/src/threadqrequeue.c,
1842        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1843        blocking synchronization critical sections. This resulted in three
1844        copies of essentially the same hard to test critical section code
1845        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1846        addition, the thread queue and event code now share a common
1847        synchronization enumerated type. Along the way, switches were
1848        reworked to eliminate dead code generated by gcc and comments and
1849        copyrights were updated.
1850        * score/include/rtems/score/threadsync.h,
1851        score/src/threadblockingoperationcancel.c: New files.
1852
18532008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1854
1855        * libi2c/README_libi2c: Correct spelling error.
1856        * score/src/threadclearstate.c: Improve comment.
1857
18582008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1859
1860        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1861        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1862        posix/src/timergettime.c, posix/src/timersettime.c,
1863        score/include/rtems/score/timespec.h:
1864
18652008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1866
1867        * libmisc/shell/Makefile.am: Don't use make variables.
1868
18692008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1870
1871        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1872        existing one.
1873
18742008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1875
1876        * score/include/rtems/score/wkspace.h,
1877        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1878        inline _Workspace_Free or _Workspace_Allocate since they are not
1879        always inlined and actually smaller overall as subroutines. They are
1880        not particularly time critical so inlining is not absolutely
1881        necessary.
1882
18832008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1884
1885        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1886        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1887        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1888        Condition Variable object get helpers because they are more
1889        complicated than the norm. They can implicitly perform a create. They
1890        cross the line as being too complex and large to inline since they
1891        negatively impact size and binary test coverage.
1892        * posix/src/condget.c, posix/src/mutexget.c: New files.
1893
18942008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1895
1896        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1897        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1898        * libcsupport/src/malloc_p.h: Correct prototype.
1899
19002008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1901
1902        * score/include/rtems/score/coremutex.h,
1903        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1904        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1905
19062008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1907
1908        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1909
19102008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1911
1912        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1913        libcsupport/src/free.c, libcsupport/src/malloc.c,
1914        libcsupport/src/malloc_deferred.c,
1915        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1916        libcsupport/src/malloc_sbrk_helpers.c,
1917        libcsupport/src/posix_memalign.c: Place all deferred free code and
1918        place it in subroutines. Add plugin for dirtying allocated memory to
1919        assist in debugging. Clean up comments and spacing as needed.
1920        * libcsupport/src/malloc_dirtier.c: New file.
1921
19222008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1923
1924        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1925        when there is an error.
1926
19272008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1928
1929        * posix/src/keycreate.c, rtems/src/eventseize.c,
1930        score/include/rtems/score/interr.h: Rearranged source to allow more
1931        test coverage.
1932
19332008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1934
1935        * libcsupport/src/__assert.c: Clean up and make __assert() call
1936        __assert_func().
1937
19382008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1939
1940        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1941        need to have it also.
1942
19432008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1944
1945        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1946        * libcsupport/include/rtems/malloc.h,
1947        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1948        libcsupport/src/malloc_p.h,
1949        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1950        support pluggable and optional.  This eliminates the need for
1951        heap extend and sbrk in the minimum footprint which is ~2.5K on
1952        the SPARC.
1953        * sapi/include/confdefs.h: Add the following configuration points:
1954          + CONFIGURE_MALLOC_STATISTICS
1955          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1956        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1957
19582008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1959
1960        * score/Makefile.am: Add missing file.
1961
19622008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1963
1964        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1965
19662008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1967
1968        * libmisc/Makefile.am: Add new files.
1969        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1970        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1971        * libmisc/shell/shellconfig.h: Add wkspace command.
1972        * libmisc/shell/main_wkspaceinfo.c,
1973        libmisc/shell/print_heapinfo.c: New files.
1974
19752008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1976
1977        * score/inline/rtems/score/isr.inl: Fix spacing.
1978        * score/src/apimutexallocate.c: Fix spacing.
1979        * score/src/coremsgseize.c: Check for message pending instead of
1980        message pending count to avoid dead code from inlined chain routine.
1981        It checks if the chain is empty so is redundant to count == 0.
1982
19832008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1984
1985        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1986        up.
1987
19882008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1989
1990        * posix/src/pthreadcreate.c: Add commit.
1991        * posix/src/pthreadinitthreads.c: Fix line length.
1992
19932008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1994
1995        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1996
19972008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1998
1999        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
2000        coding it.
2001
20022008-01-05      Chris Johns <chrisj@rtems.org>
2003
2004        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
2005        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
2006        * libblock/include/rtems/flashdisk.h: Add docmentation about the
2007        control fields. Add more control fields to handle the flash when
2008        full.
2009        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
2010        detects a descriptor is erased. Add support for unavailable blocks
2011        the user can configure. Print the used list as a diag. Fix the bug
2012        when a page is detected as failed and present on more than one
2013        queue. Add a count to the queues so queue length can be used to
2014        manage compaction.
2015       
20162008-01-03      Till Straumann <strauman@slac.stanford.edu>
2017
2018        * score/src/threadhandler.c, sapi/src/exshutdown.c:
2019        cannot call _fini via atexit() from rtems_shutdown_executive()
2020        because at the point where rtems_shutdown_executive is called
2021        the C-library is already dead.
2022        Instead, register an atexit(_fini) after calling _init().
2023
20242007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2025
2026        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
2027        Hopefully this implementation is OK.
2028        * libcsupport/src/_rename_r.c: New file.
2029
20302007-12-22      Chris Johns <chrisj@rtems.org>
2031
2032        * configure.ac: fixed bug that always enabled strict order
2033        mutexes.
2034        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
2035        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
2036        list if the mutex is initialised locked.
2037        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
2038        message to show the error is an rtems-net error.
2039        * libmisc/monitor/mon-network.c: Removed warnings.
2040        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
2041        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
2042        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
2043        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
2044        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
2045        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
2046        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
2047        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
2048        libmisc/shell/warnx.c: New. Ported from BSD.
2049        * libmisc/shell/shellconfig.h: Add the cp command.
2050        * libmisc/Makefile.am: Add the new files to the shell.
2051        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
2052        support.
2053        * libblock/src/flashdisk.c: Fixed disk drive count size setting
2054        bug.
2055       
20562007-12-21      Xi Yang <hiyangxi@gmail.com>
2057
2058        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
2059        of priority inheritance on mutexes as well as enforce proper order of
2060        release.
2061
20622007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2063
2064        * configure.ac, score/include/rtems/score/coremutex.h,
2065        score/inline/rtems/score/coremutex.inl: Add the ability to disable
2066        inlining coremutex seize. This reduces the code size and also
2067        improves the process of coverage analysis.
2068        * score/src/coremutexseizeintr.c: New file.
2069
20702007-12-21      Xi Yang <hiyangxi@gmail.com>
2071
2072        * configure.ac, score/include/rtems/score/coremutex.h,
2073        score/include/rtems/score/thread.h,
2074        score/inline/rtems/score/coremutex.inl,
2075        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
2076        support for proper stacking of priority inheritance on mutexes as
2077        well as enforce proper order of release.
2078
20792007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2080
2081        PR 1268/cpukit
2082        * libcsupport/include/rtems/assoc.h: There is no
2083        rtems_assoc_ptr_by_value method.
2084
20852007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2086
2087        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
2088        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
2089
20902007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2091
2092        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
2093
20942007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2095
2096        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
2097
20982007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2099
2100        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
2101        rtems_task_self() directive.
2102        * rtems/src/taskself.c: New file.
2103
21042007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
2105
2106        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
2107        and resolved copyright information.
2108        * posix/src/kill_r.c: New file.
2109
21102007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
2111
2112        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
2113
21142007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2115
2116        * sapi/include/confdefs.h: Revert. Requires info not available at
2117        preprocessing time.
2118
21192007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2120
2121        * sapi/include/confdefs.h: Catch the error when the user lowers the
2122        maximum number of drivers below the number of statically configured
2123        ones.
2124
21252007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2126
2127        * sapi/src/extension.c, sapi/src/extensioncreate.c,
2128        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
2129        Manager clean up. Update object id switches to new pattern. Catch
2130        some NULL parameter errors.
2131
21322007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2133
2134        * posix/src/psignalunblockthread.c: Remove source that
2135
21362007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2137
2138        * posix/src/psignalchecksignal.c: Make assert active during debug mode
2139        only
2140
21412007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2142
2143        * posix/src/psignal.c: Move source around to enable path testing
2144
21452007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2146
2147        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
2148        libcsupport/src/free.c, libcsupport/src/malloc.c,
2149        libcsupport/src/malloc_p.h,
2150        libcsupport/src/malloc_report_statistics_plugin.c,
2151        libmisc/shell/shell.c, libmisc/shell/shell.h,
2152        score/src/objectinitializeinformation.c: Add posix_memalign. Split
2153        out management of deferred frees to subroutines.
2154        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
2155
21562007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2157
2158        * libcsupport/Makefile.am, libcsupport/preinstall.am,
2159        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
2160        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
2161        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
2162        one function per file. Also split out statistics into a separate file
2163        which can be plugged in dynamically. Right now, it is always in. I
2164        suspect that splitting the file removed more code than leaving
2165        statistics in. I tinkered with malloc information command in the
2166        shell. I resurrected the malloc arena code as malloc boundary. This
2167        code is now compiled all the time even though it does not appear to
2168        work.
2169        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
2170        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
2171        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
2172        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
2173        libcsupport/src/malloc_get_statistics.c,
2174        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
2175        libcsupport/src/malloc_report_statistics.c,
2176        libcsupport/src/malloc_report_statistics_plugin.c,
2177        libcsupport/src/malloc_statistics_helpers.c,
2178        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
2179        libmisc/shell/main_perioduse.c: New files.
2180
21812007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2182
2183        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
2184        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
2185        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
2186        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
2187        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
2188        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
2189        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
2190        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
2191        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
2192        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
2193        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
2194        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
2195        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
2196        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
2197        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
2198        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
2199        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
2200        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
2201        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
2202        rtems_Shell_ to rtems_shell_.
2203
22042007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2205
2206        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
2207        with info and dump as replacement for older command. Fix what looked
2208        like a typo for mount sub-commands.
2209        * libmisc/shell/main_mallocinfo.c: New file.
2210        * libmisc/shell/main_mallocdump.c: Removed.
2211
22122007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2213
2214        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
2215        malloc_info() routine.
2216        * libcsupport/src/mallocinfo.c: New file.
2217
22182007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2219
2220        * libmisc/stackchk/check.c: Add print of current stack pointer and
2221        stack info even if stack checker is not initialized.
2222
22232007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2224
2225        * libcsupport/src/printk.c: Style.
2226
22272007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2228
2229        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
2230        required in multiprocessing configuration.
2231
22322007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2233
2234        * score/src/objectget.c: Revert.
2235
22362007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2237
2238        * posix/src/timergettime.c: Include rtems/score/timespec.h
2239
22402007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2241
2242        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
2243        posix/include/mqueue.h, posix/include/sched.h,
2244        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
2245        posix/include/rtems/posix/priority.h,
2246        posix/include/rtems/posix/psignal.h,
2247        posix/include/rtems/posix/threadsup.h,
2248        posix/include/rtems/posix/timer.h,
2249        posix/inline/rtems/posix/priority.inl,
2250        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
2251        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
2252        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
2253        posix/src/cleanuppush.c, posix/src/cond.c,
2254        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
2255        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
2256        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
2257        posix/src/conddestroy.c, posix/src/condinit.c,
2258        posix/src/condsignal.c, posix/src/condsignalsupp.c,
2259        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
2260        posix/src/keycreate.c, posix/src/keydelete.c,
2261        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
2262        posix/src/keysetspecific.c, posix/src/mqueue.c,
2263        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2264        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2265        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
2266        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
2267        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
2268        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2269        posix/src/mqueueunlink.c, posix/src/mutex.c,
2270        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
2271        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2272        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2273        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2274        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2275        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2276        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2277        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2278        posix/src/psignal.c, posix/src/psignalchecksignal.c,
2279        posix/src/psignalclearprocesssignals.c,
2280        posix/src/psignalclearsignals.c,
2281        posix/src/psignalsetprocesssignals.c,
2282        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2283        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
2284        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
2285        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
2286        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
2287        posix/src/semclose.c, posix/src/semdestroy.c,
2288        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
2289        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
2290        posix/src/semwait.c, posix/src/setcancelstate.c,
2291        posix/src/setcanceltype.c, posix/src/sysconf.c,
2292        posix/src/testcancel.c: Add missing copyright statements.
2293
22942007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2295
2296        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2297
22982007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2299
2300        * posix/Makefile.am, posix/preinstall.am,
2301        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
2302        Timer implementation into multiple files. Add obvious error checks
2303        for NULL parameters. Attempt to reduce include files.
2304        * posix/src/timercreate.c, posix/src/timerdelete.c,
2305        posix/src/timergetoverrun.c, posix/src/timergettime.c,
2306        posix/src/timerinserthelper.c, posix/src/timersettime.c,
2307        posix/src/timertsr.c: New files.
2308        * posix/src/ptimer1.c: Removed.
2309
23102007-12-17      Chris Johns <chrisj@rtems.org>
2311
2312        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
2313        libmisc/shell/main_unmount.c: New.
2314        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
2315        blksync, msdosfmt, and unmount commands.
2316
23172007-12-17      Chris Johns <chrisj@rtems.org>
2318
2319        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
2320        system opts table.
2321        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
2322        system opts table.
2323        * libmisc/Makefile.am: Add the mount command and supporting files.
2324        * libmisc/preinstall.am: Rebuilt.
2325        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
2326        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2327        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2328        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2329        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2330        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2331        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2332        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2333        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2334        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2335        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2336        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2337        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2338        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2339        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
2340        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
2341        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
2342        libmisc/shell/write_file.c: Move all shell_* types, variables and
2343        functions to rtems_shell_* to avoid namespace clashes with
2344        applications. The is an RTEMS shell after all.
2345        * libmisc/shell/shell.h, libmisc/shell/internal.h,
2346        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
2347        functions to rtems_shell_* to avoid namespace clashes with
2348        applications. Add the mount command supporting types.
2349        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
2350        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
2351        libmisc/shell/main_mount_tftp.c: New.
2352       
23532007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2354
2355        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2356
23572007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2358
2359        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
2360        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
2361        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
2362        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2363        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2364        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2365        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2366        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2367        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2368        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2369        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2370        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2371        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2372        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2373        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2374        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2375        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
2376        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
2377        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
2378        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
2379        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
2380        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
2381        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
2382        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
2383        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
2384        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
2385        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
2386        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
2387        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
2388        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
2389
23902007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2391
2392        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
2393        API.
2394
23952007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2396
2397        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
2398        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
2399        Minor cleanup to improve testability and eliminate dead code.
2400
24012007-12-12      Chris Johns <chrisj@rtems.org>
2402
2403        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2404        Add RTEMS license details.
2405
24062007-12-12      Chris Johns <chrisj@rtems.org>
2407
2408        * Makefile.am, preinstall.am: Added
2409        libblock/include/rtems/flashdisk.h to the installed header list.
2410        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2411        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2412        New.
2413
24142007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2415
2416        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2417        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2418        score/Makefile.am, score/preinstall.am: Revert testing patch.
2419
24202007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2421
2422        * posix/src/sched_rr_get_interval.c: Fix warning.
2423
24242007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2425
2426        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2427        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2428        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2429        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2430        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2431        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2432        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2433        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2434        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2435        files into one function per file.
2436        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2437        posix/src/aio_read.c, posix/src/aio_return.c,
2438        posix/src/aio_suspend.c, posix/src/aio_write.c,
2439        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2440        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2441        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2442        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2443        posix/src/sched_yield.c: New files.
2444        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2445
24462007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2447
2448        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2449        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2450        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2451        posix/src/clocksettime.c, posix/src/devctl.c,
2452        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2453        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2454        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2455        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2456
24572007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2458
2459        * posix/src/adjtime.c: Clean up and verify against behavior documented
2460        in GNU/Linux man page provided with Fedora 7.
2461
24622007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2463
2464        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2465        automake variables.
2466
24672007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2468
2469        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2470        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2471        rtems/src/taskvariabledelete.c: Add test code for task variables to
2472        improve coverage.
2473        * rtems/src/taskvariable_invoke_dtor.c: New file.
2474
24752007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2476
2477        * posix/preinstall.am: Revert debug patch.
2478
24792007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2480
2481        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2482        BSP.
2483
24842007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2485
2486        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2487
24882007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2489
2490        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2491        disabled.
2492
24932007-12-12      Chris Johns <chrisj@rtems.org>
2494
2495        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2496        header list.
2497        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2498        in any order rather than before any commands have been added. Also
2499        made the command's strings be copies rather than references.
2500        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2501
25022007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2503
2504        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2505        Move Ada support code that is untestable from the Standard RTEMS Test
2506        Suite into its own directory. All code in score, posix, rtems, and
2507        sapi should be testable by the Standard RTEMS Test Suites. It was
2508        buried under POSIX before so this should be a clearer location
2509        anyway.
2510        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2511        libgnat/adasupp.c: New files.
2512        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2513
25142007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2515
2516        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2517        Reverse file contents.
2518
25192007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2520
2521        * sapi/include/rtems/config.h: Correct idle task prototype.
2522
25232007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2524
2525        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2526        libmisc/shell/internal.h, libmisc/shell/shell.c,
2527        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2528        processing now separated from main command loop. Addition of user
2529        commands and aliases tested. Monitor registration now explicit.
2530        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2531        libmisc/shell/write_file.c: New files.
2532
25332007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2534
2535        * libmisc/Makefile.am: Fix typo.
2536
25372007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2538
2539        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2540        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2541        into multiple files and add initial stages of command configuration.
2542        This seems to work but the monitor commands need to be integrated
2543        this way and the ability to configure user commands needs to be
2544        tested.
2545        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2546        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2547        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2548        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2549        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2550        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2551        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2552        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2553        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2554        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2555        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2556        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2557        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2558        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2559        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2560        libmisc/shell/str2int.c: New files.
2561
25622007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2563
2564        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2565
25662007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2567
2568        * sapi/include/rtems/config.h: Fix idle thread prototype.
2569
25702007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2571
2572        * sapi/include/confdefs.h: Separate the concept of configuring the
2573        interrupt stack size from actually reserving memory for it in the
2574        RTEMS Workspace.
2575
25762007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2577
2578        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2579        installed. It is the initialization interface for both GoAhead and
2580        Simple HTTPD.
2581
25822007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2583
2584        * sapi/include/rtems/config.h: Correct previous commit.
2585
25862007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2587
2588        * sapi/include/rtems/config.h: Commit temporary fix so
2589        interrupt_stack_size is accessible before RTEMS is initialized.
2590
25912007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2592
2593        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2594        sapi/include/rtems/init.h, sapi/src/exinit.c,
2595        score/include/rtems/system.h, score/src/isr.c: Move
2596        interrupt_stack_size field from CPU Table to Configuration Table.
2597        Eliminate CPU Table from all ports. Delete references to CPU Table in
2598        all forms.
2599
26002007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2601
2602        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2603        Table fields merged from CPU Table.
2604
26052007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2606
2607        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2608        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2609        posix/include/rtems/posix/mqueue.h,
2610        posix/include/rtems/posix/mutex.h,
2611        posix/include/rtems/posix/pthread.h,
2612        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2613        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2614        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2615        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2616        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2617        sapi/src/exinit.c, score/include/rtems/system.h,
2618        score/include/rtems/score/mpci.h, score/src/mpci.c,
2619        score/src/thread.c, score/src/threadcreateidle.c,
2620        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2621        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2622        the Configuration Table. This included pretasking_hook,
2623        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2624        extra_mpci_receive_server_stack, stack_allocate_hook, and
2625        stack_free_hook. As a side-effect of this effort some multiprocessing
2626        code was made conditional and some style clean up occurred.
2627
26282007-12-03      Chris Johns <chrisj@rtems.org>
2629
2630        * libmisc/shell/shell.h: Added comments for the parameters to the
2631        shell_init function.
2632        * libmisc/shell/shell.c: Only set cflags if tcflags is
2633        non-zero. This means the shell can use the current cflags settings
2634        and the application does not need to know the baudrate etc.
2635        * libmisc/capture/capture.h: Fix the comment.
2636
26372007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2638
2639        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2640        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2641        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2642        rtems/src/dpmemexternal2internal.c,
2643        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2644        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2645        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2646        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2647        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2648        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2649        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2650        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2651        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2652        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2653        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2654        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2655        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2656        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2657        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2658        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2659        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2660        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2661        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2662        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2663        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2664        rtems/src/timerserverfirewhen.c: Restructured all code with
2665        the switch (location) pattern so that OBJECTS_LOCAL is first
2666        and we can fall into it and the OBJECTS_ERROR case breaks
2667        to a return RTEMS_INVALID_ID.  This eliminates the return
2668        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2669        was unreachable and untestable code.  This resulted in a code
2670        savings of approximately 20 bytes per file on the SPARC/ERC32.
2671
26722007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2673
2674        * posix/Makefile.am: Restructed to move the
2675        OBJECTS_LOCAL case to the top of the switch statement and
2676        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2677        changes produced simplier assembly code and allowed for complete
2678        test coverage.  Also applied some consistency to the functions
2679        that translate the core status codes to POSIX status codes.
2680
26812007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2682
2683        * posix/include/rtems/posix/mutex.h,
2684        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2685        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2686        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2687        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2688        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2689        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2690        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2691        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2692        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2693        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2694        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2695        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2696        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2697        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2698        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2699        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2700        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2701        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2702        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2703        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2704        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2705        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2706        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2707        posix/src/semclose.c, posix/src/semdestroy.c,
2708        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2709        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2710        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2711        score/include/rtems/score/corebarrier.h,
2712        score/include/rtems/score/coremsg.h,
2713        score/include/rtems/score/coremutex.h,
2714        score/include/rtems/score/coresem.h: Restructed to move the
2715        OBJECTS_LOCAL case to the top of the switch statement and
2716        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2717        changes produced simplier assembly code and allowed for complete
2718        test coverage.  Also applied some consistency to the functions
2719        that translate the core status codes to POSIX status codes.
2720        * posix/src/mutextranslatereturncode.c,
2721        posix/src/semaphoretranslatereturncode.c: New files.
2722        * posix/src/mutexfromcorestatus.c: Removed.
2723
27242007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2725
2726        * posix/inline/rtems/posix/priority.inl: Fix typo.
2727
27282007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2729
2730        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2731        score/include/rtems/score/thread.h, score/src/object.c,
2732        score/src/thread.c: Conditionally compile out more code that is
2733        specific to multiprocessor configurations.
2734
27352007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2736
2737        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2738        posix/src/conddestroy.c, posix/src/condinit.c,
2739        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2740        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2741        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2742        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2743        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2744        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2745        posix/src/mutexattrgetprioceiling.c,
2746        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2747        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2748        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2749        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2750        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2751        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2752        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2753        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2754        posix/src/semclose.c, posix/src/semdestroy.c,
2755        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2756        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2757        Remove all pretense of POSIX MP support. The support in place was
2758        only a shell. This should make maintenance easier.
2759        * posix/include/rtems/posix/condmp.h,
2760        posix/include/rtems/posix/mqueuemp.h,
2761        posix/include/rtems/posix/mutexmp.h,
2762        posix/include/rtems/posix/pthreadmp.h,
2763        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2764        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2765
27662007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2767
2768        * configure.ac, score/inline/rtems/score/thread.inl,
2769        score/src/threaddispatch.c: Add ability for user to disable inlining
2770        of _Thread_Enable_dispatch. This can save code space but more
2771        importantly it means the binary generated does not have code inlined
2772        that is difficult to test and very seldom executed.
2773
27742007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2775
2776        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2777        rtems/include/rtems/rtems/barrier.h,
2778        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2779        score/src/corerwlockrelease.c: Fixed several implementation errors.
2780
27812007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2782
2783        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2784        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2785        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2786        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2787        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2788        case to the top of the switch statement, have a single exit with one
2789        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2790        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2791        code and allowed for complete test coverage.
2792
27932007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2794
2795        * sapi/include/confdefs.h,
2796        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2797        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2798
27992007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2800
2801        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2802
28032007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2804
2805        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2806        support Thumb.
2807
28082007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2809
2810        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2811        Now works on gen5200/icecube.
2812
28132007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2814
2815        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2816
28172007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2818
2819        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2820
28212007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2822
2823        * score/include/rtems/score/thread.h: Fix spelling error.
2824
28252007-11-17      Till Straumann <strauman@slac.stanford.edu>
2826
2827        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2828        Added checks so that use of 'stdio' is avoided (falling
2829        back to 'printk') before the system is up.
2830        Publish driver entry points so that the libi2c driver could
2831        be added to the applications 'device driver table'.
2832        This is not fully implemented yet, though, since in addition to
2833        initializing libi2c the low-level i2c bus drivers as well
2834        as high-level i2c device drivers need to be registered
2835        with the library.
2836        Updated README_libi2c accordingly.
2837
28382007-11-17      Till Straumann <strauman@slac.stanford.edu>
2839
2840        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2841        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2842        so that it knows what PHY they want to look at.
2843
28442007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2845
2846        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2847        in opposite files. Whoops!
2848
28492007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2850
2851        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2852        of the focus was on the beginning stages of making the login checker
2853        pluggable just like the shell.
2854
28552007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2856
2857        * posix/src/mprotect.c: Update comments.
2858
28592007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2860
2861        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2862        will require gcc 4.3 or newer.
2863        * posix/src/ada_intrsupp.c: New file.
2864
28652007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2866
2867        * sapi/src/exinit.c, score/Makefile.am,
2868        score/include/rtems/score/apimutex.h: API Mutex calls should never
2869        have been inlined. Inlining them lead to many inlined copies of core
2870        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2871        minimum.exe.
2872        * score/src/apimutex.c, score/src/apimutexallocate.c,
2873        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2874
28752007-11-07      Till Straumann <strauman@slac.stanford.edu>
2876
2877        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2878        around _CPU_ISR_Set_level().
2879
28802007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2881
2882        * score/inline/rtems/score/object.inl: During test coverage analysis,
2883        we identified this sanity check which should have been conditional on
2884        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2885        operations. With all APIs enabled, this saved 352 bytes from the
2886        minimum executable on the SPARC/ERC32.
2887
28882007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2889
2890        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2891        compiler conditional attribute for methods that do not return. This
2892        avoids gcc generating unreachable code following calls to
2893        _Internal_error_Occurred.
2894
28952007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2896
2897        * configure.ac: Add ARM/Thumb Makefile.
2898
28992007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2900
2901        PR 1266/cpukit
2902        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2903        of class for key indexing.
2904
29052007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2906
2907        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2908        Fix headers and formatting.
2909
29102007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2911
2912        Miscellaneous changes made after a review against the POSIX spec.
2913        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2914        passes a NULL in the attributes parameter, default attributes are used.
2915        * posix/src/prwlockdestroy.c: If there is at least one thread
2916        waiting, do not allow deletion.
2917        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2918        operation used to obtain a RWLock for writing.
2919        * posix/src/pspinlocktranslatereturncode.c,
2920        score/include/rtems/score/corespinlock.h,
2921        score/src/corespinlockrelease.c: If the current thread is not the
2922        holder of the lock, do not allow an unlock and return EPERM.
2923        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2924        for queueing with a timeout handler.
2925
29262007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2927
2928        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2929        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2930        stack so gdb backtrace does not print corrupted frame message after
2931        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2932        SPARC implementation and I made it more general.
2933
29342007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2935
2936        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2937        Cleaned up reports and fixed a bug related the printf format which
2938        resulted in lack of leading zeroes and misleading magnitude.
2939        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2940
29412007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2942
2943        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2944        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2945        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2946        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2947        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2948        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2949        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2950        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2951        posix/src/condinit.c, posix/src/condsignalsupp.c,
2952        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2953        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2954        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2955        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2956        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2957        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2958        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2959        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2960        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2961        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2962        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2963        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2964        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2965        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2966        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2967        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2968        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2969        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2970        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2971        posix/src/semclose.c, posix/src/semdestroy.c,
2972        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2973        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2974        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2975        rtems/src/dpmemexternal2internal.c,
2976        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2977        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2978        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2979        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2980        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2981        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2982        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2983        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2984        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2985        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2986        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2987        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2988        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2989        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2990        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2991        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2992        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2993        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2994        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2995        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2996        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2997        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2998        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2999        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
3000        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
3001        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
3002        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
3003        score/src/mpci.c, score/src/objectgetnameasstring.c,
3004        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
3005        multiprocessing is disabled, do not even allow the constant
3006        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
3007        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
3008        in the generation of binary code which can NOT be reached.
3009
30102007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
3011
3012        * score/Makefile.am, score/include/rtems/score/thread.h,
3013        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
3014        resulted in unnessary code explosion, many uncovered paths when
3015        looking at binary executable coverage, and only optimized getting
3016        self. Id translations were still getting pushed to a subroutine call
3017        to _Objects_Get. Later the non-inlined version can be further
3018        optimized to get Ids in range for the current API, then self, then
3019        look at other APIs.
3020        * score/src/threadget.c: New file.
3021
30222007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3023
3024        * libi2c/README-libi2c
3025        document structure of libi2c library
3026
30272007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3028
3029        * libi2c/libi2c.c, libi2c/libi2c.h:
3030        extend API to support SPI devices
3031        made libi2c.h C++-proof
3032
30332007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
3034
3035        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
3036        also in another file.  Mistake after splitting.
3037        * libcsupport/Makefile.am: Reflect file removal.
3038
30392007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
3040
3041        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
3042        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
3043        Minor updates from FreeBSD.
3044
30452007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3046
3047        * score/include/rtems/score/copyrt.h: Update year.
3048
30492007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3050
3051        * score/include/rtems/score/copyrt.h: Update year.
3052
30532007-10-11      Daniel Hellstrom <daniel@gaisler.com>
3054
3055        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
3056        Fixed check of status when registering driver. Add use of strerror().
3057
30582007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
3059        Ralf Corsépius <ralf.corsepius@rtems.org>
3060
3061        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
3062        libnetworking/libc/if_indextoname.c,
3063        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
3064        * Makefile.am: Add files above.
3065        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
3066
30672007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
3068
3069        * libmisc/stackchk/check.c: Eliminate output with little information.
3070        Always print a blown message using the same routine. Now works with
3071        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
3072        support in your GCC version.
3073
30742007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
3075
3076        * libcsupport/src/gxx_wrappers.c: Revert.
3077
30782007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
3079
3080        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
3081        PRId32 to fix warning.
3082
30832007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
3084
3085        * telnetd/passwd.h: New file.
3086
30872007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
3088
3089        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
3090        telnetd/telnetd.h: telnetd rewrite.
3091        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
3092
30932007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3094
3095        PR 1262/filesystem
3096        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
3097        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
3098        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
3099        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
3100        writev() including documentation and test case.
3101        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
3102
31032007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3104
3105        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
3106        document what is required to provide a fully functional
3107        implementation.
3108        * libnetworking/rtems/rtems_socketpair.c: New file.
3109
31102007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
3111
3112        * aclocal/version.m4: Bump RTEMS_API to 4.9.
3113        Bump RTEMS_VERSION to 4.8.99.0.
3114
31152007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3116
3117        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
3118
31192007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3120
3121        * posix/src/semaphorecreatesupp.c: Fixed warning.
3122
31232007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3124
3125        * libmisc/dumpbuf/dumpbuf.c: Use printk.
3126
31272007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3128
3129        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
3130        Use uint32_t for ext_accm.
3131
31322007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3133
3134        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
3135        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
3136        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
3137        fixed-size types instead of BSD fixed-size types.
3138
31392007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
3140
3141        * libmisc/stackchk/check.c: Fix alignment of output.
3142
31432007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
3144
3145        * libmisc/monitor/monitor.h: Add network commands that were in the
3146        network supplement but not in the code.
3147        * libmisc/monitor/mon-network.c: New file.
3148
31492007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3150
3151        PR 1261/cpukit
3152        * posix/src/semaphorecreatesupp.c: Initialize all fields during
3153        semaphore creation.
3154
31552007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3156
3157        PR 1260/cpukit
3158        * posix/src/pthread.c: Get initial signals blocked from creating
3159        thread not from ourselves.
3160
31612007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3162
3163        * score/src/watchdogtickle.c: Remove tabs.
3164
31652007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3166
3167        PR 1259/rtems
3168        * rtems/src/taskcreate.c: Initialize is_global in all cases since
3169        memory is not guaranteed to be zero.
3170
31712007-09-12  Sergei Organov  <osv@javad.com>
3172
3173        PR 1258/rtems
3174        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
3175        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
3176        Use block_allocate() instead of _Heap_Block_allocate(). Replace
3177        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
3178        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
3179        to changed block split strategy in _Heap_Allocate_aligned().
3180
31812007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3182
3183        * libcsupport/src/printk.c: Remove unnecessary comments.
3184
31852007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3186
3187        * libmisc/monitor/mon-monitor.c:
3188        Corrected linked list of rtems_monitor_commands
3189
31902007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
3191
3192        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
3193        walk on init, malloc, and free. The ability to walk the heap appears
3194        to disappeared during the rework of the C Program heap to skip the
3195        Region.
3196
31972007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
3198
3199        * score/src/heap.c: Style.
3200        * score/src/heapwalk.c: Add more information to prints.
3201        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
3202        is disabled.
3203
32042007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3205
3206        * libcsupport/Makefile.am, libcsupport/src/printk.c:
3207        * libcsupport/src/printk_plugin.c: New file.
3208        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
3209        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
3210        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
3211        rtems/src/ratemonreportstatistics.c: Added capability to specify
3212        your own "printf" routine to various reporting functions.  This
3213        added an XXX_with_plugin as the underlying implementation for
3214          + rtems_rate_monotonic_report_statistics
3215          + rtems_stack_checker_report_usage
3216          + rtems_cpu_usage_report
3217        As demonstration, the http netdemo can now print out stack
3218        and cpu usage reports.
3219
32202007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3221
3222        * shttpd/compat_rtems.c: Style clean up.
3223
32242007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3225
3226        * rtems/src/ratemonperiod.c: Clean up.
3227        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
3228
32292007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3230
3231        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
3232
32332007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3234
3235        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
3236
32372007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3238
3239        * libmisc/Makefile.am: Add new files.
3240
32412007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3242
3243        * libmisc/monitor/mon-object.c,
3244        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
3245        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
3246        * libmisc/monitor/mon-task, libmisc/Makefile.am:
3247        Added functionality for osmonweb support
3248
32492007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3250
3251        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
3252        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
3253        that are needed by osmonweb.
3254
32552007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3256
3257        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
3258        Use printk.
3259
32602007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3261
3262        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
3263        spacing and spelling.
3264
32652007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3266
3267        PR 1256/networking
3268        * ftpd/ftpd.c: Fix unaligned access.
3269
32702007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3271
3272        * posix/Makefile.am: Always build nanosleep.
3273
32742007-08-17      Chris Johns <chrisj@rtems.org>
3275
3276        * libmisc/capture/README: Minor copyright change.
3277        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
3278        libmisc/capture/capture.h: Fixed the memory leak when lots of
3279        tasks are being created and deleted. Improved the trigger
3280        interface so all task type actions can be caught.
3281
32822007-08-13      Chris Johns <chrisj@rtems.org>
3283
3284        * score/include/rtems/score/object.h: Point the
3285        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
3286
32872007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
3288
3289        PR 1248/networking
3290        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
3291        reported that when no interfaces are successfully attached, the
3292        default route is broken and may result in a jump to an illegal
3293        address.
3294
32952007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3296
3297        * score/inline/rtems/score/priority.inl: Use size_t instead of
3298          uint32_t for array index.
3299
33002007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3301
3302        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
3303          identify coldfire cpus.
3304
33052007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3306
3307        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
3308          coldfire.
3309
33102007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3311
3312        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
3313          work-around bug m68k/coldfire -fomit-frame-pointer bug
3314          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
3315
33162007-07-27      Chris Johns <chrisj@rtems.org>
3317
3318        * wrapup/Makefile.am: Create archive from a file for hosts
3319        with a limited command line size.
3320
33212007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3322
3323        * include/rtems/bspIo.h, include/rtems/pci.h:
3324        Add extern "C" guards. Reported by
3325        Robert S. Grimes <rsg@alum.mit.edu>.
3326
33272007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3328
3329        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
3330        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
3331        the time appears to be reported correctly and add up to what is
3332        expected.
3333
33342007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3335
3336        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
3337        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
3338        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
3339
33402007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
3341
3342        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
3343        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
3344        was always using uptime not time since last cpu usage reset when
3345        using nanoseconds granularity.
3346        * libmisc/cpuuse/cpuusagedata.c: New file.
3347
33482007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
3349
3350        * libcsupport/src/mount.c: Allow null for output parameter.
3351
33522007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
3353
3354        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
3355        to shttpd initialization.
3356
33572007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3358
3359        * libcsupport/src/malloc.c: Clean up Malloc debug code.
3360        * score/include/rtems/score/heap.h: Spacing.
3361        * score/inline/rtems/score/thread.inl:
3362        * score/src/heapfree.c. Clean up and add explicit check of the address
3363        being freed actually being in the heap.
3364        * score/src/heapwalk.c: Switch to printk and do not call abort.
3365
33662007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3367
3368        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
3369        area contingent on the stack checker user extension having been
3370        initialized.
3371
33722007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3373
3374        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
3375        and recv(). We already had the BSD versions and these conflict
3376        sometimes when linking.
3377
33782007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3379
3380        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
3381        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
3382
33832007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3384
3385        * sapi/include/confdefs.h: Do not instantiate initialization
3386        thas/thread pointer tables for an API that is not configured.
3387
33882007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3389
3390        * libcsupport/Makefile.am:
3391        * libcsupport/src/open_dev_console.c: New file.
3392
33932007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3394
3395        * score/src/corerwlock.c: Make sure structure is fully initialized.
3396        When reused, some fields will not be zero like at initialization.
3397
33982007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3399
3400        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
3401        size. Account for this.
3402
34032007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3404
3405        * configure.ac: Add NDEBUG as a command line compilation option.
3406
34072007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3408
3409        * libmd/.cvsignore: New file.
3410
34112007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3412
3413        * shttpd/defs.h: Eliminate my_strncasecmp.
3414        * shttpd/string.c: Eliminate my_strncasecmp.
3415
34162007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3417
3418        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3419        * pppd/Makefile.am: Reflect moving out md*.
3420        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3421          libmd).
3422        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3423        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3424        * configure.ac, Makefile.am: Add libmd.
3425
34262007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3427
3428        * shttpd/defs.h: Eliminate my_strlcpy.
3429        * shttpd/string.c: Eliminate my_strlcpy.
3430
34312007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3432
3433        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3434        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3435        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3436          libmd.a.
3437
34382007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3439
3440        * wrapup/Makefile.am: Add libmd.a.
3441
34422007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3443
3444        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3445          Add pppd/libmd.a.
3446        * pppd/md4.c: Don't include pppd.h.
3447
34482007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3449
3450        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3451
34522007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3453
3454        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3455        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3456        Add config.h support.
3457
34582007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3459
3460        * shttpd/compat_rtems.h: Define closesocket.
3461
34622007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3463
3464        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3465
34662007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3467        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3468        Use size_t for stack sizes.
3469
34702007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3471
3472        * configure.ac, Makefile.am: Add shttpd.
3473        * shttpd/Makefile.am: New.
3474        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3475        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3476        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3477        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3478        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3479        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3480        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3481        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3482        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3483        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3484        Import from shttpd-1.37.tar.gz.
3485
34862007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3487
3488        * configure.ac: Remove "pad" from CPU_CONTEXT.
3489
34902007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3491
3492        * score/src/coremsg.c: Formatting.
3493
34942007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3495
3496        * score/include/rtems/score/copyrt.h: Update copyright notice.
3497
34982007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3499
3500        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3501        one function per file execpt io.c which contains required
3502        initialization methods.
3503        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3504        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3505        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3506        sapi/src/iowrite.c: New files.
3507
35082007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3509
3510        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3511        table into Workspace but now it is only done if the application needs
3512        extra slots for dynamic driver registration. Cleaned up
3513        rtems_io_register_driver and rtems_io_unregister_driver code and
3514        added numerous error cases to register.
3515
35162007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3517
3518        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3519        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3520        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3521        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3522        configuration parameter since it was used to configure a no longer
3523        used feature. Device names are now part of the filesystem not in a
3524        table. This also eliminated the variables _IO_Number_of_devices and
3525        _IO_Driver_name_table from RTEMS as well as the memory allocation
3526        used to populate _IO_Driver_name_table.
3527        * libmisc/monitor/mon-dname.c: Removed.
3528
35292007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3530
3531        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3532        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3533        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3534        unused Workspace. Round the workspace required size to an 8 byte
3535        boundary instead of a 0x400 byte one. We may end up needing to add 8
3536        bytes again to account for the alignment rounding.
3537
35382007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3539
3540        Yu Chen <chyyuu@gmail.com>
3541        * score/src/corespinlockwait.c: Per question posted as
3542        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3543        logical operator to <=.
3544
35452007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3546
3547        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3548        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3549        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3550        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3551        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3552        executive initialization.
3553
35542007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3555
3556        * score/src/corerwlockrelease.c: Do not dereference NULL.
3557
35582007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3559
3560        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3561        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3562        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3563        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3564        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3565        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3566        sapi/include/rtems/extension.h: Split Classic API data instantiation
3567        into individual files. This reduces the size of the BSS section when
3568        an optional manager stub is used. Some tests showed about a 600 byte
3569        reduction in BSS size.
3570        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3571        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3572        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3573        used in one place after initialized. It was a waste of space.
3574        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3575        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3576        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3577        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3578        sapi/src/extensiondata.c: New files.
3579
35802007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3581
3582        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3583        functionality into multiple files to eliminate unnecessary cohesion.
3584        Update README.
3585        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3586        New files.
3587        * libmisc/cpuuse/cpuuse.c: Removed.
3588
35892007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3590
3591        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3592        negative value in some circumstances. Also cleaned up to share uptime
3593        declaration.
3594
35952007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3596
3597        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3598        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3599        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3600        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3601        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3602        score/Makefile.am, score/include/rtems/score/thread.h,
3603        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3604        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3605        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3606        monotonic period statistics and CPU usage statistics. This capability
3607        is enabled by default although may be conditionally disabled by the
3608        user. It could be too much overhead on small targets but it does not
3609        appear to be bad in early testing. Its impact on code size has not
3610        been evaluated either. It is possible that both forms of statistics
3611        gathering could be disabled with further tweaking of the conditional
3612        compilation.
3613        * score/src/timespecdividebyinteger.c: New file.
3614
36152007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3616
3617        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3618        functionally similar code here. Also cleanup print formats.
3619
36202007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3621
3622        * score/src/objectgetnameasstring.c: Internal threads use string names
3623        so in the current RTEMS source string object name can NOT be
3624        disabled. It is probably worth considering converting the internal
3625        threads to uint32_t style names so all the support for string names
3626        can be conditionally disabled.
3627
36282007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3629
3630        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3631        and greater than operations for timespecs.
3632        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3633        New files.
3634
36352007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3636
3637        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3638        RTEMS_POSIX_API.
3639
36402007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3641
3642        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3643        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3644        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3645        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3646        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3647        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3648        score/Makefile.am, score/include/rtems/score/object.h,
3649        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3650        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3651        Added the following directives: rtems_rate_monotonic_get_statistics,
3652        rtems_rate_monotonic_reset_statistics,
3653        rtems_rate_monotonic_reset_all_statistics,
3654        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3655        Obsoleted the rtems/rtmonuse.h file as a public interface.
3656        * rtems/src/ratemongetstatistics.c,
3657        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3658        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3659        score/src/objectgetnameasstring.c: New files.
3660        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3661
36622007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3663
3664        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3665        rtems_io_register_name for use on unix.
3666        * libcsupport/src/unixlibc_io.c: New file.
3667
36682007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3669
3670        * score/src/coremsgseize.c: A blocking sender's message size was
3671        pulled out of the wrong field in the Wait information structure.
3672        * score/src/objectallocate.c: With the new optional manager support,
3673        we only stub out the initialization. This makes it possible to attempt
3674        to create an object with the information structure only initialized
3675        with all zeros.  This ensures we return an error cleanly in this case.
3676
36772007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3678
3679        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3680        an optional manager, we cannot depend on it do initialize the
3681        internal Allocator Mutex.  This was always a questionable place to
3682        do it, so this is a cleanup.
3683
36842007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3685
3686        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3687        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3688        suitable for inclusion in the Users Guide.
3689
36902007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3691
3692        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3693        ChangeLog-pre2007.
3694        * ChangeLog-pre2007: New file.
3695
36962007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3697
3698        PR 1241/rtems
3699        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3700        critical section window added with requeueing support.
3701
37022007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3703
3704        * libcsupport/include/rtems/cdefs.h,
3705          libcsupport/include/sys/cdefs.h: Remove.
3706        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3707        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3708        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3709        libnetworking/netdb.h, libnetworking/resolv.h,
3710        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3711        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3712        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3713        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3714        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3715        libnetworking/rtems/rtems_bsdnet_internal.h,
3716        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3717        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3718        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3719        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3720        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3721        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3722        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3723        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3724        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3725        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3726        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3727
37282007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3729
3730        * Makefile.am: Reflect introduction of
3731          include/rtems/bsd/sys/cdefs.h.
3732        * include/rtems/bsd/sys/cdefs.h: New.
3733
37342007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3735
3736        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3737        * libnetworking/sys/queue.h: Remove.
3738
37392007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3740
3741        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3742        <machine/endian.h>.
3743        * libnetworking/rtems/rtems_showroute.c,
3744        libnetworking/rtems/rtems_showipstat.c,
3745        libnetworking/rtems/rtems_showtcpstat.c,
3746        libnetworking/rtems/rtems_showicmpstat.c,
3747        libnetworking/rtems/rtems_showmbuf.c,
3748        libnetworking/rtems/rtems_showudpstat.c,
3749        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3750        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3751        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3752        libnetworking/netinet/tcp_usrreq.c,
3753        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3754        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3755        libnetworking/netinet/ip_output.c,
3756        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3757        libnetworking/netinet/udp_usrreq.c,
3758        libnetworking/netinet/tcp_output.c,
3759        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3760        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3761        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3762        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3763        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3764        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3765        instead of <sys/queue.h>.
3766        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3767        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3768        libnetworking/net/if.h, libnetworking/net/if_media.h,
3769        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3770        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3771        instead of <sys/queue.h>.
3772        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3773        * include/rtems/bsd/sys/queue.h: New (Copied from
3774          libnetworking/sys/queue.h).
3775
37762007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3777
3778        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3779        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3780        score/Makefile.am, score/preinstall.am,
3781        score/include/rtems/score/userext.h, score/src/chain.c,
3782        score/src/userext.c: Switch to newlib reentrancy extension being
3783        installed in the initial set instead of using rtems_extension_create.
3784        While implementing this, noticed that user extensions and chain code
3785        had multiple functions in a single file which is not desirable in the
3786        SuperCore and API portions of RTEMS, so split these into multiple
3787        files with one function per file. Also noticed that some of user
3788        extension code was inlined for no particular reason so moved that to
3789        C bodies.  Split executive shutdown from initialization since not
3790        every application shuts down.  Moved __fini call to executive shutdown
3791        to be more symmetrical with where it is called at startup.
3792        * sapi/src/exshutdown.c, score/src/chainappend.c,
3793        score/src/chainextract.c, score/src/chainget.c,
3794        score/src/chaininsert.c, score/src/userextaddapiset.c,
3795        score/src/userextaddset.c, score/src/userextremoveset.c,
3796        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3797        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3798        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3799        files.
3800        * score/inline/rtems/score/userext.inl: Removed.
3801
38022007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3803
3804        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3805        reference _Configuration_MP_table if multiprocessing is disabled.
3806
38072007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3808
3809        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3810        reference _Configuration_MP_table if multiprocessing is disabled.
3811
38122007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3813
3814        * libnetworking/machine/endian.h: Remove.
3815        * libnetworking/Makefile.am: Remove machine/endian.h.
3816        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3817        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3818        <rtems/endian.h> instead of <machine/endian.h>.
3819        * Makefile.am: Add include/rtems/endian.h.
3820        * include/rtems/endian.h: New (Copied from
3821          libnetworking/machine/endian.h).
3822
38232007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3824
3825        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3826        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3827        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3828        of <stdint.h>.
3829        * libnetworking/machine/endian.h: Remove
3830          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3831        * NEWS: new.
3832
38332007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3834
3835        PR 1243
3836        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3837
38382007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3839
3840        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3841        to inline functions, using uint[16,32]_t.
3842        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3843        with SUSv3.
3844        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3845        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3846        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3847        Add HAVE_CONFIG_H magic.
3848        * libnetworking/libc/gethostbydns.c,
3849        libnetworking/libc/inet_net_ntop.c,
3850        libnetworking/libc/inet_pton.c: Eliminate __P.
3851        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3852        return value of ntohl (POSIX requirement).
3853        Use UINT32_C macros to avoid overflows on 16bit targets.
3854        Eliminate __P.
3855        * configure.ac: Check for working PRIxPTR.
3856
38572007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3858
3859        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3860        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3861        Use size_t for stack sizes.
3862
38632007-05-03      Joel Sherrill <joel@OARcorp.com>
3864
3865        * ChangeLog, libcsupport/src/malloc.c,
3866        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3867        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3868        Region Manager is quite heavy for implementing this. This patch
3869        implements the C Program Heap directly in terms of the new Protected
3870        Heap handler. This handler is a direct use of a SuperCore Heap in
3871        conjunction with the Allocator Mutex used internally by RTEMS. This
3872        saves 3184 bytes on most SPARC test executables.
3873        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3874        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3875        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3876        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3877        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3878        score/src/pheapwalk.c: New files.
3879
38802007-05-03      Joel Sherrill <joel@OARcorp.com>
3881
3882        * libcsupport/src/rmdir.c: Fixed spacing.
3883        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3884        newlibc.c. It is not required for minimum executing and drops 624
3885        from SPARC minimum executable.
3886        * libcsupport/src/newlibc_exit.c: New file.
3887
38882007-04-17      Joel Sherrill <joel@OARcorp.com>
3889
3890        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3891        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3892        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3893        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3894        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3895        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3896        reduce executable size. Most were refactoring of files. Split ITRON
3897        API files. Implemented mechanism to avoid initialization task/thread
3898        loop being linked in when that style of task initialization was not
3899        being used.
3900        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3901        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3902        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3903        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3904        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3905        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3906        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3907        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3908        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3909        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3910        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3911        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3912        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3913        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3914        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3915        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3916        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3917        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3918        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3919        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3920        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3921
39222007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3923
3924        * score/include/rtems/score/thread.h:
3925          Use Context_Control_fp* instead of void* for fp_contexts.
3926
39272007-04-16      Joel Sherrill <joel@OARcorp.com>
3928
3929        PR 1240/filesystem
3930        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3931        for filename was not being freed.
3932
39332007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3934
3935        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3936
39372007-04-16      Joel Sherrill <joel@OARcorp.com>
3938
3939        * itron/src/rsm_tsk.c: Correct error returned.
3940
39412007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3942
3943        * configure.ac: Redefine LIBPOSIX to !UNIX.
3944        * posix/src/usleep.c, libcsupport/src/readlink.c:
3945        Update API to SUSv3.
3946
39472007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3948
3949        * posix/Makefile.am: Unconditionally build src/sleep.c,
3950          src/usleep.c.
3951        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3952          CLOCK_MONOTONIC case.
3953        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3954
39552007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3956
3957        * posix/Makefile.am: Cosmetics.
3958        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3959        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3960
39612007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3962
3963        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3964          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3965        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3966          rtems/posix/time.h.
3967        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3968          rtems/posix/time.h.
3969        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3970
39712007-04-12      Joel Sherrill <joel@OARcorp.com>
3972
3973        * itron/src/rsm_tsk.c: Correct error returned.
3974
39752007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3976
3977        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3978
39792007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3980
3981        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3982        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3983        _impure_ptr bug).
3984        Fix abuse of _REENT_INIT().
3985
39862007-04-05      Joel Sherrill <joel@OARcorp.com>
3987
3988        * itron/src/itrontime.c: Fix typo.
3989        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3990        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3991        * score/src/threaddispatch.c: Formatting.
3992
39932007-04-05      Joel Sherrill <joel@OARcorp.com>
3994
3995        * posix/Makefile.am: Fix formatting.
3996
39972007-04-05      Joel Sherrill <joel@OARcorp.com>
3998
3999        * posix/Makefile.am, posix/include/rtems/posix/time.h,
4000        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
4001        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
4002        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
4003        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
4004        posix/src/pthread.c, posix/src/pthreadcreate.c,
4005        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
4006        posix/src/sched.c, posix/src/semtimedwait.c,
4007        posix/src/sigtimedwait.c, posix/src/ualarm.c,
4008        rtems/src/clocktodtoseconds.c, score/Makefile.am,
4009        score/preinstall.am, score/include/rtems/score/tod.h,
4010        score/inline/rtems/score/tod.inl, score/src/coretod.c,
4011        score/src/coretodget.c, score/src/coretodgetuptime.c,
4012        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
4013        manipulation routines in the SuperCore. Use them everywhere possible.
4014        This lead to significant cleanup in the API routines and eliminated
4015        some of the same code from the POSIX API. At this point, the
4016        SuperCore keeps time in POSIX timespec format properly from 1970. You
4017        just cannot set it before 1988 in keeping with RTEMS traditional
4018        behavior.
4019        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
4020        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
4021        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
4022        score/src/timespectoticks.c: New files.
4023        * posix/src/posixintervaltotimespec.c,
4024        posix/src/posixtimespecsubtract.c,
4025        posix/src/posixtimespectointerval.c: Removed.
4026
40272007-04-04      Joel Sherrill <joel@OARcorp.com>
4028
4029        * score/Makefile.am, score/include/rtems/score/tod.h,
4030        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
4031        non-inlined routine. It should only be used once so there is little
4032        advantage to inlining it.
4033        * score/src/coretodtickle.c: New file.
4034
40352007-04-02      Joel Sherrill <joel@OARcorp.com>
4036
4037        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
4038        dead code.
4039        * posix/src/time.c: Removed.
4040
40412007-04-02      Joel Sherrill <joel@OARcorp.com>
4042
4043        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
4044        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
4045        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
4046        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
4047        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
4048        TOD_Ticks_per_second variable.
4049
40502007-04-02      Joel Sherrill <joel@OARcorp.com>
4051
4052        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
4053        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
4054        posix/src/clockgettime.c, posix/src/clocksettime.c,
4055        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
4056        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
4057        posix/src/sleep.c, rtems/Makefile.am,
4058        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
4059        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
4060        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
4061        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
4062        score/Makefile.am, score/include/rtems/score/tod.h,
4063        score/inline/rtems/score/tod.inl, score/src/coretod.c,
4064        score/src/coretodset.c: Convert from Classic API style TOD_Control as
4065        fundamental time structure to POSIX struct timespec. Add
4066        clock_get_uptime().
4067        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
4068        score/src/coretodgetuptime.c: New files.
4069        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
4070        score/src/coretodvalidate.c: Removed.
4071
40722007-04-02      Joel Sherrill <joel@OARcorp.com>
4073
4074        * libcsupport/src/printk.c: Add %p support.
4075
40762007-04-02      Joel Sherrill <joel@OARcorp.com>
4077
4078        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
4079        in addition to the pattern area being overwritten. Also do some
4080        cleanup.
4081
40822007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
4083
4084        * include/rtems/pci.h: Further stdint.h fixed-size types.
4085
40862007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4087
4088        * include/rtems/pci.h: Use stdint.h fixed size-types.
4089
40902007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4091
4092        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
4093        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
4094        * libnetworking/Makefile.am: Move libc/res_config.h to
4095          libc_a_SOURCES (File is being used).
4096        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
4097        Remove (Unused).
4098        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
4099        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
4100        Remove (Unused).
4101        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
4102
41032007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4104
4105        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
4106        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
4107        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
4108        libnetworking/libc/gethostbynis.c,
4109        libnetworking/libc/gethostnamadr.c,
4110        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
4111        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
4112        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
4113        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
4114        libnetworking/libc/getservbyname.c,
4115        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
4116        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
4117        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
4118        libnetworking/libc/inet_net_ntop.c,
4119        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
4120        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
4121        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
4122        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
4123        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
4124        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
4125        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
4126        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
4127        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
4128        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
4129        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
4130        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
4131        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
4132        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
4133        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
4134        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
4135        SCCS, LINT. Add HAVE_CONFIG_H.
4136        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
4137
41382007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4139
4140        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
4141          uintptr_t.
4142
41432007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4144
4145        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
4146        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
4147
41482007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4149
4150        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
4151        * libnetworking/net/netisr.h: Partial update from FreeBSD.
4152        * libcsupport/src/getpwent.c: Remove bogus cast to long.
4153        * libnetworking/libc/strsep.c: Don't build if provided by libc.
4154        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
4155        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
4156        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
4157        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
4158        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
4159        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
4160        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
4161        (Abandoned in FreeBSD).
4162        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
4163        (Abandoned in FreeBSD).
4164        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
4165        (Abandoned in FreeBSD).
4166        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
4167        * libnetworking/netinet/ip_fw.c: Eliminate __P().
4168
41692007-03-28      Chris Johns <chrisj@rtems.org>
4170
4171        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
4172        score/include/rtems/score/watchdog.h: Add support for a handler to
4173        obtain the number of nanoseconds since the last clock tick. The
4174        primary interface for this is rtems_clock_set_nanoseconds_extension.
4175        Subsequent commits from Joel will redo the TOD support to use this
4176        capability.
4177        * rtems/src/clocksetnsecshandler.c: New file.
4178
41792007-03-28      Joel Sherrill <joel@OARcorp.com>
4180
4181        PR 1234/cpukit
4182        * libcsupport/Makefile.am: Provide printk() based implementation of
4183        __assert() to reduce dependencies in executables.
4184        * libcsupport/src/__assert.c: New file.
4185
41862007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4187
4188        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
4189        Use uintptr_t for "disrupt". Remove bogus (long) cast.
4190        * libnetworking/net/ppp-comp.h: Remove (Unused).
4191        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
4192        * libnetworking/sys/buf.h: Remove (Unused).
4193        * libnetworking/Makefile.am: Remove sys/buf.h.
4194        * libnetworking/kern/kern_sysctl.c,
4195        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
4196        <sys/buf.h>.
4197        *  libcsupport/include/sys/sockio.h: Partial update from
4198          FreeBSD.
4199
42002007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4201
4202        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
4203        * libnetworking/netinet/igmp.c: Eliminate __P().
4204        * libnetworking/netinet/in.c: Eliminate __P().
4205        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
4206        * libnetworking/netinet/in_pcb.c: Eliminate __P().
4207        * libnetworking/netinet/ip_output.c: Eliminate __P().
4208
42092007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4210
4211        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
4212        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
4213        Change int args to intptr_t because they are casted to pointers.
4214        * libnetworking/netinet/tcp_usrreq.c,
4215        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
4216
42172007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4218
4219        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
4220        "long", because long is not guaranteed to be castable to char*.
4221        * libnetworking/netinet/ip_input.c: Eliminate __P().
4222        Change "int next" to "int32_t next" for 16bit targets.
4223        * libnetworking/netinet/tcp_input.c: Eliminate __P().
4224        * libnetworking/netinet/in_rmx.c: Eliminate __P().
4225        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
4226        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
4227        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
4228        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
4229        * libnetworking/kern/uipc_domain.c: Eliminate __P().
4230
42312007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4232
4233        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
4234        Remove (Abandoned in FreeBSD).
4235        * libnetworking/Makefile.am: Remove net/pppcompress.c,
4236        net/pppcompress.h.
4237        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
4238        net/pppcompress.h.
4239        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
4240        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
4241        net/pppcompress.h.
4242
42432007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4244
4245        * libnetworking/net/pppcompress.h: Eliminate __P().
4246        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
4247        * libnetworking/net/if_llc.h: Update from FreeBSD.
4248
42492007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4250
4251        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
4252          <net/ppp-comp.h>.
4253        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
4254        Warn about using it.
4255        * libnetworking/Makefile.am: Add net/ppp_comp.h.
4256        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
4257        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
4258          FreeBSD.
4259        * libnetworking/machine/in_cksum.h: Eliminate __P().
4260        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
4261        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
4262        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
4263        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
4264        Eliminate __P().
4265        * libcsupport/src/scandir.c: Eliminate __P().
4266        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
4267        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
4268        Eliminate __P().
4269        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
4270        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
4271        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
4272
42732007-03-26      Joel Sherrill <joel@OARcorp.com>
4274
4275        PR 1231/cpukit
4276        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
4277        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
4278        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
4279        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
4280        posix/src/mutexattrgetprioceiling.c,
4281        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
4282        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
4283        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
4284        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
4285        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
4286        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
4287        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
4288        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
4289        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
4290        posix/src/posixtimespecsubtract.c,
4291        posix/src/posixtimespectointerval.c,
4292        posix/src/psignalclearprocesssignals.c,
4293        posix/src/psignalclearsignals.c,
4294        posix/src/psignalsetprocesssignals.c,
4295        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
4296        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
4297        unneeded includes of assert.h
4298
42992007-03-26      Joel Sherrill <joel@OARcorp.com>
4300
4301        * libcsupport/include/rtems/assoc.h: Pick up the include file
4302        changes associated with the file splitting.
4303
43042007-03-26      Joel Sherrill <joel@OARcorp.com>
4305
4306        * libcsupport/Makefile.am: Pick up the Makefile changes associated
4307        with the file splitting.
4308
43092007-03-26      Joel Sherrill <joel@OARcorp.com>
4310
4311        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
4312        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
4313        this will not be deemed necessary to commit to the 4.7 branch.
4314        * libcsupport/src/assoclocalbyname.c,
4315        libcsupport/src/assoclocalbyremote.c,
4316        libcsupport/src/assoclocalbyremotebitfield.c,
4317        libcsupport/src/assocnamebylocal.c,
4318        libcsupport/src/assocnamebylocalbitfield.c,
4319        libcsupport/src/assocnamebyremote.c,
4320        libcsupport/src/assocnamebyremotebitfield.c,
4321        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
4322        libcsupport/src/assocptrbyremote.c,
4323        libcsupport/src/assocremotebylocal.c,
4324        libcsupport/src/assocremotebylocalbitfield.c,
4325        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
4326        libcsupport/src/write_r.c: New files.
4327
43282007-03-26      Joel Sherrill <joel@OARcorp.com>
4329
4330        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
4331        support and remove deadcode. Replace with comment explaining that
4332        behavior is compatible with GNU/Linux per Eric Norum.
4333
43342007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4335
4336        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
4337        Partial update from FreeBSD.
4338        * libnetworking/netinet/if_ether.h: Eliminate __P().
4339        * libnetworking/netinet/ip_var.h: Eliminate __P().
4340        * libnetworking/netinet/in.h: Eliminate __P().
4341        * libnetworking/netinet/tcp_var.h: Eliminate __P().
4342
43432007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4344
4345        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
4346        Remove __P();
4347        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
4348
43492007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4350
4351        * libnetworking/netinet/in_var.h: Remove __P().
4352        * libnetworking/netinet/in_systm.h: Remove __P().
4353        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
4354        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
4355        * libnetworking/netinet/if_ether.c: Remove __P().
4356        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
4357        More updates from FreeBSD.
4358        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
4359        libnetworking/net/route.h: Partial update from FreeBSD.
4360
43612007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
4362
4363        * libnetworking/Makefile.am: Remove nfs/krpc.h.
4364        * libnetworking/nfs/krpc.h: Remove (Unused).
4365        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
4366        * libnetworking/Makefile.am: Remove nfs/nfs.h.
4367        * libnetworking/nfs/nfs.h: Remove (Unused).
4368
43692007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4370
4371        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
4372          symbols.
4373        * libnetworking/sys/conf.h: Don't include machine/conf.h.
4374        Update copyright notice.
4375        Remove unused/non-implemented declarations.
4376        * libnetworking/Makefile.am: Remove machine/conf.h.
4377        * libnetworking/machine/conf.h: Remove.
4378
43792007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4380
4381        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
4382        Remove many non-supported/unused declarations.
4383
43842007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4385
4386        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
4387          crhold (Unused/non-implemented).
4388
43892007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4390
4391        * libnetworking/sys/ucred.h: Remove __P().
4392        * libnetworking/sys/callout.h: Remove __P().
4393        * libnetworking/sys/domain.h: Remove __P().
4394        * libnetworking/sys/socketvar.h: Remove __P().
4395        * libnetworking/sys/socket.h: Remove __P().
4396        * libnetworking/sys/select.h: Remove __P().
4397        * libnetworking/sys/kernel.h: Remove __P().
4398        * libnetworking/sys/protosw.h: Remove __P().
4399        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
4400        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
4401        swdevt, nswdev, nswap (Unused).
4402
44032007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4404
4405        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4406        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4407        instead of struct linesw (PR 1229)
4408        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4409        around clash with defines from rtems_bsdnet_internal.h.
4410        * score/src/heapwalk.c: include stdlib.h.
4411
44122007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4413
4414        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4415        Remove __P().
4416        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4417        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4418        Remove __P().
4419        * libcsupport/include/rtems/termiostypes.h,
4420        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4421        with rtems_termios_*.
4422        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4423        (Clash with termiostypes.h - PR 1229).
4424
44252007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4426
4427        * score/include/rtems/score/wkspace.h,
4428        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4429        Change _Workspace_Handler_initialization and
4430        _Workspace_Allocate_or_fatal_error to using size_t.
4431        * libnetworking/sys/rtprio.h: Remove (Unused).
4432        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4433
44342007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4435
4436        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4437        Remove __P().
4438
44392007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4440
4441        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4442          to fix warnings.
4443        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4444        * score/include/rtems/score/chain.h, score/src/chain.c:
4445        Change _Chain_Initialize to using size_t.
4446
44472007-03-12      Joel Sherrill <joel@OARcorp.com>
4448
4449        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4450        Dump_Buffer to rtems_print_buffer.
4451
44522007-03-12      Joel Sherrill <joel@OARcorp.com>
4453
4454        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4455        license URL and/or fix mistake in copyright notice. Both of these
4456        mistakes appear to be from code submitted after these changes were
4457        made previously.
4458
44592007-03-10      Joel Sherrill <joel@OARcorp.com>
4460
4461        PR 1226/cpukit
4462        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4463        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4464
44652007-03-08      Joel Sherrill <joel@OARcorp.com>
4466
4467        * libfs/src/imfs/imfs.h: Fix comment.
4468
44692007-03-08      Joel Sherrill <joel@OARcorp.com>
4470
4471        * libfs/src/imfs/imfs.h: Fix comment.
4472
44732007-03-08      Joel Sherrill <joel@OARcorp.com>
4474
4475        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4476        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4477
44782007-03-08      Joel Sherrill <joel@OARcorp.com>
4479
4480        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4481        Remove wrapper for message queue send and urgent and implement them
4482        directly. There was an unnecessary function call layer in addition to
4483        conditions in the shared routine. Directly coding both directives is
4484        simpler and should result in smaller code.
4485        * rtems/src/msgqsubmit.c: Removed.
4486
44872007-03-05      Joel Sherrill <joel@OARcorp.com>
4488
4489        PR 1222/cpukit
4490        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4491        score/include/rtems/score/threadq.h,
4492        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4493        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4494        score/src/threadclearstate.c, score/src/threadhandler.c,
4495        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4496        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4497        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4498        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4499        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4500        thread that is blocked on a priority based thread queue is changed,
4501        that its placement in the queue is reevaluated based upon the new
4502        priority. This enhancement includes modifications to the SuperCore as
4503        well as new test cases.
4504        * score/src/threadqrequeue.c: New file.
4505
45062007-03-05      Joel Sherrill <joel@OARcorp.com>
4507
4508        * sapi/src/exinit.c: Fix spacing.
4509
45102007-03-05      Joel Sherrill <joel@OARcorp.com>
4511
4512        PR 1221/cpukit
4513        * posix/src/pthreadequal.c: Fix critical section nesting.
4514
45152007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4516
4517        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4518          compiled files.
4519
45202007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4521
4522        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4523
45242007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4525
4526        * score/Makefile.am: Remove macros/README.
4527
45282007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4529
4530        * score/include/rtems/score/heap.h, score/src/heap.c,
4531        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4532        More size_t for heap-sizes.
4533        * score/include/rtems/score/heap.h, score/src/heap.c,
4534        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4535        heap-sizes.
4536        * libnetworking/resolv.h: Typo fixes. Remove __P().
4537
45382007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4539
4540        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4541        Use size_t for stack-sizes.
4542
45432007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4544
4545        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4546          functions.
4547        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4548        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4549
45502007-02-06      Till Straumann <strauman@slac.stanford.edu>
4551
4552        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4553        taskvar dtor to plug memory leak. Applied patch attached
4554        to PR#690.
4555
45562007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4557
4558        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4559        * posix/src/getpagesize.c: Removed.
4560        * posix/Makefile.am: Remove references to getpagesize.c.
4561        * libcsupport/Makefile.am: Add getpagesize.c.
4562
45632007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4564
4565        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4566        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4567          visible.
4568        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4569
45702007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4571
4572        * rtems/src/msgqsend.c: Use size_t for sizes.
4573        * rtems/src/msgqurgent.c: Use size_t for sizes.
4574        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4575        * rtems/src/msgmp.c: Use size_t for sizes.
4576        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4577        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4578        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4579        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4580
45812007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4582
4583        * itron/src/trcv_mbf.c: Use size_t for sizes.
4584        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4585        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4586        * libmisc/monitor/monitor.h: Use size_t for sizes.
4587        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4588        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4589        * rtems/src/msgqreceive.c: Use size_t for sizes.
4590        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4591        * score/src/coremsgseize.c: Use size_t for sizes.
4592
45932007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4594
4595        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4596        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4597        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4598        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4599        * score/src/coremsgsubmit.c: Use size_t for sizes.
4600
46012007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4602
4603        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4604
46052007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4606
4607        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4608
46092007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4610
4611        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4612        Remove isblank (supposed to be provided by libc).
4613
46142007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4615
4616        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4617
46182007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4619
4620        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4621         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4622        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4623        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4624        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4625
46262007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4627
4628        * score/include/rtems/system.h:
4629        #define __RTEMS_MINOR__ 7 (BZ 1206).
4630
46312007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4632
4633        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4634        export some internal variables to make them available in
4635        "show_bdbuf" monitor add-on
4636
46372007-01-16      Till Straumann <strauman@slac.stanford.edu>
4638
4639        * libnetworking/rtems/rtems_mii_ioctl.c,
4640        libnetworking/rtems/rtems_mii_ioctl.h,
4641        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4642        libi2c/libi2c.c, libi2c/libi2c.h:
4643        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4644
46452007-01-09      Joel Sherrill <joel@OARcorp.com>
4646
4647        * libcsupport/src/error.c: rtems_progname is no longer defined in
4648        the BSP startup since it never held a meaningful value.
4649
46502007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4651
4652        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4653        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.