source: rtems/cpukit/ChangeLog @ 85bca3f

4.104.114.9
Last change on this file since 85bca3f was 85bca3f, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 20, 2008 at 5:29:37 PM

2008-08-20 Sebastian Huber <sebastian.huber@…>

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