source: rtems/cpukit/ChangeLog @ 347a3fe

4.104.114.95
Last change on this file since 347a3fe was cec5c069, checked in by Joel Sherrill <joel.sherrill@…>, on 08/21/08 at 16:17:35

2008-08-21 Joel Sherrill <joel.sherrill@…>

  • libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h, libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
  • Property mode set to 100644
File size: 185.7 KB
Line 
12008-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2
3        * libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h,
4        libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c,
5        libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
6
72008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
8
9        * libmisc/monitor/mon-network.c: Use memset instead of bzero.
10
112008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
12
13        * libmisc/shell/internal.h: Don't include "config.h".
14        Adjust header guard.
15        * libmisc/shell/cmp-ls.c, libmisc/shell/err.c,
16        libmisc/shell/errx.c, libmisc/shell/filemode.c,
17        libmisc/shell/fts.c, libmisc/shell/main_cp.c,
18        libmisc/shell/main_ls.c, libmisc/shell/main_mv.c,
19        libmisc/shell/main_rm.c, libmisc/shell/print-ls.c,
20        libmisc/shell/pwcache.c, libmisc/shell/shellconfig.c,
21        libmisc/shell/utils-cp.c, libmisc/shell/utils-ls.c,
22        libmisc/shell/verr.c, libmisc/shell/verrx.c,
23        libmisc/shell/vis.c, libmisc/shell/vwarn.c,
24        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
25        libmisc/shell/warnx.c: Include "config.h".
26
272008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
28
29        * libmisc/monitor/mon-network.c, libmisc/monitor/mon-part.c,
30        libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c:
31        Include "config.h".
32
332008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
34
35        * libmisc/shell/main_ifconfig.c: Use memset instead of bzero.
36        * ftpd/ftpd.c: Don't use annonymous unions.
37
382008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
39
40        * libblock/src/flashdisk.c: Remove bool, true, false.
41
422008-08-20      Joel Sherrill <joel.sherrill@OARcorp.com>
43
44        * libmisc/dummy/dummy.c: Add missing initializers.
45        * score/src/threadinitialize.c: Change type of loop counter.
46
472008-08-20      Joel Sherrill <joel.sherrill@OARcorp.com>
48
49        * libcsupport/src/error.c, libmisc/dummy/dummy.c,
50        rtems/src/rtemsobjectgetapiclassname.c,
51        rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
52
532008-08-20      Sebastian Huber <sebastian.huber@embedded-brains.de>
54
55        * include/rtems/status-checks.h: Fixed integer conversion warning.
56
572008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
58
59        * configure.ac: Abort if stdbool.h is not c99 compliant.
60
612008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
62
63        * pppd/pppd.h: Use stdbool.h. Remove local bool.
64
652008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
66
67        * configure.ac: Add AC_HEADER_STDBOOL.
68        * libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes
69        with C99/POSIX).
70
712008-08-19      Cedric Aubert <cedric_aubert@yahoo.fr>
72
73        PR 500/misc
74        * libcsupport/src/termios.c: Avoid potential buffer overflow.
75
762008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
77
78        * libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
79        warnings.
80
812008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
82
83        * libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:
84        Remove some warnings. Using ASSERT/assert macros confuses gcc who is
85        unsure actions take place. More importantly if you ever compiled with
86        NDEBUG set wrong, intended actions would not occur. Likely I did not
87        catch all of these.
88
892008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
90
91        * httpd/uemf.h: Add empty braces to macro.
92
932008-08-19      Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
94
95        PR 1296/cpukit.
96        * posix/src/timersettime.c: POSIX timers use incorrect repeat interval.
97        This patch fixes the following problems in timer_settime: 1) Uses
98        value.it_interval for repeat period. 2) Corrects test for incorrect
99        value of it_value.tv_nsec (should reject 1000000000).
100
1012008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
102
103        * score/inline/rtems/score/threadmp.inl: Add include of
104        rtems/score/mpci.h and remove extern.
105
1062008-08-19      Sebastian Huber <sebastian.huber@embedded-brains.de>
107
108        * libcsupport/include/clockdrv.h: Add Clock_Exit prototype.
109
1102008-08-19      Ralf Corsepius <ralf.corsepius@rtems.org>
111
112        * rtems/inline/rtems/rtems/asr.inl,
113        rtems/inline/rtems/rtems/attr.inl,
114        rtems/inline/rtems/rtems/barrier.inl,
115        rtems/inline/rtems/rtems/dpmem.inl,
116        rtems/inline/rtems/rtems/event.inl,
117        rtems/inline/rtems/rtems/eventset.inl,
118        rtems/inline/rtems/rtems/message.inl,
119        rtems/inline/rtems/rtems/modes.inl,
120        rtems/inline/rtems/rtems/options.inl,
121        rtems/inline/rtems/rtems/part.inl,
122        rtems/inline/rtems/rtems/ratemon.inl,
123        rtems/inline/rtems/rtems/region.inl,
124        rtems/inline/rtems/rtems/sem.inl,
125        rtems/inline/rtems/rtems/status.inl,
126        rtems/inline/rtems/rtems/support.inl,
127        rtems/inline/rtems/rtems/tasks.inl,
128        rtems/inline/rtems/rtems/timer.inl,
129        Add header guard to force indirect inclusion.
130        * score/inline/rtems/score/address.inl,
131        score/inline/rtems/score/chain.inl,
132        score/inline/rtems/score/corebarrier.inl,
133        score/inline/rtems/score/coremsg.inl,
134        score/inline/rtems/score/coremutex.inl,
135        score/inline/rtems/score/corerwlock.inl,
136        score/inline/rtems/score/coresem.inl,
137        score/inline/rtems/score/corespinlock.inl,
138        score/inline/rtems/score/heap.inl,
139        score/inline/rtems/score/isr.inl,
140        score/inline/rtems/score/mppkt.inl,
141        score/inline/rtems/score/object.inl,
142        score/inline/rtems/score/objectmp.inl,
143        score/inline/rtems/score/priority.inl,
144        score/inline/rtems/score/stack.inl,
145        score/inline/rtems/score/states.inl,
146        score/inline/rtems/score/sysstate.inl,
147        score/inline/rtems/score/thread.inl,
148        score/inline/rtems/score/threadmp.inl,
149        score/inline/rtems/score/threadq.inl,
150        score/inline/rtems/score/tod.inl,
151        score/inline/rtems/score/tqdata.inl,
152        score/inline/rtems/score/watchdog.inl,
153        score/inline/rtems/score/wkspace.inl:
154        Add header guard to force indirect inclusion.
155        * posix/inline/rtems/posix/barrier.inl,
156        posix/inline/rtems/posix/cond.inl,
157        posix/inline/rtems/posix/key.inl,
158        posix/inline/rtems/posix/mqueue.inl,
159        posix/inline/rtems/posix/mutex.inl,
160        posix/inline/rtems/posix/priority.inl,
161        posix/inline/rtems/posix/pthread.inl,
162        posix/inline/rtems/posix/rwlock.inl,
163        posix/inline/rtems/posix/semaphore.inl,
164        posix/inline/rtems/posix/spinlock.inl,
165        posix/inline/rtems/posix/timer.inl:
166        Add header guard to force indirect inclusion.
167        * itron/inline/rtems/itron/eventflags.inl,
168        itron/inline/rtems/itron/fmempool.inl,
169        itron/inline/rtems/itron/intr.inl,
170        itron/inline/rtems/itron/mbox.inl,
171        itron/inline/rtems/itron/msgbuffer.inl,
172        itron/inline/rtems/itron/network.inl,
173        itron/inline/rtems/itron/port.inl,
174        itron/inline/rtems/itron/semaphore.inl,
175        itron/inline/rtems/itron/sysmgmt.inl,
176        itron/inline/rtems/itron/task.inl,
177        itron/inline/rtems/itron/time.inl,
178        itron/inline/rtems/itron/vmempool.inl:
179        Add header guard to force indirect inclusion.
180        * sapi/inline/rtems/chain.inl:
181        Add header guard to force indirect inclusion.
182
1832008-08-19      Ralf Corsepius <ralf.corsepius@rtems.org>
184
185        * rtems/include/rtems/rtems/object.h: Use _RTEMS_RTEMS_OBJECT_H as
186        header guard.
187
1882008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
189
190        * libnetworking/netinet/in_cksum_arm.h, score/cpu/arm/cpu.c
191        score/cpu/h8300/rtems/score/cpu.h: Add missing prototypes.
192
1932008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
194
195        * libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
196        libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
197        libnetworking/rtems/rtems_glue.c,
198        libnetworking/rtems/rtems_malloc_mbuf.c,
199        libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
200        Fix some warnings.
201
2022008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
203
204        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
205        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
206        libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
207        libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
208        warnings.
209
2102008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
211
212        * itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
213        itron/src/task.c, libcsupport/src/newlibc_exit.c,
214        libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
215        posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
216        posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
217        rtems/src/tasks.c, score/include/rtems/score/stack.h,
218        score/inline/rtems/score/stack.inl,
219        score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
220        various nested-externs warnings.
221
2222008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
223
224        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split libc_init()
225        into a separate file to avoid linkage dependencies on newlibc.c which
226        in turn pulls in fclose() and other C library methods.
227        * libcsupport/src/newlibc_init.c: New file.
228
2292008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
230
231        * aclocal/prog-cc.m4: Add -Wnested-externs.
232
2332008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
234
235        * libnetworking/net/ppp_tty.c: Remove bogus local decl of
236        termios_baud_to_number(int).
237        * libnetworking/netinet/in_cksum_i386.h: Add missing prototype.
238        * libnetworking/netinet/in_cksum.c: Add missing prototypes.
239        * librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/svc_tcp.c:
240        Add missing prototypes.
241
2422008-08-16      Ralf Corsepius <ralf.corsepius@rtems.org>
243
244        * libfs/src/nfsclient/src/librtemsNfs.h: Add missing prototype.
245
2462008-08-16      Ralf Corsepius <ralf.corsepius@rtems.org>
247
248        * aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
249        -Wstrict-prototypes to RTEMS_CFLAGS.
250
2512008-08-15      Joel Sherrill <joel.sherrill@OARcorp.com>
252
253        PR 1297/cpukit
254        * posix/src/prwlockinit.c: Fix NULL attribute pointer handling.
255
2562008-08-14     Sebastian Huber <sebastian.huber@embedded-brains.de>
257
258        * rtems/include/rtems/rtems/ratemon.h,
259        rtems/include/rtems/rtems/status.h,
260        score/include/rtems/score/coremutex.h,
261        score/include/rtems/score/object.h: Removed extraneous commas.
262
2632008-08-08      Joel Sherrill <joel.sherrill@OARcorp.com>
264
265        * rtems/include/rtems/rtems/msgmp.h: Fix MP code missed by Sebastian.
266
2672008-08-08     Sebastian Huber <sebastian.huber@embedded-brains.de>
268
269        * libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
270        score/include/rtems/score/thread.h, score/src/threadreset.c,
271        score/src/threadrestart.c, score/src/threadstart.c: New type
272        Thread_Entry_numeric_type for numeric arguments in thread entry
273        functions with at least one numeric argument.
274
2752008-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
276
277        * score/include/rtems/score/sysstate.h,
278        score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
279        _System_state_Is_multiprocessing unused when multiprocessing is not
280        enabled. Saves one more variable from single processor configuration.
281
2822008-08-07      Chris Johns <chrisj@rtems.org>
283
284        * libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
285        to see if the 'to' path was a directory and removed the directory.
286
287        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv
288        command.
289
290        * libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
291
2922008-08-06      Chris Johns <chrisj@rtems.org>
293
294        * libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
295        the new bdbuf code.
296
2972008-08-06      Brett Swimley <brett.swimley@aedbozeman.com>
298
299        PR 1192/filesystem
300        * libblock/src/diskdevs.c: PR1192. Update the disktap pointer
301        after the realloc.
302
3032008-08-06      Till Straumann <strauman@slac.stanford.edu>
304
305        * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
306        than release it.
307
3082008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
309
310        PR 537/bsps
311        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
312        libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
313        vestiges of ticks_per_timeslice controlling newlib reentrancy. The
314        parameter was ignored in libc_init().
315
3162008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
317
318        PR 741/networking
319        * libmisc/dummy/dummy.c: Add dummy network configuration.
320
3212008-08-05     Sebastian Huber <sebastian.huber@embedded-brains.de>
322
323        * rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
324        Changed option set type to rtems_option.
325
326        * score/src/objectgetinfo.c: Check return value of
327        _Objects_API_maximum_class().
328
329        * libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
330        rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
331        rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
332        rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
333        rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
334        score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
335        score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
336        score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
337        score/src/coremsgsubmit.c:
338        Removed parameters of _Message_queue_Allocate().  Changed option set
339        type to rtems_option.  Changed type of maximum message and packet size
340        to size_t.  Changed the input buffer type for message send functions to
341        "const void *".  Changed the pointer to the second return argument in
342        the thread wait information to a union.  This union can contain a
343        pointer to an immutable or a mutable object.  This is somewhat fragile.
344        An alternative would be to add a third pointer for immutable objects,
345        but this would increase the structure size.
346
3472008-08-05      Xudong Guan <xudong.guan@criticalsoftware.com>
348
349        PR 1212/cpukit
350        * rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
351        will not happen if the task mode is changed from a non-timeslicing
352        mode to timeslicing mode if it is done by the executing thread (e.g.
353        in its task body). This change includes sp44 to demonstrate the
354        problem and verify the correction.
355
3562008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
357
358        * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
359        warnings.
360
3612008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
362
363        PR 1265/cpukit
364        * score/include/rtems/score/object.h,
365        score/src/objectallocatebyindex.c: Rename index argument to avoid
366        warning when rtems.h and string.h are included at the same time by
367        user code.
368
3692008-08-03      Ralf Corsépius <ralf.corsepius@rtems.org>
370
371        * libnetworking/lib/tftpDriver.c: Add prototypes.
372        * pppd/rtemsmain.c: Add prototypes.
373        * zlib/crc32.c: Add prototypes.
374
3752008-08-02      Chris Johns (chrisj@rtems.org>
376
377        * libblock/include/rtems/blkdev.h: Remove count and start from
378        rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.
379
380        * libblock/src/bdbuf.c: Add read ahead blocks always consecutive
381        comment. Change count to bufnum and remove start references. Sort
382        the transfer list so blocks are consecutive where possible.
383
384        * libblock/src/blkdev.c, libblock/src/nvdisk.c,
385        libblock/src/ramdisk.c: Change count to bufnum and remove start
386        references.
387
3882008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
389
390        * telnetd/telnetd.c: Add missing prototypes.
391        Remove unused local declations.
392
3932008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
394
395        * libnetworking/libc/gethostbydns.c,
396        libnetworking/libc/gethostbyht.c,
397        libnetworking/libc/gethostbynis.c,
398        libnetworking/libc/gethostnamadr.c,
399        libnetworking/libc/getnetbydns.c,
400        libnetworking/libc/getnetbynis.c,
401        libnetworking/libc/getnetnamadr.c,
402        libnetworking/libc/nsap_addr.c,
403        libnetworking/libc/res_debug.c,
404        libnetworking/libc/res_send.c: Add missing prototypes.
405
4062008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
407
408        * libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
409        * libmd/md4.c, libmd/md5.c: Add missing prototypes.
410        * libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
411        libmisc/shell/shell_script.c: Add missing prototypes.
412
4132008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
414
415        * libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
416
4172008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
418
419        * librpc/include/rpc/clnt.h: Cleanup.
420        * librpc/include/rpc/svc.h: Cleanup.
421
4222008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
423
424        * librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
425        librpc/src/xdr/xdr_sizeof.c, librpc/src/xdr/xdr_stdio.c:
426        Misc. ansifications. Add prototypes.
427
4282008-08-01      Joel Sherrill <joel.sherrill@OARcorp.com>
429
430        * rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
431
4322008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
433
434        * librpc/src/rpc/getrpcport.c: Misc. ansifications.
435        * librpc/src/rpc/getrpcent.c: Remove stray local decls.
436        Misc. ansifications.
437        * librpc/src/rpc/clnt_perror.c: Misc. ansifications.
438        * librpc/src/rpc/get_myaddress.c: Misc. ansifications.
439        * librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
440        * librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
441        * librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
442        * librpc/src/rpc/clnt_raw.c: Add missing prototypes.
443        * librpc/src/rpc/clnt_udp.c: Add missing prototypes.
444        * librpc/src/rpc/svc_auth.c: Add missing prototypes.
445        * librpc/src/rpc/svc_raw.c: Add missing prototypes.
446        * librpc/src/rpc/svc_tcp.c: Add missing prototypes.
447        * librpc/src/rpc/svc_udp.c: Add missing prototypes.
448
4492008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
450
451        * librpc/src/rpc/svc.c: Add missing prototypes.
452        * librpc/src/xdr/xdr_rec.c: Remove register vars.
453        * librpc/src/xdr/xdr_mem.c: Misc. ansifications.
454        * librpc/src/rpc/svc_tcp.c: Misc. ansifications.
455        * librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
456        * librpc/src/rpc/svc_raw.c: Misc. ansifications.
457        * librpc/src/xdr/xdr_rec.c: Misc. ansifications.
458        * librpc/src/rpc/svc_simple.c: Add missing prototypes.
459        * librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
460        * librpc/src/rpc/rpcdname.c: Add missing prototypes.
461        * librpc/src/rpc/rpc_prot.c: Misc. ansifications.
462        * librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
463        * librpc/src/rpc/clnt_simple.c: Misc. ansifications.
464        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
465        Add missing prototypes.
466        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
467        Misc. ansifications.
468
4692008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
470
471        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
472        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
473        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
474        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
475        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
476        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
477        Eliminate __P().
478
4792008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
480
481        * score/include/rtems/score/thread.h: Add missing prototype.
482        * score/inline/rtems/score/thread.inl: Add missing prototypes.
483        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
484        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
485        libnetworking/netinet/in_cksum_m68k.h,
486        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
487        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
488        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
489        * itron/include/itronsys/types.h: Add missing prototype.
490        * ftpd/ftpd.c: Fix broken prototype.
491        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
492        Add missing prototypes.
493
4942008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
495
496        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
497        is disabled but luckily it is not even needed to compile.
498
4992008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
500
501        * libmisc/shell/main_netstats.c: Add missing prototypes.
502        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
503        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
504
5052008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
506
507        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
508        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
509        httpd/wsIntrn.h: Add missing protoypes.
510
5112008-07-29      Tim Cussins <timcussins@eml.cc>
512
513        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
514        conditional.
515
5162008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
517
518        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
519        call.
520
5212008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
522
523        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
524
5252008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
526
527        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
528        libmisc/monitor/monitor.h: Add missing prototypes.
529        * score/inline/rtems/score/tod.inl: Add prototypes.
530        * score/src/coretodset.c: Remove stray args in function call.
531        * libcsupport/include/rtems/libcsupport.h,
532        libcsupport/include/rtems/libio_.h,
533        libcsupport/src/malloc_statistics_helpers.c,
534        libcsupport/src/scandir.c: Add prototypes.
535        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
536        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
537        posix/src/prwlockrdlock.c: Use C-style comments.
538
5392008-07-29      Chris Johns <chrisj@rtems.org>
540
541        * libblock/src/nvdisk.c: Fix block compile bug.
542
5432008-07-29      Chris Johns <chrisj@rtems.org>
544
545        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
546        Update the comments.
547
5482008-07-29      Chris Johns <chrisj@rtems.org>
549
550        * libblock/Makefile.am: Removed src/show_bdbuf.c.
551
552        * libblock/src/show_bdbuf.c: Removed.
553
554        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
555        Rewritten the bdbuf code. Remove pre-emption disable, score
556        access, fixed many bugs and increased performance.
557
558        * libblock/include/rtems/blkdev.h: Added
559        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
560        comments. Added block and user fields to the sg buffer
561        request. Move to rtems_* namespace.
562
563        * libblock/include/rtems/diskdevs.h,
564        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
565        capabilities field for drivers. Change rtems_disk_lookup to
566        rtems_disk_obtain to match the release call. You do not lookup and
567        release a disk, you obtain and release a disk.
568
569        * libblock/include/rtems/ide_part_table.h,
570        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
571        Move to rtems_* namespace.
572
573        * libblock/include/rtems/nvdisk.h: Formatting change.
574
575        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
576        rtems_disk_lookup to rtems_disk_obtain
577
578        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
579        support for the block number in the scatter/grather request
580        struct. This allows non-continuous buffer requests for those
581        drivers that can support increasing performance.
582
583        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
584        warnings. Added better error checking. Fixed some comments.
585
586        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
587        trace functions to help debugging upper layers. Use the new
588        support for the block number in the scatter/grather request
589        struct. This allows non-continuous buffer requests for those
590        drivers that can support increasing performance.
591
592        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
593        API. Removed temporary hack and changed
594        set_errno_and_return_minus_one to
595        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
596        header and stopped it being inlined. Updated to libblock changes.
597       
598        * libfs/src/dosfs/fat_fat_operations.c,
599        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
600        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
601        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
602        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
603        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
604        new chains API. Removed temporary hack and changed
605        set_errno_and_return_minus_one to
606        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
607
608        * libmisc/Makefile.am: Add new ls and rm command files.
609
610        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
611        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
612        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
613        libmisc/shell/vis.c, shell/vis.h: New.
614
615        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
616        libmisc/shell/utils-cp.c: Fixed the usage call bug.
617
618        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
619        command.
620
621        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
622        commands with more features.
623       
624        * score/src/coremutex.c: Fix the strict order mutex code.
625
626        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
627        and no ASR.
628       
629        * sapi/include/confdefs.h: Change ata_driver_task_priority to
630        rtems_ata_driver_task_priority. Add the new BD buf cache
631        parameters with defaults.
632
633        * score/src/interr.c: Do not return if the CPU halt call returns.
634       
6352008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
636
637        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
638        bsp_libc_init() into new bootcard.h.
639
640        * cpukit/include/rtems/irq-extension.h: New function
641        rtems_interrupt_handler_iterate() for system information and
642        diagnostics.
643
6442008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
645
646        * libmisc/shell/shell_script.c: Clean up code for command not found
647        including the error message.
648
6492008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
650
651        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
652        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
653        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
654        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
655        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
656        internal routine. This makes it possible to also print string names
657        of POSIX objects. Adjust task report to realign since we can have
658        longer names.
659
6602008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
661
662        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
663        body is now completely configured via the Configuration table.
664
6652008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
666
667        PR 1291/cpukit
668        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
669        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
670        posix/include/rtems/posix/semaphore.h,
671        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
672        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
673        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
674        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
675        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
676        posix/src/posixtimespecabsolutetimeout.c,
677        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
678        posix/src/semaphoretranslatereturncode.c,
679        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
680        posix/src/semtrywait.c, posix/src/semwait.c,
681        posix/src/sigtimedwait.c, posix/src/timersettime.c,
682        posix/src/ualarm.c, rtems/src/semobtain.c,
683        rtems/src/semtranslatereturncode.c,
684        score/include/rtems/score/coremutex.h,
685        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
686        patch addresses issues on implementation of the timeout on the
687        following POSIX services. Some of these services incorrectly took a
688        timeout as a relative time. Others would compute a 0 delta to timeout
689        if the absolute time and the current time were equal and thus
690        incorrectly block the caller forever. The root of the confusion is
691        that POSIX specifies that if the timeout is incorrect (e.g. in the
692        past, is now, or is numerically invalid), that it does not matter if
693        the call would succeed without blocking. This is in contrast to RTEMS
694        programming style where all errors are checked before any critical
695        sections are entered. This fix implemented a more uniform way of
696        handling POSIX absolute time timeouts.
697            + pthread_cond_timedwait - could block forever
698            + mq_timedreceive - used relative not absolute time
699            + mq_timedsend - used relative not absolute time
700            + pthread_mutex_timedlock - used relative not absolute time
701            + pthread_rwlock_timedrdlock- used relative not absolute time
702            + pthread_rwlock_timedwrlock- used relative not absolute time
703            + sem_timedwait - could block forever
704
7052008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
706
707        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
708        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
709        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
710        libmisc/shell/main_whoami.c: Add pthread command to monitor when
711        POSIX is enabled. Remove include of rtems/monitor.h from files not
712        related.
713
7142008-07-16      Till Straumann <strauman@slac.stanford.edu>
715
716        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
717        use ppc_interrupt_get_disable_mask() to determine
718        which bits to set/clear from _CPU_ISR_Set_level().
719
7202008-07-16      Till Straumann <strauman@slac.stanford.edu>
721
722        * score/cpu/powerpc/rtems/powerpc/registers.h:
723        added ppc_interrupt_get_disable_mask() inline function.
724
7252008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
726
727        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
728
7292008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
730
731        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
732        for rtems_shell_init(). This makes it possible to run the shell
733        forever or invoke it from a program as a subroutine, have a user
734        enter commands, and wait for it to exit.
735
7362008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
737
738        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
739        RTEMS version string.
740        * sapi/src/getversionstring.c: New file.
741
7422008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
743
744        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
745        cpukit/score/cpu/m68k/rtems/score/cpu.h,
746        score/cpu/m68k/rtems/score/m68k.h:
747
748        added support to save coldfire FPU/EMAC context
749
7502008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
751
752        * libi2c/libi2c.c, libi2c/libi2c.h:
753        make buffer passed to *write* functions a const pointer
754
755
7562008-07-10      Till Straumann <strauman@slac.stanford.edu>
757
758        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
759        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
760        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
761        Removed all macro definitions which depended on
762        the compiler defining a PPC CPU-model dependent
763        symbol.
764        Macros which were not used by cpukit have been
765        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
766       
7672008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
768
769        * include/rtems/status-checks.h: Fix style.
770
7712008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
772
773        * rtems/include/rtems/rtems/intr.h: Documentation.
774
775        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
776        Interrupt Manager (shared handler and handler with a handle).
777
778
7792008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
780
781        * cpukit/include/rtems/status-checks.h: Macros for status code and
782        return value checks.
783
784        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
785
786        * cpukit/libfs/src/dosfs/msdos_dir.c,
787        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
788        to file mode.
789
790        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
791        messages.  Driver operations table is now constant.  New entry in the
792        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
793        continuously transmitted in read only functions.
794
7952008-07-03      Chris Johns <chrisj@rtems.org>
796
797        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
798        interface that is supported.
799
800        * cpukit/libcsupport/Makefile.am,
801        cpukit/libcsupport/preinstall.am: Remove chain.h header
802        references.
803
804        * cpukit/sapi/include/rtems/chain.h,
805        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
806        interface.
807
808        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
809        include the new chains interface.
810
811        * cpukit/libfs/src/imfs/imfs.h,
812        cpukit/libfs/src/imfs/imfs_creat.c,
813        cpukit/libfs/src/imfs/imfs_debug.c,
814        cpukit/libfs/src/imfs/imfs_directory.c,
815        cpukit/libfs/src/imfs/imfs_fsunmount.c,
816        cpukit/libfs/src/imfs/imfs_getchild.c,
817        cpukit/libfs/src/imfs/imfs_load_tar.c,
818        cpukit/libfs/src/imfs/imfs_rmnod.c,
819        cpukit/libfs/src/imfs/memfile.c,
820        cpukit/libfs/src/nfsclient/src/nfs.c,
821        cpukit/libcsupport/include/rtems/libio.h,
822        cpukit/libcsupport/src/malloc_deferred.c,
823        cpukit/libcsupport/src/mount.c,
824        cpukit/libcsupport/src/privateenv.c,
825        cpukit/libcsupport/src/unmount.c: Change to the new chains
826        interface.
827
828        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
829
8302008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
831
832        * score/include/rtems/score/thread.h,
833        score/src/threaddispatch.c, score/src/threadinitialize.c:
834        Support rtems_ada_self iff __RTEMS_ADA__ is given.
835
8362008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
837
838        * libmisc/shell/shell_script.c: Remove unused function.
839
8402008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
841
842        * configure.ac: Add __RTEMS_ADA__.
843
8442008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
845
846        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
847        libnetworking/libc/getservbyname.c,
848        libnetworking/libc/getservbyport.c: Add initial versions of
849        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
850        point they are just simple weappers for the version without the _r in
851        the name.
852
8532008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
854
855        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
856        Review association tables in monitor.
857
8582008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
859
860        * configure.ac, rtems/src/semtranslatereturncode.c,
861        score/include/rtems/score/coremutex.h,
862        score/include/rtems/score/thread.h,
863        score/inline/rtems/score/coremutex.inl,
864        score/src/coremutex.c, score/src/coremutexsurrender.c,
865        score/src/threadinitialize.c:
866        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
867
8682008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
869
870        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
871        * libgnat/Makefile.am: Use LIBGNAT.
872        * wrapup/Makefile.am: Use LIBGNAT.
873
8742008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
875
876        * acinclude.m4: Add magic to update cpuopt.h.
877        * configure.ac: Remove magic to update cpuopt.h.
878
8792008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
880
881        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
882        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
883        Cleanup mal-formated RTEMS_CPUOPT's.
884
8852008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
886
887        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
888        AC_PREREQ(2.62).
889
8902008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
891
892        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
893        than a number.
894
8952008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
896
897        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
898        still reserved memory for the reentrancy structure. This is about 1K
899        per task. On psim, we now reserve only 1936 bytes and only 240 remain
900        after all allocations. Further analysis will be required to narrow
901        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
902        be defined and the structure named Configuration_Memory_Debug will be
903        instantiated. This structure contains many of the component values
904        that go into the memory reservation computation. This is helpful when
905        tracking down problems.
906
9072008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
908
909        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
910        was always adding heap overhead even when the number of objects
911        configured was zero and we would not do an allocation. This resulted
912        in an over estimation of the amount of Workspace required (~2K on
913        minimum.exe on PowerPC).
914
9152008-06-17      Chris Johns <chrisj@rtems.org>
916
917        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
918        remove warning.
919       
920        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
921        priority level for large memory Coldfires.
922
9232008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
924
925        * rtems/include/rtems/rtems/config.h,
926        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
927        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
928        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
929
9302008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
931
932        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
933        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
934        CONFIGURE_MAXIMUM_PRIORITY.
935
9362008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
937
938        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
939        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
940        sapi/include/confdefs.h, sapi/include/rtems/config.h,
941        score/inline/rtems/score/stack.inl, score/src/isr.c,
942        score/src/mpci.c, score/src/threadcreateidle.c,
943        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
944        ability for application to configure minimum stack size. Add
945        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
946        indicate they want the configured as opposed to the recommended
947        minimum stack size.
948
9492008-06-10      Chris Johns <chrisj@rtems.org>
950
951        * score/include/rtems/score/priority.h: Let the CPU define the
952        maximum and minimum priority levels to reduce the amount of memory
953        thread chains use.
954
9552008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
956
957        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
958        rtems/include/rtems/rtems/config.h,
959        rtems/include/rtems/rtems/dpmem.h,
960        rtems/include/rtems/rtems/eventset.h,
961        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
962        rtems/include/rtems/rtems/ratemon.h,
963        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
964        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
965        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
966        Classic API Doxygen.
967
9682008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
969
970        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
971        score/include/rtems/score/thread.h: Complete previous patch. Add
972        typedef for cpu usage statistics.
973
9742008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
975
976        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
977        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
978        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
979        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
980        score/src/threaddispatch.c, score/src/threadinitialize.c,
981        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
982        period timing statistics. Also renamed related variables and
983        structure members so they are the same whether you are using
984        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
985        granularity. This lays the groundwork for future cleanup.
986
9872008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
988
989        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
990        particular, there was a report from that Matthew Riek that memory was
991        being reserved twice for the IDLE task. This was covering up other
992        places that under allocated memory. Before I was done, I had reworked
993        the file to be easier to read, maintain and be more accurate.
994
9952008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
996
997        * score/include/rtems/score/isr.h, score/src/isr.c: Use
998        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
999        memory for vector table.
1000
10012008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1002
1003        * score/src/wkspace.c: Fix error in comment.
1004
10052008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1006
1007        * posix/src/psignal.c: Do not allocate any memory for queued signals if
1008        the configuration parameter is 0. Before we would end up with an
1009        allocation of 0 which rounded up and wasted some memory when POSIX
1010        was configured.
1011
10122008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1013
1014        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
1015        the target toolset uses init/fini sections.
1016
10172008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1018
1019        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
1020        has no functional data in the user extension data area structure so
1021        this disables the definition, allocation and deallocation of that
1022        structure. If we ever have to add data to it, then it will be easy to
1023        reenable.
1024
10252008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
1026
1027        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
1028        score/src/threadget.c: Make sure the pointer to the API object table
1029        is valid before derefencing it.
1030
10312008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
1032
1033        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
1034        calls for leading underscore on private RTEMS variables.
1035
10362008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1037
1038        * score/include/rtems/score/object.h,
1039        score/include/rtems/score/watchdog.h: Move #include's out of
1040        extern "C" {}.
1041
10422008-05-30      Till Straumann <strauman@slac.stanford.edu>
1043
1044        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
1045        release node if rtems_filesystem_evaluate_path() fails
1046        in nfs_eval_link() since pathloc contains no valid node.
1047
10482008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1049
1050        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
1051        while at prompt results in shell logging out and connection still
1052        being available.
1053
10542008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1055
1056        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
1057        fini() as part of exit(). This avoids atexit() being a required
1058        function.
1059
10602008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1061
1062        * libmisc/shell/shell.c: Minor change so dropping connection during
1063        login prompt results in connection still being available.
1064
1065
10662008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
1067
1068        * score/include/rtems/score/object.h,
1069        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
1070        and RTEMS_ID_NONE.  No object can have this ID.
1071
10722008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1073
1074        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
1075        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
1076        libcsupport/src/base_fs.c, libcsupport/src/error.c,
1077        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
1078        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
1079        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
1080        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
1081        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
1082        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
1083        libfs/src/imfs/imfs_handlers_device.c,
1084        libfs/src/imfs/imfs_handlers_directory.c,
1085        libfs/src/imfs/imfs_handlers_link.c,
1086        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
1087        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
1088        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
1089        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
1090        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
1091        sapi/include/confdefs.h, sapi/include/rtems/io.h,
1092        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
1093        Added const qualifier to various pointers and data tables to
1094        reduce size of data area.
1095        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
1096        DOSFS: Use LibBlock instead of read() to read the boot record.
1097       
10982008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1099
1100        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
1101
11022008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1103
1104        * libcsupport/src/printk.c:
1105        Bugfix: String output without width option.
1106
11072008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1108
1109        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
1110        Bugfix: Moved definition of ppp_softc into source file.
1111
11122008-05-23      Till Straumann <strauman@slac.stanford.edu>
1113
1114        * libnetworking/netinet/ip_output.c: when fragmenting
1115        multicast packets M_MCAST must be set on all fragments.
1116        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
1117        (see my email to rtems-users from 2008/5/15).
1118
11192008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1120
1121        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
1122        itron/src/exd_tsk.c, itron/src/task.c,
1123        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
1124        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
1125        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
1126        posix/src/testcancel.c, rtems/src/taskdelete.c,
1127        score/inline/rtems/score/object.inl, score/src/objectclose.c,
1128        score/src/threadclose.c: Make all task delete/exit/cancel routines
1129        follow the same critical section pattern. Also ensure that POSIX
1130        cancelation routines are run at thread exit.
1131
11322008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1133
1134        * libcsupport/src/termios_baud2index.c,
1135        libcsupport/src/termios_baud2num.c,
1136        libcsupport/src/termios_num2baud.c,
1137        libcsupport/src/termios_setinitialbaud.c: New files.
1138
11392008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1140
1141        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1142        libcsupport/include/rtems/termiostypes.h: Move termios helper
1143        routines from libchip to libcsupport. Add routine which makes it easy
1144        for a termios device driver to inform termios of its default baud
1145        rate. This avoids inconsistencies in later termios settings changes.
1146
11472008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1148
1149        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
1150
11512008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1152
1153        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
1154        interface for Watchdog Driver.
1155        * libcsupport/include/rtems/watchdogdrv.h: New file.
1156
11572008-05-16      Till Straumann <strauman@slac.stanford.edu>
1158
1159        * score/src/threadchangepriority.c: Just in case the transient
1160        state was set when we entered, ensure that it is still set when
1161        we exit.
1162        * score/src/threadclose.c: When a thread is being deleted, it should
1163        go into the dormant state -- not the transient state.
1164
11652008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1166
1167        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
1168        driver private data
1169
11702008-05-13      Eric Norum: <norume@aps.anl.gov>
1171
1172        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
1173        structure assignment.
1174
11752008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
1176
1177        * libi2c/libi2c.h: Fix typo.
1178
11792008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
1180
1181        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
1182        CPUKIT.
1183
11842008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1185
1186        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
1187        initialization routines to rtems_initialize_data_structures,
1188        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
1189        rtems_initialize_start_multitasking. This opened the sequence up so
1190        that bootcard() could provide a more robust and flexible framework
1191        which is easier to explain and understand. This also lays the
1192        groundwork for sharing the division of available memory between the
1193        RTEMS workspace and heap and the C library initialization across all
1194        BSPs.
1195
11962008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1197
1198        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
1199        comments.
1200
12012008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1202
1203        * score/src/objectget.c: Improve comments and readability.
1204
12052008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1206
1207        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
1208        score/src/coresemseize.c, score/src/threadhandler.c: Comment
1209        improvements from class.
1210
12112008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1212
1213        PR 1285/rtems
1214        * sapi/include/rtems/config.h: Remove obsolete
1215        rtems_configuration_get_maximum_devices().
1216
12172008-05-01      Chris Johns <chrisj@rtems.org>
1218
1219        * libblock/include/rtems/nvdisk-sram.h,
1220        libblock/include/rtems/nvdisk.h,
1221        libblock/src/nvdisk-sram.c,
1222        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
1223        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
1224        the NV disk driver.
1225
12262008-05-01  Maarten Van Es <maarten@mind.be>
1227
1228        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
1229        interface for rtems_dhcp_failsafe.
1230        * libnetworking/rtems/rtems_dhcp.h: Added interface for
1231        rtems_dhcp_failsafe.
1232
12332008-05-01  Arnout Vandecappelle <arnout@mind.be>
1234
1235        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
1236        return on timeout in bootpc_call().  Removed panic()s.
1237        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
1238        SIOCAIFADDR ioctl call.
1239        * libnetworking/rtems/rtems_dhcp_failsafe.c,
1240        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
1241        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
1242        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
1243
12442008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
1245
1246        * rtems/include/rtems/rtems/timer.h: Fix typo.
1247
12482008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1249
1250        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
1251        rtems/include/rtems/rtems/status.h,
1252        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1253        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
1254
12552008-04-28      Daron Chabot <daron.chabot@usask.ca>
1256
1257        * posix/src/keycreate.c, posix/src/pthreadequal.c,
1258        rtems/src/semtranslatereturncode.c,
1259        score/src/threadblockingoperationcancel.c: Fix compilation errors
1260        when --enable-rtems-debug is used.
1261
12622008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1263
1264        * score/include/rtems/system.h: Fix typo in comment.
1265
12662008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1267
1268        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
1269        typos added with recent changes.
1270
12712008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1272
1273        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
1274        rtems_termios_reserve_resources. It is obsolete.
1275        * libcsupport/src/termiosreserveresources.c: Removed.
1276
12772008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1278
1279        * rtems/mainpage.h: New file.
1280
12812008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1282
1283        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
1284        rtems/include/rtems/rtems/attr.h,
1285        rtems/include/rtems/rtems/barrier.h,
1286        rtems/include/rtems/rtems/barriermp.h,
1287        rtems/include/rtems/rtems/cache.h,
1288        rtems/include/rtems/rtems/config.h,
1289        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1290        rtems/include/rtems/rtems/eventmp.h,
1291        rtems/include/rtems/rtems/eventset.h,
1292        rtems/include/rtems/rtems/intr.h,
1293        rtems/include/rtems/rtems/message.h,
1294        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1295        rtems/include/rtems/rtems/msgmp.h,
1296        rtems/include/rtems/rtems/options.h,
1297        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1298        rtems/include/rtems/rtems/ratemon.h,
1299        rtems/include/rtems/rtems/region.h,
1300        rtems/include/rtems/rtems/regionmp.h,
1301        rtems/include/rtems/rtems/rtemsapi.h,
1302        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1303        rtems/include/rtems/rtems/signal.h,
1304        rtems/include/rtems/rtems/signalmp.h,
1305        rtems/include/rtems/rtems/status.h,
1306        rtems/include/rtems/rtems/support.h,
1307        rtems/include/rtems/rtems/taskmp.h,
1308        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1309        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1310        rtems/inline/rtems/rtems/attr.inl,
1311        rtems/inline/rtems/rtems/barrier.inl,
1312        rtems/inline/rtems/rtems/dpmem.inl,
1313        rtems/inline/rtems/rtems/event.inl,
1314        rtems/inline/rtems/rtems/message.inl,
1315        rtems/inline/rtems/rtems/modes.inl,
1316        rtems/inline/rtems/rtems/options.inl,
1317        rtems/inline/rtems/rtems/part.inl,
1318        rtems/inline/rtems/rtems/ratemon.inl,
1319        rtems/inline/rtems/rtems/region.inl,
1320        rtems/inline/rtems/rtems/sem.inl,
1321        rtems/inline/rtems/rtems/status.inl,
1322        rtems/inline/rtems/rtems/support.inl,
1323        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
1324
13252008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1326
1327        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
1328        rtems/include/rtems/rtems/attr.h,
1329        rtems/include/rtems/rtems/barrier.h,
1330        rtems/include/rtems/rtems/barriermp.h,
1331        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
1332        rtems/include/rtems/rtems/config.h,
1333        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1334        rtems/include/rtems/rtems/eventmp.h,
1335        rtems/include/rtems/rtems/eventset.h,
1336        rtems/include/rtems/rtems/intr.h,
1337        rtems/include/rtems/rtems/message.h,
1338        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1339        rtems/include/rtems/rtems/msgmp.h,
1340        rtems/include/rtems/rtems/object.h,
1341        rtems/include/rtems/rtems/options.h,
1342        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1343        rtems/include/rtems/rtems/ratemon.h,
1344        rtems/include/rtems/rtems/region.h,
1345        rtems/include/rtems/rtems/regionmp.h,
1346        rtems/include/rtems/rtems/rtemsapi.h,
1347        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1348        rtems/include/rtems/rtems/signal.h,
1349        rtems/include/rtems/rtems/signalmp.h,
1350        rtems/include/rtems/rtems/status.h,
1351        rtems/include/rtems/rtems/support.h,
1352        rtems/include/rtems/rtems/taskmp.h,
1353        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1354        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1355        rtems/inline/rtems/rtems/attr.inl,
1356        rtems/inline/rtems/rtems/barrier.inl,
1357        rtems/inline/rtems/rtems/dpmem.inl,
1358        rtems/inline/rtems/rtems/event.inl,
1359        rtems/inline/rtems/rtems/eventset.inl,
1360        rtems/inline/rtems/rtems/message.inl,
1361        rtems/inline/rtems/rtems/modes.inl,
1362        rtems/inline/rtems/rtems/options.inl,
1363        rtems/inline/rtems/rtems/part.inl,
1364        rtems/inline/rtems/rtems/ratemon.inl,
1365        rtems/inline/rtems/rtems/region.inl,
1366        rtems/inline/rtems/rtems/sem.inl,
1367        rtems/inline/rtems/rtems/status.inl,
1368        rtems/inline/rtems/rtems/support.inl,
1369        rtems/inline/rtems/rtems/tasks.inl,
1370        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
1371        header files to Doxygen.
1372        * rtems/Doxyfile: New file.
1373
13742008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1375
1376        * posix/src/key.c: Include <limits.h>
1377        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
1378        a NULL extension block.
1379
13802008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1381
1382        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
1383        application configuration errors. If any POSIX objects or a POSIX
1384        init thread is configured without POSIX being configure, then error
1385        out. Similarly for ITRON. Add
1386        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
1387        parameter so the application has to explicitly configure the Clock
1388        driver in or out if the Timer driver is not configured. Also verify
1389        RTEMS was built for multiprocessing, if the user tries to configure a
1390        multiprocessing application.
1391
13922008-04-12      Chris Johns <chrisj@rtems.org>
1393
1394        * libmisc/shell/shell.c, libmisc/shell/shell.h,
1395        libmisc/shell/shell_script.c: Add support to echo the commands to
1396        stdout. This is useful with the -v script option to show commands
1397        as the run. Also added support to chdir to the directory the task
1398        invoking the script is in.
1399        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
1400        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
1401        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
1402        support.
1403
14042008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
1405
1406        * score/include/rtems/score/tod.h: Fix typo.
1407
14082008-04-08      Chris Johns <chrisj@rtems.org>
1409
1410        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
1411        into argv parts. Was using the command line history buffer so the
1412        history was being corrupted.
1413
14142008-04-03      Chris Johns <chrisj@rtems.org>
1415
1416        * libfs/src/nfsclient/src/librtemsNfs.h,
1417        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
1418        external to RTEMS and even if in the cpukit it should not cross
1419        reference in this way.
1420        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
1421        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
1422        in the shell area.
1423        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
1424        support.
1425
14262008-03-29      Chris Johns <chrisj@rtems.org>
1427
1428        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
1429        reported to the mailing list by Pierre Kestener
1430        (pierre.kestener@cea.fr).
1431
14322008-03-25      Till Straumann <strauman@slac.stanford.edu>
1433
1434        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
1435          coldfire.
1436
14372008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1438
1439        * libmisc/shell/cmds.c: Directly register the command structure to
1440        avoid unnecessary duplication of static strings. We know best this
1441        time.
1442
14432008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1444
1445        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
1446        for the ITRON initialization tasks ALL the time.
1447        Do not reserve memory for the object name table since it does not
1448        exist any longer.
1449        * sapi/include/rtems/sptables.h: Fix typo.
1450
14512008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1452
1453        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1454        rtems/src/clockget.c:
1455        * rtems/src/clockgetsecondssinceepoch.c,
1456        rtems/src/clockgettickspersecond.c,
1457        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
1458        rtems/src/clockgettodtimeval.c: New files.
1459        Refactored rtems_clock_get into 5 methods which are single purpose
1460        and more strongly typed.  They are:
1461            rtems_clock_get_tod - Get TOD in Classic API structure
1462            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1463            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1464            rtems_clock_get_ticks_since_boot - Get ticks since boot
1465            rtems_clock_get_ticks_per_second - Get ticks per second
1466
14672008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1468
1469        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1470        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1471        ensure it is zeroed out each time we use getopt_r().
1472        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1473        This makes the scripts behave more like UNIX scripts.
1474
14752008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1476
1477        * posix/Makefile.am: Make clock_settime() available always just like
1478        clock_gettime().
1479
14802008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1481
1482        * score/include/rtems/score/copyrt.h: Update year.
1483
14842008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1485
1486        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1487        by gcc newer than the 4.3 release series.
1488
14892008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1490
1491        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1492        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1493        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1494        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1495        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1496        libmisc/shell/shell.c, libmisc/shell/shell.h,
1497        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1498        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1499        capability to automatically execute a script from the filesystem. Add
1500        echo command from NetBSD and sleep command.
1501        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1502        libmisc/shell/shell_script.c: New files.
1503
15042008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1505
1506        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1507        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1508        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1509        score/src/threadclose.c, score/src/threadcreateidle.c,
1510        score/src/threadinitialize.c: Switch task create and delete
1511        operations to using API Allocator Mutex. This moves almost all uses
1512        of the RTEMS Workspace from dispatching disabled to mutex protected
1513        which should improve deterministic behavior. The implementation was
1514        carefully done to allow task create and delete extensions to invoke
1515        more services. In particular, a task delete extension should be able
1516        to do mutex and file operations.
1517
15182008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1519
1520        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1521        enabled.
1522
15232008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1524
1525        * libcsupport/src/chroot.c: Formatting.
1526
15272008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1528
1529        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1530        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1531        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1532        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1533        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1534        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1535        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1536        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1537        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1538        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1539        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1540        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1541        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1542        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1543        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1544        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1545        libmisc/shell/shell.h: Clean up done while writing documentation.
1546        Some command improvements such as date now allows setting of the
1547        current TOD. Often commands did not use stdout/stderr per
1548        expectations and did not return -1 on an error.
1549
15502008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1551
1552        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1553        the use of RPC/XDR could be an issue, the code does build multilib
1554        across all targets. There are a few remaining warnings to deal with.
1555        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1556        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1557        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1558        libfs/src/nfsclient/rfc1094.txt,
1559        libfs/src/nfsclient/proto/mount_prot.h,
1560        libfs/src/nfsclient/proto/mount_prot.x,
1561        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1562        libfs/src/nfsclient/proto/nfs_prot.h,
1563        libfs/src/nfsclient/proto/nfs_prot.x,
1564        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1565        libfs/src/nfsclient/src/cexphelp.c,
1566        libfs/src/nfsclient/src/dirutils.c,
1567        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1568        libfs/src/nfsclient/src/nfs.modini.c,
1569        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1570        libfs/src/nfsclient/src/rpcio.h,
1571        libfs/src/nfsclient/src/rpcio.modini.c,
1572        libfs/src/nfsclient/src/sock_mbuf.c,
1573        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1574
15752008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1576
1577        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1578        missing field to default multiprocessing configuration table. Also
1579        document fields in Doxygen format.
1580
15812008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1582
1583        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1584        warnings.
1585
15862008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1587
1588        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1589        command to access statistics reporting functions in TCP/IP stack.
1590        * libmisc/shell/main_netstats.c: New file.
1591
15922008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1593
1594        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1595        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1596        ifconfig commands. The code for these was previously in the
1597        networking guide. Disable NFS filesystem mount until that code is in
1598        cpukit.
1599        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1600
16012008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1602
1603        * posix/preinstall.am,  libcsupport/preinstall.am:
1604        Revert Joel's  2008-01-31 screw up.
1605
16062008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1607
1608        * posix/include/rtems/posix/timer.h: Add c++ guards.
1609        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1610        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1611        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1612        MC68230_ to avoid preprocessor clashes.
1613
16142008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1615
1616        * posix/src/mqueueunlink.c, score/Makefile.am,
1617        score/include/rtems/score/object.h,
1618        score/inline/rtems/score/object.inl: Enhance
1619        _Objects_Namespace_remove() to handle freeing object names which are
1620        strings. All changed _Objects_Close() to call
1621        _Objects_Namespace_remove(). The resulting code was then moved from
1622        inline routines to function calls.
1623        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1624
16252008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1626
1627        * libcsupport/src/printk.c: Added width and padding for %s.
1628        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1629        strings longer than 4 chanracters.
1630
16312008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1632
1633        PR 1277/networking
1634        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1635        constraint for assembly language. This restricts the register choice
1636        to the a-d registers.
1637
16382008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1639
1640        * libnetworking/kern/uipc_socket2.c,
1641        libnetworking/netinet/tcp_usrreq.c,
1642        libnetworking/netinet/udp_usrreq.c,
1643        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1644        Add configuration parameters for network stack efficiency multiplier
1645        and default socket buffer sizes. Change default multiplier from 8 to
1646        2 to match GNU/Linux. This has no impact on performance on the BSPs
1647        tested.
1648
16492008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1650
1651        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1652        workspace manipulation routines for testing.
1653        * rtems/src/workspace.c: New file.
1654
16552008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1656
1657        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1658        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1659        Object Id of SELF.
1660
16612008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1662
1663        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1664        Minor modifications to improve testability.
1665        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1666
16672008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1668
1669        * posix/src/pthreadinitthreads.c: Clean up error paths.
1670
16712008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1672
1673        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1674        changes which aid in coverage testing.
1675
16762008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1677
1678        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1679        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1680        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1681        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1682        whether named or unnamed to have a string name.  If the API does
1683        not directly support having a name, then the user must explicitly
1684        assign it using rtems_object_set_name().
1685        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1686        * score/include/rtems/score/object.h,
1687        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1688        score/src/objectsetname.c: Modifications required to pass testing of
1689        recently modified object name operations.  Also eliminated
1690        multiprocessing related code that was not reachable.
1691
16922008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1693
1694        * posix/src/timersettime.c: Fix to remove warning.
1695
16962008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1697
1698        * libcsupport/src/posix_memalign.c: Remove warning.
1699
17002008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1701
1702        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1703        rtems/include/rtems/rtems/object.h,
1704        rtems/src/rtemsobjectgetapiclassname.c,
1705        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1706        cannot be used as a parameter.
1707
17082008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1709
1710        * score/Makefile.am, score/include/rtems/score/threadq.h,
1711        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1712        was really too complex to be inlined.
1713        * score/src/threadqprocesstimeout.c: New file.
1714
17152008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1716
1717        * score/Doxyfile: Revert Doxygen version changes.
1718
17192008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1720
1721        * score/Doxyfile: Update to latest Doxygen format.
1722        * score/include/rtems/score/apimutex.h,
1723        score/include/rtems/score/corebarrier.h,
1724        score/include/rtems/score/coremutex.h,
1725        score/include/rtems/score/corerwlock.h,
1726        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1727        score/include/rtems/score/protectedheap.h,
1728        score/include/rtems/score/thread.h,
1729        score/include/rtems/score/threadsync.h,
1730        score/include/rtems/score/tod.h,
1731        score/inline/rtems/score/corerwlock.inl,
1732        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1733        warnings.
1734
17352008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1736
1737        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1738        available when API is disabled. Do not attempt to use them.
1739
17402008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1741
1742        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1743
17442008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1745
1746        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1747        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1748        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1749        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1750        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1751        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1752        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1753        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1754        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1755        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1756        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1757        rtems/src/timerserver.c, score/Makefile.am,
1758        score/include/rtems/score/object.h,
1759        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1760        score/src/objectgetnameasstring.c,
1761        score/src/threadqextractwithproxy.c: Add new Object Services
1762        collection. This changed the name of a few previously public but
1763        undocumented services and added a some new services.
1764        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1765        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1766        rtems/src/rtemsobjectapiminimumclass.c,
1767        rtems/src/rtemsobjectgetapiclassname.c,
1768        rtems/src/rtemsobjectgetapiname.c,
1769        rtems/src/rtemsobjectgetclassicname.c,
1770        rtems/src/rtemsobjectgetclassinfo.c,
1771        rtems/src/rtemsobjectidapimaximum.c,
1772        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1773        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1774        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1775        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1776        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1777        * rtems/src/rtemsidtoname.c: Removed.
1778
17792008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1780
1781        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1782        switch statements to if statements.
1783
17842008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1785
1786        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1787        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1788        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1789        as helper and as exposed nmemalign variant with few restrictions.
1790        Also turn on compilation of _Heap_Walk but make forced calls to it
1791        conditionally compiled. This should allow more flexibility to the
1792        user as to run-time checking of the heap.
1793        * libcsupport/src/rtems_memalign.c: New file.
1794
17952008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1796
1797        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1798        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1799        Multiprocessing compiles again and survives initialization. The
1800        recent object name and confdefs.h changes had broken it.
1801
18022008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1803
1804        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1805        score/include/rtems/score/interr.h,
1806        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1807        Modifications to aid in full path testing.
1808
18092008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1810
1811        * posix/src/mqueuesendsupp.c: Remove warning.
1812
18132008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1814
1815        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1816        in public API.
1817
18182008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1819
1820        * score/include/rtems/score/object.h,
1821        score/src/objectextendinformation.c,
1822        score/src/objectinitializeinformation.c,
1823        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1824        not used.
1825
18262008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1827
1828        * score/src/objectnametoidstring.c: New file.
1829
18302008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1831
1832        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1833        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1834        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1835        libmisc/stackchk/check.c, posix/src/condinit.c,
1836        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1837        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1838        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1839        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1840        posix/src/prwlockinit.c, posix/src/pspininit.c,
1841        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1842        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1843        posix/src/timercreate.c, rtems/src/barrierident.c,
1844        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1845        rtems/src/ratemonident.c, rtems/src/regionident.c,
1846        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1847        sapi/src/extensionident.c, score/Makefile.am,
1848        score/include/rtems/score/object.h,
1849        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1850        score/src/objectextendinformation.c,
1851        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1852        score/src/objectnametoid.c: Convert the Objects_Name type from a
1853        simple type to a union of an unsigned 32 bit integer and a pointer.
1854        This should help eliminate weird casts between u32 and pointers in
1855        various places. The APIs now have to explicitly call _u32 or _string
1856        versions of helper routines. This should also simplify things and
1857        eliminate the need for ugly casts in some cases.
1858        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1859        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1860        score/src/objectcopynamestring.c: Removed.
1861
18622008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1863
1864        * score/src/threadblockingoperationcancel.c: Clean up.
1865        * score/src/threadqextract.c: Restructure to eliminate dead code.
1866
18672008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1868
1869        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1870        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1871        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1872        testing and clean up more code.
1873
18742008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1875
1876        * score/src/threadqfirst.c: Remove switch.
1877
18782008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1879
1880        * rtems/include/rtems/rtems/event.h,
1881        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1882        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1883        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1884        score/include/rtems/score/interr.h,
1885        score/include/rtems/score/thread.h,
1886        score/include/rtems/score/threadq.h,
1887        score/include/rtems/score/tqdata.h,
1888        score/inline/rtems/score/threadq.inl,
1889        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1890        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1891        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1892        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1893        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1894        score/src/threadqextractpriority.c,
1895        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1896        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1897        score/src/threadqflush.c, score/src/threadqrequeue.c,
1898        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1899        blocking synchronization critical sections. This resulted in three
1900        copies of essentially the same hard to test critical section code
1901        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1902        addition, the thread queue and event code now share a common
1903        synchronization enumerated type. Along the way, switches were
1904        reworked to eliminate dead code generated by gcc and comments and
1905        copyrights were updated.
1906        * score/include/rtems/score/threadsync.h,
1907        score/src/threadblockingoperationcancel.c: New files.
1908
19092008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1910
1911        * libi2c/README_libi2c: Correct spelling error.
1912        * score/src/threadclearstate.c: Improve comment.
1913
19142008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1915
1916        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1917        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1918        posix/src/timergettime.c, posix/src/timersettime.c,
1919        score/include/rtems/score/timespec.h:
1920
19212008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1922
1923        * libmisc/shell/Makefile.am: Don't use make variables.
1924
19252008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1926
1927        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1928        existing one.
1929
19302008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1931
1932        * score/include/rtems/score/wkspace.h,
1933        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1934        inline _Workspace_Free or _Workspace_Allocate since they are not
1935        always inlined and actually smaller overall as subroutines. They are
1936        not particularly time critical so inlining is not absolutely
1937        necessary.
1938
19392008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1940
1941        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1942        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1943        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1944        Condition Variable object get helpers because they are more
1945        complicated than the norm. They can implicitly perform a create. They
1946        cross the line as being too complex and large to inline since they
1947        negatively impact size and binary test coverage.
1948        * posix/src/condget.c, posix/src/mutexget.c: New files.
1949
19502008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1951
1952        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1953        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1954        * libcsupport/src/malloc_p.h: Correct prototype.
1955
19562008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1957
1958        * score/include/rtems/score/coremutex.h,
1959        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1960        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1961
19622008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1963
1964        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1965
19662008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1967
1968        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1969        libcsupport/src/free.c, libcsupport/src/malloc.c,
1970        libcsupport/src/malloc_deferred.c,
1971        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1972        libcsupport/src/malloc_sbrk_helpers.c,
1973        libcsupport/src/posix_memalign.c: Place all deferred free code and
1974        place it in subroutines. Add plugin for dirtying allocated memory to
1975        assist in debugging. Clean up comments and spacing as needed.
1976        * libcsupport/src/malloc_dirtier.c: New file.
1977
19782008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1979
1980        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1981        when there is an error.
1982
19832008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1984
1985        * posix/src/keycreate.c, rtems/src/eventseize.c,
1986        score/include/rtems/score/interr.h: Rearranged source to allow more
1987        test coverage.
1988
19892008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1990
1991        * libcsupport/src/__assert.c: Clean up and make __assert() call
1992        __assert_func().
1993
19942008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1995
1996        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1997        need to have it also.
1998
19992008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
2000
2001        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
2002        * libcsupport/include/rtems/malloc.h,
2003        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
2004        libcsupport/src/malloc_p.h,
2005        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
2006        support pluggable and optional.  This eliminates the need for
2007        heap extend and sbrk in the minimum footprint which is ~2.5K on
2008        the SPARC.
2009        * sapi/include/confdefs.h: Add the following configuration points:
2010          + CONFIGURE_MALLOC_STATISTICS
2011          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
2012        * libcsupport/src/malloc_sbrk_helpers.c: New file.
2013
20142008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
2015
2016        * score/Makefile.am: Add missing file.
2017
20182008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2019
2020        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
2021
20222008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2023
2024        * libmisc/Makefile.am: Add new files.
2025        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
2026        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
2027        * libmisc/shell/shellconfig.h: Add wkspace command.
2028        * libmisc/shell/main_wkspaceinfo.c,
2029        libmisc/shell/print_heapinfo.c: New files.
2030
20312008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2032
2033        * score/inline/rtems/score/isr.inl: Fix spacing.
2034        * score/src/apimutexallocate.c: Fix spacing.
2035        * score/src/coremsgseize.c: Check for message pending instead of
2036        message pending count to avoid dead code from inlined chain routine.
2037        It checks if the chain is empty so is redundant to count == 0.
2038
20392008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2040
2041        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
2042        up.
2043
20442008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2045
2046        * posix/src/pthreadcreate.c: Add commit.
2047        * posix/src/pthreadinitthreads.c: Fix line length.
2048
20492008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2050
2051        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
2052
20532008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2054
2055        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
2056        coding it.
2057
20582008-01-05      Chris Johns <chrisj@rtems.org>
2059
2060        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
2061        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
2062        * libblock/include/rtems/flashdisk.h: Add docmentation about the
2063        control fields. Add more control fields to handle the flash when
2064        full.
2065        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
2066        detects a descriptor is erased. Add support for unavailable blocks
2067        the user can configure. Print the used list as a diag. Fix the bug
2068        when a page is detected as failed and present on more than one
2069        queue. Add a count to the queues so queue length can be used to
2070        manage compaction.
2071       
20722008-01-03      Till Straumann <strauman@slac.stanford.edu>
2073
2074        * score/src/threadhandler.c, sapi/src/exshutdown.c:
2075        cannot call _fini via atexit() from rtems_shutdown_executive()
2076        because at the point where rtems_shutdown_executive is called
2077        the C-library is already dead.
2078        Instead, register an atexit(_fini) after calling _init().
2079
20802007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2081
2082        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
2083        Hopefully this implementation is OK.
2084        * libcsupport/src/_rename_r.c: New file.
2085
20862007-12-22      Chris Johns <chrisj@rtems.org>
2087
2088        * configure.ac: fixed bug that always enabled strict order
2089        mutexes.
2090        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
2091        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
2092        list if the mutex is initialised locked.
2093        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
2094        message to show the error is an rtems-net error.
2095        * libmisc/monitor/mon-network.c: Removed warnings.
2096        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
2097        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
2098        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
2099        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
2100        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
2101        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
2102        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
2103        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
2104        libmisc/shell/warnx.c: New. Ported from BSD.
2105        * libmisc/shell/shellconfig.h: Add the cp command.
2106        * libmisc/Makefile.am: Add the new files to the shell.
2107        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
2108        support.
2109        * libblock/src/flashdisk.c: Fixed disk drive count size setting
2110        bug.
2111       
21122007-12-21      Xi Yang <hiyangxi@gmail.com>
2113
2114        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
2115        of priority inheritance on mutexes as well as enforce proper order of
2116        release.
2117
21182007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2119
2120        * configure.ac, score/include/rtems/score/coremutex.h,
2121        score/inline/rtems/score/coremutex.inl: Add the ability to disable
2122        inlining coremutex seize. This reduces the code size and also
2123        improves the process of coverage analysis.
2124        * score/src/coremutexseizeintr.c: New file.
2125
21262007-12-21      Xi Yang <hiyangxi@gmail.com>
2127
2128        * configure.ac, score/include/rtems/score/coremutex.h,
2129        score/include/rtems/score/thread.h,
2130        score/inline/rtems/score/coremutex.inl,
2131        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
2132        support for proper stacking of priority inheritance on mutexes as
2133        well as enforce proper order of release.
2134
21352007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2136
2137        PR 1268/cpukit
2138        * libcsupport/include/rtems/assoc.h: There is no
2139        rtems_assoc_ptr_by_value method.
2140
21412007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2142
2143        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
2144        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
2145
21462007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2147
2148        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
2149
21502007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2151
2152        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
2153
21542007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2155
2156        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
2157        rtems_task_self() directive.
2158        * rtems/src/taskself.c: New file.
2159
21602007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
2161
2162        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
2163        and resolved copyright information.
2164        * posix/src/kill_r.c: New file.
2165
21662007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
2167
2168        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
2169
21702007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2171
2172        * sapi/include/confdefs.h: Revert. Requires info not available at
2173        preprocessing time.
2174
21752007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2176
2177        * sapi/include/confdefs.h: Catch the error when the user lowers the
2178        maximum number of drivers below the number of statically configured
2179        ones.
2180
21812007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2182
2183        * sapi/src/extension.c, sapi/src/extensioncreate.c,
2184        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
2185        Manager clean up. Update object id switches to new pattern. Catch
2186        some NULL parameter errors.
2187
21882007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2189
2190        * posix/src/psignalunblockthread.c: Remove source that
2191
21922007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2193
2194        * posix/src/psignalchecksignal.c: Make assert active during debug mode
2195        only
2196
21972007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2198
2199        * posix/src/psignal.c: Move source around to enable path testing
2200
22012007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2202
2203        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
2204        libcsupport/src/free.c, libcsupport/src/malloc.c,
2205        libcsupport/src/malloc_p.h,
2206        libcsupport/src/malloc_report_statistics_plugin.c,
2207        libmisc/shell/shell.c, libmisc/shell/shell.h,
2208        score/src/objectinitializeinformation.c: Add posix_memalign. Split
2209        out management of deferred frees to subroutines.
2210        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
2211
22122007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2213
2214        * libcsupport/Makefile.am, libcsupport/preinstall.am,
2215        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
2216        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
2217        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
2218        one function per file. Also split out statistics into a separate file
2219        which can be plugged in dynamically. Right now, it is always in. I
2220        suspect that splitting the file removed more code than leaving
2221        statistics in. I tinkered with malloc information command in the
2222        shell. I resurrected the malloc arena code as malloc boundary. This
2223        code is now compiled all the time even though it does not appear to
2224        work.
2225        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
2226        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
2227        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
2228        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
2229        libcsupport/src/malloc_get_statistics.c,
2230        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
2231        libcsupport/src/malloc_report_statistics.c,
2232        libcsupport/src/malloc_report_statistics_plugin.c,
2233        libcsupport/src/malloc_statistics_helpers.c,
2234        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
2235        libmisc/shell/main_perioduse.c: New files.
2236
22372007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2238
2239        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
2240        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
2241        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
2242        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
2243        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
2244        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
2245        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
2246        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
2247        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
2248        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
2249        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
2250        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
2251        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
2252        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
2253        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
2254        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
2255        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
2256        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
2257        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
2258        rtems_Shell_ to rtems_shell_.
2259
22602007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2261
2262        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
2263        with info and dump as replacement for older command. Fix what looked
2264        like a typo for mount sub-commands.
2265        * libmisc/shell/main_mallocinfo.c: New file.
2266        * libmisc/shell/main_mallocdump.c: Removed.
2267
22682007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2269
2270        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
2271        malloc_info() routine.
2272        * libcsupport/src/mallocinfo.c: New file.
2273
22742007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2275
2276        * libmisc/stackchk/check.c: Add print of current stack pointer and
2277        stack info even if stack checker is not initialized.
2278
22792007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2280
2281        * libcsupport/src/printk.c: Style.
2282
22832007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2284
2285        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
2286        required in multiprocessing configuration.
2287
22882007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2289
2290        * score/src/objectget.c: Revert.
2291
22922007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2293
2294        * posix/src/timergettime.c: Include rtems/score/timespec.h
2295
22962007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2297
2298        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
2299        posix/include/mqueue.h, posix/include/sched.h,
2300        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
2301        posix/include/rtems/posix/priority.h,
2302        posix/include/rtems/posix/psignal.h,
2303        posix/include/rtems/posix/threadsup.h,
2304        posix/include/rtems/posix/timer.h,
2305        posix/inline/rtems/posix/priority.inl,
2306        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
2307        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
2308        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
2309        posix/src/cleanuppush.c, posix/src/cond.c,
2310        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
2311        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
2312        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
2313        posix/src/conddestroy.c, posix/src/condinit.c,
2314        posix/src/condsignal.c, posix/src/condsignalsupp.c,
2315        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
2316        posix/src/keycreate.c, posix/src/keydelete.c,
2317        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
2318        posix/src/keysetspecific.c, posix/src/mqueue.c,
2319        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2320        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2321        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
2322        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
2323        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
2324        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2325        posix/src/mqueueunlink.c, posix/src/mutex.c,
2326        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
2327        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2328        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2329        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2330        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2331        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2332        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2333        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2334        posix/src/psignal.c, posix/src/psignalchecksignal.c,
2335        posix/src/psignalclearprocesssignals.c,
2336        posix/src/psignalclearsignals.c,
2337        posix/src/psignalsetprocesssignals.c,
2338        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2339        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
2340        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
2341        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
2342        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
2343        posix/src/semclose.c, posix/src/semdestroy.c,
2344        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
2345        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
2346        posix/src/semwait.c, posix/src/setcancelstate.c,
2347        posix/src/setcanceltype.c, posix/src/sysconf.c,
2348        posix/src/testcancel.c: Add missing copyright statements.
2349
23502007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2351
2352        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2353
23542007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2355
2356        * posix/Makefile.am, posix/preinstall.am,
2357        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
2358        Timer implementation into multiple files. Add obvious error checks
2359        for NULL parameters. Attempt to reduce include files.
2360        * posix/src/timercreate.c, posix/src/timerdelete.c,
2361        posix/src/timergetoverrun.c, posix/src/timergettime.c,
2362        posix/src/timerinserthelper.c, posix/src/timersettime.c,
2363        posix/src/timertsr.c: New files.
2364        * posix/src/ptimer1.c: Removed.
2365
23662007-12-17      Chris Johns <chrisj@rtems.org>
2367
2368        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
2369        libmisc/shell/main_unmount.c: New.
2370        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
2371        blksync, msdosfmt, and unmount commands.
2372
23732007-12-17      Chris Johns <chrisj@rtems.org>
2374
2375        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
2376        system opts table.
2377        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
2378        system opts table.
2379        * libmisc/Makefile.am: Add the mount command and supporting files.
2380        * libmisc/preinstall.am: Rebuilt.
2381        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
2382        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2383        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2384        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2385        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2386        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2387        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2388        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2389        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2390        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2391        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2392        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2393        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2394        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2395        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
2396        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
2397        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
2398        libmisc/shell/write_file.c: Move all shell_* types, variables and
2399        functions to rtems_shell_* to avoid namespace clashes with
2400        applications. The is an RTEMS shell after all.
2401        * libmisc/shell/shell.h, libmisc/shell/internal.h,
2402        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
2403        functions to rtems_shell_* to avoid namespace clashes with
2404        applications. Add the mount command supporting types.
2405        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
2406        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
2407        libmisc/shell/main_mount_tftp.c: New.
2408       
24092007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2410
2411        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2412
24132007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2414
2415        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
2416        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
2417        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
2418        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2419        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2420        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2421        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2422        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2423        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2424        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2425        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2426        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2427        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2428        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2429        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2430        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2431        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
2432        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
2433        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
2434        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
2435        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
2436        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
2437        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
2438        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
2439        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
2440        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
2441        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
2442        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
2443        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
2444        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
2445
24462007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2447
2448        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
2449        API.
2450
24512007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2452
2453        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
2454        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
2455        Minor cleanup to improve testability and eliminate dead code.
2456
24572007-12-12      Chris Johns <chrisj@rtems.org>
2458
2459        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2460        Add RTEMS license details.
2461
24622007-12-12      Chris Johns <chrisj@rtems.org>
2463
2464        * Makefile.am, preinstall.am: Added
2465        libblock/include/rtems/flashdisk.h to the installed header list.
2466        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2467        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2468        New.
2469
24702007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2471
2472        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2473        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2474        score/Makefile.am, score/preinstall.am: Revert testing patch.
2475
24762007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2477
2478        * posix/src/sched_rr_get_interval.c: Fix warning.
2479
24802007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2481
2482        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2483        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2484        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2485        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2486        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2487        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2488        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2489        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2490        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2491        files into one function per file.
2492        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2493        posix/src/aio_read.c, posix/src/aio_return.c,
2494        posix/src/aio_suspend.c, posix/src/aio_write.c,
2495        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2496        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2497        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2498        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2499        posix/src/sched_yield.c: New files.
2500        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2501
25022007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2503
2504        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2505        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2506        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2507        posix/src/clocksettime.c, posix/src/devctl.c,
2508        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2509        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2510        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2511        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2512
25132007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2514
2515        * posix/src/adjtime.c: Clean up and verify against behavior documented
2516        in GNU/Linux man page provided with Fedora 7.
2517
25182007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2519
2520        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2521        automake variables.
2522
25232007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2524
2525        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2526        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2527        rtems/src/taskvariabledelete.c: Add test code for task variables to
2528        improve coverage.
2529        * rtems/src/taskvariable_invoke_dtor.c: New file.
2530
25312007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2532
2533        * posix/preinstall.am: Revert debug patch.
2534
25352007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2536
2537        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2538        BSP.
2539
25402007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2541
2542        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2543
25442007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2545
2546        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2547        disabled.
2548
25492007-12-12      Chris Johns <chrisj@rtems.org>
2550
2551        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2552        header list.
2553        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2554        in any order rather than before any commands have been added. Also
2555        made the command's strings be copies rather than references.
2556        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2557
25582007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2559
2560        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2561        Move Ada support code that is untestable from the Standard RTEMS Test
2562        Suite into its own directory. All code in score, posix, rtems, and
2563        sapi should be testable by the Standard RTEMS Test Suites. It was
2564        buried under POSIX before so this should be a clearer location
2565        anyway.
2566        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2567        libgnat/adasupp.c: New files.
2568        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2569
25702007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2571
2572        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2573        Reverse file contents.
2574
25752007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2576
2577        * sapi/include/rtems/config.h: Correct idle task prototype.
2578
25792007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2580
2581        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2582        libmisc/shell/internal.h, libmisc/shell/shell.c,
2583        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2584        processing now separated from main command loop. Addition of user
2585        commands and aliases tested. Monitor registration now explicit.
2586        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2587        libmisc/shell/write_file.c: New files.
2588
25892007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2590
2591        * libmisc/Makefile.am: Fix typo.
2592
25932007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2594
2595        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2596        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2597        into multiple files and add initial stages of command configuration.
2598        This seems to work but the monitor commands need to be integrated
2599        this way and the ability to configure user commands needs to be
2600        tested.
2601        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2602        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2603        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2604        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2605        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2606        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2607        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2608        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2609        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2610        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2611        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2612        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2613        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2614        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2615        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2616        libmisc/shell/str2int.c: New files.
2617
26182007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2619
2620        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2621
26222007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2623
2624        * sapi/include/rtems/config.h: Fix idle thread prototype.
2625
26262007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2627
2628        * sapi/include/confdefs.h: Separate the concept of configuring the
2629        interrupt stack size from actually reserving memory for it in the
2630        RTEMS Workspace.
2631
26322007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2633
2634        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2635        installed. It is the initialization interface for both GoAhead and
2636        Simple HTTPD.
2637
26382007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2639
2640        * sapi/include/rtems/config.h: Correct previous commit.
2641
26422007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2643
2644        * sapi/include/rtems/config.h: Commit temporary fix so
2645        interrupt_stack_size is accessible before RTEMS is initialized.
2646
26472007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2648
2649        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2650        sapi/include/rtems/init.h, sapi/src/exinit.c,
2651        score/include/rtems/system.h, score/src/isr.c: Move
2652        interrupt_stack_size field from CPU Table to Configuration Table.
2653        Eliminate CPU Table from all ports. Delete references to CPU Table in
2654        all forms.
2655
26562007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2657
2658        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2659        Table fields merged from CPU Table.
2660
26612007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2662
2663        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2664        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2665        posix/include/rtems/posix/mqueue.h,
2666        posix/include/rtems/posix/mutex.h,
2667        posix/include/rtems/posix/pthread.h,
2668        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2669        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2670        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2671        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2672        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2673        sapi/src/exinit.c, score/include/rtems/system.h,
2674        score/include/rtems/score/mpci.h, score/src/mpci.c,
2675        score/src/thread.c, score/src/threadcreateidle.c,
2676        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2677        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2678        the Configuration Table. This included pretasking_hook,
2679        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2680        extra_mpci_receive_server_stack, stack_allocate_hook, and
2681        stack_free_hook. As a side-effect of this effort some multiprocessing
2682        code was made conditional and some style clean up occurred.
2683
26842007-12-03      Chris Johns <chrisj@rtems.org>
2685
2686        * libmisc/shell/shell.h: Added comments for the parameters to the
2687        shell_init function.
2688        * libmisc/shell/shell.c: Only set cflags if tcflags is
2689        non-zero. This means the shell can use the current cflags settings
2690        and the application does not need to know the baudrate etc.
2691        * libmisc/capture/capture.h: Fix the comment.
2692
26932007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2694
2695        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2696        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2697        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2698        rtems/src/dpmemexternal2internal.c,
2699        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2700        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2701        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2702        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2703        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2704        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2705        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2706        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2707        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2708        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2709        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2710        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2711        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2712        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2713        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2714        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2715        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2716        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2717        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2718        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2719        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2720        rtems/src/timerserverfirewhen.c: Restructured all code with
2721        the switch (location) pattern so that OBJECTS_LOCAL is first
2722        and we can fall into it and the OBJECTS_ERROR case breaks
2723        to a return RTEMS_INVALID_ID.  This eliminates the return
2724        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2725        was unreachable and untestable code.  This resulted in a code
2726        savings of approximately 20 bytes per file on the SPARC/ERC32.
2727
27282007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2729
2730        * posix/Makefile.am: Restructed to move the
2731        OBJECTS_LOCAL case to the top of the switch statement and
2732        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2733        changes produced simplier assembly code and allowed for complete
2734        test coverage.  Also applied some consistency to the functions
2735        that translate the core status codes to POSIX status codes.
2736
27372007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2738
2739        * posix/include/rtems/posix/mutex.h,
2740        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2741        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2742        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2743        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2744        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2745        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2746        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2747        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2748        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2749        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2750        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2751        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2752        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2753        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2754        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2755        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2756        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2757        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2758        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2759        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2760        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2761        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2762        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2763        posix/src/semclose.c, posix/src/semdestroy.c,
2764        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2765        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2766        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2767        score/include/rtems/score/corebarrier.h,
2768        score/include/rtems/score/coremsg.h,
2769        score/include/rtems/score/coremutex.h,
2770        score/include/rtems/score/coresem.h: Restructed to move the
2771        OBJECTS_LOCAL case to the top of the switch statement and
2772        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2773        changes produced simplier assembly code and allowed for complete
2774        test coverage.  Also applied some consistency to the functions
2775        that translate the core status codes to POSIX status codes.
2776        * posix/src/mutextranslatereturncode.c,
2777        posix/src/semaphoretranslatereturncode.c: New files.
2778        * posix/src/mutexfromcorestatus.c: Removed.
2779
27802007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2781
2782        * posix/inline/rtems/posix/priority.inl: Fix typo.
2783
27842007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2785
2786        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2787        score/include/rtems/score/thread.h, score/src/object.c,
2788        score/src/thread.c: Conditionally compile out more code that is
2789        specific to multiprocessor configurations.
2790
27912007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2792
2793        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2794        posix/src/conddestroy.c, posix/src/condinit.c,
2795        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2796        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2797        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2798        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2799        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2800        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2801        posix/src/mutexattrgetprioceiling.c,
2802        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2803        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2804        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2805        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2806        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2807        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2808        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2809        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2810        posix/src/semclose.c, posix/src/semdestroy.c,
2811        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2812        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2813        Remove all pretense of POSIX MP support. The support in place was
2814        only a shell. This should make maintenance easier.
2815        * posix/include/rtems/posix/condmp.h,
2816        posix/include/rtems/posix/mqueuemp.h,
2817        posix/include/rtems/posix/mutexmp.h,
2818        posix/include/rtems/posix/pthreadmp.h,
2819        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2820        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2821
28222007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2823
2824        * configure.ac, score/inline/rtems/score/thread.inl,
2825        score/src/threaddispatch.c: Add ability for user to disable inlining
2826        of _Thread_Enable_dispatch. This can save code space but more
2827        importantly it means the binary generated does not have code inlined
2828        that is difficult to test and very seldom executed.
2829
28302007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2831
2832        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2833        rtems/include/rtems/rtems/barrier.h,
2834        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2835        score/src/corerwlockrelease.c: Fixed several implementation errors.
2836
28372007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2838
2839        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2840        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2841        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2842        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2843        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2844        case to the top of the switch statement, have a single exit with one
2845        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2846        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2847        code and allowed for complete test coverage.
2848
28492007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2850
2851        * sapi/include/confdefs.h,
2852        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2853        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2854
28552007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2856
2857        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2858
28592007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2860
2861        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2862        support Thumb.
2863
28642007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2865
2866        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2867        Now works on gen5200/icecube.
2868
28692007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2870
2871        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2872
28732007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2874
2875        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2876
28772007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2878
2879        * score/include/rtems/score/thread.h: Fix spelling error.
2880
28812007-11-17      Till Straumann <strauman@slac.stanford.edu>
2882
2883        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2884        Added checks so that use of 'stdio' is avoided (falling
2885        back to 'printk') before the system is up.
2886        Publish driver entry points so that the libi2c driver could
2887        be added to the applications 'device driver table'.
2888        This is not fully implemented yet, though, since in addition to
2889        initializing libi2c the low-level i2c bus drivers as well
2890        as high-level i2c device drivers need to be registered
2891        with the library.
2892        Updated README_libi2c accordingly.
2893
28942007-11-17      Till Straumann <strauman@slac.stanford.edu>
2895
2896        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2897        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2898        so that it knows what PHY they want to look at.
2899
29002007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2901
2902        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2903        in opposite files. Whoops!
2904
29052007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2906
2907        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2908        of the focus was on the beginning stages of making the login checker
2909        pluggable just like the shell.
2910
29112007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2912
2913        * posix/src/mprotect.c: Update comments.
2914
29152007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2916
2917        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2918        will require gcc 4.3 or newer.
2919        * posix/src/ada_intrsupp.c: New file.
2920
29212007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2922
2923        * sapi/src/exinit.c, score/Makefile.am,
2924        score/include/rtems/score/apimutex.h: API Mutex calls should never
2925        have been inlined. Inlining them lead to many inlined copies of core
2926        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2927        minimum.exe.
2928        * score/src/apimutex.c, score/src/apimutexallocate.c,
2929        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2930
29312007-11-07      Till Straumann <strauman@slac.stanford.edu>
2932
2933        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2934        around _CPU_ISR_Set_level().
2935
29362007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2937
2938        * score/inline/rtems/score/object.inl: During test coverage analysis,
2939        we identified this sanity check which should have been conditional on
2940        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2941        operations. With all APIs enabled, this saved 352 bytes from the
2942        minimum executable on the SPARC/ERC32.
2943
29442007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2945
2946        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2947        compiler conditional attribute for methods that do not return. This
2948        avoids gcc generating unreachable code following calls to
2949        _Internal_error_Occurred.
2950
29512007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2952
2953        * configure.ac: Add ARM/Thumb Makefile.
2954
29552007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2956
2957        PR 1266/cpukit
2958        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2959        of class for key indexing.
2960
29612007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2962
2963        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2964        Fix headers and formatting.
2965
29662007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2967
2968        Miscellaneous changes made after a review against the POSIX spec.
2969        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2970        passes a NULL in the attributes parameter, default attributes are used.
2971        * posix/src/prwlockdestroy.c: If there is at least one thread
2972        waiting, do not allow deletion.
2973        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2974        operation used to obtain a RWLock for writing.
2975        * posix/src/pspinlocktranslatereturncode.c,
2976        score/include/rtems/score/corespinlock.h,
2977        score/src/corespinlockrelease.c: If the current thread is not the
2978        holder of the lock, do not allow an unlock and return EPERM.
2979        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2980        for queueing with a timeout handler.
2981
29822007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2983
2984        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2985        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2986        stack so gdb backtrace does not print corrupted frame message after
2987        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2988        SPARC implementation and I made it more general.
2989
29902007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2991
2992        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2993        Cleaned up reports and fixed a bug related the printf format which
2994        resulted in lack of leading zeroes and misleading magnitude.
2995        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2996
29972007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2998
2999        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
3000        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
3001        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
3002        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
3003        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
3004        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
3005        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
3006        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
3007        posix/src/condinit.c, posix/src/condsignalsupp.c,
3008        posix/src/condwaitsupp.c, posix/src/keydelete.c,
3009        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
3010        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
3011        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
3012        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
3013        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
3014        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
3015        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
3016        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
3017        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
3018        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
3019        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
3020        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
3021        posix/src/pspindestroy.c, posix/src/pspinlock.c,
3022        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
3023        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
3024        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
3025        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
3026        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
3027        posix/src/semclose.c, posix/src/semdestroy.c,
3028        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
3029        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
3030        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
3031        rtems/src/dpmemexternal2internal.c,
3032        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
3033        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
3034        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
3035        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
3036        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
3037        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
3038        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
3039        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
3040        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
3041        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
3042        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
3043        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
3044        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
3045        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
3046        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
3047        rtems/src/signalsend.c, rtems/src/taskdelete.c,
3048        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
3049        rtems/src/taskrestart.c, rtems/src/taskresume.c,
3050        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
3051        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
3052        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
3053        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
3054        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
3055        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
3056        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
3057        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
3058        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
3059        score/src/mpci.c, score/src/objectgetnameasstring.c,
3060        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
3061        multiprocessing is disabled, do not even allow the constant
3062        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
3063        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
3064        in the generation of binary code which can NOT be reached.
3065
30662007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
3067
3068        * score/Makefile.am, score/include/rtems/score/thread.h,
3069        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
3070        resulted in unnessary code explosion, many uncovered paths when
3071        looking at binary executable coverage, and only optimized getting
3072        self. Id translations were still getting pushed to a subroutine call
3073        to _Objects_Get. Later the non-inlined version can be further
3074        optimized to get Ids in range for the current API, then self, then
3075        look at other APIs.
3076        * score/src/threadget.c: New file.
3077
30782007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3079
3080        * libi2c/README-libi2c
3081        document structure of libi2c library
3082
30832007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3084
3085        * libi2c/libi2c.c, libi2c/libi2c.h:
3086        extend API to support SPI devices
3087        made libi2c.h C++-proof
3088
30892007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
3090
3091        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
3092        also in another file.  Mistake after splitting.
3093        * libcsupport/Makefile.am: Reflect file removal.
3094
30952007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
3096
3097        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
3098        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
3099        Minor updates from FreeBSD.
3100
31012007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3102
3103        * score/include/rtems/score/copyrt.h: Update year.
3104
31052007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3106
3107        * score/include/rtems/score/copyrt.h: Update year.
3108
31092007-10-11      Daniel Hellstrom <daniel@gaisler.com>
3110
3111        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
3112        Fixed check of status when registering driver. Add use of strerror().
3113
31142007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
3115        Ralf Corsépius <ralf.corsepius@rtems.org>
3116
3117        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
3118        libnetworking/libc/if_indextoname.c,
3119        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
3120        * Makefile.am: Add files above.
3121        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
3122
31232007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
3124
3125        * libmisc/stackchk/check.c: Eliminate output with little information.
3126        Always print a blown message using the same routine. Now works with
3127        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
3128        support in your GCC version.
3129
31302007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
3131
3132        * libcsupport/src/gxx_wrappers.c: Revert.
3133
31342007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
3135
3136        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
3137        PRId32 to fix warning.
3138
31392007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
3140
3141        * telnetd/passwd.h: New file.
3142
31432007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
3144
3145        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
3146        telnetd/telnetd.h: telnetd rewrite.
3147        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
3148
31492007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3150
3151        PR 1262/filesystem
3152        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
3153        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
3154        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
3155        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
3156        writev() including documentation and test case.
3157        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
3158
31592007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3160
3161        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
3162        document what is required to provide a fully functional
3163        implementation.
3164        * libnetworking/rtems/rtems_socketpair.c: New file.
3165
31662007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
3167
3168        * aclocal/version.m4: Bump RTEMS_API to 4.9.
3169        Bump RTEMS_VERSION to 4.8.99.0.
3170
31712007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3172
3173        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
3174
31752007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3176
3177        * posix/src/semaphorecreatesupp.c: Fixed warning.
3178
31792007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3180
3181        * libmisc/dumpbuf/dumpbuf.c: Use printk.
3182
31832007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3184
3185        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
3186        Use uint32_t for ext_accm.
3187
31882007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3189
3190        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
3191        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
3192        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
3193        fixed-size types instead of BSD fixed-size types.
3194
31952007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
3196
3197        * libmisc/stackchk/check.c: Fix alignment of output.
3198
31992007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
3200
3201        * libmisc/monitor/monitor.h: Add network commands that were in the
3202        network supplement but not in the code.
3203        * libmisc/monitor/mon-network.c: New file.
3204
32052007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3206
3207        PR 1261/cpukit
3208        * posix/src/semaphorecreatesupp.c: Initialize all fields during
3209        semaphore creation.
3210
32112007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3212
3213        PR 1260/cpukit
3214        * posix/src/pthread.c: Get initial signals blocked from creating
3215        thread not from ourselves.
3216
32172007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3218
3219        * score/src/watchdogtickle.c: Remove tabs.
3220
32212007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3222
3223        PR 1259/rtems
3224        * rtems/src/taskcreate.c: Initialize is_global in all cases since
3225        memory is not guaranteed to be zero.
3226
32272007-09-12  Sergei Organov  <osv@javad.com>
3228
3229        PR 1258/rtems
3230        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
3231        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
3232        Use block_allocate() instead of _Heap_Block_allocate(). Replace
3233        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
3234        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
3235        to changed block split strategy in _Heap_Allocate_aligned().
3236
32372007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3238
3239        * libcsupport/src/printk.c: Remove unnecessary comments.
3240
32412007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3242
3243        * libmisc/monitor/mon-monitor.c:
3244        Corrected linked list of rtems_monitor_commands
3245
32462007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
3247
3248        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
3249        walk on init, malloc, and free. The ability to walk the heap appears
3250        to disappeared during the rework of the C Program heap to skip the
3251        Region.
3252
32532007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
3254
3255        * score/src/heap.c: Style.
3256        * score/src/heapwalk.c: Add more information to prints.
3257        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
3258        is disabled.
3259
32602007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3261
3262        * libcsupport/Makefile.am, libcsupport/src/printk.c:
3263        * libcsupport/src/printk_plugin.c: New file.
3264        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
3265        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
3266        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
3267        rtems/src/ratemonreportstatistics.c: Added capability to specify
3268        your own "printf" routine to various reporting functions.  This
3269        added an XXX_with_plugin as the underlying implementation for
3270          + rtems_rate_monotonic_report_statistics
3271          + rtems_stack_checker_report_usage
3272          + rtems_cpu_usage_report
3273        As demonstration, the http netdemo can now print out stack
3274        and cpu usage reports.
3275
32762007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3277
3278        * shttpd/compat_rtems.c: Style clean up.
3279
32802007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3281
3282        * rtems/src/ratemonperiod.c: Clean up.
3283        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
3284
32852007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3286
3287        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
3288
32892007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3290
3291        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
3292
32932007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3294
3295        * libmisc/Makefile.am: Add new files.
3296
32972007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3298
3299        * libmisc/monitor/mon-object.c,
3300        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
3301        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
3302        * libmisc/monitor/mon-task, libmisc/Makefile.am:
3303        Added functionality for osmonweb support
3304
33052007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3306
3307        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
3308        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
3309        that are needed by osmonweb.
3310
33112007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3312
3313        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
3314        Use printk.
3315
33162007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3317
3318        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
3319        spacing and spelling.
3320
33212007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3322
3323        PR 1256/networking
3324        * ftpd/ftpd.c: Fix unaligned access.
3325
33262007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3327
3328        * posix/Makefile.am: Always build nanosleep.
3329
33302007-08-17      Chris Johns <chrisj@rtems.org>
3331
3332        * libmisc/capture/README: Minor copyright change.
3333        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
3334        libmisc/capture/capture.h: Fixed the memory leak when lots of
3335        tasks are being created and deleted. Improved the trigger
3336        interface so all task type actions can be caught.
3337
33382007-08-13      Chris Johns <chrisj@rtems.org>
3339
3340        * score/include/rtems/score/object.h: Point the
3341        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
3342
33432007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
3344
3345        PR 1248/networking
3346        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
3347        reported that when no interfaces are successfully attached, the
3348        default route is broken and may result in a jump to an illegal
3349        address.
3350
33512007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3352
3353        * score/inline/rtems/score/priority.inl: Use size_t instead of
3354          uint32_t for array index.
3355
33562007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3357
3358        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
3359          identify coldfire cpus.
3360
33612007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3362
3363        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
3364          coldfire.
3365
33662007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3367
3368        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
3369          work-around bug m68k/coldfire -fomit-frame-pointer bug
3370          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
3371
33722007-07-27      Chris Johns <chrisj@rtems.org>
3373
3374        * wrapup/Makefile.am: Create archive from a file for hosts
3375        with a limited command line size.
3376
33772007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3378
3379        * include/rtems/bspIo.h, include/rtems/pci.h:
3380        Add extern "C" guards. Reported by
3381        Robert S. Grimes <rsg@alum.mit.edu>.
3382
33832007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3384
3385        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
3386        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
3387        the time appears to be reported correctly and add up to what is
3388        expected.
3389
33902007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3391
3392        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
3393        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
3394        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
3395
33962007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
3397
3398        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
3399        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
3400        was always using uptime not time since last cpu usage reset when
3401        using nanoseconds granularity.
3402        * libmisc/cpuuse/cpuusagedata.c: New file.
3403
34042007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
3405
3406        * libcsupport/src/mount.c: Allow null for output parameter.
3407
34082007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
3409
3410        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
3411        to shttpd initialization.
3412
34132007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3414
3415        * libcsupport/src/malloc.c: Clean up Malloc debug code.
3416        * score/include/rtems/score/heap.h: Spacing.
3417        * score/inline/rtems/score/thread.inl:
3418        * score/src/heapfree.c. Clean up and add explicit check of the address
3419        being freed actually being in the heap.
3420        * score/src/heapwalk.c: Switch to printk and do not call abort.
3421
34222007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3423
3424        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
3425        area contingent on the stack checker user extension having been
3426        initialized.
3427
34282007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3429
3430        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
3431        and recv(). We already had the BSD versions and these conflict
3432        sometimes when linking.
3433
34342007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3435
3436        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
3437        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
3438
34392007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3440
3441        * sapi/include/confdefs.h: Do not instantiate initialization
3442        thas/thread pointer tables for an API that is not configured.
3443
34442007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3445
3446        * libcsupport/Makefile.am:
3447        * libcsupport/src/open_dev_console.c: New file.
3448
34492007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3450
3451        * score/src/corerwlock.c: Make sure structure is fully initialized.
3452        When reused, some fields will not be zero like at initialization.
3453
34542007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3455
3456        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
3457        size. Account for this.
3458
34592007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3460
3461        * configure.ac: Add NDEBUG as a command line compilation option.
3462
34632007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3464
3465        * libmd/.cvsignore: New file.
3466
34672007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3468
3469        * shttpd/defs.h: Eliminate my_strncasecmp.
3470        * shttpd/string.c: Eliminate my_strncasecmp.
3471
34722007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3473
3474        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3475        * pppd/Makefile.am: Reflect moving out md*.
3476        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3477          libmd).
3478        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3479        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3480        * configure.ac, Makefile.am: Add libmd.
3481
34822007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3483
3484        * shttpd/defs.h: Eliminate my_strlcpy.
3485        * shttpd/string.c: Eliminate my_strlcpy.
3486
34872007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3488
3489        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3490        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3491        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3492          libmd.a.
3493
34942007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3495
3496        * wrapup/Makefile.am: Add libmd.a.
3497
34982007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3499
3500        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3501          Add pppd/libmd.a.
3502        * pppd/md4.c: Don't include pppd.h.
3503
35042007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3505
3506        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3507
35082007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3509
3510        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3511        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3512        Add config.h support.
3513
35142007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3515
3516        * shttpd/compat_rtems.h: Define closesocket.
3517
35182007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3519
3520        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3521
35222007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3523        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3524        Use size_t for stack sizes.
3525
35262007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3527
3528        * configure.ac, Makefile.am: Add shttpd.
3529        * shttpd/Makefile.am: New.
3530        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3531        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3532        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3533        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3534        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3535        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3536        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3537        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3538        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3539        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3540        Import from shttpd-1.37.tar.gz.
3541
35422007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3543
3544        * configure.ac: Remove "pad" from CPU_CONTEXT.
3545
35462007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3547
3548        * score/src/coremsg.c: Formatting.
3549
35502007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3551
3552        * score/include/rtems/score/copyrt.h: Update copyright notice.
3553
35542007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3555
3556        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3557        one function per file execpt io.c which contains required
3558        initialization methods.
3559        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3560        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3561        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3562        sapi/src/iowrite.c: New files.
3563
35642007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3565
3566        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3567        table into Workspace but now it is only done if the application needs
3568        extra slots for dynamic driver registration. Cleaned up
3569        rtems_io_register_driver and rtems_io_unregister_driver code and
3570        added numerous error cases to register.
3571
35722007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3573
3574        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3575        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3576        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3577        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3578        configuration parameter since it was used to configure a no longer
3579        used feature. Device names are now part of the filesystem not in a
3580        table. This also eliminated the variables _IO_Number_of_devices and
3581        _IO_Driver_name_table from RTEMS as well as the memory allocation
3582        used to populate _IO_Driver_name_table.
3583        * libmisc/monitor/mon-dname.c: Removed.
3584
35852007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3586
3587        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3588        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3589        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3590        unused Workspace. Round the workspace required size to an 8 byte
3591        boundary instead of a 0x400 byte one. We may end up needing to add 8
3592        bytes again to account for the alignment rounding.
3593
35942007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3595
3596        Yu Chen <chyyuu@gmail.com>
3597        * score/src/corespinlockwait.c: Per question posted as
3598        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3599        logical operator to <=.
3600
36012007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3602
3603        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3604        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3605        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3606        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3607        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3608        executive initialization.
3609
36102007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3611
3612        * score/src/corerwlockrelease.c: Do not dereference NULL.
3613
36142007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3615
3616        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3617        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3618        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3619        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3620        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3621        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3622        sapi/include/rtems/extension.h: Split Classic API data instantiation
3623        into individual files. This reduces the size of the BSS section when
3624        an optional manager stub is used. Some tests showed about a 600 byte
3625        reduction in BSS size.
3626        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3627        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3628        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3629        used in one place after initialized. It was a waste of space.
3630        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3631        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3632        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3633        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3634        sapi/src/extensiondata.c: New files.
3635
36362007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3637
3638        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3639        functionality into multiple files to eliminate unnecessary cohesion.
3640        Update README.
3641        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3642        New files.
3643        * libmisc/cpuuse/cpuuse.c: Removed.
3644
36452007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3646
3647        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3648        negative value in some circumstances. Also cleaned up to share uptime
3649        declaration.
3650
36512007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3652
3653        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3654        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3655        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3656        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3657        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3658        score/Makefile.am, score/include/rtems/score/thread.h,
3659        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3660        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3661        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3662        monotonic period statistics and CPU usage statistics. This capability
3663        is enabled by default although may be conditionally disabled by the
3664        user. It could be too much overhead on small targets but it does not
3665        appear to be bad in early testing. Its impact on code size has not
3666        been evaluated either. It is possible that both forms of statistics
3667        gathering could be disabled with further tweaking of the conditional
3668        compilation.
3669        * score/src/timespecdividebyinteger.c: New file.
3670
36712007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3672
3673        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3674        functionally similar code here. Also cleanup print formats.
3675
36762007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3677
3678        * score/src/objectgetnameasstring.c: Internal threads use string names
3679        so in the current RTEMS source string object name can NOT be
3680        disabled. It is probably worth considering converting the internal
3681        threads to uint32_t style names so all the support for string names
3682        can be conditionally disabled.
3683
36842007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3685
3686        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3687        and greater than operations for timespecs.
3688        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3689        New files.
3690
36912007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3692
3693        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3694        RTEMS_POSIX_API.
3695
36962007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3697
3698        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3699        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3700        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3701        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3702        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3703        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3704        score/Makefile.am, score/include/rtems/score/object.h,
3705        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3706        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3707        Added the following directives: rtems_rate_monotonic_get_statistics,
3708        rtems_rate_monotonic_reset_statistics,
3709        rtems_rate_monotonic_reset_all_statistics,
3710        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3711        Obsoleted the rtems/rtmonuse.h file as a public interface.
3712        * rtems/src/ratemongetstatistics.c,
3713        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3714        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3715        score/src/objectgetnameasstring.c: New files.
3716        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3717
37182007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3719
3720        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3721        rtems_io_register_name for use on unix.
3722        * libcsupport/src/unixlibc_io.c: New file.
3723
37242007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3725
3726        * score/src/coremsgseize.c: A blocking sender's message size was
3727        pulled out of the wrong field in the Wait information structure.
3728        * score/src/objectallocate.c: With the new optional manager support,
3729        we only stub out the initialization. This makes it possible to attempt
3730        to create an object with the information structure only initialized
3731        with all zeros.  This ensures we return an error cleanly in this case.
3732
37332007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3734
3735        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3736        an optional manager, we cannot depend on it do initialize the
3737        internal Allocator Mutex.  This was always a questionable place to
3738        do it, so this is a cleanup.
3739
37402007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3741
3742        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3743        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3744        suitable for inclusion in the Users Guide.
3745
37462007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3747
3748        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3749        ChangeLog-pre2007.
3750        * ChangeLog-pre2007: New file.
3751
37522007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3753
3754        PR 1241/rtems
3755        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3756        critical section window added with requeueing support.
3757
37582007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3759
3760        * libcsupport/include/rtems/cdefs.h,
3761          libcsupport/include/sys/cdefs.h: Remove.
3762        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3763        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3764        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3765        libnetworking/netdb.h, libnetworking/resolv.h,
3766        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3767        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3768        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3769        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3770        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3771        libnetworking/rtems/rtems_bsdnet_internal.h,
3772        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3773        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3774        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3775        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3776        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3777        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3778        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3779        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3780        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3781        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3782        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3783
37842007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3785
3786        * Makefile.am: Reflect introduction of
3787          include/rtems/bsd/sys/cdefs.h.
3788        * include/rtems/bsd/sys/cdefs.h: New.
3789
37902007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3791
3792        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3793        * libnetworking/sys/queue.h: Remove.
3794
37952007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3796
3797        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3798        <machine/endian.h>.
3799        * libnetworking/rtems/rtems_showroute.c,
3800        libnetworking/rtems/rtems_showipstat.c,
3801        libnetworking/rtems/rtems_showtcpstat.c,
3802        libnetworking/rtems/rtems_showicmpstat.c,
3803        libnetworking/rtems/rtems_showmbuf.c,
3804        libnetworking/rtems/rtems_showudpstat.c,
3805        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3806        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3807        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3808        libnetworking/netinet/tcp_usrreq.c,
3809        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3810        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3811        libnetworking/netinet/ip_output.c,
3812        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3813        libnetworking/netinet/udp_usrreq.c,
3814        libnetworking/netinet/tcp_output.c,
3815        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3816        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3817        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3818        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3819        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3820        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3821        instead of <sys/queue.h>.
3822        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3823        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3824        libnetworking/net/if.h, libnetworking/net/if_media.h,
3825        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3826        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3827        instead of <sys/queue.h>.
3828        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3829        * include/rtems/bsd/sys/queue.h: New (Copied from
3830          libnetworking/sys/queue.h).
3831
38322007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3833
3834        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3835        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3836        score/Makefile.am, score/preinstall.am,
3837        score/include/rtems/score/userext.h, score/src/chain.c,
3838        score/src/userext.c: Switch to newlib reentrancy extension being
3839        installed in the initial set instead of using rtems_extension_create.
3840        While implementing this, noticed that user extensions and chain code
3841        had multiple functions in a single file which is not desirable in the
3842        SuperCore and API portions of RTEMS, so split these into multiple
3843        files with one function per file. Also noticed that some of user
3844        extension code was inlined for no particular reason so moved that to
3845        C bodies.  Split executive shutdown from initialization since not
3846        every application shuts down.  Moved __fini call to executive shutdown
3847        to be more symmetrical with where it is called at startup.
3848        * sapi/src/exshutdown.c, score/src/chainappend.c,
3849        score/src/chainextract.c, score/src/chainget.c,
3850        score/src/chaininsert.c, score/src/userextaddapiset.c,
3851        score/src/userextaddset.c, score/src/userextremoveset.c,
3852        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3853        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3854        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3855        files.
3856        * score/inline/rtems/score/userext.inl: Removed.
3857
38582007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3859
3860        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3861        reference _Configuration_MP_table if multiprocessing is disabled.
3862
38632007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3864
3865        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3866        reference _Configuration_MP_table if multiprocessing is disabled.
3867
38682007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3869
3870        * libnetworking/machine/endian.h: Remove.
3871        * libnetworking/Makefile.am: Remove machine/endian.h.
3872        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3873        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3874        <rtems/endian.h> instead of <machine/endian.h>.
3875        * Makefile.am: Add include/rtems/endian.h.
3876        * include/rtems/endian.h: New (Copied from
3877          libnetworking/machine/endian.h).
3878
38792007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3880
3881        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3882        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3883        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3884        of <stdint.h>.
3885        * libnetworking/machine/endian.h: Remove
3886          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3887        * NEWS: new.
3888
38892007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3890
3891        PR 1243
3892        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3893
38942007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3895
3896        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3897        to inline functions, using uint[16,32]_t.
3898        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3899        with SUSv3.
3900        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3901        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3902        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3903        Add HAVE_CONFIG_H magic.
3904        * libnetworking/libc/gethostbydns.c,
3905        libnetworking/libc/inet_net_ntop.c,
3906        libnetworking/libc/inet_pton.c: Eliminate __P.
3907        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3908        return value of ntohl (POSIX requirement).
3909        Use UINT32_C macros to avoid overflows on 16bit targets.
3910        Eliminate __P.
3911        * configure.ac: Check for working PRIxPTR.
3912
39132007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3914
3915        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3916        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3917        Use size_t for stack sizes.
3918
39192007-05-03      Joel Sherrill <joel@OARcorp.com>
3920
3921        * ChangeLog, libcsupport/src/malloc.c,
3922        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3923        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3924        Region Manager is quite heavy for implementing this. This patch
3925        implements the C Program Heap directly in terms of the new Protected
3926        Heap handler. This handler is a direct use of a SuperCore Heap in
3927        conjunction with the Allocator Mutex used internally by RTEMS. This
3928        saves 3184 bytes on most SPARC test executables.
3929        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3930        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3931        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3932        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3933        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3934        score/src/pheapwalk.c: New files.
3935
39362007-05-03      Joel Sherrill <joel@OARcorp.com>
3937
3938        * libcsupport/src/rmdir.c: Fixed spacing.
3939        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3940        newlibc.c. It is not required for minimum executing and drops 624
3941        from SPARC minimum executable.
3942        * libcsupport/src/newlibc_exit.c: New file.
3943
39442007-04-17      Joel Sherrill <joel@OARcorp.com>
3945
3946        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3947        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3948        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3949        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3950        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3951        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3952        reduce executable size. Most were refactoring of files. Split ITRON
3953        API files. Implemented mechanism to avoid initialization task/thread
3954        loop being linked in when that style of task initialization was not
3955        being used.
3956        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3957        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3958        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3959        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3960        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3961        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3962        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3963        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3964        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3965        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3966        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3967        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3968        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3969        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3970        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3971        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3972        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3973        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3974        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3975        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3976        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3977
39782007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3979
3980        * score/include/rtems/score/thread.h:
3981          Use Context_Control_fp* instead of void* for fp_contexts.
3982
39832007-04-16      Joel Sherrill <joel@OARcorp.com>
3984
3985        PR 1240/filesystem
3986        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3987        for filename was not being freed.
3988
39892007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3990
3991        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3992
39932007-04-16      Joel Sherrill <joel@OARcorp.com>
3994
3995        * itron/src/rsm_tsk.c: Correct error returned.
3996
39972007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3998
3999        * configure.ac: Redefine LIBPOSIX to !UNIX.
4000        * posix/src/usleep.c, libcsupport/src/readlink.c:
4001        Update API to SUSv3.
4002
40032007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4004
4005        * posix/Makefile.am: Unconditionally build src/sleep.c,
4006          src/usleep.c.
4007        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
4008          CLOCK_MONOTONIC case.
4009        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
4010
40112007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4012
4013        * posix/Makefile.am: Cosmetics.
4014        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
4015        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
4016
40172007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4018
4019        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
4020          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
4021        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
4022          rtems/posix/time.h.
4023        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
4024          rtems/posix/time.h.
4025        * score/include/rtems/score/object.h: Use size_t for byte sizes.
4026
40272007-04-12      Joel Sherrill <joel@OARcorp.com>
4028
4029        * itron/src/rsm_tsk.c: Correct error returned.
4030
40312007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4032
4033        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
4034
40352007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
4036
4037        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
4038        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
4039        _impure_ptr bug).
4040        Fix abuse of _REENT_INIT().
4041
40422007-04-05      Joel Sherrill <joel@OARcorp.com>
4043
4044        * itron/src/itrontime.c: Fix typo.
4045        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
4046        * score/src/iterateoverthreads.c: Safely take NULL as argument.
4047        * score/src/threaddispatch.c: Formatting.
4048
40492007-04-05      Joel Sherrill <joel@OARcorp.com>
4050
4051        * posix/Makefile.am: Fix formatting.
4052
40532007-04-05      Joel Sherrill <joel@OARcorp.com>
4054
4055        * posix/Makefile.am, posix/include/rtems/posix/time.h,
4056        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
4057        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
4058        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
4059        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
4060        posix/src/pthread.c, posix/src/pthreadcreate.c,
4061        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
4062        posix/src/sched.c, posix/src/semtimedwait.c,
4063        posix/src/sigtimedwait.c, posix/src/ualarm.c,
4064        rtems/src/clocktodtoseconds.c, score/Makefile.am,
4065        score/preinstall.am, score/include/rtems/score/tod.h,
4066        score/inline/rtems/score/tod.inl, score/src/coretod.c,
4067        score/src/coretodget.c, score/src/coretodgetuptime.c,
4068        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
4069        manipulation routines in the SuperCore. Use them everywhere possible.
4070        This lead to significant cleanup in the API routines and eliminated
4071        some of the same code from the POSIX API. At this point, the
4072        SuperCore keeps time in POSIX timespec format properly from 1970. You
4073        just cannot set it before 1988 in keeping with RTEMS traditional
4074        behavior.
4075        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
4076        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
4077        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
4078        score/src/timespectoticks.c: New files.
4079        * posix/src/posixintervaltotimespec.c,
4080        posix/src/posixtimespecsubtract.c,
4081        posix/src/posixtimespectointerval.c: Removed.
4082
40832007-04-04      Joel Sherrill <joel@OARcorp.com>
4084
4085        * score/Makefile.am, score/include/rtems/score/tod.h,
4086        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
4087        non-inlined routine. It should only be used once so there is little
4088        advantage to inlining it.
4089        * score/src/coretodtickle.c: New file.
4090
40912007-04-02      Joel Sherrill <joel@OARcorp.com>
4092
4093        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
4094        dead code.
4095        * posix/src/time.c: Removed.
4096
40972007-04-02      Joel Sherrill <joel@OARcorp.com>
4098
4099        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
4100        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
4101        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
4102        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
4103        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
4104        TOD_Ticks_per_second variable.
4105
41062007-04-02      Joel Sherrill <joel@OARcorp.com>
4107
4108        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
4109        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
4110        posix/src/clockgettime.c, posix/src/clocksettime.c,
4111        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
4112        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
4113        posix/src/sleep.c, rtems/Makefile.am,
4114        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
4115        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
4116        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
4117        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
4118        score/Makefile.am, score/include/rtems/score/tod.h,
4119        score/inline/rtems/score/tod.inl, score/src/coretod.c,
4120        score/src/coretodset.c: Convert from Classic API style TOD_Control as
4121        fundamental time structure to POSIX struct timespec. Add
4122        clock_get_uptime().
4123        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
4124        score/src/coretodgetuptime.c: New files.
4125        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
4126        score/src/coretodvalidate.c: Removed.
4127
41282007-04-02      Joel Sherrill <joel@OARcorp.com>
4129
4130        * libcsupport/src/printk.c: Add %p support.
4131
41322007-04-02      Joel Sherrill <joel@OARcorp.com>
4133
4134        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
4135        in addition to the pattern area being overwritten. Also do some
4136        cleanup.
4137
41382007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
4139
4140        * include/rtems/pci.h: Further stdint.h fixed-size types.
4141
41422007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4143
4144        * include/rtems/pci.h: Use stdint.h fixed size-types.
4145
41462007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4147
4148        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
4149        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
4150        * libnetworking/Makefile.am: Move libc/res_config.h to
4151          libc_a_SOURCES (File is being used).
4152        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
4153        Remove (Unused).
4154        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
4155        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
4156        Remove (Unused).
4157        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
4158
41592007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4160
4161        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
4162        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
4163        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
4164        libnetworking/libc/gethostbynis.c,
4165        libnetworking/libc/gethostnamadr.c,
4166        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
4167        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
4168        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
4169        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
4170        libnetworking/libc/getservbyname.c,
4171        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
4172        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
4173        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
4174        libnetworking/libc/inet_net_ntop.c,
4175        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
4176        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
4177        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
4178        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
4179        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
4180        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
4181        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
4182        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
4183        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
4184        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
4185        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
4186        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
4187        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
4188        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
4189        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
4190        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
4191        SCCS, LINT. Add HAVE_CONFIG_H.
4192        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
4193
41942007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4195
4196        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
4197          uintptr_t.
4198
41992007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4200
4201        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
4202        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
4203
42042007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4205
4206        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
4207        * libnetworking/net/netisr.h: Partial update from FreeBSD.
4208        * libcsupport/src/getpwent.c: Remove bogus cast to long.
4209        * libnetworking/libc/strsep.c: Don't build if provided by libc.
4210        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
4211        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
4212        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
4213        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
4214        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
4215        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
4216        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
4217        (Abandoned in FreeBSD).
4218        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
4219        (Abandoned in FreeBSD).
4220        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
4221        (Abandoned in FreeBSD).
4222        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
4223        * libnetworking/netinet/ip_fw.c: Eliminate __P().
4224
42252007-03-28      Chris Johns <chrisj@rtems.org>
4226
4227        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
4228        score/include/rtems/score/watchdog.h: Add support for a handler to
4229        obtain the number of nanoseconds since the last clock tick. The
4230        primary interface for this is rtems_clock_set_nanoseconds_extension.
4231        Subsequent commits from Joel will redo the TOD support to use this
4232        capability.
4233        * rtems/src/clocksetnsecshandler.c: New file.
4234
42352007-03-28      Joel Sherrill <joel@OARcorp.com>
4236
4237        PR 1234/cpukit
4238        * libcsupport/Makefile.am: Provide printk() based implementation of
4239        __assert() to reduce dependencies in executables.
4240        * libcsupport/src/__assert.c: New file.
4241
42422007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4243
4244        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
4245        Use uintptr_t for "disrupt". Remove bogus (long) cast.
4246        * libnetworking/net/ppp-comp.h: Remove (Unused).
4247        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
4248        * libnetworking/sys/buf.h: Remove (Unused).
4249        * libnetworking/Makefile.am: Remove sys/buf.h.
4250        * libnetworking/kern/kern_sysctl.c,
4251        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
4252        <sys/buf.h>.
4253        *  libcsupport/include/sys/sockio.h: Partial update from
4254          FreeBSD.
4255
42562007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4257
4258        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
4259        * libnetworking/netinet/igmp.c: Eliminate __P().
4260        * libnetworking/netinet/in.c: Eliminate __P().
4261        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
4262        * libnetworking/netinet/in_pcb.c: Eliminate __P().
4263        * libnetworking/netinet/ip_output.c: Eliminate __P().
4264
42652007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4266
4267        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
4268        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
4269        Change int args to intptr_t because they are casted to pointers.
4270        * libnetworking/netinet/tcp_usrreq.c,
4271        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
4272
42732007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4274
4275        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
4276        "long", because long is not guaranteed to be castable to char*.
4277        * libnetworking/netinet/ip_input.c: Eliminate __P().
4278        Change "int next" to "int32_t next" for 16bit targets.
4279        * libnetworking/netinet/tcp_input.c: Eliminate __P().
4280        * libnetworking/netinet/in_rmx.c: Eliminate __P().
4281        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
4282        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
4283        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
4284        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
4285        * libnetworking/kern/uipc_domain.c: Eliminate __P().
4286
42872007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4288
4289        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
4290        Remove (Abandoned in FreeBSD).
4291        * libnetworking/Makefile.am: Remove net/pppcompress.c,
4292        net/pppcompress.h.
4293        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
4294        net/pppcompress.h.
4295        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
4296        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
4297        net/pppcompress.h.
4298
42992007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4300
4301        * libnetworking/net/pppcompress.h: Eliminate __P().
4302        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
4303        * libnetworking/net/if_llc.h: Update from FreeBSD.
4304
43052007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4306
4307        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
4308          <net/ppp-comp.h>.
4309        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
4310        Warn about using it.
4311        * libnetworking/Makefile.am: Add net/ppp_comp.h.
4312        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
4313        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
4314          FreeBSD.
4315        * libnetworking/machine/in_cksum.h: Eliminate __P().
4316        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
4317        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
4318        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
4319        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
4320        Eliminate __P().
4321        * libcsupport/src/scandir.c: Eliminate __P().
4322        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
4323        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
4324        Eliminate __P().
4325        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
4326        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
4327        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
4328
43292007-03-26      Joel Sherrill <joel@OARcorp.com>
4330
4331        PR 1231/cpukit
4332        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
4333        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
4334        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
4335        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
4336        posix/src/mutexattrgetprioceiling.c,
4337        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
4338        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
4339        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
4340        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
4341        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
4342        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
4343        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
4344        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
4345        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
4346        posix/src/posixtimespecsubtract.c,
4347        posix/src/posixtimespectointerval.c,
4348        posix/src/psignalclearprocesssignals.c,
4349        posix/src/psignalclearsignals.c,
4350        posix/src/psignalsetprocesssignals.c,
4351        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
4352        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
4353        unneeded includes of assert.h
4354
43552007-03-26      Joel Sherrill <joel@OARcorp.com>
4356
4357        * libcsupport/include/rtems/assoc.h: Pick up the include file
4358        changes associated with the file splitting.
4359
43602007-03-26      Joel Sherrill <joel@OARcorp.com>
4361
4362        * libcsupport/Makefile.am: Pick up the Makefile changes associated
4363        with the file splitting.
4364
43652007-03-26      Joel Sherrill <joel@OARcorp.com>
4366
4367        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
4368        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
4369        this will not be deemed necessary to commit to the 4.7 branch.
4370        * libcsupport/src/assoclocalbyname.c,
4371        libcsupport/src/assoclocalbyremote.c,
4372        libcsupport/src/assoclocalbyremotebitfield.c,
4373        libcsupport/src/assocnamebylocal.c,
4374        libcsupport/src/assocnamebylocalbitfield.c,
4375        libcsupport/src/assocnamebyremote.c,
4376        libcsupport/src/assocnamebyremotebitfield.c,
4377        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
4378        libcsupport/src/assocptrbyremote.c,
4379        libcsupport/src/assocremotebylocal.c,
4380        libcsupport/src/assocremotebylocalbitfield.c,
4381        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
4382        libcsupport/src/write_r.c: New files.
4383
43842007-03-26      Joel Sherrill <joel@OARcorp.com>
4385
4386        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
4387        support and remove deadcode. Replace with comment explaining that
4388        behavior is compatible with GNU/Linux per Eric Norum.
4389
43902007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4391
4392        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
4393        Partial update from FreeBSD.
4394        * libnetworking/netinet/if_ether.h: Eliminate __P().
4395        * libnetworking/netinet/ip_var.h: Eliminate __P().
4396        * libnetworking/netinet/in.h: Eliminate __P().
4397        * libnetworking/netinet/tcp_var.h: Eliminate __P().
4398
43992007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4400
4401        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
4402        Remove __P();
4403        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
4404
44052007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4406
4407        * libnetworking/netinet/in_var.h: Remove __P().
4408        * libnetworking/netinet/in_systm.h: Remove __P().
4409        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
4410        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
4411        * libnetworking/netinet/if_ether.c: Remove __P().
4412        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
4413        More updates from FreeBSD.
4414        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
4415        libnetworking/net/route.h: Partial update from FreeBSD.
4416
44172007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
4418
4419        * libnetworking/Makefile.am: Remove nfs/krpc.h.
4420        * libnetworking/nfs/krpc.h: Remove (Unused).
4421        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
4422        * libnetworking/Makefile.am: Remove nfs/nfs.h.
4423        * libnetworking/nfs/nfs.h: Remove (Unused).
4424
44252007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4426
4427        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
4428          symbols.
4429        * libnetworking/sys/conf.h: Don't include machine/conf.h.
4430        Update copyright notice.
4431        Remove unused/non-implemented declarations.
4432        * libnetworking/Makefile.am: Remove machine/conf.h.
4433        * libnetworking/machine/conf.h: Remove.
4434
44352007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4436
4437        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
4438        Remove many non-supported/unused declarations.
4439
44402007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4441
4442        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
4443          crhold (Unused/non-implemented).
4444
44452007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4446
4447        * libnetworking/sys/ucred.h: Remove __P().
4448        * libnetworking/sys/callout.h: Remove __P().
4449        * libnetworking/sys/domain.h: Remove __P().
4450        * libnetworking/sys/socketvar.h: Remove __P().
4451        * libnetworking/sys/socket.h: Remove __P().
4452        * libnetworking/sys/select.h: Remove __P().
4453        * libnetworking/sys/kernel.h: Remove __P().
4454        * libnetworking/sys/protosw.h: Remove __P().
4455        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
4456        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
4457        swdevt, nswdev, nswap (Unused).
4458
44592007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4460
4461        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4462        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4463        instead of struct linesw (PR 1229)
4464        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4465        around clash with defines from rtems_bsdnet_internal.h.
4466        * score/src/heapwalk.c: include stdlib.h.
4467
44682007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4469
4470        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4471        Remove __P().
4472        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4473        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4474        Remove __P().
4475        * libcsupport/include/rtems/termiostypes.h,
4476        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4477        with rtems_termios_*.
4478        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4479        (Clash with termiostypes.h - PR 1229).
4480
44812007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4482
4483        * score/include/rtems/score/wkspace.h,
4484        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4485        Change _Workspace_Handler_initialization and
4486        _Workspace_Allocate_or_fatal_error to using size_t.
4487        * libnetworking/sys/rtprio.h: Remove (Unused).
4488        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4489
44902007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4491
4492        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4493        Remove __P().
4494
44952007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4496
4497        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4498          to fix warnings.
4499        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4500        * score/include/rtems/score/chain.h, score/src/chain.c:
4501        Change _Chain_Initialize to using size_t.
4502
45032007-03-12      Joel Sherrill <joel@OARcorp.com>
4504
4505        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4506        Dump_Buffer to rtems_print_buffer.
4507
45082007-03-12      Joel Sherrill <joel@OARcorp.com>
4509
4510        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4511        license URL and/or fix mistake in copyright notice. Both of these
4512        mistakes appear to be from code submitted after these changes were
4513        made previously.
4514
45152007-03-10      Joel Sherrill <joel@OARcorp.com>
4516
4517        PR 1226/cpukit
4518        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4519        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4520
45212007-03-08      Joel Sherrill <joel@OARcorp.com>
4522
4523        * libfs/src/imfs/imfs.h: Fix comment.
4524
45252007-03-08      Joel Sherrill <joel@OARcorp.com>
4526
4527        * libfs/src/imfs/imfs.h: Fix comment.
4528
45292007-03-08      Joel Sherrill <joel@OARcorp.com>
4530
4531        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4532        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4533
45342007-03-08      Joel Sherrill <joel@OARcorp.com>
4535
4536        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4537        Remove wrapper for message queue send and urgent and implement them
4538        directly. There was an unnecessary function call layer in addition to
4539        conditions in the shared routine. Directly coding both directives is
4540        simpler and should result in smaller code.
4541        * rtems/src/msgqsubmit.c: Removed.
4542
45432007-03-05      Joel Sherrill <joel@OARcorp.com>
4544
4545        PR 1222/cpukit
4546        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4547        score/include/rtems/score/threadq.h,
4548        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4549        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4550        score/src/threadclearstate.c, score/src/threadhandler.c,
4551        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4552        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4553        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4554        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4555        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4556        thread that is blocked on a priority based thread queue is changed,
4557        that its placement in the queue is reevaluated based upon the new
4558        priority. This enhancement includes modifications to the SuperCore as
4559        well as new test cases.
4560        * score/src/threadqrequeue.c: New file.
4561
45622007-03-05      Joel Sherrill <joel@OARcorp.com>
4563
4564        * sapi/src/exinit.c: Fix spacing.
4565
45662007-03-05      Joel Sherrill <joel@OARcorp.com>
4567
4568        PR 1221/cpukit
4569        * posix/src/pthreadequal.c: Fix critical section nesting.
4570
45712007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4572
4573        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4574          compiled files.
4575
45762007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4577
4578        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4579
45802007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4581
4582        * score/Makefile.am: Remove macros/README.
4583
45842007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4585
4586        * score/include/rtems/score/heap.h, score/src/heap.c,
4587        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4588        More size_t for heap-sizes.
4589        * score/include/rtems/score/heap.h, score/src/heap.c,
4590        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4591        heap-sizes.
4592        * libnetworking/resolv.h: Typo fixes. Remove __P().
4593
45942007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4595
4596        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4597        Use size_t for stack-sizes.
4598
45992007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4600
4601        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4602          functions.
4603        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4604        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4605
46062007-02-06      Till Straumann <strauman@slac.stanford.edu>
4607
4608        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4609        taskvar dtor to plug memory leak. Applied patch attached
4610        to PR#690.
4611
46122007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4613
4614        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4615        * posix/src/getpagesize.c: Removed.
4616        * posix/Makefile.am: Remove references to getpagesize.c.
4617        * libcsupport/Makefile.am: Add getpagesize.c.
4618
46192007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4620
4621        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4622        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4623          visible.
4624        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4625
46262007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4627
4628        * rtems/src/msgqsend.c: Use size_t for sizes.
4629        * rtems/src/msgqurgent.c: Use size_t for sizes.
4630        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4631        * rtems/src/msgmp.c: Use size_t for sizes.
4632        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4633        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4634        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4635        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4636
46372007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4638
4639        * itron/src/trcv_mbf.c: Use size_t for sizes.
4640        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4641        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4642        * libmisc/monitor/monitor.h: Use size_t for sizes.
4643        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4644        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4645        * rtems/src/msgqreceive.c: Use size_t for sizes.
4646        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4647        * score/src/coremsgseize.c: Use size_t for sizes.
4648
46492007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4650
4651        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4652        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4653        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4654        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4655        * score/src/coremsgsubmit.c: Use size_t for sizes.
4656
46572007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4658
4659        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4660
46612007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4662
4663        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4664
46652007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4666
4667        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4668        Remove isblank (supposed to be provided by libc).
4669
46702007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4671
4672        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4673
46742007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4675
4676        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4677         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4678        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4679        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4680        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4681
46822007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4683
4684        * score/include/rtems/system.h:
4685        #define __RTEMS_MINOR__ 7 (BZ 1206).
4686
46872007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4688
4689        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4690        export some internal variables to make them available in
4691        "show_bdbuf" monitor add-on
4692
46932007-01-16      Till Straumann <strauman@slac.stanford.edu>
4694
4695        * libnetworking/rtems/rtems_mii_ioctl.c,
4696        libnetworking/rtems/rtems_mii_ioctl.h,
4697        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4698        libi2c/libi2c.c, libi2c/libi2c.h:
4699        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4700
47012007-01-09      Joel Sherrill <joel@OARcorp.com>
4702
4703        * libcsupport/src/error.c: rtems_progname is no longer defined in
4704        the BSP startup since it never held a meaningful value.
4705
47062007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4707
4708        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4709        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.