source: rtems/cpukit/ChangeLog @ f3e460bb

4.104.114.95
Last change on this file since f3e460bb was f3e460bb, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/26/08 at 12:22:39

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

  • libmisc/fsmount/fsmount.c: Convert to using bool.
  • Property mode set to 100644
File size: 187.0 KB
Line 
12008-08-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2
3        * libmisc/fsmount/fsmount.c: Convert to using bool.
4
52008-08-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
6
7        * libbcsupport/src/printk_plugin.c: properly terminate va_list
8        processing with va_end
9
102008-08-26      Ralf Corsépius <ralf.corsepius@rtems.org>
11
12        * pppd/auth.c, pppd/ccp.c, pppd/chap.c, pppd/chat.c,
13        pppd/demand.c, pppd/fsm.c, pppd/ipcp.c, pppd/lcp.c,
14        pppd/magic.c, pppd/options.c, pppd/rtemsmain.c,
15        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
16        Stop using old-style function-definitions.
17
182008-08-25      Ralf Corsépius <ralf.corsepius@rtems.org>
19
20        * libblock/src/bdbuf.c, libblock/src/diskdevs.c,
21        libblock/src/ide_part_table.c, libblock/src/ramdisk.c:
22        s/rtems_boolean/bool/g.
23
242008-08-25      Ralf Corsépius <ralf.corsepius@rtems.org>
25
26        * libmd/md4.c, libmd/md5.c:
27        Stop using old-style function-definitions.
28        * libcsupport/src/closedir.c, libcsupport/src/getcwd.c,
29        libcsupport/src/mount.c, libcsupport/src/newlibc.c,
30        libcsupport/src/opendir.c, libcsupport/src/readdir.c,
31        libcsupport/src/scandir.c:
32        Stop using old-style function-definitions.
33
342008-08-25      Ralf Corsépius <ralf.corsepius@rtems.org>
35
36        * libcsupport/src/malloc_boundary.c: Use %zi to print size_t.
37        * libmisc/capture/capture.c, libmisc/shell/fts.c:
38        Stop using old-style function-definitions.
39
402008-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
41
42        * libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h,
43        libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c,
44        libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
45
462008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
47
48        * libmisc/monitor/mon-network.c: Use memset instead of bzero.
49
502008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
51
52        * libmisc/shell/internal.h: Don't include "config.h".
53        Adjust header guard.
54        * libmisc/shell/cmp-ls.c, libmisc/shell/err.c,
55        libmisc/shell/errx.c, libmisc/shell/filemode.c,
56        libmisc/shell/fts.c, libmisc/shell/main_cp.c,
57        libmisc/shell/main_ls.c, libmisc/shell/main_mv.c,
58        libmisc/shell/main_rm.c, libmisc/shell/print-ls.c,
59        libmisc/shell/pwcache.c, libmisc/shell/shellconfig.c,
60        libmisc/shell/utils-cp.c, libmisc/shell/utils-ls.c,
61        libmisc/shell/verr.c, libmisc/shell/verrx.c,
62        libmisc/shell/vis.c, libmisc/shell/vwarn.c,
63        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
64        libmisc/shell/warnx.c: Include "config.h".
65
662008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
67
68        * libmisc/monitor/mon-network.c, libmisc/monitor/mon-part.c,
69        libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c:
70        Include "config.h".
71
722008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
73
74        * libmisc/shell/main_ifconfig.c: Use memset instead of bzero.
75        * ftpd/ftpd.c: Don't use annonymous unions.
76
772008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
78
79        * libblock/src/flashdisk.c: Remove bool, true, false.
80
812008-08-20      Joel Sherrill <joel.sherrill@OARcorp.com>
82
83        * libmisc/dummy/dummy.c: Add missing initializers.
84        * score/src/threadinitialize.c: Change type of loop counter.
85
862008-08-20      Joel Sherrill <joel.sherrill@OARcorp.com>
87
88        * libcsupport/src/error.c, libmisc/dummy/dummy.c,
89        rtems/src/rtemsobjectgetapiclassname.c,
90        rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
91
922008-08-20      Sebastian Huber <sebastian.huber@embedded-brains.de>
93
94        * include/rtems/status-checks.h: Fixed integer conversion warning.
95
962008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
97
98        * configure.ac: Abort if stdbool.h is not c99 compliant.
99
1002008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
101
102        * pppd/pppd.h: Use stdbool.h. Remove local bool.
103
1042008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
105
106        * configure.ac: Add AC_HEADER_STDBOOL.
107        * libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes
108        with C99/POSIX).
109
1102008-08-19      Cedric Aubert <cedric_aubert@yahoo.fr>
111
112        PR 500/misc
113        * libcsupport/src/termios.c: Avoid potential buffer overflow.
114
1152008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
116
117        * libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
118        warnings.
119
1202008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
121
122        * libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:
123        Remove some warnings. Using ASSERT/assert macros confuses gcc who is
124        unsure actions take place. More importantly if you ever compiled with
125        NDEBUG set wrong, intended actions would not occur. Likely I did not
126        catch all of these.
127
1282008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
129
130        * httpd/uemf.h: Add empty braces to macro.
131
1322008-08-19      Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
133
134        PR 1296/cpukit.
135        * posix/src/timersettime.c: POSIX timers use incorrect repeat interval.
136        This patch fixes the following problems in timer_settime: 1) Uses
137        value.it_interval for repeat period. 2) Corrects test for incorrect
138        value of it_value.tv_nsec (should reject 1000000000).
139
1402008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
141
142        * score/inline/rtems/score/threadmp.inl: Add include of
143        rtems/score/mpci.h and remove extern.
144
1452008-08-19      Sebastian Huber <sebastian.huber@embedded-brains.de>
146
147        * libcsupport/include/clockdrv.h: Add Clock_Exit prototype.
148
1492008-08-19      Ralf Corsepius <ralf.corsepius@rtems.org>
150
151        * rtems/inline/rtems/rtems/asr.inl,
152        rtems/inline/rtems/rtems/attr.inl,
153        rtems/inline/rtems/rtems/barrier.inl,
154        rtems/inline/rtems/rtems/dpmem.inl,
155        rtems/inline/rtems/rtems/event.inl,
156        rtems/inline/rtems/rtems/eventset.inl,
157        rtems/inline/rtems/rtems/message.inl,
158        rtems/inline/rtems/rtems/modes.inl,
159        rtems/inline/rtems/rtems/options.inl,
160        rtems/inline/rtems/rtems/part.inl,
161        rtems/inline/rtems/rtems/ratemon.inl,
162        rtems/inline/rtems/rtems/region.inl,
163        rtems/inline/rtems/rtems/sem.inl,
164        rtems/inline/rtems/rtems/status.inl,
165        rtems/inline/rtems/rtems/support.inl,
166        rtems/inline/rtems/rtems/tasks.inl,
167        rtems/inline/rtems/rtems/timer.inl,
168        Add header guard to force indirect inclusion.
169        * score/inline/rtems/score/address.inl,
170        score/inline/rtems/score/chain.inl,
171        score/inline/rtems/score/corebarrier.inl,
172        score/inline/rtems/score/coremsg.inl,
173        score/inline/rtems/score/coremutex.inl,
174        score/inline/rtems/score/corerwlock.inl,
175        score/inline/rtems/score/coresem.inl,
176        score/inline/rtems/score/corespinlock.inl,
177        score/inline/rtems/score/heap.inl,
178        score/inline/rtems/score/isr.inl,
179        score/inline/rtems/score/mppkt.inl,
180        score/inline/rtems/score/object.inl,
181        score/inline/rtems/score/objectmp.inl,
182        score/inline/rtems/score/priority.inl,
183        score/inline/rtems/score/stack.inl,
184        score/inline/rtems/score/states.inl,
185        score/inline/rtems/score/sysstate.inl,
186        score/inline/rtems/score/thread.inl,
187        score/inline/rtems/score/threadmp.inl,
188        score/inline/rtems/score/threadq.inl,
189        score/inline/rtems/score/tod.inl,
190        score/inline/rtems/score/tqdata.inl,
191        score/inline/rtems/score/watchdog.inl,
192        score/inline/rtems/score/wkspace.inl:
193        Add header guard to force indirect inclusion.
194        * posix/inline/rtems/posix/barrier.inl,
195        posix/inline/rtems/posix/cond.inl,
196        posix/inline/rtems/posix/key.inl,
197        posix/inline/rtems/posix/mqueue.inl,
198        posix/inline/rtems/posix/mutex.inl,
199        posix/inline/rtems/posix/priority.inl,
200        posix/inline/rtems/posix/pthread.inl,
201        posix/inline/rtems/posix/rwlock.inl,
202        posix/inline/rtems/posix/semaphore.inl,
203        posix/inline/rtems/posix/spinlock.inl,
204        posix/inline/rtems/posix/timer.inl:
205        Add header guard to force indirect inclusion.
206        * itron/inline/rtems/itron/eventflags.inl,
207        itron/inline/rtems/itron/fmempool.inl,
208        itron/inline/rtems/itron/intr.inl,
209        itron/inline/rtems/itron/mbox.inl,
210        itron/inline/rtems/itron/msgbuffer.inl,
211        itron/inline/rtems/itron/network.inl,
212        itron/inline/rtems/itron/port.inl,
213        itron/inline/rtems/itron/semaphore.inl,
214        itron/inline/rtems/itron/sysmgmt.inl,
215        itron/inline/rtems/itron/task.inl,
216        itron/inline/rtems/itron/time.inl,
217        itron/inline/rtems/itron/vmempool.inl:
218        Add header guard to force indirect inclusion.
219        * sapi/inline/rtems/chain.inl:
220        Add header guard to force indirect inclusion.
221
2222008-08-19      Ralf Corsepius <ralf.corsepius@rtems.org>
223
224        * rtems/include/rtems/rtems/object.h: Use _RTEMS_RTEMS_OBJECT_H as
225        header guard.
226
2272008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
228
229        * libnetworking/netinet/in_cksum_arm.h, score/cpu/arm/cpu.c
230        score/cpu/h8300/rtems/score/cpu.h: Add missing prototypes.
231
2322008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
233
234        * libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
235        libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
236        libnetworking/rtems/rtems_glue.c,
237        libnetworking/rtems/rtems_malloc_mbuf.c,
238        libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
239        Fix some warnings.
240
2412008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
242
243        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
244        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
245        libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
246        libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
247        warnings.
248
2492008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
250
251        * itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
252        itron/src/task.c, libcsupport/src/newlibc_exit.c,
253        libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
254        posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
255        posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
256        rtems/src/tasks.c, score/include/rtems/score/stack.h,
257        score/inline/rtems/score/stack.inl,
258        score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
259        various nested-externs warnings.
260
2612008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
262
263        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split libc_init()
264        into a separate file to avoid linkage dependencies on newlibc.c which
265        in turn pulls in fclose() and other C library methods.
266        * libcsupport/src/newlibc_init.c: New file.
267
2682008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
269
270        * aclocal/prog-cc.m4: Add -Wnested-externs.
271
2722008-08-18      Ralf Corsepius <ralf.corsepius@rtems.org>
273
274        * libnetworking/net/ppp_tty.c: Remove bogus local decl of
275        termios_baud_to_number(int).
276        * libnetworking/netinet/in_cksum_i386.h: Add missing prototype.
277        * libnetworking/netinet/in_cksum.c: Add missing prototypes.
278        * librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/svc_tcp.c:
279        Add missing prototypes.
280
2812008-08-16      Ralf Corsepius <ralf.corsepius@rtems.org>
282
283        * libfs/src/nfsclient/src/librtemsNfs.h: Add missing prototype.
284
2852008-08-16      Ralf Corsepius <ralf.corsepius@rtems.org>
286
287        * aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
288        -Wstrict-prototypes to RTEMS_CFLAGS.
289
2902008-08-15      Joel Sherrill <joel.sherrill@OARcorp.com>
291
292        PR 1297/cpukit
293        * posix/src/prwlockinit.c: Fix NULL attribute pointer handling.
294
2952008-08-14     Sebastian Huber <sebastian.huber@embedded-brains.de>
296
297        * rtems/include/rtems/rtems/ratemon.h,
298        rtems/include/rtems/rtems/status.h,
299        score/include/rtems/score/coremutex.h,
300        score/include/rtems/score/object.h: Removed extraneous commas.
301
3022008-08-08      Joel Sherrill <joel.sherrill@OARcorp.com>
303
304        * rtems/include/rtems/rtems/msgmp.h: Fix MP code missed by Sebastian.
305
3062008-08-08     Sebastian Huber <sebastian.huber@embedded-brains.de>
307
308        * libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
309        score/include/rtems/score/thread.h, score/src/threadreset.c,
310        score/src/threadrestart.c, score/src/threadstart.c: New type
311        Thread_Entry_numeric_type for numeric arguments in thread entry
312        functions with at least one numeric argument.
313
3142008-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
315
316        * score/include/rtems/score/sysstate.h,
317        score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
318        _System_state_Is_multiprocessing unused when multiprocessing is not
319        enabled. Saves one more variable from single processor configuration.
320
3212008-08-07      Chris Johns <chrisj@rtems.org>
322
323        * libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
324        to see if the 'to' path was a directory and removed the directory.
325
326        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv
327        command.
328
329        * libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
330
3312008-08-06      Chris Johns <chrisj@rtems.org>
332
333        * libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
334        the new bdbuf code.
335
3362008-08-06      Brett Swimley <brett.swimley@aedbozeman.com>
337
338        PR 1192/filesystem
339        * libblock/src/diskdevs.c: PR1192. Update the disktap pointer
340        after the realloc.
341
3422008-08-06      Till Straumann <strauman@slac.stanford.edu>
343
344        * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
345        than release it.
346
3472008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
348
349        PR 537/bsps
350        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
351        libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
352        vestiges of ticks_per_timeslice controlling newlib reentrancy. The
353        parameter was ignored in libc_init().
354
3552008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
356
357        PR 741/networking
358        * libmisc/dummy/dummy.c: Add dummy network configuration.
359
3602008-08-05     Sebastian Huber <sebastian.huber@embedded-brains.de>
361
362        * rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
363        Changed option set type to rtems_option.
364
365        * score/src/objectgetinfo.c: Check return value of
366        _Objects_API_maximum_class().
367
368        * libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
369        rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
370        rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
371        rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
372        rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
373        score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
374        score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
375        score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
376        score/src/coremsgsubmit.c:
377        Removed parameters of _Message_queue_Allocate().  Changed option set
378        type to rtems_option.  Changed type of maximum message and packet size
379        to size_t.  Changed the input buffer type for message send functions to
380        "const void *".  Changed the pointer to the second return argument in
381        the thread wait information to a union.  This union can contain a
382        pointer to an immutable or a mutable object.  This is somewhat fragile.
383        An alternative would be to add a third pointer for immutable objects,
384        but this would increase the structure size.
385
3862008-08-05      Xudong Guan <xudong.guan@criticalsoftware.com>
387
388        PR 1212/cpukit
389        * rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
390        will not happen if the task mode is changed from a non-timeslicing
391        mode to timeslicing mode if it is done by the executing thread (e.g.
392        in its task body). This change includes sp44 to demonstrate the
393        problem and verify the correction.
394
3952008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
396
397        * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
398        warnings.
399
4002008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
401
402        PR 1265/cpukit
403        * score/include/rtems/score/object.h,
404        score/src/objectallocatebyindex.c: Rename index argument to avoid
405        warning when rtems.h and string.h are included at the same time by
406        user code.
407
4082008-08-03      Ralf Corsépius <ralf.corsepius@rtems.org>
409
410        * libnetworking/lib/tftpDriver.c: Add prototypes.
411        * pppd/rtemsmain.c: Add prototypes.
412        * zlib/crc32.c: Add prototypes.
413
4142008-08-02      Chris Johns (chrisj@rtems.org>
415
416        * libblock/include/rtems/blkdev.h: Remove count and start from
417        rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.
418
419        * libblock/src/bdbuf.c: Add read ahead blocks always consecutive
420        comment. Change count to bufnum and remove start references. Sort
421        the transfer list so blocks are consecutive where possible.
422
423        * libblock/src/blkdev.c, libblock/src/nvdisk.c,
424        libblock/src/ramdisk.c: Change count to bufnum and remove start
425        references.
426
4272008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
428
429        * telnetd/telnetd.c: Add missing prototypes.
430        Remove unused local declations.
431
4322008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
433
434        * libnetworking/libc/gethostbydns.c,
435        libnetworking/libc/gethostbyht.c,
436        libnetworking/libc/gethostbynis.c,
437        libnetworking/libc/gethostnamadr.c,
438        libnetworking/libc/getnetbydns.c,
439        libnetworking/libc/getnetbynis.c,
440        libnetworking/libc/getnetnamadr.c,
441        libnetworking/libc/nsap_addr.c,
442        libnetworking/libc/res_debug.c,
443        libnetworking/libc/res_send.c: Add missing prototypes.
444
4452008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
446
447        * libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
448        * libmd/md4.c, libmd/md5.c: Add missing prototypes.
449        * libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
450        libmisc/shell/shell_script.c: Add missing prototypes.
451
4522008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
453
454        * libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
455
4562008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
457
458        * librpc/include/rpc/clnt.h: Cleanup.
459        * librpc/include/rpc/svc.h: Cleanup.
460
4612008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
462
463        * librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
464        librpc/src/xdr/xdr_sizeof.c, librpc/src/xdr/xdr_stdio.c:
465        Misc. ansifications. Add prototypes.
466
4672008-08-01      Joel Sherrill <joel.sherrill@OARcorp.com>
468
469        * rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
470
4712008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
472
473        * librpc/src/rpc/getrpcport.c: Misc. ansifications.
474        * librpc/src/rpc/getrpcent.c: Remove stray local decls.
475        Misc. ansifications.
476        * librpc/src/rpc/clnt_perror.c: Misc. ansifications.
477        * librpc/src/rpc/get_myaddress.c: Misc. ansifications.
478        * librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
479        * librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
480        * librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
481        * librpc/src/rpc/clnt_raw.c: Add missing prototypes.
482        * librpc/src/rpc/clnt_udp.c: Add missing prototypes.
483        * librpc/src/rpc/svc_auth.c: Add missing prototypes.
484        * librpc/src/rpc/svc_raw.c: Add missing prototypes.
485        * librpc/src/rpc/svc_tcp.c: Add missing prototypes.
486        * librpc/src/rpc/svc_udp.c: Add missing prototypes.
487
4882008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
489
490        * librpc/src/rpc/svc.c: Add missing prototypes.
491        * librpc/src/xdr/xdr_rec.c: Remove register vars.
492        * librpc/src/xdr/xdr_mem.c: Misc. ansifications.
493        * librpc/src/rpc/svc_tcp.c: Misc. ansifications.
494        * librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
495        * librpc/src/rpc/svc_raw.c: Misc. ansifications.
496        * librpc/src/xdr/xdr_rec.c: Misc. ansifications.
497        * librpc/src/rpc/svc_simple.c: Add missing prototypes.
498        * librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
499        * librpc/src/rpc/rpcdname.c: Add missing prototypes.
500        * librpc/src/rpc/rpc_prot.c: Misc. ansifications.
501        * librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
502        * librpc/src/rpc/clnt_simple.c: Misc. ansifications.
503        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
504        Add missing prototypes.
505        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
506        Misc. ansifications.
507
5082008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
509
510        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
511        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
512        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
513        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
514        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
515        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
516        Eliminate __P().
517
5182008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
519
520        * score/include/rtems/score/thread.h: Add missing prototype.
521        * score/inline/rtems/score/thread.inl: Add missing prototypes.
522        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
523        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
524        libnetworking/netinet/in_cksum_m68k.h,
525        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
526        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
527        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
528        * itron/include/itronsys/types.h: Add missing prototype.
529        * ftpd/ftpd.c: Fix broken prototype.
530        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
531        Add missing prototypes.
532
5332008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
534
535        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
536        is disabled but luckily it is not even needed to compile.
537
5382008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
539
540        * libmisc/shell/main_netstats.c: Add missing prototypes.
541        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
542        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
543
5442008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
545
546        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
547        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
548        httpd/wsIntrn.h: Add missing protoypes.
549
5502008-07-29      Tim Cussins <timcussins@eml.cc>
551
552        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
553        conditional.
554
5552008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
556
557        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
558        call.
559
5602008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
561
562        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
563
5642008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
565
566        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
567        libmisc/monitor/monitor.h: Add missing prototypes.
568        * score/inline/rtems/score/tod.inl: Add prototypes.
569        * score/src/coretodset.c: Remove stray args in function call.
570        * libcsupport/include/rtems/libcsupport.h,
571        libcsupport/include/rtems/libio_.h,
572        libcsupport/src/malloc_statistics_helpers.c,
573        libcsupport/src/scandir.c: Add prototypes.
574        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
575        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
576        posix/src/prwlockrdlock.c: Use C-style comments.
577
5782008-07-29      Chris Johns <chrisj@rtems.org>
579
580        * libblock/src/nvdisk.c: Fix block compile bug.
581
5822008-07-29      Chris Johns <chrisj@rtems.org>
583
584        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
585        Update the comments.
586
5872008-07-29      Chris Johns <chrisj@rtems.org>
588
589        * libblock/Makefile.am: Removed src/show_bdbuf.c.
590
591        * libblock/src/show_bdbuf.c: Removed.
592
593        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
594        Rewritten the bdbuf code. Remove pre-emption disable, score
595        access, fixed many bugs and increased performance.
596
597        * libblock/include/rtems/blkdev.h: Added
598        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
599        comments. Added block and user fields to the sg buffer
600        request. Move to rtems_* namespace.
601
602        * libblock/include/rtems/diskdevs.h,
603        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
604        capabilities field for drivers. Change rtems_disk_lookup to
605        rtems_disk_obtain to match the release call. You do not lookup and
606        release a disk, you obtain and release a disk.
607
608        * libblock/include/rtems/ide_part_table.h,
609        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
610        Move to rtems_* namespace.
611
612        * libblock/include/rtems/nvdisk.h: Formatting change.
613
614        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
615        rtems_disk_lookup to rtems_disk_obtain
616
617        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
618        support for the block number in the scatter/grather request
619        struct. This allows non-continuous buffer requests for those
620        drivers that can support increasing performance.
621
622        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
623        warnings. Added better error checking. Fixed some comments.
624
625        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
626        trace functions to help debugging upper layers. Use the new
627        support for the block number in the scatter/grather request
628        struct. This allows non-continuous buffer requests for those
629        drivers that can support increasing performance.
630
631        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
632        API. Removed temporary hack and changed
633        set_errno_and_return_minus_one to
634        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
635        header and stopped it being inlined. Updated to libblock changes.
636       
637        * libfs/src/dosfs/fat_fat_operations.c,
638        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
639        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
640        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
641        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
642        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
643        new chains API. Removed temporary hack and changed
644        set_errno_and_return_minus_one to
645        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
646
647        * libmisc/Makefile.am: Add new ls and rm command files.
648
649        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
650        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
651        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
652        libmisc/shell/vis.c, shell/vis.h: New.
653
654        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
655        libmisc/shell/utils-cp.c: Fixed the usage call bug.
656
657        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
658        command.
659
660        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
661        commands with more features.
662       
663        * score/src/coremutex.c: Fix the strict order mutex code.
664
665        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
666        and no ASR.
667       
668        * sapi/include/confdefs.h: Change ata_driver_task_priority to
669        rtems_ata_driver_task_priority. Add the new BD buf cache
670        parameters with defaults.
671
672        * score/src/interr.c: Do not return if the CPU halt call returns.
673       
6742008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
675
676        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
677        bsp_libc_init() into new bootcard.h.
678
679        * cpukit/include/rtems/irq-extension.h: New function
680        rtems_interrupt_handler_iterate() for system information and
681        diagnostics.
682
6832008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
684
685        * libmisc/shell/shell_script.c: Clean up code for command not found
686        including the error message.
687
6882008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
689
690        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
691        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
692        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
693        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
694        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
695        internal routine. This makes it possible to also print string names
696        of POSIX objects. Adjust task report to realign since we can have
697        longer names.
698
6992008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
700
701        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
702        body is now completely configured via the Configuration table.
703
7042008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
705
706        PR 1291/cpukit
707        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
708        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
709        posix/include/rtems/posix/semaphore.h,
710        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
711        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
712        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
713        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
714        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
715        posix/src/posixtimespecabsolutetimeout.c,
716        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
717        posix/src/semaphoretranslatereturncode.c,
718        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
719        posix/src/semtrywait.c, posix/src/semwait.c,
720        posix/src/sigtimedwait.c, posix/src/timersettime.c,
721        posix/src/ualarm.c, rtems/src/semobtain.c,
722        rtems/src/semtranslatereturncode.c,
723        score/include/rtems/score/coremutex.h,
724        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
725        patch addresses issues on implementation of the timeout on the
726        following POSIX services. Some of these services incorrectly took a
727        timeout as a relative time. Others would compute a 0 delta to timeout
728        if the absolute time and the current time were equal and thus
729        incorrectly block the caller forever. The root of the confusion is
730        that POSIX specifies that if the timeout is incorrect (e.g. in the
731        past, is now, or is numerically invalid), that it does not matter if
732        the call would succeed without blocking. This is in contrast to RTEMS
733        programming style where all errors are checked before any critical
734        sections are entered. This fix implemented a more uniform way of
735        handling POSIX absolute time timeouts.
736            + pthread_cond_timedwait - could block forever
737            + mq_timedreceive - used relative not absolute time
738            + mq_timedsend - used relative not absolute time
739            + pthread_mutex_timedlock - used relative not absolute time
740            + pthread_rwlock_timedrdlock- used relative not absolute time
741            + pthread_rwlock_timedwrlock- used relative not absolute time
742            + sem_timedwait - could block forever
743
7442008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
745
746        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
747        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
748        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
749        libmisc/shell/main_whoami.c: Add pthread command to monitor when
750        POSIX is enabled. Remove include of rtems/monitor.h from files not
751        related.
752
7532008-07-16      Till Straumann <strauman@slac.stanford.edu>
754
755        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
756        use ppc_interrupt_get_disable_mask() to determine
757        which bits to set/clear from _CPU_ISR_Set_level().
758
7592008-07-16      Till Straumann <strauman@slac.stanford.edu>
760
761        * score/cpu/powerpc/rtems/powerpc/registers.h:
762        added ppc_interrupt_get_disable_mask() inline function.
763
7642008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
765
766        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
767
7682008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
769
770        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
771        for rtems_shell_init(). This makes it possible to run the shell
772        forever or invoke it from a program as a subroutine, have a user
773        enter commands, and wait for it to exit.
774
7752008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
776
777        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
778        RTEMS version string.
779        * sapi/src/getversionstring.c: New file.
780
7812008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
782
783        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
784        cpukit/score/cpu/m68k/rtems/score/cpu.h,
785        score/cpu/m68k/rtems/score/m68k.h:
786
787        added support to save coldfire FPU/EMAC context
788
7892008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
790
791        * libi2c/libi2c.c, libi2c/libi2c.h:
792        make buffer passed to *write* functions a const pointer
793
794
7952008-07-10      Till Straumann <strauman@slac.stanford.edu>
796
797        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
798        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
799        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
800        Removed all macro definitions which depended on
801        the compiler defining a PPC CPU-model dependent
802        symbol.
803        Macros which were not used by cpukit have been
804        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
805       
8062008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
807
808        * include/rtems/status-checks.h: Fix style.
809
8102008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
811
812        * rtems/include/rtems/rtems/intr.h: Documentation.
813
814        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
815        Interrupt Manager (shared handler and handler with a handle).
816
817
8182008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
819
820        * cpukit/include/rtems/status-checks.h: Macros for status code and
821        return value checks.
822
823        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
824
825        * cpukit/libfs/src/dosfs/msdos_dir.c,
826        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
827        to file mode.
828
829        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
830        messages.  Driver operations table is now constant.  New entry in the
831        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
832        continuously transmitted in read only functions.
833
8342008-07-03      Chris Johns <chrisj@rtems.org>
835
836        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
837        interface that is supported.
838
839        * cpukit/libcsupport/Makefile.am,
840        cpukit/libcsupport/preinstall.am: Remove chain.h header
841        references.
842
843        * cpukit/sapi/include/rtems/chain.h,
844        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
845        interface.
846
847        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
848        include the new chains interface.
849
850        * cpukit/libfs/src/imfs/imfs.h,
851        cpukit/libfs/src/imfs/imfs_creat.c,
852        cpukit/libfs/src/imfs/imfs_debug.c,
853        cpukit/libfs/src/imfs/imfs_directory.c,
854        cpukit/libfs/src/imfs/imfs_fsunmount.c,
855        cpukit/libfs/src/imfs/imfs_getchild.c,
856        cpukit/libfs/src/imfs/imfs_load_tar.c,
857        cpukit/libfs/src/imfs/imfs_rmnod.c,
858        cpukit/libfs/src/imfs/memfile.c,
859        cpukit/libfs/src/nfsclient/src/nfs.c,
860        cpukit/libcsupport/include/rtems/libio.h,
861        cpukit/libcsupport/src/malloc_deferred.c,
862        cpukit/libcsupport/src/mount.c,
863        cpukit/libcsupport/src/privateenv.c,
864        cpukit/libcsupport/src/unmount.c: Change to the new chains
865        interface.
866
867        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
868
8692008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
870
871        * score/include/rtems/score/thread.h,
872        score/src/threaddispatch.c, score/src/threadinitialize.c:
873        Support rtems_ada_self iff __RTEMS_ADA__ is given.
874
8752008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
876
877        * libmisc/shell/shell_script.c: Remove unused function.
878
8792008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
880
881        * configure.ac: Add __RTEMS_ADA__.
882
8832008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
884
885        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
886        libnetworking/libc/getservbyname.c,
887        libnetworking/libc/getservbyport.c: Add initial versions of
888        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
889        point they are just simple weappers for the version without the _r in
890        the name.
891
8922008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
893
894        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
895        Review association tables in monitor.
896
8972008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
898
899        * configure.ac, rtems/src/semtranslatereturncode.c,
900        score/include/rtems/score/coremutex.h,
901        score/include/rtems/score/thread.h,
902        score/inline/rtems/score/coremutex.inl,
903        score/src/coremutex.c, score/src/coremutexsurrender.c,
904        score/src/threadinitialize.c:
905        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
906
9072008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
908
909        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
910        * libgnat/Makefile.am: Use LIBGNAT.
911        * wrapup/Makefile.am: Use LIBGNAT.
912
9132008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
914
915        * acinclude.m4: Add magic to update cpuopt.h.
916        * configure.ac: Remove magic to update cpuopt.h.
917
9182008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
919
920        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
921        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
922        Cleanup mal-formated RTEMS_CPUOPT's.
923
9242008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
925
926        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
927        AC_PREREQ(2.62).
928
9292008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
930
931        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
932        than a number.
933
9342008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
935
936        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
937        still reserved memory for the reentrancy structure. This is about 1K
938        per task. On psim, we now reserve only 1936 bytes and only 240 remain
939        after all allocations. Further analysis will be required to narrow
940        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
941        be defined and the structure named Configuration_Memory_Debug will be
942        instantiated. This structure contains many of the component values
943        that go into the memory reservation computation. This is helpful when
944        tracking down problems.
945
9462008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
947
948        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
949        was always adding heap overhead even when the number of objects
950        configured was zero and we would not do an allocation. This resulted
951        in an over estimation of the amount of Workspace required (~2K on
952        minimum.exe on PowerPC).
953
9542008-06-17      Chris Johns <chrisj@rtems.org>
955
956        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
957        remove warning.
958       
959        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
960        priority level for large memory Coldfires.
961
9622008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
963
964        * rtems/include/rtems/rtems/config.h,
965        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
966        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
967        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
968
9692008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
970
971        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
972        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
973        CONFIGURE_MAXIMUM_PRIORITY.
974
9752008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
976
977        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
978        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
979        sapi/include/confdefs.h, sapi/include/rtems/config.h,
980        score/inline/rtems/score/stack.inl, score/src/isr.c,
981        score/src/mpci.c, score/src/threadcreateidle.c,
982        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
983        ability for application to configure minimum stack size. Add
984        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
985        indicate they want the configured as opposed to the recommended
986        minimum stack size.
987
9882008-06-10      Chris Johns <chrisj@rtems.org>
989
990        * score/include/rtems/score/priority.h: Let the CPU define the
991        maximum and minimum priority levels to reduce the amount of memory
992        thread chains use.
993
9942008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
995
996        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
997        rtems/include/rtems/rtems/config.h,
998        rtems/include/rtems/rtems/dpmem.h,
999        rtems/include/rtems/rtems/eventset.h,
1000        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
1001        rtems/include/rtems/rtems/ratemon.h,
1002        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
1003        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1004        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
1005        Classic API Doxygen.
1006
10072008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1008
1009        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
1010        score/include/rtems/score/thread.h: Complete previous patch. Add
1011        typedef for cpu usage statistics.
1012
10132008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1014
1015        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
1016        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
1017        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
1018        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
1019        score/src/threaddispatch.c, score/src/threadinitialize.c,
1020        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
1021        period timing statistics. Also renamed related variables and
1022        structure members so they are the same whether you are using
1023        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
1024        granularity. This lays the groundwork for future cleanup.
1025
10262008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1027
1028        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
1029        particular, there was a report from that Matthew Riek that memory was
1030        being reserved twice for the IDLE task. This was covering up other
1031        places that under allocated memory. Before I was done, I had reworked
1032        the file to be easier to read, maintain and be more accurate.
1033
10342008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1035
1036        * score/include/rtems/score/isr.h, score/src/isr.c: Use
1037        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
1038        memory for vector table.
1039
10402008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1041
1042        * score/src/wkspace.c: Fix error in comment.
1043
10442008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1045
1046        * posix/src/psignal.c: Do not allocate any memory for queued signals if
1047        the configuration parameter is 0. Before we would end up with an
1048        allocation of 0 which rounded up and wasted some memory when POSIX
1049        was configured.
1050
10512008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1052
1053        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
1054        the target toolset uses init/fini sections.
1055
10562008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1057
1058        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
1059        has no functional data in the user extension data area structure so
1060        this disables the definition, allocation and deallocation of that
1061        structure. If we ever have to add data to it, then it will be easy to
1062        reenable.
1063
10642008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
1065
1066        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
1067        score/src/threadget.c: Make sure the pointer to the API object table
1068        is valid before derefencing it.
1069
10702008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
1071
1072        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
1073        calls for leading underscore on private RTEMS variables.
1074
10752008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1076
1077        * score/include/rtems/score/object.h,
1078        score/include/rtems/score/watchdog.h: Move #include's out of
1079        extern "C" {}.
1080
10812008-05-30      Till Straumann <strauman@slac.stanford.edu>
1082
1083        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
1084        release node if rtems_filesystem_evaluate_path() fails
1085        in nfs_eval_link() since pathloc contains no valid node.
1086
10872008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1088
1089        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
1090        while at prompt results in shell logging out and connection still
1091        being available.
1092
10932008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1094
1095        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
1096        fini() as part of exit(). This avoids atexit() being a required
1097        function.
1098
10992008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1100
1101        * libmisc/shell/shell.c: Minor change so dropping connection during
1102        login prompt results in connection still being available.
1103
1104
11052008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
1106
1107        * score/include/rtems/score/object.h,
1108        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
1109        and RTEMS_ID_NONE.  No object can have this ID.
1110
11112008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1112
1113        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
1114        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
1115        libcsupport/src/base_fs.c, libcsupport/src/error.c,
1116        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
1117        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
1118        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
1119        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
1120        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
1121        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
1122        libfs/src/imfs/imfs_handlers_device.c,
1123        libfs/src/imfs/imfs_handlers_directory.c,
1124        libfs/src/imfs/imfs_handlers_link.c,
1125        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
1126        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
1127        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
1128        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
1129        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
1130        sapi/include/confdefs.h, sapi/include/rtems/io.h,
1131        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
1132        Added const qualifier to various pointers and data tables to
1133        reduce size of data area.
1134        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
1135        DOSFS: Use LibBlock instead of read() to read the boot record.
1136       
11372008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1138
1139        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
1140
11412008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1142
1143        * libcsupport/src/printk.c:
1144        Bugfix: String output without width option.
1145
11462008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
1147
1148        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
1149        Bugfix: Moved definition of ppp_softc into source file.
1150
11512008-05-23      Till Straumann <strauman@slac.stanford.edu>
1152
1153        * libnetworking/netinet/ip_output.c: when fragmenting
1154        multicast packets M_MCAST must be set on all fragments.
1155        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
1156        (see my email to rtems-users from 2008/5/15).
1157
11582008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1159
1160        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
1161        itron/src/exd_tsk.c, itron/src/task.c,
1162        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
1163        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
1164        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
1165        posix/src/testcancel.c, rtems/src/taskdelete.c,
1166        score/inline/rtems/score/object.inl, score/src/objectclose.c,
1167        score/src/threadclose.c: Make all task delete/exit/cancel routines
1168        follow the same critical section pattern. Also ensure that POSIX
1169        cancelation routines are run at thread exit.
1170
11712008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1172
1173        * libcsupport/src/termios_baud2index.c,
1174        libcsupport/src/termios_baud2num.c,
1175        libcsupport/src/termios_num2baud.c,
1176        libcsupport/src/termios_setinitialbaud.c: New files.
1177
11782008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1179
1180        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1181        libcsupport/include/rtems/termiostypes.h: Move termios helper
1182        routines from libchip to libcsupport. Add routine which makes it easy
1183        for a termios device driver to inform termios of its default baud
1184        rate. This avoids inconsistencies in later termios settings changes.
1185
11862008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1187
1188        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
1189
11902008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1191
1192        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
1193        interface for Watchdog Driver.
1194        * libcsupport/include/rtems/watchdogdrv.h: New file.
1195
11962008-05-16      Till Straumann <strauman@slac.stanford.edu>
1197
1198        * score/src/threadchangepriority.c: Just in case the transient
1199        state was set when we entered, ensure that it is still set when
1200        we exit.
1201        * score/src/threadclose.c: When a thread is being deleted, it should
1202        go into the dormant state -- not the transient state.
1203
12042008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1205
1206        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
1207        driver private data
1208
12092008-05-13      Eric Norum: <norume@aps.anl.gov>
1210
1211        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
1212        structure assignment.
1213
12142008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
1215
1216        * libi2c/libi2c.h: Fix typo.
1217
12182008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
1219
1220        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
1221        CPUKIT.
1222
12232008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1224
1225        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
1226        initialization routines to rtems_initialize_data_structures,
1227        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
1228        rtems_initialize_start_multitasking. This opened the sequence up so
1229        that bootcard() could provide a more robust and flexible framework
1230        which is easier to explain and understand. This also lays the
1231        groundwork for sharing the division of available memory between the
1232        RTEMS workspace and heap and the C library initialization across all
1233        BSPs.
1234
12352008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1236
1237        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
1238        comments.
1239
12402008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1241
1242        * score/src/objectget.c: Improve comments and readability.
1243
12442008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1245
1246        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
1247        score/src/coresemseize.c, score/src/threadhandler.c: Comment
1248        improvements from class.
1249
12502008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1251
1252        PR 1285/rtems
1253        * sapi/include/rtems/config.h: Remove obsolete
1254        rtems_configuration_get_maximum_devices().
1255
12562008-05-01      Chris Johns <chrisj@rtems.org>
1257
1258        * libblock/include/rtems/nvdisk-sram.h,
1259        libblock/include/rtems/nvdisk.h,
1260        libblock/src/nvdisk-sram.c,
1261        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
1262        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
1263        the NV disk driver.
1264
12652008-05-01  Maarten Van Es <maarten@mind.be>
1266
1267        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
1268        interface for rtems_dhcp_failsafe.
1269        * libnetworking/rtems/rtems_dhcp.h: Added interface for
1270        rtems_dhcp_failsafe.
1271
12722008-05-01  Arnout Vandecappelle <arnout@mind.be>
1273
1274        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
1275        return on timeout in bootpc_call().  Removed panic()s.
1276        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
1277        SIOCAIFADDR ioctl call.
1278        * libnetworking/rtems/rtems_dhcp_failsafe.c,
1279        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
1280        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
1281        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
1282
12832008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
1284
1285        * rtems/include/rtems/rtems/timer.h: Fix typo.
1286
12872008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1288
1289        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
1290        rtems/include/rtems/rtems/status.h,
1291        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1292        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
1293
12942008-04-28      Daron Chabot <daron.chabot@usask.ca>
1295
1296        * posix/src/keycreate.c, posix/src/pthreadequal.c,
1297        rtems/src/semtranslatereturncode.c,
1298        score/src/threadblockingoperationcancel.c: Fix compilation errors
1299        when --enable-rtems-debug is used.
1300
13012008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1302
1303        * score/include/rtems/system.h: Fix typo in comment.
1304
13052008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1306
1307        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
1308        typos added with recent changes.
1309
13102008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1311
1312        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
1313        rtems_termios_reserve_resources. It is obsolete.
1314        * libcsupport/src/termiosreserveresources.c: Removed.
1315
13162008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1317
1318        * rtems/mainpage.h: New file.
1319
13202008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1321
1322        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
1323        rtems/include/rtems/rtems/attr.h,
1324        rtems/include/rtems/rtems/barrier.h,
1325        rtems/include/rtems/rtems/barriermp.h,
1326        rtems/include/rtems/rtems/cache.h,
1327        rtems/include/rtems/rtems/config.h,
1328        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1329        rtems/include/rtems/rtems/eventmp.h,
1330        rtems/include/rtems/rtems/eventset.h,
1331        rtems/include/rtems/rtems/intr.h,
1332        rtems/include/rtems/rtems/message.h,
1333        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1334        rtems/include/rtems/rtems/msgmp.h,
1335        rtems/include/rtems/rtems/options.h,
1336        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1337        rtems/include/rtems/rtems/ratemon.h,
1338        rtems/include/rtems/rtems/region.h,
1339        rtems/include/rtems/rtems/regionmp.h,
1340        rtems/include/rtems/rtems/rtemsapi.h,
1341        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1342        rtems/include/rtems/rtems/signal.h,
1343        rtems/include/rtems/rtems/signalmp.h,
1344        rtems/include/rtems/rtems/status.h,
1345        rtems/include/rtems/rtems/support.h,
1346        rtems/include/rtems/rtems/taskmp.h,
1347        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1348        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1349        rtems/inline/rtems/rtems/attr.inl,
1350        rtems/inline/rtems/rtems/barrier.inl,
1351        rtems/inline/rtems/rtems/dpmem.inl,
1352        rtems/inline/rtems/rtems/event.inl,
1353        rtems/inline/rtems/rtems/message.inl,
1354        rtems/inline/rtems/rtems/modes.inl,
1355        rtems/inline/rtems/rtems/options.inl,
1356        rtems/inline/rtems/rtems/part.inl,
1357        rtems/inline/rtems/rtems/ratemon.inl,
1358        rtems/inline/rtems/rtems/region.inl,
1359        rtems/inline/rtems/rtems/sem.inl,
1360        rtems/inline/rtems/rtems/status.inl,
1361        rtems/inline/rtems/rtems/support.inl,
1362        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
1363
13642008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1365
1366        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
1367        rtems/include/rtems/rtems/attr.h,
1368        rtems/include/rtems/rtems/barrier.h,
1369        rtems/include/rtems/rtems/barriermp.h,
1370        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
1371        rtems/include/rtems/rtems/config.h,
1372        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1373        rtems/include/rtems/rtems/eventmp.h,
1374        rtems/include/rtems/rtems/eventset.h,
1375        rtems/include/rtems/rtems/intr.h,
1376        rtems/include/rtems/rtems/message.h,
1377        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1378        rtems/include/rtems/rtems/msgmp.h,
1379        rtems/include/rtems/rtems/object.h,
1380        rtems/include/rtems/rtems/options.h,
1381        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1382        rtems/include/rtems/rtems/ratemon.h,
1383        rtems/include/rtems/rtems/region.h,
1384        rtems/include/rtems/rtems/regionmp.h,
1385        rtems/include/rtems/rtems/rtemsapi.h,
1386        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1387        rtems/include/rtems/rtems/signal.h,
1388        rtems/include/rtems/rtems/signalmp.h,
1389        rtems/include/rtems/rtems/status.h,
1390        rtems/include/rtems/rtems/support.h,
1391        rtems/include/rtems/rtems/taskmp.h,
1392        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1393        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1394        rtems/inline/rtems/rtems/attr.inl,
1395        rtems/inline/rtems/rtems/barrier.inl,
1396        rtems/inline/rtems/rtems/dpmem.inl,
1397        rtems/inline/rtems/rtems/event.inl,
1398        rtems/inline/rtems/rtems/eventset.inl,
1399        rtems/inline/rtems/rtems/message.inl,
1400        rtems/inline/rtems/rtems/modes.inl,
1401        rtems/inline/rtems/rtems/options.inl,
1402        rtems/inline/rtems/rtems/part.inl,
1403        rtems/inline/rtems/rtems/ratemon.inl,
1404        rtems/inline/rtems/rtems/region.inl,
1405        rtems/inline/rtems/rtems/sem.inl,
1406        rtems/inline/rtems/rtems/status.inl,
1407        rtems/inline/rtems/rtems/support.inl,
1408        rtems/inline/rtems/rtems/tasks.inl,
1409        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
1410        header files to Doxygen.
1411        * rtems/Doxyfile: New file.
1412
14132008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1414
1415        * posix/src/key.c: Include <limits.h>
1416        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
1417        a NULL extension block.
1418
14192008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1420
1421        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
1422        application configuration errors. If any POSIX objects or a POSIX
1423        init thread is configured without POSIX being configure, then error
1424        out. Similarly for ITRON. Add
1425        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
1426        parameter so the application has to explicitly configure the Clock
1427        driver in or out if the Timer driver is not configured. Also verify
1428        RTEMS was built for multiprocessing, if the user tries to configure a
1429        multiprocessing application.
1430
14312008-04-12      Chris Johns <chrisj@rtems.org>
1432
1433        * libmisc/shell/shell.c, libmisc/shell/shell.h,
1434        libmisc/shell/shell_script.c: Add support to echo the commands to
1435        stdout. This is useful with the -v script option to show commands
1436        as the run. Also added support to chdir to the directory the task
1437        invoking the script is in.
1438        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
1439        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
1440        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
1441        support.
1442
14432008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
1444
1445        * score/include/rtems/score/tod.h: Fix typo.
1446
14472008-04-08      Chris Johns <chrisj@rtems.org>
1448
1449        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
1450        into argv parts. Was using the command line history buffer so the
1451        history was being corrupted.
1452
14532008-04-03      Chris Johns <chrisj@rtems.org>
1454
1455        * libfs/src/nfsclient/src/librtemsNfs.h,
1456        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
1457        external to RTEMS and even if in the cpukit it should not cross
1458        reference in this way.
1459        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
1460        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
1461        in the shell area.
1462        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
1463        support.
1464
14652008-03-29      Chris Johns <chrisj@rtems.org>
1466
1467        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
1468        reported to the mailing list by Pierre Kestener
1469        (pierre.kestener@cea.fr).
1470
14712008-03-25      Till Straumann <strauman@slac.stanford.edu>
1472
1473        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
1474          coldfire.
1475
14762008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1477
1478        * libmisc/shell/cmds.c: Directly register the command structure to
1479        avoid unnecessary duplication of static strings. We know best this
1480        time.
1481
14822008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1483
1484        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
1485        for the ITRON initialization tasks ALL the time.
1486        Do not reserve memory for the object name table since it does not
1487        exist any longer.
1488        * sapi/include/rtems/sptables.h: Fix typo.
1489
14902008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1491
1492        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1493        rtems/src/clockget.c:
1494        * rtems/src/clockgetsecondssinceepoch.c,
1495        rtems/src/clockgettickspersecond.c,
1496        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
1497        rtems/src/clockgettodtimeval.c: New files.
1498        Refactored rtems_clock_get into 5 methods which are single purpose
1499        and more strongly typed.  They are:
1500            rtems_clock_get_tod - Get TOD in Classic API structure
1501            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1502            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1503            rtems_clock_get_ticks_since_boot - Get ticks since boot
1504            rtems_clock_get_ticks_per_second - Get ticks per second
1505
15062008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1507
1508        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1509        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1510        ensure it is zeroed out each time we use getopt_r().
1511        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1512        This makes the scripts behave more like UNIX scripts.
1513
15142008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1515
1516        * posix/Makefile.am: Make clock_settime() available always just like
1517        clock_gettime().
1518
15192008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1520
1521        * score/include/rtems/score/copyrt.h: Update year.
1522
15232008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1524
1525        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1526        by gcc newer than the 4.3 release series.
1527
15282008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1529
1530        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1531        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1532        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1533        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1534        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1535        libmisc/shell/shell.c, libmisc/shell/shell.h,
1536        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1537        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1538        capability to automatically execute a script from the filesystem. Add
1539        echo command from NetBSD and sleep command.
1540        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1541        libmisc/shell/shell_script.c: New files.
1542
15432008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1544
1545        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1546        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1547        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1548        score/src/threadclose.c, score/src/threadcreateidle.c,
1549        score/src/threadinitialize.c: Switch task create and delete
1550        operations to using API Allocator Mutex. This moves almost all uses
1551        of the RTEMS Workspace from dispatching disabled to mutex protected
1552        which should improve deterministic behavior. The implementation was
1553        carefully done to allow task create and delete extensions to invoke
1554        more services. In particular, a task delete extension should be able
1555        to do mutex and file operations.
1556
15572008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1558
1559        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1560        enabled.
1561
15622008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1563
1564        * libcsupport/src/chroot.c: Formatting.
1565
15662008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1567
1568        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1569        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1570        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1571        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1572        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1573        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1574        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1575        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1576        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1577        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1578        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1579        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1580        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1581        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1582        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1583        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1584        libmisc/shell/shell.h: Clean up done while writing documentation.
1585        Some command improvements such as date now allows setting of the
1586        current TOD. Often commands did not use stdout/stderr per
1587        expectations and did not return -1 on an error.
1588
15892008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1590
1591        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1592        the use of RPC/XDR could be an issue, the code does build multilib
1593        across all targets. There are a few remaining warnings to deal with.
1594        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1595        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1596        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1597        libfs/src/nfsclient/rfc1094.txt,
1598        libfs/src/nfsclient/proto/mount_prot.h,
1599        libfs/src/nfsclient/proto/mount_prot.x,
1600        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1601        libfs/src/nfsclient/proto/nfs_prot.h,
1602        libfs/src/nfsclient/proto/nfs_prot.x,
1603        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1604        libfs/src/nfsclient/src/cexphelp.c,
1605        libfs/src/nfsclient/src/dirutils.c,
1606        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1607        libfs/src/nfsclient/src/nfs.modini.c,
1608        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1609        libfs/src/nfsclient/src/rpcio.h,
1610        libfs/src/nfsclient/src/rpcio.modini.c,
1611        libfs/src/nfsclient/src/sock_mbuf.c,
1612        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1613
16142008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1615
1616        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1617        missing field to default multiprocessing configuration table. Also
1618        document fields in Doxygen format.
1619
16202008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1621
1622        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1623        warnings.
1624
16252008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1626
1627        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1628        command to access statistics reporting functions in TCP/IP stack.
1629        * libmisc/shell/main_netstats.c: New file.
1630
16312008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1632
1633        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1634        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1635        ifconfig commands. The code for these was previously in the
1636        networking guide. Disable NFS filesystem mount until that code is in
1637        cpukit.
1638        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1639
16402008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1641
1642        * posix/preinstall.am,  libcsupport/preinstall.am:
1643        Revert Joel's  2008-01-31 screw up.
1644
16452008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1646
1647        * posix/include/rtems/posix/timer.h: Add c++ guards.
1648        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1649        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1650        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1651        MC68230_ to avoid preprocessor clashes.
1652
16532008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1654
1655        * posix/src/mqueueunlink.c, score/Makefile.am,
1656        score/include/rtems/score/object.h,
1657        score/inline/rtems/score/object.inl: Enhance
1658        _Objects_Namespace_remove() to handle freeing object names which are
1659        strings. All changed _Objects_Close() to call
1660        _Objects_Namespace_remove(). The resulting code was then moved from
1661        inline routines to function calls.
1662        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1663
16642008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1665
1666        * libcsupport/src/printk.c: Added width and padding for %s.
1667        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1668        strings longer than 4 chanracters.
1669
16702008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1671
1672        PR 1277/networking
1673        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1674        constraint for assembly language. This restricts the register choice
1675        to the a-d registers.
1676
16772008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1678
1679        * libnetworking/kern/uipc_socket2.c,
1680        libnetworking/netinet/tcp_usrreq.c,
1681        libnetworking/netinet/udp_usrreq.c,
1682        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1683        Add configuration parameters for network stack efficiency multiplier
1684        and default socket buffer sizes. Change default multiplier from 8 to
1685        2 to match GNU/Linux. This has no impact on performance on the BSPs
1686        tested.
1687
16882008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1689
1690        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1691        workspace manipulation routines for testing.
1692        * rtems/src/workspace.c: New file.
1693
16942008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1695
1696        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1697        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1698        Object Id of SELF.
1699
17002008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1701
1702        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1703        Minor modifications to improve testability.
1704        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1705
17062008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1707
1708        * posix/src/pthreadinitthreads.c: Clean up error paths.
1709
17102008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1711
1712        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1713        changes which aid in coverage testing.
1714
17152008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1716
1717        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1718        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1719        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1720        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1721        whether named or unnamed to have a string name.  If the API does
1722        not directly support having a name, then the user must explicitly
1723        assign it using rtems_object_set_name().
1724        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1725        * score/include/rtems/score/object.h,
1726        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1727        score/src/objectsetname.c: Modifications required to pass testing of
1728        recently modified object name operations.  Also eliminated
1729        multiprocessing related code that was not reachable.
1730
17312008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1732
1733        * posix/src/timersettime.c: Fix to remove warning.
1734
17352008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1736
1737        * libcsupport/src/posix_memalign.c: Remove warning.
1738
17392008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1740
1741        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1742        rtems/include/rtems/rtems/object.h,
1743        rtems/src/rtemsobjectgetapiclassname.c,
1744        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1745        cannot be used as a parameter.
1746
17472008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1748
1749        * score/Makefile.am, score/include/rtems/score/threadq.h,
1750        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1751        was really too complex to be inlined.
1752        * score/src/threadqprocesstimeout.c: New file.
1753
17542008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1755
1756        * score/Doxyfile: Revert Doxygen version changes.
1757
17582008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1759
1760        * score/Doxyfile: Update to latest Doxygen format.
1761        * score/include/rtems/score/apimutex.h,
1762        score/include/rtems/score/corebarrier.h,
1763        score/include/rtems/score/coremutex.h,
1764        score/include/rtems/score/corerwlock.h,
1765        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1766        score/include/rtems/score/protectedheap.h,
1767        score/include/rtems/score/thread.h,
1768        score/include/rtems/score/threadsync.h,
1769        score/include/rtems/score/tod.h,
1770        score/inline/rtems/score/corerwlock.inl,
1771        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1772        warnings.
1773
17742008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1775
1776        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1777        available when API is disabled. Do not attempt to use them.
1778
17792008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1780
1781        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1782
17832008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1784
1785        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1786        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1787        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1788        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1789        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1790        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1791        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1792        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1793        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1794        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1795        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1796        rtems/src/timerserver.c, score/Makefile.am,
1797        score/include/rtems/score/object.h,
1798        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1799        score/src/objectgetnameasstring.c,
1800        score/src/threadqextractwithproxy.c: Add new Object Services
1801        collection. This changed the name of a few previously public but
1802        undocumented services and added a some new services.
1803        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1804        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1805        rtems/src/rtemsobjectapiminimumclass.c,
1806        rtems/src/rtemsobjectgetapiclassname.c,
1807        rtems/src/rtemsobjectgetapiname.c,
1808        rtems/src/rtemsobjectgetclassicname.c,
1809        rtems/src/rtemsobjectgetclassinfo.c,
1810        rtems/src/rtemsobjectidapimaximum.c,
1811        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1812        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1813        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1814        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1815        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1816        * rtems/src/rtemsidtoname.c: Removed.
1817
18182008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1819
1820        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1821        switch statements to if statements.
1822
18232008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1824
1825        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1826        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1827        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1828        as helper and as exposed nmemalign variant with few restrictions.
1829        Also turn on compilation of _Heap_Walk but make forced calls to it
1830        conditionally compiled. This should allow more flexibility to the
1831        user as to run-time checking of the heap.
1832        * libcsupport/src/rtems_memalign.c: New file.
1833
18342008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1835
1836        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1837        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1838        Multiprocessing compiles again and survives initialization. The
1839        recent object name and confdefs.h changes had broken it.
1840
18412008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1842
1843        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1844        score/include/rtems/score/interr.h,
1845        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1846        Modifications to aid in full path testing.
1847
18482008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1849
1850        * posix/src/mqueuesendsupp.c: Remove warning.
1851
18522008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1853
1854        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1855        in public API.
1856
18572008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1858
1859        * score/include/rtems/score/object.h,
1860        score/src/objectextendinformation.c,
1861        score/src/objectinitializeinformation.c,
1862        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1863        not used.
1864
18652008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1866
1867        * score/src/objectnametoidstring.c: New file.
1868
18692008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1870
1871        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1872        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1873        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1874        libmisc/stackchk/check.c, posix/src/condinit.c,
1875        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1876        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1877        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1878        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1879        posix/src/prwlockinit.c, posix/src/pspininit.c,
1880        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1881        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1882        posix/src/timercreate.c, rtems/src/barrierident.c,
1883        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1884        rtems/src/ratemonident.c, rtems/src/regionident.c,
1885        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1886        sapi/src/extensionident.c, score/Makefile.am,
1887        score/include/rtems/score/object.h,
1888        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1889        score/src/objectextendinformation.c,
1890        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1891        score/src/objectnametoid.c: Convert the Objects_Name type from a
1892        simple type to a union of an unsigned 32 bit integer and a pointer.
1893        This should help eliminate weird casts between u32 and pointers in
1894        various places. The APIs now have to explicitly call _u32 or _string
1895        versions of helper routines. This should also simplify things and
1896        eliminate the need for ugly casts in some cases.
1897        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1898        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1899        score/src/objectcopynamestring.c: Removed.
1900
19012008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1902
1903        * score/src/threadblockingoperationcancel.c: Clean up.
1904        * score/src/threadqextract.c: Restructure to eliminate dead code.
1905
19062008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1907
1908        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1909        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1910        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1911        testing and clean up more code.
1912
19132008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1914
1915        * score/src/threadqfirst.c: Remove switch.
1916
19172008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1918
1919        * rtems/include/rtems/rtems/event.h,
1920        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1921        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1922        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1923        score/include/rtems/score/interr.h,
1924        score/include/rtems/score/thread.h,
1925        score/include/rtems/score/threadq.h,
1926        score/include/rtems/score/tqdata.h,
1927        score/inline/rtems/score/threadq.inl,
1928        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1929        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1930        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1931        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1932        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1933        score/src/threadqextractpriority.c,
1934        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1935        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1936        score/src/threadqflush.c, score/src/threadqrequeue.c,
1937        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1938        blocking synchronization critical sections. This resulted in three
1939        copies of essentially the same hard to test critical section code
1940        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1941        addition, the thread queue and event code now share a common
1942        synchronization enumerated type. Along the way, switches were
1943        reworked to eliminate dead code generated by gcc and comments and
1944        copyrights were updated.
1945        * score/include/rtems/score/threadsync.h,
1946        score/src/threadblockingoperationcancel.c: New files.
1947
19482008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1949
1950        * libi2c/README_libi2c: Correct spelling error.
1951        * score/src/threadclearstate.c: Improve comment.
1952
19532008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1954
1955        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1956        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1957        posix/src/timergettime.c, posix/src/timersettime.c,
1958        score/include/rtems/score/timespec.h:
1959
19602008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1961
1962        * libmisc/shell/Makefile.am: Don't use make variables.
1963
19642008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1965
1966        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1967        existing one.
1968
19692008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1970
1971        * score/include/rtems/score/wkspace.h,
1972        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1973        inline _Workspace_Free or _Workspace_Allocate since they are not
1974        always inlined and actually smaller overall as subroutines. They are
1975        not particularly time critical so inlining is not absolutely
1976        necessary.
1977
19782008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1979
1980        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1981        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1982        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1983        Condition Variable object get helpers because they are more
1984        complicated than the norm. They can implicitly perform a create. They
1985        cross the line as being too complex and large to inline since they
1986        negatively impact size and binary test coverage.
1987        * posix/src/condget.c, posix/src/mutexget.c: New files.
1988
19892008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1990
1991        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1992        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1993        * libcsupport/src/malloc_p.h: Correct prototype.
1994
19952008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1996
1997        * score/include/rtems/score/coremutex.h,
1998        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1999        _CORE_mutex_Seize_interrupt_trylock() and add comments.
2000
20012008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2002
2003        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
2004
20052008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2006
2007        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
2008        libcsupport/src/free.c, libcsupport/src/malloc.c,
2009        libcsupport/src/malloc_deferred.c,
2010        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
2011        libcsupport/src/malloc_sbrk_helpers.c,
2012        libcsupport/src/posix_memalign.c: Place all deferred free code and
2013        place it in subroutines. Add plugin for dirtying allocated memory to
2014        assist in debugging. Clean up comments and spacing as needed.
2015        * libcsupport/src/malloc_dirtier.c: New file.
2016
20172008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2018
2019        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
2020        when there is an error.
2021
20222008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
2023
2024        * posix/src/keycreate.c, rtems/src/eventseize.c,
2025        score/include/rtems/score/interr.h: Rearranged source to allow more
2026        test coverage.
2027
20282008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2029
2030        * libcsupport/src/__assert.c: Clean up and make __assert() call
2031        __assert_func().
2032
20332008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2034
2035        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
2036        need to have it also.
2037
20382008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
2039
2040        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
2041        * libcsupport/include/rtems/malloc.h,
2042        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
2043        libcsupport/src/malloc_p.h,
2044        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
2045        support pluggable and optional.  This eliminates the need for
2046        heap extend and sbrk in the minimum footprint which is ~2.5K on
2047        the SPARC.
2048        * sapi/include/confdefs.h: Add the following configuration points:
2049          + CONFIGURE_MALLOC_STATISTICS
2050          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
2051        * libcsupport/src/malloc_sbrk_helpers.c: New file.
2052
20532008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
2054
2055        * score/Makefile.am: Add missing file.
2056
20572008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2058
2059        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
2060
20612008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2062
2063        * libmisc/Makefile.am: Add new files.
2064        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
2065        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
2066        * libmisc/shell/shellconfig.h: Add wkspace command.
2067        * libmisc/shell/main_wkspaceinfo.c,
2068        libmisc/shell/print_heapinfo.c: New files.
2069
20702008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2071
2072        * score/inline/rtems/score/isr.inl: Fix spacing.
2073        * score/src/apimutexallocate.c: Fix spacing.
2074        * score/src/coremsgseize.c: Check for message pending instead of
2075        message pending count to avoid dead code from inlined chain routine.
2076        It checks if the chain is empty so is redundant to count == 0.
2077
20782008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2079
2080        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
2081        up.
2082
20832008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2084
2085        * posix/src/pthreadcreate.c: Add commit.
2086        * posix/src/pthreadinitthreads.c: Fix line length.
2087
20882008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2089
2090        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
2091
20922008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2093
2094        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
2095        coding it.
2096
20972008-01-05      Chris Johns <chrisj@rtems.org>
2098
2099        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
2100        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
2101        * libblock/include/rtems/flashdisk.h: Add docmentation about the
2102        control fields. Add more control fields to handle the flash when
2103        full.
2104        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
2105        detects a descriptor is erased. Add support for unavailable blocks
2106        the user can configure. Print the used list as a diag. Fix the bug
2107        when a page is detected as failed and present on more than one
2108        queue. Add a count to the queues so queue length can be used to
2109        manage compaction.
2110       
21112008-01-03      Till Straumann <strauman@slac.stanford.edu>
2112
2113        * score/src/threadhandler.c, sapi/src/exshutdown.c:
2114        cannot call _fini via atexit() from rtems_shutdown_executive()
2115        because at the point where rtems_shutdown_executive is called
2116        the C-library is already dead.
2117        Instead, register an atexit(_fini) after calling _init().
2118
21192007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2120
2121        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
2122        Hopefully this implementation is OK.
2123        * libcsupport/src/_rename_r.c: New file.
2124
21252007-12-22      Chris Johns <chrisj@rtems.org>
2126
2127        * configure.ac: fixed bug that always enabled strict order
2128        mutexes.
2129        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
2130        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
2131        list if the mutex is initialised locked.
2132        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
2133        message to show the error is an rtems-net error.
2134        * libmisc/monitor/mon-network.c: Removed warnings.
2135        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
2136        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
2137        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
2138        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
2139        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
2140        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
2141        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
2142        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
2143        libmisc/shell/warnx.c: New. Ported from BSD.
2144        * libmisc/shell/shellconfig.h: Add the cp command.
2145        * libmisc/Makefile.am: Add the new files to the shell.
2146        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
2147        support.
2148        * libblock/src/flashdisk.c: Fixed disk drive count size setting
2149        bug.
2150       
21512007-12-21      Xi Yang <hiyangxi@gmail.com>
2152
2153        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
2154        of priority inheritance on mutexes as well as enforce proper order of
2155        release.
2156
21572007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2158
2159        * configure.ac, score/include/rtems/score/coremutex.h,
2160        score/inline/rtems/score/coremutex.inl: Add the ability to disable
2161        inlining coremutex seize. This reduces the code size and also
2162        improves the process of coverage analysis.
2163        * score/src/coremutexseizeintr.c: New file.
2164
21652007-12-21      Xi Yang <hiyangxi@gmail.com>
2166
2167        * configure.ac, score/include/rtems/score/coremutex.h,
2168        score/include/rtems/score/thread.h,
2169        score/inline/rtems/score/coremutex.inl,
2170        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
2171        support for proper stacking of priority inheritance on mutexes as
2172        well as enforce proper order of release.
2173
21742007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2175
2176        PR 1268/cpukit
2177        * libcsupport/include/rtems/assoc.h: There is no
2178        rtems_assoc_ptr_by_value method.
2179
21802007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2181
2182        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
2183        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
2184
21852007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2186
2187        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
2188
21892007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2190
2191        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
2192
21932007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2194
2195        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
2196        rtems_task_self() directive.
2197        * rtems/src/taskself.c: New file.
2198
21992007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
2200
2201        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
2202        and resolved copyright information.
2203        * posix/src/kill_r.c: New file.
2204
22052007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
2206
2207        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
2208
22092007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2210
2211        * sapi/include/confdefs.h: Revert. Requires info not available at
2212        preprocessing time.
2213
22142007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2215
2216        * sapi/include/confdefs.h: Catch the error when the user lowers the
2217        maximum number of drivers below the number of statically configured
2218        ones.
2219
22202007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2221
2222        * sapi/src/extension.c, sapi/src/extensioncreate.c,
2223        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
2224        Manager clean up. Update object id switches to new pattern. Catch
2225        some NULL parameter errors.
2226
22272007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2228
2229        * posix/src/psignalunblockthread.c: Remove source that
2230
22312007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2232
2233        * posix/src/psignalchecksignal.c: Make assert active during debug mode
2234        only
2235
22362007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
2237
2238        * posix/src/psignal.c: Move source around to enable path testing
2239
22402007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2241
2242        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
2243        libcsupport/src/free.c, libcsupport/src/malloc.c,
2244        libcsupport/src/malloc_p.h,
2245        libcsupport/src/malloc_report_statistics_plugin.c,
2246        libmisc/shell/shell.c, libmisc/shell/shell.h,
2247        score/src/objectinitializeinformation.c: Add posix_memalign. Split
2248        out management of deferred frees to subroutines.
2249        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
2250
22512007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2252
2253        * libcsupport/Makefile.am, libcsupport/preinstall.am,
2254        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
2255        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
2256        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
2257        one function per file. Also split out statistics into a separate file
2258        which can be plugged in dynamically. Right now, it is always in. I
2259        suspect that splitting the file removed more code than leaving
2260        statistics in. I tinkered with malloc information command in the
2261        shell. I resurrected the malloc arena code as malloc boundary. This
2262        code is now compiled all the time even though it does not appear to
2263        work.
2264        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
2265        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
2266        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
2267        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
2268        libcsupport/src/malloc_get_statistics.c,
2269        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
2270        libcsupport/src/malloc_report_statistics.c,
2271        libcsupport/src/malloc_report_statistics_plugin.c,
2272        libcsupport/src/malloc_statistics_helpers.c,
2273        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
2274        libmisc/shell/main_perioduse.c: New files.
2275
22762007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2277
2278        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
2279        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
2280        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
2281        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
2282        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
2283        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
2284        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
2285        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
2286        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
2287        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
2288        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
2289        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
2290        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
2291        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
2292        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
2293        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
2294        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
2295        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
2296        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
2297        rtems_Shell_ to rtems_shell_.
2298
22992007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2300
2301        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
2302        with info and dump as replacement for older command. Fix what looked
2303        like a typo for mount sub-commands.
2304        * libmisc/shell/main_mallocinfo.c: New file.
2305        * libmisc/shell/main_mallocdump.c: Removed.
2306
23072007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2308
2309        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
2310        malloc_info() routine.
2311        * libcsupport/src/mallocinfo.c: New file.
2312
23132007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2314
2315        * libmisc/stackchk/check.c: Add print of current stack pointer and
2316        stack info even if stack checker is not initialized.
2317
23182007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2319
2320        * libcsupport/src/printk.c: Style.
2321
23222007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2323
2324        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
2325        required in multiprocessing configuration.
2326
23272007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2328
2329        * score/src/objectget.c: Revert.
2330
23312007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2332
2333        * posix/src/timergettime.c: Include rtems/score/timespec.h
2334
23352007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2336
2337        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
2338        posix/include/mqueue.h, posix/include/sched.h,
2339        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
2340        posix/include/rtems/posix/priority.h,
2341        posix/include/rtems/posix/psignal.h,
2342        posix/include/rtems/posix/threadsup.h,
2343        posix/include/rtems/posix/timer.h,
2344        posix/inline/rtems/posix/priority.inl,
2345        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
2346        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
2347        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
2348        posix/src/cleanuppush.c, posix/src/cond.c,
2349        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
2350        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
2351        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
2352        posix/src/conddestroy.c, posix/src/condinit.c,
2353        posix/src/condsignal.c, posix/src/condsignalsupp.c,
2354        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
2355        posix/src/keycreate.c, posix/src/keydelete.c,
2356        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
2357        posix/src/keysetspecific.c, posix/src/mqueue.c,
2358        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2359        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2360        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
2361        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
2362        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
2363        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2364        posix/src/mqueueunlink.c, posix/src/mutex.c,
2365        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
2366        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2367        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2368        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2369        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2370        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2371        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2372        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2373        posix/src/psignal.c, posix/src/psignalchecksignal.c,
2374        posix/src/psignalclearprocesssignals.c,
2375        posix/src/psignalclearsignals.c,
2376        posix/src/psignalsetprocesssignals.c,
2377        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2378        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
2379        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
2380        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
2381        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
2382        posix/src/semclose.c, posix/src/semdestroy.c,
2383        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
2384        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
2385        posix/src/semwait.c, posix/src/setcancelstate.c,
2386        posix/src/setcanceltype.c, posix/src/sysconf.c,
2387        posix/src/testcancel.c: Add missing copyright statements.
2388
23892007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2390
2391        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2392
23932007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2394
2395        * posix/Makefile.am, posix/preinstall.am,
2396        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
2397        Timer implementation into multiple files. Add obvious error checks
2398        for NULL parameters. Attempt to reduce include files.
2399        * posix/src/timercreate.c, posix/src/timerdelete.c,
2400        posix/src/timergetoverrun.c, posix/src/timergettime.c,
2401        posix/src/timerinserthelper.c, posix/src/timersettime.c,
2402        posix/src/timertsr.c: New files.
2403        * posix/src/ptimer1.c: Removed.
2404
24052007-12-17      Chris Johns <chrisj@rtems.org>
2406
2407        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
2408        libmisc/shell/main_unmount.c: New.
2409        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
2410        blksync, msdosfmt, and unmount commands.
2411
24122007-12-17      Chris Johns <chrisj@rtems.org>
2413
2414        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
2415        system opts table.
2416        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
2417        system opts table.
2418        * libmisc/Makefile.am: Add the mount command and supporting files.
2419        * libmisc/preinstall.am: Rebuilt.
2420        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
2421        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2422        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2423        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2424        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2425        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2426        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2427        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2428        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2429        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2430        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2431        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2432        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2433        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2434        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
2435        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
2436        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
2437        libmisc/shell/write_file.c: Move all shell_* types, variables and
2438        functions to rtems_shell_* to avoid namespace clashes with
2439        applications. The is an RTEMS shell after all.
2440        * libmisc/shell/shell.h, libmisc/shell/internal.h,
2441        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
2442        functions to rtems_shell_* to avoid namespace clashes with
2443        applications. Add the mount command supporting types.
2444        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
2445        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
2446        libmisc/shell/main_mount_tftp.c: New.
2447       
24482007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2449
2450        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2451
24522007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2453
2454        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
2455        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
2456        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
2457        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2458        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2459        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2460        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2461        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2462        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2463        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2464        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2465        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2466        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2467        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2468        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2469        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2470        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
2471        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
2472        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
2473        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
2474        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
2475        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
2476        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
2477        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
2478        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
2479        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
2480        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
2481        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
2482        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
2483        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
2484
24852007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2486
2487        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
2488        API.
2489
24902007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2491
2492        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
2493        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
2494        Minor cleanup to improve testability and eliminate dead code.
2495
24962007-12-12      Chris Johns <chrisj@rtems.org>
2497
2498        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2499        Add RTEMS license details.
2500
25012007-12-12      Chris Johns <chrisj@rtems.org>
2502
2503        * Makefile.am, preinstall.am: Added
2504        libblock/include/rtems/flashdisk.h to the installed header list.
2505        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2506        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2507        New.
2508
25092007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2510
2511        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2512        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2513        score/Makefile.am, score/preinstall.am: Revert testing patch.
2514
25152007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2516
2517        * posix/src/sched_rr_get_interval.c: Fix warning.
2518
25192007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2520
2521        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2522        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2523        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2524        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2525        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2526        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2527        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2528        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2529        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2530        files into one function per file.
2531        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2532        posix/src/aio_read.c, posix/src/aio_return.c,
2533        posix/src/aio_suspend.c, posix/src/aio_write.c,
2534        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2535        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2536        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2537        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2538        posix/src/sched_yield.c: New files.
2539        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2540
25412007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2542
2543        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2544        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2545        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2546        posix/src/clocksettime.c, posix/src/devctl.c,
2547        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2548        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2549        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2550        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2551
25522007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2553
2554        * posix/src/adjtime.c: Clean up and verify against behavior documented
2555        in GNU/Linux man page provided with Fedora 7.
2556
25572007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2558
2559        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2560        automake variables.
2561
25622007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2563
2564        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2565        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2566        rtems/src/taskvariabledelete.c: Add test code for task variables to
2567        improve coverage.
2568        * rtems/src/taskvariable_invoke_dtor.c: New file.
2569
25702007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2571
2572        * posix/preinstall.am: Revert debug patch.
2573
25742007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2575
2576        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2577        BSP.
2578
25792007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2580
2581        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2582
25832007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2584
2585        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2586        disabled.
2587
25882007-12-12      Chris Johns <chrisj@rtems.org>
2589
2590        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2591        header list.
2592        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2593        in any order rather than before any commands have been added. Also
2594        made the command's strings be copies rather than references.
2595        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2596
25972007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2598
2599        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2600        Move Ada support code that is untestable from the Standard RTEMS Test
2601        Suite into its own directory. All code in score, posix, rtems, and
2602        sapi should be testable by the Standard RTEMS Test Suites. It was
2603        buried under POSIX before so this should be a clearer location
2604        anyway.
2605        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2606        libgnat/adasupp.c: New files.
2607        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2608
26092007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2610
2611        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2612        Reverse file contents.
2613
26142007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2615
2616        * sapi/include/rtems/config.h: Correct idle task prototype.
2617
26182007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2619
2620        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2621        libmisc/shell/internal.h, libmisc/shell/shell.c,
2622        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2623        processing now separated from main command loop. Addition of user
2624        commands and aliases tested. Monitor registration now explicit.
2625        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2626        libmisc/shell/write_file.c: New files.
2627
26282007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2629
2630        * libmisc/Makefile.am: Fix typo.
2631
26322007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2633
2634        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2635        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2636        into multiple files and add initial stages of command configuration.
2637        This seems to work but the monitor commands need to be integrated
2638        this way and the ability to configure user commands needs to be
2639        tested.
2640        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2641        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2642        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2643        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2644        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2645        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2646        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2647        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2648        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2649        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2650        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2651        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2652        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2653        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2654        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2655        libmisc/shell/str2int.c: New files.
2656
26572007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2658
2659        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2660
26612007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2662
2663        * sapi/include/rtems/config.h: Fix idle thread prototype.
2664
26652007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2666
2667        * sapi/include/confdefs.h: Separate the concept of configuring the
2668        interrupt stack size from actually reserving memory for it in the
2669        RTEMS Workspace.
2670
26712007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2672
2673        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2674        installed. It is the initialization interface for both GoAhead and
2675        Simple HTTPD.
2676
26772007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2678
2679        * sapi/include/rtems/config.h: Correct previous commit.
2680
26812007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2682
2683        * sapi/include/rtems/config.h: Commit temporary fix so
2684        interrupt_stack_size is accessible before RTEMS is initialized.
2685
26862007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2687
2688        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2689        sapi/include/rtems/init.h, sapi/src/exinit.c,
2690        score/include/rtems/system.h, score/src/isr.c: Move
2691        interrupt_stack_size field from CPU Table to Configuration Table.
2692        Eliminate CPU Table from all ports. Delete references to CPU Table in
2693        all forms.
2694
26952007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2696
2697        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2698        Table fields merged from CPU Table.
2699
27002007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2701
2702        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2703        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2704        posix/include/rtems/posix/mqueue.h,
2705        posix/include/rtems/posix/mutex.h,
2706        posix/include/rtems/posix/pthread.h,
2707        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2708        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2709        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2710        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2711        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2712        sapi/src/exinit.c, score/include/rtems/system.h,
2713        score/include/rtems/score/mpci.h, score/src/mpci.c,
2714        score/src/thread.c, score/src/threadcreateidle.c,
2715        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2716        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2717        the Configuration Table. This included pretasking_hook,
2718        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2719        extra_mpci_receive_server_stack, stack_allocate_hook, and
2720        stack_free_hook. As a side-effect of this effort some multiprocessing
2721        code was made conditional and some style clean up occurred.
2722
27232007-12-03      Chris Johns <chrisj@rtems.org>
2724
2725        * libmisc/shell/shell.h: Added comments for the parameters to the
2726        shell_init function.
2727        * libmisc/shell/shell.c: Only set cflags if tcflags is
2728        non-zero. This means the shell can use the current cflags settings
2729        and the application does not need to know the baudrate etc.
2730        * libmisc/capture/capture.h: Fix the comment.
2731
27322007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2733
2734        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2735        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2736        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2737        rtems/src/dpmemexternal2internal.c,
2738        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2739        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2740        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2741        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2742        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2743        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2744        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2745        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2746        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2747        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2748        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2749        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2750        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2751        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2752        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2753        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2754        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2755        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2756        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2757        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2758        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2759        rtems/src/timerserverfirewhen.c: Restructured all code with
2760        the switch (location) pattern so that OBJECTS_LOCAL is first
2761        and we can fall into it and the OBJECTS_ERROR case breaks
2762        to a return RTEMS_INVALID_ID.  This eliminates the return
2763        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2764        was unreachable and untestable code.  This resulted in a code
2765        savings of approximately 20 bytes per file on the SPARC/ERC32.
2766
27672007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2768
2769        * posix/Makefile.am: Restructed to move the
2770        OBJECTS_LOCAL case to the top of the switch statement and
2771        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2772        changes produced simplier assembly code and allowed for complete
2773        test coverage.  Also applied some consistency to the functions
2774        that translate the core status codes to POSIX status codes.
2775
27762007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2777
2778        * posix/include/rtems/posix/mutex.h,
2779        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2780        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2781        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2782        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2783        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2784        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2785        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2786        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2787        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2788        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2789        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2790        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2791        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2792        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2793        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2794        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2795        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2796        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2797        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2798        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2799        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2800        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2801        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2802        posix/src/semclose.c, posix/src/semdestroy.c,
2803        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2804        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2805        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2806        score/include/rtems/score/corebarrier.h,
2807        score/include/rtems/score/coremsg.h,
2808        score/include/rtems/score/coremutex.h,
2809        score/include/rtems/score/coresem.h: Restructed to move the
2810        OBJECTS_LOCAL case to the top of the switch statement and
2811        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2812        changes produced simplier assembly code and allowed for complete
2813        test coverage.  Also applied some consistency to the functions
2814        that translate the core status codes to POSIX status codes.
2815        * posix/src/mutextranslatereturncode.c,
2816        posix/src/semaphoretranslatereturncode.c: New files.
2817        * posix/src/mutexfromcorestatus.c: Removed.
2818
28192007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2820
2821        * posix/inline/rtems/posix/priority.inl: Fix typo.
2822
28232007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2824
2825        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2826        score/include/rtems/score/thread.h, score/src/object.c,
2827        score/src/thread.c: Conditionally compile out more code that is
2828        specific to multiprocessor configurations.
2829
28302007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2831
2832        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2833        posix/src/conddestroy.c, posix/src/condinit.c,
2834        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2835        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2836        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2837        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2838        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2839        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2840        posix/src/mutexattrgetprioceiling.c,
2841        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2842        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2843        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2844        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2845        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2846        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2847        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2848        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2849        posix/src/semclose.c, posix/src/semdestroy.c,
2850        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2851        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2852        Remove all pretense of POSIX MP support. The support in place was
2853        only a shell. This should make maintenance easier.
2854        * posix/include/rtems/posix/condmp.h,
2855        posix/include/rtems/posix/mqueuemp.h,
2856        posix/include/rtems/posix/mutexmp.h,
2857        posix/include/rtems/posix/pthreadmp.h,
2858        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2859        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2860
28612007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2862
2863        * configure.ac, score/inline/rtems/score/thread.inl,
2864        score/src/threaddispatch.c: Add ability for user to disable inlining
2865        of _Thread_Enable_dispatch. This can save code space but more
2866        importantly it means the binary generated does not have code inlined
2867        that is difficult to test and very seldom executed.
2868
28692007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2870
2871        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2872        rtems/include/rtems/rtems/barrier.h,
2873        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2874        score/src/corerwlockrelease.c: Fixed several implementation errors.
2875
28762007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2877
2878        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2879        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2880        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2881        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2882        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2883        case to the top of the switch statement, have a single exit with one
2884        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2885        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2886        code and allowed for complete test coverage.
2887
28882007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2889
2890        * sapi/include/confdefs.h,
2891        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2892        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2893
28942007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2895
2896        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2897
28982007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2899
2900        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2901        support Thumb.
2902
29032007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2904
2905        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2906        Now works on gen5200/icecube.
2907
29082007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2909
2910        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2911
29122007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2913
2914        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2915
29162007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2917
2918        * score/include/rtems/score/thread.h: Fix spelling error.
2919
29202007-11-17      Till Straumann <strauman@slac.stanford.edu>
2921
2922        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2923        Added checks so that use of 'stdio' is avoided (falling
2924        back to 'printk') before the system is up.
2925        Publish driver entry points so that the libi2c driver could
2926        be added to the applications 'device driver table'.
2927        This is not fully implemented yet, though, since in addition to
2928        initializing libi2c the low-level i2c bus drivers as well
2929        as high-level i2c device drivers need to be registered
2930        with the library.
2931        Updated README_libi2c accordingly.
2932
29332007-11-17      Till Straumann <strauman@slac.stanford.edu>
2934
2935        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2936        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2937        so that it knows what PHY they want to look at.
2938
29392007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2940
2941        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2942        in opposite files. Whoops!
2943
29442007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2945
2946        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2947        of the focus was on the beginning stages of making the login checker
2948        pluggable just like the shell.
2949
29502007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2951
2952        * posix/src/mprotect.c: Update comments.
2953
29542007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2955
2956        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2957        will require gcc 4.3 or newer.
2958        * posix/src/ada_intrsupp.c: New file.
2959
29602007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2961
2962        * sapi/src/exinit.c, score/Makefile.am,
2963        score/include/rtems/score/apimutex.h: API Mutex calls should never
2964        have been inlined. Inlining them lead to many inlined copies of core
2965        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2966        minimum.exe.
2967        * score/src/apimutex.c, score/src/apimutexallocate.c,
2968        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2969
29702007-11-07      Till Straumann <strauman@slac.stanford.edu>
2971
2972        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2973        around _CPU_ISR_Set_level().
2974
29752007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2976
2977        * score/inline/rtems/score/object.inl: During test coverage analysis,
2978        we identified this sanity check which should have been conditional on
2979        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2980        operations. With all APIs enabled, this saved 352 bytes from the
2981        minimum executable on the SPARC/ERC32.
2982
29832007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2984
2985        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2986        compiler conditional attribute for methods that do not return. This
2987        avoids gcc generating unreachable code following calls to
2988        _Internal_error_Occurred.
2989
29902007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2991
2992        * configure.ac: Add ARM/Thumb Makefile.
2993
29942007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2995
2996        PR 1266/cpukit
2997        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2998        of class for key indexing.
2999
30002007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
3001
3002        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
3003        Fix headers and formatting.
3004
30052007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
3006
3007        Miscellaneous changes made after a review against the POSIX spec.
3008        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
3009        passes a NULL in the attributes parameter, default attributes are used.
3010        * posix/src/prwlockdestroy.c: If there is at least one thread
3011        waiting, do not allow deletion.
3012        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
3013        operation used to obtain a RWLock for writing.
3014        * posix/src/pspinlocktranslatereturncode.c,
3015        score/include/rtems/score/corespinlock.h,
3016        score/src/corespinlockrelease.c: If the current thread is not the
3017        holder of the lock, do not allow an unlock and return EPERM.
3018        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
3019        for queueing with a timeout handler.
3020
30212007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
3022
3023        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
3024        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
3025        stack so gdb backtrace does not print corrupted frame message after
3026        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
3027        SPARC implementation and I made it more general.
3028
30292007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
3030
3031        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
3032        Cleaned up reports and fixed a bug related the printf format which
3033        resulted in lack of leading zeroes and misleading magnitude.
3034        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
3035
30362007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
3037
3038        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
3039        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
3040        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
3041        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
3042        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
3043        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
3044        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
3045        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
3046        posix/src/condinit.c, posix/src/condsignalsupp.c,
3047        posix/src/condwaitsupp.c, posix/src/keydelete.c,
3048        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
3049        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
3050        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
3051        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
3052        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
3053        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
3054        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
3055        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
3056        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
3057        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
3058        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
3059        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
3060        posix/src/pspindestroy.c, posix/src/pspinlock.c,
3061        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
3062        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
3063        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
3064        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
3065        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
3066        posix/src/semclose.c, posix/src/semdestroy.c,
3067        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
3068        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
3069        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
3070        rtems/src/dpmemexternal2internal.c,
3071        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
3072        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
3073        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
3074        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
3075        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
3076        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
3077        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
3078        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
3079        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
3080        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
3081        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
3082        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
3083        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
3084        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
3085        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
3086        rtems/src/signalsend.c, rtems/src/taskdelete.c,
3087        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
3088        rtems/src/taskrestart.c, rtems/src/taskresume.c,
3089        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
3090        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
3091        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
3092        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
3093        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
3094        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
3095        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
3096        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
3097        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
3098        score/src/mpci.c, score/src/objectgetnameasstring.c,
3099        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
3100        multiprocessing is disabled, do not even allow the constant
3101        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
3102        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
3103        in the generation of binary code which can NOT be reached.
3104
31052007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
3106
3107        * score/Makefile.am, score/include/rtems/score/thread.h,
3108        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
3109        resulted in unnessary code explosion, many uncovered paths when
3110        looking at binary executable coverage, and only optimized getting
3111        self. Id translations were still getting pushed to a subroutine call
3112        to _Objects_Get. Later the non-inlined version can be further
3113        optimized to get Ids in range for the current API, then self, then
3114        look at other APIs.
3115        * score/src/threadget.c: New file.
3116
31172007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3118
3119        * libi2c/README-libi2c
3120        document structure of libi2c library
3121
31222007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3123
3124        * libi2c/libi2c.c, libi2c/libi2c.h:
3125        extend API to support SPI devices
3126        made libi2c.h C++-proof
3127
31282007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
3129
3130        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
3131        also in another file.  Mistake after splitting.
3132        * libcsupport/Makefile.am: Reflect file removal.
3133
31342007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
3135
3136        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
3137        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
3138        Minor updates from FreeBSD.
3139
31402007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3141
3142        * score/include/rtems/score/copyrt.h: Update year.
3143
31442007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3145
3146        * score/include/rtems/score/copyrt.h: Update year.
3147
31482007-10-11      Daniel Hellstrom <daniel@gaisler.com>
3149
3150        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
3151        Fixed check of status when registering driver. Add use of strerror().
3152
31532007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
3154        Ralf Corsépius <ralf.corsepius@rtems.org>
3155
3156        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
3157        libnetworking/libc/if_indextoname.c,
3158        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
3159        * Makefile.am: Add files above.
3160        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
3161
31622007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
3163
3164        * libmisc/stackchk/check.c: Eliminate output with little information.
3165        Always print a blown message using the same routine. Now works with
3166        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
3167        support in your GCC version.
3168
31692007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
3170
3171        * libcsupport/src/gxx_wrappers.c: Revert.
3172
31732007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
3174
3175        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
3176        PRId32 to fix warning.
3177
31782007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
3179
3180        * telnetd/passwd.h: New file.
3181
31822007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
3183
3184        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
3185        telnetd/telnetd.h: telnetd rewrite.
3186        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
3187
31882007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3189
3190        PR 1262/filesystem
3191        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
3192        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
3193        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
3194        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
3195        writev() including documentation and test case.
3196        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
3197
31982007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3199
3200        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
3201        document what is required to provide a fully functional
3202        implementation.
3203        * libnetworking/rtems/rtems_socketpair.c: New file.
3204
32052007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
3206
3207        * aclocal/version.m4: Bump RTEMS_API to 4.9.
3208        Bump RTEMS_VERSION to 4.8.99.0.
3209
32102007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3211
3212        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
3213
32142007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3215
3216        * posix/src/semaphorecreatesupp.c: Fixed warning.
3217
32182007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3219
3220        * libmisc/dumpbuf/dumpbuf.c: Use printk.
3221
32222007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3223
3224        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
3225        Use uint32_t for ext_accm.
3226
32272007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3228
3229        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
3230        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
3231        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
3232        fixed-size types instead of BSD fixed-size types.
3233
32342007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
3235
3236        * libmisc/stackchk/check.c: Fix alignment of output.
3237
32382007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
3239
3240        * libmisc/monitor/monitor.h: Add network commands that were in the
3241        network supplement but not in the code.
3242        * libmisc/monitor/mon-network.c: New file.
3243
32442007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3245
3246        PR 1261/cpukit
3247        * posix/src/semaphorecreatesupp.c: Initialize all fields during
3248        semaphore creation.
3249
32502007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3251
3252        PR 1260/cpukit
3253        * posix/src/pthread.c: Get initial signals blocked from creating
3254        thread not from ourselves.
3255
32562007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3257
3258        * score/src/watchdogtickle.c: Remove tabs.
3259
32602007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3261
3262        PR 1259/rtems
3263        * rtems/src/taskcreate.c: Initialize is_global in all cases since
3264        memory is not guaranteed to be zero.
3265
32662007-09-12  Sergei Organov  <osv@javad.com>
3267
3268        PR 1258/rtems
3269        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
3270        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
3271        Use block_allocate() instead of _Heap_Block_allocate(). Replace
3272        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
3273        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
3274        to changed block split strategy in _Heap_Allocate_aligned().
3275
32762007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3277
3278        * libcsupport/src/printk.c: Remove unnecessary comments.
3279
32802007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3281
3282        * libmisc/monitor/mon-monitor.c:
3283        Corrected linked list of rtems_monitor_commands
3284
32852007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
3286
3287        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
3288        walk on init, malloc, and free. The ability to walk the heap appears
3289        to disappeared during the rework of the C Program heap to skip the
3290        Region.
3291
32922007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
3293
3294        * score/src/heap.c: Style.
3295        * score/src/heapwalk.c: Add more information to prints.
3296        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
3297        is disabled.
3298
32992007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3300
3301        * libcsupport/Makefile.am, libcsupport/src/printk.c:
3302        * libcsupport/src/printk_plugin.c: New file.
3303        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
3304        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
3305        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
3306        rtems/src/ratemonreportstatistics.c: Added capability to specify
3307        your own "printf" routine to various reporting functions.  This
3308        added an XXX_with_plugin as the underlying implementation for
3309          + rtems_rate_monotonic_report_statistics
3310          + rtems_stack_checker_report_usage
3311          + rtems_cpu_usage_report
3312        As demonstration, the http netdemo can now print out stack
3313        and cpu usage reports.
3314
33152007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3316
3317        * shttpd/compat_rtems.c: Style clean up.
3318
33192007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3320
3321        * rtems/src/ratemonperiod.c: Clean up.
3322        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
3323
33242007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3325
3326        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
3327
33282007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3329
3330        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
3331
33322007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3333
3334        * libmisc/Makefile.am: Add new files.
3335
33362007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3337
3338        * libmisc/monitor/mon-object.c,
3339        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
3340        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
3341        * libmisc/monitor/mon-task, libmisc/Makefile.am:
3342        Added functionality for osmonweb support
3343
33442007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3345
3346        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
3347        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
3348        that are needed by osmonweb.
3349
33502007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3351
3352        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
3353        Use printk.
3354
33552007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3356
3357        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
3358        spacing and spelling.
3359
33602007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3361
3362        PR 1256/networking
3363        * ftpd/ftpd.c: Fix unaligned access.
3364
33652007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3366
3367        * posix/Makefile.am: Always build nanosleep.
3368
33692007-08-17      Chris Johns <chrisj@rtems.org>
3370
3371        * libmisc/capture/README: Minor copyright change.
3372        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
3373        libmisc/capture/capture.h: Fixed the memory leak when lots of
3374        tasks are being created and deleted. Improved the trigger
3375        interface so all task type actions can be caught.
3376
33772007-08-13      Chris Johns <chrisj@rtems.org>
3378
3379        * score/include/rtems/score/object.h: Point the
3380        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
3381
33822007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
3383
3384        PR 1248/networking
3385        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
3386        reported that when no interfaces are successfully attached, the
3387        default route is broken and may result in a jump to an illegal
3388        address.
3389
33902007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3391
3392        * score/inline/rtems/score/priority.inl: Use size_t instead of
3393          uint32_t for array index.
3394
33952007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3396
3397        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
3398          identify coldfire cpus.
3399
34002007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3401
3402        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
3403          coldfire.
3404
34052007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3406
3407        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
3408          work-around bug m68k/coldfire -fomit-frame-pointer bug
3409          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
3410
34112007-07-27      Chris Johns <chrisj@rtems.org>
3412
3413        * wrapup/Makefile.am: Create archive from a file for hosts
3414        with a limited command line size.
3415
34162007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3417
3418        * include/rtems/bspIo.h, include/rtems/pci.h:
3419        Add extern "C" guards. Reported by
3420        Robert S. Grimes <rsg@alum.mit.edu>.
3421
34222007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3423
3424        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
3425        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
3426        the time appears to be reported correctly and add up to what is
3427        expected.
3428
34292007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3430
3431        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
3432        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
3433        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
3434
34352007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
3436
3437        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
3438        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
3439        was always using uptime not time since last cpu usage reset when
3440        using nanoseconds granularity.
3441        * libmisc/cpuuse/cpuusagedata.c: New file.
3442
34432007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
3444
3445        * libcsupport/src/mount.c: Allow null for output parameter.
3446
34472007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
3448
3449        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
3450        to shttpd initialization.
3451
34522007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3453
3454        * libcsupport/src/malloc.c: Clean up Malloc debug code.
3455        * score/include/rtems/score/heap.h: Spacing.
3456        * score/inline/rtems/score/thread.inl:
3457        * score/src/heapfree.c. Clean up and add explicit check of the address
3458        being freed actually being in the heap.
3459        * score/src/heapwalk.c: Switch to printk and do not call abort.
3460
34612007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3462
3463        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
3464        area contingent on the stack checker user extension having been
3465        initialized.
3466
34672007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3468
3469        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
3470        and recv(). We already had the BSD versions and these conflict
3471        sometimes when linking.
3472
34732007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3474
3475        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
3476        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
3477
34782007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3479
3480        * sapi/include/confdefs.h: Do not instantiate initialization
3481        thas/thread pointer tables for an API that is not configured.
3482
34832007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3484
3485        * libcsupport/Makefile.am:
3486        * libcsupport/src/open_dev_console.c: New file.
3487
34882007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3489
3490        * score/src/corerwlock.c: Make sure structure is fully initialized.
3491        When reused, some fields will not be zero like at initialization.
3492
34932007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3494
3495        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
3496        size. Account for this.
3497
34982007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3499
3500        * configure.ac: Add NDEBUG as a command line compilation option.
3501
35022007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3503
3504        * libmd/.cvsignore: New file.
3505
35062007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3507
3508        * shttpd/defs.h: Eliminate my_strncasecmp.
3509        * shttpd/string.c: Eliminate my_strncasecmp.
3510
35112007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3512
3513        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3514        * pppd/Makefile.am: Reflect moving out md*.
3515        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3516          libmd).
3517        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3518        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3519        * configure.ac, Makefile.am: Add libmd.
3520
35212007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3522
3523        * shttpd/defs.h: Eliminate my_strlcpy.
3524        * shttpd/string.c: Eliminate my_strlcpy.
3525
35262007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3527
3528        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3529        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3530        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3531          libmd.a.
3532
35332007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3534
3535        * wrapup/Makefile.am: Add libmd.a.
3536
35372007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3538
3539        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3540          Add pppd/libmd.a.
3541        * pppd/md4.c: Don't include pppd.h.
3542
35432007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3544
3545        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3546
35472007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3548
3549        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3550        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3551        Add config.h support.
3552
35532007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3554
3555        * shttpd/compat_rtems.h: Define closesocket.
3556
35572007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3558
3559        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3560
35612007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3562        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3563        Use size_t for stack sizes.
3564
35652007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3566
3567        * configure.ac, Makefile.am: Add shttpd.
3568        * shttpd/Makefile.am: New.
3569        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3570        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3571        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3572        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3573        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3574        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3575        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3576        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3577        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3578        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3579        Import from shttpd-1.37.tar.gz.
3580
35812007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3582
3583        * configure.ac: Remove "pad" from CPU_CONTEXT.
3584
35852007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3586
3587        * score/src/coremsg.c: Formatting.
3588
35892007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3590
3591        * score/include/rtems/score/copyrt.h: Update copyright notice.
3592
35932007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3594
3595        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3596        one function per file execpt io.c which contains required
3597        initialization methods.
3598        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3599        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3600        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3601        sapi/src/iowrite.c: New files.
3602
36032007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3604
3605        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3606        table into Workspace but now it is only done if the application needs
3607        extra slots for dynamic driver registration. Cleaned up
3608        rtems_io_register_driver and rtems_io_unregister_driver code and
3609        added numerous error cases to register.
3610
36112007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3612
3613        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3614        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3615        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3616        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3617        configuration parameter since it was used to configure a no longer
3618        used feature. Device names are now part of the filesystem not in a
3619        table. This also eliminated the variables _IO_Number_of_devices and
3620        _IO_Driver_name_table from RTEMS as well as the memory allocation
3621        used to populate _IO_Driver_name_table.
3622        * libmisc/monitor/mon-dname.c: Removed.
3623
36242007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3625
3626        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3627        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3628        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3629        unused Workspace. Round the workspace required size to an 8 byte
3630        boundary instead of a 0x400 byte one. We may end up needing to add 8
3631        bytes again to account for the alignment rounding.
3632
36332007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3634
3635        Yu Chen <chyyuu@gmail.com>
3636        * score/src/corespinlockwait.c: Per question posted as
3637        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3638        logical operator to <=.
3639
36402007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3641
3642        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3643        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3644        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3645        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3646        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3647        executive initialization.
3648
36492007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3650
3651        * score/src/corerwlockrelease.c: Do not dereference NULL.
3652
36532007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3654
3655        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3656        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3657        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3658        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3659        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3660        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3661        sapi/include/rtems/extension.h: Split Classic API data instantiation
3662        into individual files. This reduces the size of the BSS section when
3663        an optional manager stub is used. Some tests showed about a 600 byte
3664        reduction in BSS size.
3665        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3666        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3667        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3668        used in one place after initialized. It was a waste of space.
3669        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3670        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3671        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3672        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3673        sapi/src/extensiondata.c: New files.
3674
36752007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3676
3677        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3678        functionality into multiple files to eliminate unnecessary cohesion.
3679        Update README.
3680        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3681        New files.
3682        * libmisc/cpuuse/cpuuse.c: Removed.
3683
36842007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3685
3686        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3687        negative value in some circumstances. Also cleaned up to share uptime
3688        declaration.
3689
36902007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3691
3692        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3693        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3694        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3695        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3696        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3697        score/Makefile.am, score/include/rtems/score/thread.h,
3698        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3699        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3700        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3701        monotonic period statistics and CPU usage statistics. This capability
3702        is enabled by default although may be conditionally disabled by the
3703        user. It could be too much overhead on small targets but it does not
3704        appear to be bad in early testing. Its impact on code size has not
3705        been evaluated either. It is possible that both forms of statistics
3706        gathering could be disabled with further tweaking of the conditional
3707        compilation.
3708        * score/src/timespecdividebyinteger.c: New file.
3709
37102007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3711
3712        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3713        functionally similar code here. Also cleanup print formats.
3714
37152007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3716
3717        * score/src/objectgetnameasstring.c: Internal threads use string names
3718        so in the current RTEMS source string object name can NOT be
3719        disabled. It is probably worth considering converting the internal
3720        threads to uint32_t style names so all the support for string names
3721        can be conditionally disabled.
3722
37232007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3724
3725        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3726        and greater than operations for timespecs.
3727        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3728        New files.
3729
37302007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3731
3732        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3733        RTEMS_POSIX_API.
3734
37352007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3736
3737        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3738        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3739        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3740        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3741        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3742        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3743        score/Makefile.am, score/include/rtems/score/object.h,
3744        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3745        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3746        Added the following directives: rtems_rate_monotonic_get_statistics,
3747        rtems_rate_monotonic_reset_statistics,
3748        rtems_rate_monotonic_reset_all_statistics,
3749        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3750        Obsoleted the rtems/rtmonuse.h file as a public interface.
3751        * rtems/src/ratemongetstatistics.c,
3752        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3753        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3754        score/src/objectgetnameasstring.c: New files.
3755        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3756
37572007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3758
3759        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3760        rtems_io_register_name for use on unix.
3761        * libcsupport/src/unixlibc_io.c: New file.
3762
37632007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3764
3765        * score/src/coremsgseize.c: A blocking sender's message size was
3766        pulled out of the wrong field in the Wait information structure.
3767        * score/src/objectallocate.c: With the new optional manager support,
3768        we only stub out the initialization. This makes it possible to attempt
3769        to create an object with the information structure only initialized
3770        with all zeros.  This ensures we return an error cleanly in this case.
3771
37722007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3773
3774        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3775        an optional manager, we cannot depend on it do initialize the
3776        internal Allocator Mutex.  This was always a questionable place to
3777        do it, so this is a cleanup.
3778
37792007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3780
3781        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3782        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3783        suitable for inclusion in the Users Guide.
3784
37852007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3786
3787        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3788        ChangeLog-pre2007.
3789        * ChangeLog-pre2007: New file.
3790
37912007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3792
3793        PR 1241/rtems
3794        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3795        critical section window added with requeueing support.
3796
37972007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3798
3799        * libcsupport/include/rtems/cdefs.h,
3800          libcsupport/include/sys/cdefs.h: Remove.
3801        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3802        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3803        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3804        libnetworking/netdb.h, libnetworking/resolv.h,
3805        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3806        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3807        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3808        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3809        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3810        libnetworking/rtems/rtems_bsdnet_internal.h,
3811        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3812        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3813        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3814        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3815        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3816        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3817        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3818        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3819        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3820        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3821        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3822
38232007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3824
3825        * Makefile.am: Reflect introduction of
3826          include/rtems/bsd/sys/cdefs.h.
3827        * include/rtems/bsd/sys/cdefs.h: New.
3828
38292007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3830
3831        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3832        * libnetworking/sys/queue.h: Remove.
3833
38342007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3835
3836        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3837        <machine/endian.h>.
3838        * libnetworking/rtems/rtems_showroute.c,
3839        libnetworking/rtems/rtems_showipstat.c,
3840        libnetworking/rtems/rtems_showtcpstat.c,
3841        libnetworking/rtems/rtems_showicmpstat.c,
3842        libnetworking/rtems/rtems_showmbuf.c,
3843        libnetworking/rtems/rtems_showudpstat.c,
3844        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3845        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3846        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3847        libnetworking/netinet/tcp_usrreq.c,
3848        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3849        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3850        libnetworking/netinet/ip_output.c,
3851        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3852        libnetworking/netinet/udp_usrreq.c,
3853        libnetworking/netinet/tcp_output.c,
3854        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3855        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3856        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3857        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3858        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3859        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3860        instead of <sys/queue.h>.
3861        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3862        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3863        libnetworking/net/if.h, libnetworking/net/if_media.h,
3864        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3865        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3866        instead of <sys/queue.h>.
3867        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3868        * include/rtems/bsd/sys/queue.h: New (Copied from
3869          libnetworking/sys/queue.h).
3870
38712007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3872
3873        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3874        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3875        score/Makefile.am, score/preinstall.am,
3876        score/include/rtems/score/userext.h, score/src/chain.c,
3877        score/src/userext.c: Switch to newlib reentrancy extension being
3878        installed in the initial set instead of using rtems_extension_create.
3879        While implementing this, noticed that user extensions and chain code
3880        had multiple functions in a single file which is not desirable in the
3881        SuperCore and API portions of RTEMS, so split these into multiple
3882        files with one function per file. Also noticed that some of user
3883        extension code was inlined for no particular reason so moved that to
3884        C bodies.  Split executive shutdown from initialization since not
3885        every application shuts down.  Moved __fini call to executive shutdown
3886        to be more symmetrical with where it is called at startup.
3887        * sapi/src/exshutdown.c, score/src/chainappend.c,
3888        score/src/chainextract.c, score/src/chainget.c,
3889        score/src/chaininsert.c, score/src/userextaddapiset.c,
3890        score/src/userextaddset.c, score/src/userextremoveset.c,
3891        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3892        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3893        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3894        files.
3895        * score/inline/rtems/score/userext.inl: Removed.
3896
38972007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3898
3899        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3900        reference _Configuration_MP_table if multiprocessing is disabled.
3901
39022007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3903
3904        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3905        reference _Configuration_MP_table if multiprocessing is disabled.
3906
39072007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3908
3909        * libnetworking/machine/endian.h: Remove.
3910        * libnetworking/Makefile.am: Remove machine/endian.h.
3911        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3912        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3913        <rtems/endian.h> instead of <machine/endian.h>.
3914        * Makefile.am: Add include/rtems/endian.h.
3915        * include/rtems/endian.h: New (Copied from
3916          libnetworking/machine/endian.h).
3917
39182007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3919
3920        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3921        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3922        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3923        of <stdint.h>.
3924        * libnetworking/machine/endian.h: Remove
3925          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3926        * NEWS: new.
3927
39282007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3929
3930        PR 1243
3931        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3932
39332007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3934
3935        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3936        to inline functions, using uint[16,32]_t.
3937        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3938        with SUSv3.
3939        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3940        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3941        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3942        Add HAVE_CONFIG_H magic.
3943        * libnetworking/libc/gethostbydns.c,
3944        libnetworking/libc/inet_net_ntop.c,
3945        libnetworking/libc/inet_pton.c: Eliminate __P.
3946        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3947        return value of ntohl (POSIX requirement).
3948        Use UINT32_C macros to avoid overflows on 16bit targets.
3949        Eliminate __P.
3950        * configure.ac: Check for working PRIxPTR.
3951
39522007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3953
3954        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3955        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3956        Use size_t for stack sizes.
3957
39582007-05-03      Joel Sherrill <joel@OARcorp.com>
3959
3960        * ChangeLog, libcsupport/src/malloc.c,
3961        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3962        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3963        Region Manager is quite heavy for implementing this. This patch
3964        implements the C Program Heap directly in terms of the new Protected
3965        Heap handler. This handler is a direct use of a SuperCore Heap in
3966        conjunction with the Allocator Mutex used internally by RTEMS. This
3967        saves 3184 bytes on most SPARC test executables.
3968        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3969        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3970        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3971        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3972        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3973        score/src/pheapwalk.c: New files.
3974
39752007-05-03      Joel Sherrill <joel@OARcorp.com>
3976
3977        * libcsupport/src/rmdir.c: Fixed spacing.
3978        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3979        newlibc.c. It is not required for minimum executing and drops 624
3980        from SPARC minimum executable.
3981        * libcsupport/src/newlibc_exit.c: New file.
3982
39832007-04-17      Joel Sherrill <joel@OARcorp.com>
3984
3985        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3986        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3987        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3988        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3989        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3990        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3991        reduce executable size. Most were refactoring of files. Split ITRON
3992        API files. Implemented mechanism to avoid initialization task/thread
3993        loop being linked in when that style of task initialization was not
3994        being used.
3995        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3996        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3997        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3998        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3999        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
4000        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
4001        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
4002        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
4003        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
4004        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
4005        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
4006        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
4007        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
4008        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
4009        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
4010        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
4011        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
4012        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
4013        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
4014        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
4015        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
4016
40172007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4018
4019        * score/include/rtems/score/thread.h:
4020          Use Context_Control_fp* instead of void* for fp_contexts.
4021
40222007-04-16      Joel Sherrill <joel@OARcorp.com>
4023
4024        PR 1240/filesystem
4025        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
4026        for filename was not being freed.
4027
40282007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4029
4030        * pppd/utils.c: Use uintptr_t instead of unsigned long.
4031
40322007-04-16      Joel Sherrill <joel@OARcorp.com>
4033
4034        * itron/src/rsm_tsk.c: Correct error returned.
4035
40362007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4037
4038        * configure.ac: Redefine LIBPOSIX to !UNIX.
4039        * posix/src/usleep.c, libcsupport/src/readlink.c:
4040        Update API to SUSv3.
4041
40422007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4043
4044        * posix/Makefile.am: Unconditionally build src/sleep.c,
4045          src/usleep.c.
4046        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
4047          CLOCK_MONOTONIC case.
4048        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
4049
40502007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4051
4052        * posix/Makefile.am: Cosmetics.
4053        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
4054        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
4055
40562007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4057
4058        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
4059          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
4060        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
4061          rtems/posix/time.h.
4062        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
4063          rtems/posix/time.h.
4064        * score/include/rtems/score/object.h: Use size_t for byte sizes.
4065
40662007-04-12      Joel Sherrill <joel@OARcorp.com>
4067
4068        * itron/src/rsm_tsk.c: Correct error returned.
4069
40702007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4071
4072        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
4073
40742007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
4075
4076        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
4077        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
4078        _impure_ptr bug).
4079        Fix abuse of _REENT_INIT().
4080
40812007-04-05      Joel Sherrill <joel@OARcorp.com>
4082
4083        * itron/src/itrontime.c: Fix typo.
4084        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
4085        * score/src/iterateoverthreads.c: Safely take NULL as argument.
4086        * score/src/threaddispatch.c: Formatting.
4087
40882007-04-05      Joel Sherrill <joel@OARcorp.com>
4089
4090        * posix/Makefile.am: Fix formatting.
4091
40922007-04-05      Joel Sherrill <joel@OARcorp.com>
4093
4094        * posix/Makefile.am, posix/include/rtems/posix/time.h,
4095        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
4096        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
4097        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
4098        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
4099        posix/src/pthread.c, posix/src/pthreadcreate.c,
4100        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
4101        posix/src/sched.c, posix/src/semtimedwait.c,
4102        posix/src/sigtimedwait.c, posix/src/ualarm.c,
4103        rtems/src/clocktodtoseconds.c, score/Makefile.am,
4104        score/preinstall.am, score/include/rtems/score/tod.h,
4105        score/inline/rtems/score/tod.inl, score/src/coretod.c,
4106        score/src/coretodget.c, score/src/coretodgetuptime.c,
4107        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
4108        manipulation routines in the SuperCore. Use them everywhere possible.
4109        This lead to significant cleanup in the API routines and eliminated
4110        some of the same code from the POSIX API. At this point, the
4111        SuperCore keeps time in POSIX timespec format properly from 1970. You
4112        just cannot set it before 1988 in keeping with RTEMS traditional
4113        behavior.
4114        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
4115        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
4116        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
4117        score/src/timespectoticks.c: New files.
4118        * posix/src/posixintervaltotimespec.c,
4119        posix/src/posixtimespecsubtract.c,
4120        posix/src/posixtimespectointerval.c: Removed.
4121
41222007-04-04      Joel Sherrill <joel@OARcorp.com>
4123
4124        * score/Makefile.am, score/include/rtems/score/tod.h,
4125        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
4126        non-inlined routine. It should only be used once so there is little
4127        advantage to inlining it.
4128        * score/src/coretodtickle.c: New file.
4129
41302007-04-02      Joel Sherrill <joel@OARcorp.com>
4131
4132        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
4133        dead code.
4134        * posix/src/time.c: Removed.
4135
41362007-04-02      Joel Sherrill <joel@OARcorp.com>
4137
4138        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
4139        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
4140        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
4141        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
4142        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
4143        TOD_Ticks_per_second variable.
4144
41452007-04-02      Joel Sherrill <joel@OARcorp.com>
4146
4147        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
4148        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
4149        posix/src/clockgettime.c, posix/src/clocksettime.c,
4150        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
4151        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
4152        posix/src/sleep.c, rtems/Makefile.am,
4153        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
4154        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
4155        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
4156        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
4157        score/Makefile.am, score/include/rtems/score/tod.h,
4158        score/inline/rtems/score/tod.inl, score/src/coretod.c,
4159        score/src/coretodset.c: Convert from Classic API style TOD_Control as
4160        fundamental time structure to POSIX struct timespec. Add
4161        clock_get_uptime().
4162        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
4163        score/src/coretodgetuptime.c: New files.
4164        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
4165        score/src/coretodvalidate.c: Removed.
4166
41672007-04-02      Joel Sherrill <joel@OARcorp.com>
4168
4169        * libcsupport/src/printk.c: Add %p support.
4170
41712007-04-02      Joel Sherrill <joel@OARcorp.com>
4172
4173        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
4174        in addition to the pattern area being overwritten. Also do some
4175        cleanup.
4176
41772007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
4178
4179        * include/rtems/pci.h: Further stdint.h fixed-size types.
4180
41812007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4182
4183        * include/rtems/pci.h: Use stdint.h fixed size-types.
4184
41852007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4186
4187        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
4188        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
4189        * libnetworking/Makefile.am: Move libc/res_config.h to
4190          libc_a_SOURCES (File is being used).
4191        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
4192        Remove (Unused).
4193        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
4194        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
4195        Remove (Unused).
4196        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
4197
41982007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4199
4200        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
4201        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
4202        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
4203        libnetworking/libc/gethostbynis.c,
4204        libnetworking/libc/gethostnamadr.c,
4205        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
4206        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
4207        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
4208        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
4209        libnetworking/libc/getservbyname.c,
4210        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
4211        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
4212        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
4213        libnetworking/libc/inet_net_ntop.c,
4214        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
4215        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
4216        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
4217        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
4218        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
4219        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
4220        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
4221        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
4222        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
4223        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
4224        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
4225        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
4226        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
4227        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
4228        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
4229        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
4230        SCCS, LINT. Add HAVE_CONFIG_H.
4231        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
4232
42332007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4234
4235        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
4236          uintptr_t.
4237
42382007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4239
4240        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
4241        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
4242
42432007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4244
4245        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
4246        * libnetworking/net/netisr.h: Partial update from FreeBSD.
4247        * libcsupport/src/getpwent.c: Remove bogus cast to long.
4248        * libnetworking/libc/strsep.c: Don't build if provided by libc.
4249        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
4250        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
4251        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
4252        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
4253        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
4254        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
4255        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
4256        (Abandoned in FreeBSD).
4257        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
4258        (Abandoned in FreeBSD).
4259        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
4260        (Abandoned in FreeBSD).
4261        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
4262        * libnetworking/netinet/ip_fw.c: Eliminate __P().
4263
42642007-03-28      Chris Johns <chrisj@rtems.org>
4265
4266        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
4267        score/include/rtems/score/watchdog.h: Add support for a handler to
4268        obtain the number of nanoseconds since the last clock tick. The
4269        primary interface for this is rtems_clock_set_nanoseconds_extension.
4270        Subsequent commits from Joel will redo the TOD support to use this
4271        capability.
4272        * rtems/src/clocksetnsecshandler.c: New file.
4273
42742007-03-28      Joel Sherrill <joel@OARcorp.com>
4275
4276        PR 1234/cpukit
4277        * libcsupport/Makefile.am: Provide printk() based implementation of
4278        __assert() to reduce dependencies in executables.
4279        * libcsupport/src/__assert.c: New file.
4280
42812007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4282
4283        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
4284        Use uintptr_t for "disrupt". Remove bogus (long) cast.
4285        * libnetworking/net/ppp-comp.h: Remove (Unused).
4286        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
4287        * libnetworking/sys/buf.h: Remove (Unused).
4288        * libnetworking/Makefile.am: Remove sys/buf.h.
4289        * libnetworking/kern/kern_sysctl.c,
4290        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
4291        <sys/buf.h>.
4292        *  libcsupport/include/sys/sockio.h: Partial update from
4293          FreeBSD.
4294
42952007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4296
4297        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
4298        * libnetworking/netinet/igmp.c: Eliminate __P().
4299        * libnetworking/netinet/in.c: Eliminate __P().
4300        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
4301        * libnetworking/netinet/in_pcb.c: Eliminate __P().
4302        * libnetworking/netinet/ip_output.c: Eliminate __P().
4303
43042007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4305
4306        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
4307        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
4308        Change int args to intptr_t because they are casted to pointers.
4309        * libnetworking/netinet/tcp_usrreq.c,
4310        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
4311
43122007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4313
4314        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
4315        "long", because long is not guaranteed to be castable to char*.
4316        * libnetworking/netinet/ip_input.c: Eliminate __P().
4317        Change "int next" to "int32_t next" for 16bit targets.
4318        * libnetworking/netinet/tcp_input.c: Eliminate __P().
4319        * libnetworking/netinet/in_rmx.c: Eliminate __P().
4320        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
4321        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
4322        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
4323        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
4324        * libnetworking/kern/uipc_domain.c: Eliminate __P().
4325
43262007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4327
4328        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
4329        Remove (Abandoned in FreeBSD).
4330        * libnetworking/Makefile.am: Remove net/pppcompress.c,
4331        net/pppcompress.h.
4332        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
4333        net/pppcompress.h.
4334        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
4335        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
4336        net/pppcompress.h.
4337
43382007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4339
4340        * libnetworking/net/pppcompress.h: Eliminate __P().
4341        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
4342        * libnetworking/net/if_llc.h: Update from FreeBSD.
4343
43442007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4345
4346        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
4347          <net/ppp-comp.h>.
4348        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
4349        Warn about using it.
4350        * libnetworking/Makefile.am: Add net/ppp_comp.h.
4351        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
4352        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
4353          FreeBSD.
4354        * libnetworking/machine/in_cksum.h: Eliminate __P().
4355        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
4356        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
4357        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
4358        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
4359        Eliminate __P().
4360        * libcsupport/src/scandir.c: Eliminate __P().
4361        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
4362        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
4363        Eliminate __P().
4364        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
4365        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
4366        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
4367
43682007-03-26      Joel Sherrill <joel@OARcorp.com>
4369
4370        PR 1231/cpukit
4371        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
4372        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
4373        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
4374        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
4375        posix/src/mutexattrgetprioceiling.c,
4376        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
4377        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
4378        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
4379        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
4380        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
4381        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
4382        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
4383        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
4384        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
4385        posix/src/posixtimespecsubtract.c,
4386        posix/src/posixtimespectointerval.c,
4387        posix/src/psignalclearprocesssignals.c,
4388        posix/src/psignalclearsignals.c,
4389        posix/src/psignalsetprocesssignals.c,
4390        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
4391        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
4392        unneeded includes of assert.h
4393
43942007-03-26      Joel Sherrill <joel@OARcorp.com>
4395
4396        * libcsupport/include/rtems/assoc.h: Pick up the include file
4397        changes associated with the file splitting.
4398
43992007-03-26      Joel Sherrill <joel@OARcorp.com>
4400
4401        * libcsupport/Makefile.am: Pick up the Makefile changes associated
4402        with the file splitting.
4403
44042007-03-26      Joel Sherrill <joel@OARcorp.com>
4405
4406        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
4407        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
4408        this will not be deemed necessary to commit to the 4.7 branch.
4409        * libcsupport/src/assoclocalbyname.c,
4410        libcsupport/src/assoclocalbyremote.c,
4411        libcsupport/src/assoclocalbyremotebitfield.c,
4412        libcsupport/src/assocnamebylocal.c,
4413        libcsupport/src/assocnamebylocalbitfield.c,
4414        libcsupport/src/assocnamebyremote.c,
4415        libcsupport/src/assocnamebyremotebitfield.c,
4416        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
4417        libcsupport/src/assocptrbyremote.c,
4418        libcsupport/src/assocremotebylocal.c,
4419        libcsupport/src/assocremotebylocalbitfield.c,
4420        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
4421        libcsupport/src/write_r.c: New files.
4422
44232007-03-26      Joel Sherrill <joel@OARcorp.com>
4424
4425        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
4426        support and remove deadcode. Replace with comment explaining that
4427        behavior is compatible with GNU/Linux per Eric Norum.
4428
44292007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4430
4431        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
4432        Partial update from FreeBSD.
4433        * libnetworking/netinet/if_ether.h: Eliminate __P().
4434        * libnetworking/netinet/ip_var.h: Eliminate __P().
4435        * libnetworking/netinet/in.h: Eliminate __P().
4436        * libnetworking/netinet/tcp_var.h: Eliminate __P().
4437
44382007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4439
4440        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
4441        Remove __P();
4442        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
4443
44442007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4445
4446        * libnetworking/netinet/in_var.h: Remove __P().
4447        * libnetworking/netinet/in_systm.h: Remove __P().
4448        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
4449        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
4450        * libnetworking/netinet/if_ether.c: Remove __P().
4451        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
4452        More updates from FreeBSD.
4453        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
4454        libnetworking/net/route.h: Partial update from FreeBSD.
4455
44562007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
4457
4458        * libnetworking/Makefile.am: Remove nfs/krpc.h.
4459        * libnetworking/nfs/krpc.h: Remove (Unused).
4460        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
4461        * libnetworking/Makefile.am: Remove nfs/nfs.h.
4462        * libnetworking/nfs/nfs.h: Remove (Unused).
4463
44642007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4465
4466        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
4467          symbols.
4468        * libnetworking/sys/conf.h: Don't include machine/conf.h.
4469        Update copyright notice.
4470        Remove unused/non-implemented declarations.
4471        * libnetworking/Makefile.am: Remove machine/conf.h.
4472        * libnetworking/machine/conf.h: Remove.
4473
44742007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4475
4476        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
4477        Remove many non-supported/unused declarations.
4478
44792007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4480
4481        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
4482          crhold (Unused/non-implemented).
4483
44842007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4485
4486        * libnetworking/sys/ucred.h: Remove __P().
4487        * libnetworking/sys/callout.h: Remove __P().
4488        * libnetworking/sys/domain.h: Remove __P().
4489        * libnetworking/sys/socketvar.h: Remove __P().
4490        * libnetworking/sys/socket.h: Remove __P().
4491        * libnetworking/sys/select.h: Remove __P().
4492        * libnetworking/sys/kernel.h: Remove __P().
4493        * libnetworking/sys/protosw.h: Remove __P().
4494        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
4495        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
4496        swdevt, nswdev, nswap (Unused).
4497
44982007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4499
4500        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4501        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4502        instead of struct linesw (PR 1229)
4503        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4504        around clash with defines from rtems_bsdnet_internal.h.
4505        * score/src/heapwalk.c: include stdlib.h.
4506
45072007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4508
4509        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4510        Remove __P().
4511        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4512        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4513        Remove __P().
4514        * libcsupport/include/rtems/termiostypes.h,
4515        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4516        with rtems_termios_*.
4517        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4518        (Clash with termiostypes.h - PR 1229).
4519
45202007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4521
4522        * score/include/rtems/score/wkspace.h,
4523        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4524        Change _Workspace_Handler_initialization and
4525        _Workspace_Allocate_or_fatal_error to using size_t.
4526        * libnetworking/sys/rtprio.h: Remove (Unused).
4527        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4528
45292007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4530
4531        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4532        Remove __P().
4533
45342007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4535
4536        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4537          to fix warnings.
4538        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4539        * score/include/rtems/score/chain.h, score/src/chain.c:
4540        Change _Chain_Initialize to using size_t.
4541
45422007-03-12      Joel Sherrill <joel@OARcorp.com>
4543
4544        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4545        Dump_Buffer to rtems_print_buffer.
4546
45472007-03-12      Joel Sherrill <joel@OARcorp.com>
4548
4549        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4550        license URL and/or fix mistake in copyright notice. Both of these
4551        mistakes appear to be from code submitted after these changes were
4552        made previously.
4553
45542007-03-10      Joel Sherrill <joel@OARcorp.com>
4555
4556        PR 1226/cpukit
4557        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4558        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4559
45602007-03-08      Joel Sherrill <joel@OARcorp.com>
4561
4562        * libfs/src/imfs/imfs.h: Fix comment.
4563
45642007-03-08      Joel Sherrill <joel@OARcorp.com>
4565
4566        * libfs/src/imfs/imfs.h: Fix comment.
4567
45682007-03-08      Joel Sherrill <joel@OARcorp.com>
4569
4570        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4571        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4572
45732007-03-08      Joel Sherrill <joel@OARcorp.com>
4574
4575        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4576        Remove wrapper for message queue send and urgent and implement them
4577        directly. There was an unnecessary function call layer in addition to
4578        conditions in the shared routine. Directly coding both directives is
4579        simpler and should result in smaller code.
4580        * rtems/src/msgqsubmit.c: Removed.
4581
45822007-03-05      Joel Sherrill <joel@OARcorp.com>
4583
4584        PR 1222/cpukit
4585        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4586        score/include/rtems/score/threadq.h,
4587        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4588        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4589        score/src/threadclearstate.c, score/src/threadhandler.c,
4590        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4591        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4592        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4593        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4594        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4595        thread that is blocked on a priority based thread queue is changed,
4596        that its placement in the queue is reevaluated based upon the new
4597        priority. This enhancement includes modifications to the SuperCore as
4598        well as new test cases.
4599        * score/src/threadqrequeue.c: New file.
4600
46012007-03-05      Joel Sherrill <joel@OARcorp.com>
4602
4603        * sapi/src/exinit.c: Fix spacing.
4604
46052007-03-05      Joel Sherrill <joel@OARcorp.com>
4606
4607        PR 1221/cpukit
4608        * posix/src/pthreadequal.c: Fix critical section nesting.
4609
46102007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4611
4612        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4613          compiled files.
4614
46152007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4616
4617        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4618
46192007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4620
4621        * score/Makefile.am: Remove macros/README.
4622
46232007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4624
4625        * score/include/rtems/score/heap.h, score/src/heap.c,
4626        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4627        More size_t for heap-sizes.
4628        * score/include/rtems/score/heap.h, score/src/heap.c,
4629        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4630        heap-sizes.
4631        * libnetworking/resolv.h: Typo fixes. Remove __P().
4632
46332007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4634
4635        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4636        Use size_t for stack-sizes.
4637
46382007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4639
4640        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4641          functions.
4642        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4643        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4644
46452007-02-06      Till Straumann <strauman@slac.stanford.edu>
4646
4647        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4648        taskvar dtor to plug memory leak. Applied patch attached
4649        to PR#690.
4650
46512007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4652
4653        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4654        * posix/src/getpagesize.c: Removed.
4655        * posix/Makefile.am: Remove references to getpagesize.c.
4656        * libcsupport/Makefile.am: Add getpagesize.c.
4657
46582007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4659
4660        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4661        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4662          visible.
4663        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4664
46652007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4666
4667        * rtems/src/msgqsend.c: Use size_t for sizes.
4668        * rtems/src/msgqurgent.c: Use size_t for sizes.
4669        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4670        * rtems/src/msgmp.c: Use size_t for sizes.
4671        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4672        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4673        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4674        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4675
46762007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4677
4678        * itron/src/trcv_mbf.c: Use size_t for sizes.
4679        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4680        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4681        * libmisc/monitor/monitor.h: Use size_t for sizes.
4682        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4683        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4684        * rtems/src/msgqreceive.c: Use size_t for sizes.
4685        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4686        * score/src/coremsgseize.c: Use size_t for sizes.
4687
46882007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4689
4690        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4691        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4692        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4693        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4694        * score/src/coremsgsubmit.c: Use size_t for sizes.
4695
46962007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4697
4698        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4699
47002007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4701
4702        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4703
47042007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4705
4706        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4707        Remove isblank (supposed to be provided by libc).
4708
47092007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4710
4711        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4712
47132007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4714
4715        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4716         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4717        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4718        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4719        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4720
47212007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4722
4723        * score/include/rtems/system.h:
4724        #define __RTEMS_MINOR__ 7 (BZ 1206).
4725
47262007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4727
4728        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4729        export some internal variables to make them available in
4730        "show_bdbuf" monitor add-on
4731
47322007-01-16      Till Straumann <strauman@slac.stanford.edu>
4733
4734        * libnetworking/rtems/rtems_mii_ioctl.c,
4735        libnetworking/rtems/rtems_mii_ioctl.h,
4736        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4737        libi2c/libi2c.c, libi2c/libi2c.h:
4738        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4739
47402007-01-09      Joel Sherrill <joel@OARcorp.com>
4741
4742        * libcsupport/src/error.c: rtems_progname is no longer defined in
4743        the BSP startup since it never held a meaningful value.
4744
47452007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4746
4747        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4748        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.