source: rtems/cpukit/ChangeLog @ 3d58766

4.104.114.95
Last change on this file since 3d58766 was f773c012, checked in by Joel Sherrill <joel.sherrill@…>, on 08/05/08 at 13:32:39

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

  • rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c: Changed option set type to rtems_option.
  • score/src/objectgetinfo.c: Check return value of _Objects_API_maximum_class().
  • libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h, rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c, rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c, rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c, rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h, score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h, score/inline/rtems/score/coremsg.inl, score/src/coremsg.c, score/src/coremsgbroadcast.c, score/src/coremsgseize.c, score/src/coremsgsubmit.c: Removed parameters of _Message_queue_Allocate(). Changed option set type to rtems_option. Changed type of maximum message and packet size to size_t. Changed the input buffer type for message send functions to "const void *". Changed the pointer to the second return argument in the thread wait information to a union. This union can contain a pointer to an immutable or a mutable object. This is somewhat fragile. An alternative would be to add a third pointer for immutable objects, but this would increase the structure size.
  • Property mode set to 100644
File size: 174.5 KB
Line 
12008-08-05     Sebastian Huber <sebastian.huber@embedded-brains.de>
2
3        * rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
4        Changed option set type to rtems_option.
5
6        * score/src/objectgetinfo.c: Check return value of
7        _Objects_API_maximum_class().
8
9        * libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
10        rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
11        rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
12        rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
13        rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
14        score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
15        score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
16        score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
17        score/src/coremsgsubmit.c:
18        Removed parameters of _Message_queue_Allocate().  Changed option set
19        type to rtems_option.  Changed type of maximum message and packet size
20        to size_t.  Changed the input buffer type for message send functions to
21        "const void *".  Changed the pointer to the second return argument in
22        the thread wait information to a union.  This union can contain a
23        pointer to an immutable or a mutable object.  This is somewhat fragile.
24        An alternative would be to add a third pointer for immutable objects,
25        but this would increase the structure size.
26
272008-08-05      Xudong Guan <xudong.guan@criticalsoftware.com>
28
29        PR 1212/cpukit
30        * rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
31        will not happen if the task mode is changed from a non-timeslicing
32        mode to timeslicing mode if it is done by the executing thread (e.g.
33        in its task body). This change includes sp44 to demonstrate the
34        problem and verify the correction.
35
362008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
37
38        * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
39        warnings.
40
412008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
42
43        PR 1265/cpukit
44        * score/include/rtems/score/object.h,
45        score/src/objectallocatebyindex.c: Rename index argument to avoid
46        warning when rtems.h and string.h are included at the same time by
47        user code.
48
492008-08-03      Ralf Corsépius <ralf.corsepius@rtems.org>
50
51        * libnetworking/lib/tftpDriver.c: Add prototypes.
52        * pppd/rtemsmain.c: Add prototypes.
53        * zlib/crc32.c: Add prototypes.
54
552008-08-02      Chris Johns (chrisj@rtems.org>
56
57        * libblock/include/rtems/blkdev.h: Remove count and start from
58        rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.
59
60        * libblock/src/bdbuf.c: Add read ahead blocks always consecutive
61        comment. Change count to bufnum and remove start references. Sort
62        the transfer list so blocks are consecutive where possible.
63
64        * libblock/src/blkdev.c, libblock/src/nvdisk.c,
65        libblock/src/ramdisk.c: Change count to bufnum and remove start
66        references.
67
682008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
69
70        * telnetd/telnetd.c: Add missing prototypes.
71        Remove unused local declations.
72
732008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
74
75        * libnetworking/libc/gethostbydns.c,
76        libnetworking/libc/gethostbyht.c,
77        libnetworking/libc/gethostbynis.c,
78        libnetworking/libc/gethostnamadr.c,
79        libnetworking/libc/getnetbydns.c,
80        libnetworking/libc/getnetbynis.c,
81        libnetworking/libc/getnetnamadr.c,
82        libnetworking/libc/nsap_addr.c,
83        libnetworking/libc/res_debug.c,
84        libnetworking/libc/res_send.c: Add missing prototypes.
85
862008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
87
88        * libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
89        * libmd/md4.c, libmd/md5.c: Add missing prototypes.
90        * libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
91        libmisc/shell/shell_script.c: Add missing prototypes.
92
932008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
94
95        * libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
96
972008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
98
99        * librpc/include/rpc/clnt.h: Cleanup.
100        * librpc/include/rpc/svc.h: Cleanup.
101
1022008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
103
104        * librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
105        librpc/src/xdr/xdr_sizeof.c, librpc/src/xdr/xdr_stdio.c:
106        Misc. ansifications. Add prototypes.
107
1082008-08-01      Joel Sherrill <joel.sherrill@OARcorp.com>
109
110        * rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
111
1122008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
113
114        * librpc/src/rpc/getrpcport.c: Misc. ansifications.
115        * librpc/src/rpc/getrpcent.c: Remove stray local decls.
116        Misc. ansifications.
117        * librpc/src/rpc/clnt_perror.c: Misc. ansifications.
118        * librpc/src/rpc/get_myaddress.c: Misc. ansifications.
119        * librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
120        * librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
121        * librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
122        * librpc/src/rpc/clnt_raw.c: Add missing prototypes.
123        * librpc/src/rpc/clnt_udp.c: Add missing prototypes.
124        * librpc/src/rpc/svc_auth.c: Add missing prototypes.
125        * librpc/src/rpc/svc_raw.c: Add missing prototypes.
126        * librpc/src/rpc/svc_tcp.c: Add missing prototypes.
127        * librpc/src/rpc/svc_udp.c: Add missing prototypes.
128
1292008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
130
131        * librpc/src/rpc/svc.c: Add missing prototypes.
132        * librpc/src/xdr/xdr_rec.c: Remove register vars.
133        * librpc/src/xdr/xdr_mem.c: Misc. ansifications.
134        * librpc/src/rpc/svc_tcp.c: Misc. ansifications.
135        * librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
136        * librpc/src/rpc/svc_raw.c: Misc. ansifications.
137        * librpc/src/xdr/xdr_rec.c: Misc. ansifications.
138        * librpc/src/rpc/svc_simple.c: Add missing prototypes.
139        * librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
140        * librpc/src/rpc/rpcdname.c: Add missing prototypes.
141        * librpc/src/rpc/rpc_prot.c: Misc. ansifications.
142        * librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
143        * librpc/src/rpc/clnt_simple.c: Misc. ansifications.
144        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
145        Add missing prototypes.
146        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
147        Misc. ansifications.
148
1492008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
150
151        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
152        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
153        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
154        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
155        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
156        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
157        Eliminate __P().
158
1592008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
160
161        * score/include/rtems/score/thread.h: Add missing prototype.
162        * score/inline/rtems/score/thread.inl: Add missing prototypes.
163        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
164        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
165        libnetworking/netinet/in_cksum_m68k.h,
166        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
167        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
168        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
169        * itron/include/itronsys/types.h: Add missing prototype.
170        * ftpd/ftpd.c: Fix broken prototype.
171        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
172        Add missing prototypes.
173
1742008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
175
176        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
177        is disabled but luckily it is not even needed to compile.
178
1792008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
180
181        * libmisc/shell/main_netstats.c: Add missing prototypes.
182        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
183        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
184
1852008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
186
187        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
188        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
189        httpd/wsIntrn.h: Add missing protoypes.
190
1912008-07-29      Tim Cussins <timcussins@eml.cc>
192
193        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
194        conditional.
195
1962008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
197
198        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
199        call.
200
2012008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
202
203        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
204
2052008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
206
207        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
208        libmisc/monitor/monitor.h: Add missing prototypes.
209        * score/inline/rtems/score/tod.inl: Add prototypes.
210        * score/src/coretodset.c: Remove stray args in function call.
211        * libcsupport/include/rtems/libcsupport.h,
212        libcsupport/include/rtems/libio_.h,
213        libcsupport/src/malloc_statistics_helpers.c,
214        libcsupport/src/scandir.c: Add prototypes.
215        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
216        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
217        posix/src/prwlockrdlock.c: Use C-style comments.
218
2192008-07-29      Chris Johns <chrisj@rtems.org>
220
221        * libblock/src/nvdisk.c: Fix block compile bug.
222
2232008-07-29      Chris Johns <chrisj@rtems.org>
224
225        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
226        Update the comments.
227
2282008-07-29      Chris Johns <chrisj@rtems.org>
229
230        * libblock/Makefile.am: Removed src/show_bdbuf.c.
231
232        * libblock/src/show_bdbuf.c: Removed.
233
234        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
235        Rewritten the bdbuf code. Remove pre-emption disable, score
236        access, fixed many bugs and increased performance.
237
238        * libblock/include/rtems/blkdev.h: Added
239        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
240        comments. Added block and user fields to the sg buffer
241        request. Move to rtems_* namespace.
242
243        * libblock/include/rtems/diskdevs.h,
244        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
245        capabilities field for drivers. Change rtems_disk_lookup to
246        rtems_disk_obtain to match the release call. You do not lookup and
247        release a disk, you obtain and release a disk.
248
249        * libblock/include/rtems/ide_part_table.h,
250        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
251        Move to rtems_* namespace.
252
253        * libblock/include/rtems/nvdisk.h: Formatting change.
254
255        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
256        rtems_disk_lookup to rtems_disk_obtain
257
258        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
259        support for the block number in the scatter/grather request
260        struct. This allows non-continuous buffer requests for those
261        drivers that can support increasing performance.
262
263        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
264        warnings. Added better error checking. Fixed some comments.
265
266        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
267        trace functions to help debugging upper layers. Use the new
268        support for the block number in the scatter/grather request
269        struct. This allows non-continuous buffer requests for those
270        drivers that can support increasing performance.
271
272        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
273        API. Removed temporary hack and changed
274        set_errno_and_return_minus_one to
275        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
276        header and stopped it being inlined. Updated to libblock changes.
277       
278        * libfs/src/dosfs/fat_fat_operations.c,
279        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
280        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
281        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
282        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
283        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
284        new chains API. Removed temporary hack and changed
285        set_errno_and_return_minus_one to
286        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
287
288        * libmisc/Makefile.am: Add new ls and rm command files.
289
290        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
291        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
292        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
293        libmisc/shell/vis.c, shell/vis.h: New.
294
295        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
296        libmisc/shell/utils-cp.c: Fixed the usage call bug.
297
298        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
299        command.
300
301        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
302        commands with more features.
303       
304        * score/src/coremutex.c: Fix the strick order mutex code.
305
306        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
307        and no ASR.
308       
309        * sapi/include/confdefs.h: Change ata_driver_task_priority to
310        rtems_ata_driver_task_priority. Add the new BD buf cache
311        parameters with defaults.
312
313        * score/src/interr.c: Do not return if the CPU halt call returns.
314       
3152008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
316
317        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
318        bsp_libc_init() into new bootcard.h.
319
320        * cpukit/include/rtems/irq-extension.h: New function
321        rtems_interrupt_handler_iterate() for system information and
322        diagnostics.
323
3242008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
325
326        * libmisc/shell/shell_script.c: Clean up code for command not found
327        including the error message.
328
3292008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
330
331        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
332        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
333        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
334        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
335        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
336        internal routine. This makes it possible to also print string names
337        of POSIX objects. Adjust task report to realign since we can have
338        longer names.
339
3402008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
341
342        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
343        body is now completely configured via the Configuration table.
344
3452008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
346
347        PR 1291/cpukit
348        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
349        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
350        posix/include/rtems/posix/semaphore.h,
351        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
352        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
353        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
354        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
355        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
356        posix/src/posixtimespecabsolutetimeout.c,
357        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
358        posix/src/semaphoretranslatereturncode.c,
359        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
360        posix/src/semtrywait.c, posix/src/semwait.c,
361        posix/src/sigtimedwait.c, posix/src/timersettime.c,
362        posix/src/ualarm.c, rtems/src/semobtain.c,
363        rtems/src/semtranslatereturncode.c,
364        score/include/rtems/score/coremutex.h,
365        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
366        patch addresses issues on implementation of the timeout on the
367        following POSIX services. Some of these services incorrectly took a
368        timeout as a relative time. Others would compute a 0 delta to timeout
369        if the absolute time and the current time were equal and thus
370        incorrectly block the caller forever. The root of the confusion is
371        that POSIX specifies that if the timeout is incorrect (e.g. in the
372        past, is now, or is numerically invalid), that it does not matter if
373        the call would succeed without blocking. This is in contrast to RTEMS
374        programming style where all errors are checked before any critical
375        sections are entered. This fix implemented a more uniform way of
376        handling POSIX absolute time timeouts.
377            + pthread_cond_timedwait - could block forever
378            + mq_timedreceive - used relative not absolute time
379            + mq_timedsend - used relative not absolute time
380            + pthread_mutex_timedlock - used relative not absolute time
381            + pthread_rwlock_timedrdlock- used relative not absolute time
382            + pthread_rwlock_timedwrlock- used relative not absolute time
383            + sem_timedwait - could block forever
384
3852008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
386
387        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
388        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
389        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
390        libmisc/shell/main_whoami.c: Add pthread command to monitor when
391        POSIX is enabled. Remove include of rtems/monitor.h from files not
392        related.
393
3942008-07-16      Till Straumann <strauman@slac.stanford.edu>
395
396        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
397        use ppc_interrupt_get_disable_mask() to determine
398        which bits to set/clear from _CPU_ISR_Set_level().
399
4002008-07-16      Till Straumann <strauman@slac.stanford.edu>
401
402        * score/cpu/powerpc/rtems/powerpc/registers.h:
403        added ppc_interrupt_get_disable_mask() inline function.
404
4052008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
406
407        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
408
4092008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
410
411        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
412        for rtems_shell_init(). This makes it possible to run the shell
413        forever or invoke it from a program as a subroutine, have a user
414        enter commands, and wait for it to exit.
415
4162008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
417
418        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
419        RTEMS version string.
420        * sapi/src/getversionstring.c: New file.
421
4222008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
423
424        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
425        cpukit/score/cpu/m68k/rtems/score/cpu.h,
426        score/cpu/m68k/rtems/score/m68k.h:
427
428        added support to save coldfire FPU/EMAC context
429
4302008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
431
432        * libi2c/libi2c.c, libi2c/libi2c.h:
433        make buffer passed to *write* functions a const pointer
434
435
4362008-07-10      Till Straumann <strauman@slac.stanford.edu>
437
438        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
439        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
440        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
441        Removed all macro definitions which depended on
442        the compiler defining a PPC CPU-model dependent
443        symbol.
444        Macros which were not used by cpukit have been
445        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
446       
4472008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
448
449        * include/rtems/status-checks.h: Fix style.
450
4512008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
452
453        * rtems/include/rtems/rtems/intr.h: Documentation.
454
455        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
456        Interrupt Manager (shared handler and handler with a handle).
457
458
4592008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
460
461        * cpukit/include/rtems/status-checks.h: Macros for status code and
462        return value checks.
463
464        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
465
466        * cpukit/libfs/src/dosfs/msdos_dir.c,
467        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
468        to file mode.
469
470        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
471        messages.  Driver operations table is now constant.  New entry in the
472        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
473        continuously transmitted in read only functions.
474
4752008-07-03      Chris Johns <chrisj@rtems.org>
476
477        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
478        interface that is supported.
479
480        * cpukit/libcsupport/Makefile.am,
481        cpukit/libcsupport/preinstall.am: Remove chain.h header
482        references.
483
484        * cpukit/sapi/include/rtems/chain.h,
485        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
486        interface.
487
488        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
489        include the new chains interface.
490
491        * cpukit/libfs/src/imfs/imfs.h,
492        cpukit/libfs/src/imfs/imfs_creat.c,
493        cpukit/libfs/src/imfs/imfs_debug.c,
494        cpukit/libfs/src/imfs/imfs_directory.c,
495        cpukit/libfs/src/imfs/imfs_fsunmount.c,
496        cpukit/libfs/src/imfs/imfs_getchild.c,
497        cpukit/libfs/src/imfs/imfs_load_tar.c,
498        cpukit/libfs/src/imfs/imfs_rmnod.c,
499        cpukit/libfs/src/imfs/memfile.c,
500        cpukit/libfs/src/nfsclient/src/nfs.c,
501        cpukit/libcsupport/include/rtems/libio.h,
502        cpukit/libcsupport/src/malloc_deferred.c,
503        cpukit/libcsupport/src/mount.c,
504        cpukit/libcsupport/src/privateenv.c,
505        cpukit/libcsupport/src/unmount.c: Change to the new chains
506        interface.
507
508        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
509
5102008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
511
512        * score/include/rtems/score/thread.h,
513        score/src/threaddispatch.c, score/src/threadinitialize.c:
514        Support rtems_ada_self iff __RTEMS_ADA__ is given.
515
5162008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
517
518        * libmisc/shell/shell_script.c: Remove unused function.
519
5202008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
521
522        * configure.ac: Add __RTEMS_ADA__.
523
5242008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
525
526        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
527        libnetworking/libc/getservbyname.c,
528        libnetworking/libc/getservbyport.c: Add initial versions of
529        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
530        point they are just simple weappers for the version without the _r in
531        the name.
532
5332008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
534
535        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
536        Review association tables in monitor.
537
5382008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
539
540        * configure.ac, rtems/src/semtranslatereturncode.c,
541        score/include/rtems/score/coremutex.h,
542        score/include/rtems/score/thread.h,
543        score/inline/rtems/score/coremutex.inl,
544        score/src/coremutex.c, score/src/coremutexsurrender.c,
545        score/src/threadinitialize.c:
546        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
547
5482008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
549
550        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
551        * libgnat/Makefile.am: Use LIBGNAT.
552        * wrapup/Makefile.am: Use LIBGNAT.
553
5542008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
555
556        * acinclude.m4: Add magic to update cpuopt.h.
557        * configure.ac: Remove magic to update cpuopt.h.
558
5592008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
560
561        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
562        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
563        Cleanup mal-formated RTEMS_CPUOPT's.
564
5652008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
566
567        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
568        AC_PREREQ(2.62).
569
5702008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
571
572        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
573        than a number.
574
5752008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
576
577        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
578        still reserved memory for the reentrancy structure. This is about 1K
579        per task. On psim, we now reserve only 1936 bytes and only 240 remain
580        after all allocations. Further analysis will be required to narrow
581        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
582        be defined and the structure named Configuration_Memory_Debug will be
583        instantiated. This structure contains many of the component values
584        that go into the memory reservation computation. This is helpful when
585        tracking down problems.
586
5872008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
588
589        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
590        was always adding heap overhead even when the number of objects
591        configured was zero and we would not do an allocation. This resulted
592        in an over estimation of the amount of Workspace required (~2K on
593        minimum.exe on PowerPC).
594
5952008-06-17      Chris Johns <chrisj@rtems.org>
596
597        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
598        remove warning.
599       
600        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
601        priority level for large memory Coldfires.
602
6032008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
604
605        * rtems/include/rtems/rtems/config.h,
606        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
607        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
608        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
609
6102008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
611
612        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
613        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
614        CONFIGURE_MAXIMUM_PRIORITY.
615
6162008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
617
618        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
619        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
620        sapi/include/confdefs.h, sapi/include/rtems/config.h,
621        score/inline/rtems/score/stack.inl, score/src/isr.c,
622        score/src/mpci.c, score/src/threadcreateidle.c,
623        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
624        ability for application to configure minimum stack size. Add
625        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
626        indicate they want the configured as opposed to the recommended
627        minimum stack size.
628
6292008-06-10      Chris Johns <chrisj@rtems.org>
630
631        * score/include/rtems/score/priority.h: Let the CPU define the
632        maximum and minimum priority levels to reduce the amount of memory
633        thread chains use.
634
6352008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
636
637        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
638        rtems/include/rtems/rtems/config.h,
639        rtems/include/rtems/rtems/dpmem.h,
640        rtems/include/rtems/rtems/eventset.h,
641        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
642        rtems/include/rtems/rtems/ratemon.h,
643        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
644        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
645        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
646        Classic API Doxygen.
647
6482008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
649
650        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
651        score/include/rtems/score/thread.h: Complete previous patch. Add
652        typedef for cpu usage statistics.
653
6542008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
655
656        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
657        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
658        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
659        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
660        score/src/threaddispatch.c, score/src/threadinitialize.c,
661        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
662        period timing statistics. Also renamed related variables and
663        structure members so they are the same whether you are using
664        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
665        granularity. This lays the groundwork for future cleanup.
666
6672008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
668
669        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
670        particular, there was a report from that Matthew Riek that memory was
671        being reserved twice for the IDLE task. This was covering up other
672        places that under allocated memory. Before I was done, I had reworked
673        the file to be easier to read, maintain and be more accurate.
674
6752008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
676
677        * score/include/rtems/score/isr.h, score/src/isr.c: Use
678        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
679        memory for vector table.
680
6812008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
682
683        * score/src/wkspace.c: Fix error in comment.
684
6852008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
686
687        * posix/src/psignal.c: Do not allocate any memory for queued signals if
688        the configuration parameter is 0. Before we would end up with an
689        allocation of 0 which rounded up and wasted some memory when POSIX
690        was configured.
691
6922008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
693
694        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
695        the target toolset uses init/fini sections.
696
6972008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
698
699        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
700        has no functional data in the user extension data area structure so
701        this disables the definition, allocation and deallocation of that
702        structure. If we ever have to add data to it, then it will be easy to
703        reenable.
704
7052008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
706
707        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
708        score/src/threadget.c: Make sure the pointer to the API object table
709        is valid before derefencing it.
710
7112008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
712
713        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
714        calls for leading underscore on private RTEMS variables.
715
7162008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
717
718        * score/include/rtems/score/object.h,
719        score/include/rtems/score/watchdog.h: Move #include's out of
720        extern "C" {}.
721
7222008-05-30      Till Straumann <strauman@slac.stanford.edu>
723
724        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
725        release node if rtems_filesystem_evaluate_path() fails
726        in nfs_eval_link() since pathloc contains no valid node.
727
7282008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
729
730        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
731        while at prompt results in shell logging out and connection still
732        being available.
733
7342008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
735
736        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
737        fini() as part of exit(). This avoids atexit() being a required
738        function.
739
7402008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
741
742        * libmisc/shell/shell.c: Minor change so dropping connection during
743        login prompt results in connection still being available.
744
745
7462008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
747
748        * score/include/rtems/score/object.h,
749        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
750        and RTEMS_ID_NONE.  No object can have this ID.
751
7522008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
753
754        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
755        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
756        libcsupport/src/base_fs.c, libcsupport/src/error.c,
757        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
758        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
759        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
760        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
761        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
762        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
763        libfs/src/imfs/imfs_handlers_device.c,
764        libfs/src/imfs/imfs_handlers_directory.c,
765        libfs/src/imfs/imfs_handlers_link.c,
766        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
767        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
768        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
769        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
770        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
771        sapi/include/confdefs.h, sapi/include/rtems/io.h,
772        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
773        Added const qualifier to various pointers and data tables to
774        reduce size of data area.
775        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
776        DOSFS: Use LibBlock instead of read() to read the boot record.
777       
7782008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
779
780        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
781
7822008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
783
784        * libcsupport/src/printk.c:
785        Bugfix: String output without width option.
786
7872008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
788
789        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
790        Bugfix: Moved definition of ppp_softc into source file.
791
7922008-05-23      Till Straumann <strauman@slac.stanford.edu>
793
794        * libnetworking/netinet/ip_output.c: when fragmenting
795        multicast packets M_MCAST must be set on all fragments.
796        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
797        (see my email to rtems-users from 2008/5/15).
798
7992008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
800
801        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
802        itron/src/exd_tsk.c, itron/src/task.c,
803        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
804        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
805        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
806        posix/src/testcancel.c, rtems/src/taskdelete.c,
807        score/inline/rtems/score/object.inl, score/src/objectclose.c,
808        score/src/threadclose.c: Make all task delete/exit/cancel routines
809        follow the same critical section pattern. Also ensure that POSIX
810        cancelation routines are run at thread exit.
811
8122008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
813
814        * libcsupport/src/termios_baud2index.c,
815        libcsupport/src/termios_baud2num.c,
816        libcsupport/src/termios_num2baud.c,
817        libcsupport/src/termios_setinitialbaud.c: New files.
818
8192008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
820
821        * libcsupport/Makefile.am, libcsupport/preinstall.am,
822        libcsupport/include/rtems/termiostypes.h: Move termios helper
823        routines from libchip to libcsupport. Add routine which makes it easy
824        for a termios device driver to inform termios of its default baud
825        rate. This avoids inconsistencies in later termios settings changes.
826
8272008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
828
829        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
830
8312008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
832
833        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
834        interface for Watchdog Driver.
835        * libcsupport/include/rtems/watchdogdrv.h: New file.
836
8372008-05-16      Till Straumann <strauman@slac.stanford.edu>
838
839        * score/src/threadchangepriority.c: Just in case the transient
840        state was set when we entered, ensure that it is still set when
841        we exit.
842        * score/src/threadclose.c: When a thread is being deleted, it should
843        go into the dormant state -- not the transient state.
844
8452008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
846
847        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
848        driver private data
849
8502008-05-13      Eric Norum: <norume@aps.anl.gov>
851
852        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
853        structure assignment.
854
8552008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
856
857        * libi2c/libi2c.h: Fix typo.
858
8592008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
860
861        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
862        CPUKIT.
863
8642008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
865
866        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
867        initialization routines to rtems_initialize_data_structures,
868        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
869        rtems_initialize_start_multitasking. This opened the sequence up so
870        that bootcard() could provide a more robust and flexible framework
871        which is easier to explain and understand. This also lays the
872        groundwork for sharing the division of available memory between the
873        RTEMS workspace and heap and the C library initialization across all
874        BSPs.
875
8762008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
877
878        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
879        comments.
880
8812008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
882
883        * score/src/objectget.c: Improve comments and readability.
884
8852008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
886
887        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
888        score/src/coresemseize.c, score/src/threadhandler.c: Comment
889        improvements from class.
890
8912008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
892
893        PR 1285/rtems
894        * sapi/include/rtems/config.h: Remove obsolete
895        rtems_configuration_get_maximum_devices().
896
8972008-05-01      Chris Johns <chrisj@rtems.org>
898
899        * libblock/include/rtems/nvdisk-sram.h,
900        libblock/include/rtems/nvdisk.h,
901        libblock/src/nvdisk-sram.c,
902        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
903        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
904        the NV disk driver.
905
9062008-05-01  Maarten Van Es <maarten@mind.be>
907
908        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
909        interface for rtems_dhcp_failsafe.
910        * libnetworking/rtems/rtems_dhcp.h: Added interface for
911        rtems_dhcp_failsafe.
912
9132008-05-01  Arnout Vandecappelle <arnout@mind.be>
914
915        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
916        return on timeout in bootpc_call().  Removed panic()s.
917        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
918        SIOCAIFADDR ioctl call.
919        * libnetworking/rtems/rtems_dhcp_failsafe.c,
920        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
921        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
922        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
923
9242008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
925
926        * rtems/include/rtems/rtems/timer.h: Fix typo.
927
9282008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
929
930        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
931        rtems/include/rtems/rtems/status.h,
932        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
933        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
934
9352008-04-28      Daron Chabot <daron.chabot@usask.ca>
936
937        * posix/src/keycreate.c, posix/src/pthreadequal.c,
938        rtems/src/semtranslatereturncode.c,
939        score/src/threadblockingoperationcancel.c: Fix compilation errors
940        when --enable-rtems-debug is used.
941
9422008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
943
944        * score/include/rtems/system.h: Fix typo in comment.
945
9462008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
947
948        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
949        typos added with recent changes.
950
9512008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
952
953        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
954        rtems_termios_reserve_resources. It is obsolete.
955        * libcsupport/src/termiosreserveresources.c: Removed.
956
9572008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
958
959        * rtems/mainpage.h: New file.
960
9612008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
962
963        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
964        rtems/include/rtems/rtems/attr.h,
965        rtems/include/rtems/rtems/barrier.h,
966        rtems/include/rtems/rtems/barriermp.h,
967        rtems/include/rtems/rtems/cache.h,
968        rtems/include/rtems/rtems/config.h,
969        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
970        rtems/include/rtems/rtems/eventmp.h,
971        rtems/include/rtems/rtems/eventset.h,
972        rtems/include/rtems/rtems/intr.h,
973        rtems/include/rtems/rtems/message.h,
974        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
975        rtems/include/rtems/rtems/msgmp.h,
976        rtems/include/rtems/rtems/options.h,
977        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
978        rtems/include/rtems/rtems/ratemon.h,
979        rtems/include/rtems/rtems/region.h,
980        rtems/include/rtems/rtems/regionmp.h,
981        rtems/include/rtems/rtems/rtemsapi.h,
982        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
983        rtems/include/rtems/rtems/signal.h,
984        rtems/include/rtems/rtems/signalmp.h,
985        rtems/include/rtems/rtems/status.h,
986        rtems/include/rtems/rtems/support.h,
987        rtems/include/rtems/rtems/taskmp.h,
988        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
989        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
990        rtems/inline/rtems/rtems/attr.inl,
991        rtems/inline/rtems/rtems/barrier.inl,
992        rtems/inline/rtems/rtems/dpmem.inl,
993        rtems/inline/rtems/rtems/event.inl,
994        rtems/inline/rtems/rtems/message.inl,
995        rtems/inline/rtems/rtems/modes.inl,
996        rtems/inline/rtems/rtems/options.inl,
997        rtems/inline/rtems/rtems/part.inl,
998        rtems/inline/rtems/rtems/ratemon.inl,
999        rtems/inline/rtems/rtems/region.inl,
1000        rtems/inline/rtems/rtems/sem.inl,
1001        rtems/inline/rtems/rtems/status.inl,
1002        rtems/inline/rtems/rtems/support.inl,
1003        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
1004
10052008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1006
1007        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
1008        rtems/include/rtems/rtems/attr.h,
1009        rtems/include/rtems/rtems/barrier.h,
1010        rtems/include/rtems/rtems/barriermp.h,
1011        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
1012        rtems/include/rtems/rtems/config.h,
1013        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1014        rtems/include/rtems/rtems/eventmp.h,
1015        rtems/include/rtems/rtems/eventset.h,
1016        rtems/include/rtems/rtems/intr.h,
1017        rtems/include/rtems/rtems/message.h,
1018        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1019        rtems/include/rtems/rtems/msgmp.h,
1020        rtems/include/rtems/rtems/object.h,
1021        rtems/include/rtems/rtems/options.h,
1022        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1023        rtems/include/rtems/rtems/ratemon.h,
1024        rtems/include/rtems/rtems/region.h,
1025        rtems/include/rtems/rtems/regionmp.h,
1026        rtems/include/rtems/rtems/rtemsapi.h,
1027        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1028        rtems/include/rtems/rtems/signal.h,
1029        rtems/include/rtems/rtems/signalmp.h,
1030        rtems/include/rtems/rtems/status.h,
1031        rtems/include/rtems/rtems/support.h,
1032        rtems/include/rtems/rtems/taskmp.h,
1033        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1034        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1035        rtems/inline/rtems/rtems/attr.inl,
1036        rtems/inline/rtems/rtems/barrier.inl,
1037        rtems/inline/rtems/rtems/dpmem.inl,
1038        rtems/inline/rtems/rtems/event.inl,
1039        rtems/inline/rtems/rtems/eventset.inl,
1040        rtems/inline/rtems/rtems/message.inl,
1041        rtems/inline/rtems/rtems/modes.inl,
1042        rtems/inline/rtems/rtems/options.inl,
1043        rtems/inline/rtems/rtems/part.inl,
1044        rtems/inline/rtems/rtems/ratemon.inl,
1045        rtems/inline/rtems/rtems/region.inl,
1046        rtems/inline/rtems/rtems/sem.inl,
1047        rtems/inline/rtems/rtems/status.inl,
1048        rtems/inline/rtems/rtems/support.inl,
1049        rtems/inline/rtems/rtems/tasks.inl,
1050        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
1051        header files to Doxygen.
1052        * rtems/Doxyfile: New file.
1053
10542008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1055
1056        * posix/src/key.c: Include <limits.h>
1057        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
1058        a NULL extension block.
1059
10602008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1061
1062        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
1063        application configuration errors. If any POSIX objects or a POSIX
1064        init thread is configured without POSIX being configure, then error
1065        out. Similarly for ITRON. Add
1066        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
1067        parameter so the application has to explicitly configure the Clock
1068        driver in or out if the Timer driver is not configured. Also verify
1069        RTEMS was built for multiprocessing, if the user tries to configure a
1070        multiprocessing application.
1071
10722008-04-12      Chris Johns <chrisj@rtems.org>
1073
1074        * libmisc/shell/shell.c, libmisc/shell/shell.h,
1075        libmisc/shell/shell_script.c: Add support to echo the commands to
1076        stdout. This is useful with the -v script option to show commands
1077        as the run. Also added support to chdir to the directory the task
1078        invoking the script is in.
1079        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
1080        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
1081        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
1082        support.
1083
10842008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
1085
1086        * score/include/rtems/score/tod.h: Fix typo.
1087
10882008-04-08      Chris Johns <chrisj@rtems.org>
1089
1090        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
1091        into argv parts. Was using the command line history buffer so the
1092        history was being corrupted.
1093
10942008-04-03      Chris Johns <chrisj@rtems.org>
1095
1096        * libfs/src/nfsclient/src/librtemsNfs.h,
1097        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
1098        external to RTEMS and even if in the cpukit it should not cross
1099        reference in this way.
1100        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
1101        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
1102        in the shell area.
1103        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
1104        support.
1105
11062008-03-29      Chris Johns <chrisj@rtems.org>
1107
1108        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
1109        reported to the mailing list by Pierre Kestener
1110        (pierre.kestener@cea.fr).
1111
11122008-03-25      Till Straumann <strauman@slac.stanford.edu>
1113
1114        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
1115          coldfire.
1116
11172008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1118
1119        * libmisc/shell/cmds.c: Directly register the command structure to
1120        avoid unnecessary duplication of static strings. We know best this
1121        time.
1122
11232008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1124
1125        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
1126        for the ITRON initialization tasks ALL the time.
1127        Do not reserve memory for the object name table since it does not
1128        exist any longer.
1129        * sapi/include/rtems/sptables.h: Fix typo.
1130
11312008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1132
1133        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1134        rtems/src/clockget.c:
1135        * rtems/src/clockgetsecondssinceepoch.c,
1136        rtems/src/clockgettickspersecond.c,
1137        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
1138        rtems/src/clockgettodtimeval.c: New files.
1139        Refactored rtems_clock_get into 5 methods which are single purpose
1140        and more strongly typed.  They are:
1141            rtems_clock_get_tod - Get TOD in Classic API structure
1142            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1143            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1144            rtems_clock_get_ticks_since_boot - Get ticks since boot
1145            rtems_clock_get_ticks_per_second - Get ticks per second
1146
11472008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1148
1149        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1150        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1151        ensure it is zeroed out each time we use getopt_r().
1152        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1153        This makes the scripts behave more like UNIX scripts.
1154
11552008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1156
1157        * posix/Makefile.am: Make clock_settime() available always just like
1158        clock_gettime().
1159
11602008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1161
1162        * score/include/rtems/score/copyrt.h: Update year.
1163
11642008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1165
1166        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1167        by gcc newer than the 4.3 release series.
1168
11692008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1170
1171        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1172        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1173        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1174        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1175        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1176        libmisc/shell/shell.c, libmisc/shell/shell.h,
1177        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1178        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1179        capability to automatically execute a script from the filesystem. Add
1180        echo command from NetBSD and sleep command.
1181        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1182        libmisc/shell/shell_script.c: New files.
1183
11842008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1185
1186        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1187        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1188        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1189        score/src/threadclose.c, score/src/threadcreateidle.c,
1190        score/src/threadinitialize.c: Switch task create and delete
1191        operations to using API Allocator Mutex. This moves almost all uses
1192        of the RTEMS Workspace from dispatching disabled to mutex protected
1193        which should improve deterministic behavior. The implementation was
1194        carefully done to allow task create and delete extensions to invoke
1195        more services. In particular, a task delete extension should be able
1196        to do mutex and file operations.
1197
11982008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1199
1200        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1201        enabled.
1202
12032008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1204
1205        * libcsupport/src/chroot.c: Formatting.
1206
12072008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1208
1209        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1210        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1211        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1212        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1213        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1214        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1215        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1216        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1217        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1218        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1219        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1220        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1221        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1222        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1223        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1224        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1225        libmisc/shell/shell.h: Clean up done while writing documentation.
1226        Some command improvements such as date now allows setting of the
1227        current TOD. Often commands did not use stdout/stderr per
1228        expectations and did not return -1 on an error.
1229
12302008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1231
1232        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1233        the use of RPC/XDR could be an issue, the code does build multilib
1234        across all targets. There are a few remaining warnings to deal with.
1235        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1236        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1237        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1238        libfs/src/nfsclient/rfc1094.txt,
1239        libfs/src/nfsclient/proto/mount_prot.h,
1240        libfs/src/nfsclient/proto/mount_prot.x,
1241        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1242        libfs/src/nfsclient/proto/nfs_prot.h,
1243        libfs/src/nfsclient/proto/nfs_prot.x,
1244        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1245        libfs/src/nfsclient/src/cexphelp.c,
1246        libfs/src/nfsclient/src/dirutils.c,
1247        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1248        libfs/src/nfsclient/src/nfs.modini.c,
1249        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1250        libfs/src/nfsclient/src/rpcio.h,
1251        libfs/src/nfsclient/src/rpcio.modini.c,
1252        libfs/src/nfsclient/src/sock_mbuf.c,
1253        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1254
12552008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1256
1257        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1258        missing field to default multiprocessing configuration table. Also
1259        document fields in Doxygen format.
1260
12612008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1262
1263        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1264        warnings.
1265
12662008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1267
1268        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1269        command to access statistics reporting functions in TCP/IP stack.
1270        * libmisc/shell/main_netstats.c: New file.
1271
12722008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1273
1274        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1275        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1276        ifconfig commands. The code for these was previously in the
1277        networking guide. Disable NFS filesystem mount until that code is in
1278        cpukit.
1279        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1280
12812008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1282
1283        * posix/preinstall.am,  libcsupport/preinstall.am:
1284        Revert Joel's  2008-01-31 screw up.
1285
12862008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1287
1288        * posix/include/rtems/posix/timer.h: Add c++ guards.
1289        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1290        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1291        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1292        MC68230_ to avoid preprocessor clashes.
1293
12942008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1295
1296        * posix/src/mqueueunlink.c, score/Makefile.am,
1297        score/include/rtems/score/object.h,
1298        score/inline/rtems/score/object.inl: Enhance
1299        _Objects_Namespace_remove() to handle freeing object names which are
1300        strings. All changed _Objects_Close() to call
1301        _Objects_Namespace_remove(). The resulting code was then moved from
1302        inline routines to function calls.
1303        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1304
13052008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1306
1307        * libcsupport/src/printk.c: Added width and padding for %s.
1308        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1309        strings longer than 4 chanracters.
1310
13112008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1312
1313        PR 1277/networking
1314        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1315        constraint for assembly language. This restricts the register choice
1316        to the a-d registers.
1317
13182008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1319
1320        * libnetworking/kern/uipc_socket2.c,
1321        libnetworking/netinet/tcp_usrreq.c,
1322        libnetworking/netinet/udp_usrreq.c,
1323        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1324        Add configuration parameters for network stack efficiency multiplier
1325        and default socket buffer sizes. Change default multiplier from 8 to
1326        2 to match GNU/Linux. This has no impact on performance on the BSPs
1327        tested.
1328
13292008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1330
1331        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1332        workspace manipulation routines for testing.
1333        * rtems/src/workspace.c: New file.
1334
13352008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1336
1337        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1338        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1339        Object Id of SELF.
1340
13412008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1342
1343        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1344        Minor modifications to improve testability.
1345        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1346
13472008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1348
1349        * posix/src/pthreadinitthreads.c: Clean up error paths.
1350
13512008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1352
1353        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1354        changes which aid in coverage testing.
1355
13562008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1357
1358        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1359        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1360        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1361        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1362        whether named or unnamed to have a string name.  If the API does
1363        not directly support having a name, then the user must explicitly
1364        assign it using rtems_object_set_name().
1365        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1366        * score/include/rtems/score/object.h,
1367        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1368        score/src/objectsetname.c: Modifications required to pass testing of
1369        recently modified object name operations.  Also eliminated
1370        multiprocessing related code that was not reachable.
1371
13722008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1373
1374        * posix/src/timersettime.c: Fix to remove warning.
1375
13762008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1377
1378        * libcsupport/src/posix_memalign.c: Remove warning.
1379
13802008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1381
1382        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1383        rtems/include/rtems/rtems/object.h,
1384        rtems/src/rtemsobjectgetapiclassname.c,
1385        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1386        cannot be used as a parameter.
1387
13882008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1389
1390        * score/Makefile.am, score/include/rtems/score/threadq.h,
1391        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1392        was really too complex to be inlined.
1393        * score/src/threadqprocesstimeout.c: New file.
1394
13952008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1396
1397        * score/Doxyfile: Revert Doxygen version changes.
1398
13992008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1400
1401        * score/Doxyfile: Update to latest Doxygen format.
1402        * score/include/rtems/score/apimutex.h,
1403        score/include/rtems/score/corebarrier.h,
1404        score/include/rtems/score/coremutex.h,
1405        score/include/rtems/score/corerwlock.h,
1406        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1407        score/include/rtems/score/protectedheap.h,
1408        score/include/rtems/score/thread.h,
1409        score/include/rtems/score/threadsync.h,
1410        score/include/rtems/score/tod.h,
1411        score/inline/rtems/score/corerwlock.inl,
1412        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1413        warnings.
1414
14152008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1416
1417        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1418        available when API is disabled. Do not attempt to use them.
1419
14202008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1421
1422        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1423
14242008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1425
1426        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1427        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1428        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1429        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1430        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1431        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1432        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1433        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1434        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1435        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1436        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1437        rtems/src/timerserver.c, score/Makefile.am,
1438        score/include/rtems/score/object.h,
1439        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1440        score/src/objectgetnameasstring.c,
1441        score/src/threadqextractwithproxy.c: Add new Object Services
1442        collection. This changed the name of a few previously public but
1443        undocumented services and added a some new services.
1444        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1445        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1446        rtems/src/rtemsobjectapiminimumclass.c,
1447        rtems/src/rtemsobjectgetapiclassname.c,
1448        rtems/src/rtemsobjectgetapiname.c,
1449        rtems/src/rtemsobjectgetclassicname.c,
1450        rtems/src/rtemsobjectgetclassinfo.c,
1451        rtems/src/rtemsobjectidapimaximum.c,
1452        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1453        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1454        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1455        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1456        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1457        * rtems/src/rtemsidtoname.c: Removed.
1458
14592008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1460
1461        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1462        switch statements to if statements.
1463
14642008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1465
1466        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1467        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1468        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1469        as helper and as exposed nmemalign variant with few restrictions.
1470        Also turn on compilation of _Heap_Walk but make forced calls to it
1471        conditionally compiled. This should allow more flexibility to the
1472        user as to run-time checking of the heap.
1473        * libcsupport/src/rtems_memalign.c: New file.
1474
14752008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1476
1477        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1478        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1479        Multiprocessing compiles again and survives initialization. The
1480        recent object name and confdefs.h changes had broken it.
1481
14822008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1483
1484        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1485        score/include/rtems/score/interr.h,
1486        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1487        Modifications to aid in full path testing.
1488
14892008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1490
1491        * posix/src/mqueuesendsupp.c: Remove warning.
1492
14932008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1494
1495        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1496        in public API.
1497
14982008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1499
1500        * score/include/rtems/score/object.h,
1501        score/src/objectextendinformation.c,
1502        score/src/objectinitializeinformation.c,
1503        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1504        not used.
1505
15062008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1507
1508        * score/src/objectnametoidstring.c: New file.
1509
15102008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1511
1512        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1513        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1514        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1515        libmisc/stackchk/check.c, posix/src/condinit.c,
1516        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1517        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1518        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1519        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1520        posix/src/prwlockinit.c, posix/src/pspininit.c,
1521        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1522        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1523        posix/src/timercreate.c, rtems/src/barrierident.c,
1524        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1525        rtems/src/ratemonident.c, rtems/src/regionident.c,
1526        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1527        sapi/src/extensionident.c, score/Makefile.am,
1528        score/include/rtems/score/object.h,
1529        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1530        score/src/objectextendinformation.c,
1531        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1532        score/src/objectnametoid.c: Convert the Objects_Name type from a
1533        simple type to a union of an unsigned 32 bit integer and a pointer.
1534        This should help eliminate weird casts between u32 and pointers in
1535        various places. The APIs now have to explicitly call _u32 or _string
1536        versions of helper routines. This should also simplify things and
1537        eliminate the need for ugly casts in some cases.
1538        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1539        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1540        score/src/objectcopynamestring.c: Removed.
1541
15422008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1543
1544        * score/src/threadblockingoperationcancel.c: Clean up.
1545        * score/src/threadqextract.c: Restructure to eliminate dead code.
1546
15472008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1548
1549        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1550        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1551        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1552        testing and clean up more code.
1553
15542008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1555
1556        * score/src/threadqfirst.c: Remove switch.
1557
15582008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1559
1560        * rtems/include/rtems/rtems/event.h,
1561        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1562        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1563        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1564        score/include/rtems/score/interr.h,
1565        score/include/rtems/score/thread.h,
1566        score/include/rtems/score/threadq.h,
1567        score/include/rtems/score/tqdata.h,
1568        score/inline/rtems/score/threadq.inl,
1569        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1570        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1571        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1572        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1573        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1574        score/src/threadqextractpriority.c,
1575        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1576        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1577        score/src/threadqflush.c, score/src/threadqrequeue.c,
1578        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1579        blocking synchronization critical sections. This resulted in three
1580        copies of essentially the same hard to test critical section code
1581        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1582        addition, the thread queue and event code now share a common
1583        synchronization enumerated type. Along the way, switches were
1584        reworked to eliminate dead code generated by gcc and comments and
1585        copyrights were updated.
1586        * score/include/rtems/score/threadsync.h,
1587        score/src/threadblockingoperationcancel.c: New files.
1588
15892008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1590
1591        * libi2c/README_libi2c: Correct spelling error.
1592        * score/src/threadclearstate.c: Improve comment.
1593
15942008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1595
1596        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1597        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1598        posix/src/timergettime.c, posix/src/timersettime.c,
1599        score/include/rtems/score/timespec.h:
1600
16012008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1602
1603        * libmisc/shell/Makefile.am: Don't use make variables.
1604
16052008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1606
1607        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1608        existing one.
1609
16102008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1611
1612        * score/include/rtems/score/wkspace.h,
1613        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1614        inline _Workspace_Free or _Workspace_Allocate since they are not
1615        always inlined and actually smaller overall as subroutines. They are
1616        not particularly time critical so inlining is not absolutely
1617        necessary.
1618
16192008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1620
1621        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1622        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1623        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1624        Condition Variable object get helpers because they are more
1625        complicated than the norm. They can implicitly perform a create. They
1626        cross the line as being too complex and large to inline since they
1627        negatively impact size and binary test coverage.
1628        * posix/src/condget.c, posix/src/mutexget.c: New files.
1629
16302008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1631
1632        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1633        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1634        * libcsupport/src/malloc_p.h: Correct prototype.
1635
16362008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1637
1638        * score/include/rtems/score/coremutex.h,
1639        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1640        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1641
16422008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1643
1644        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1645
16462008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1647
1648        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1649        libcsupport/src/free.c, libcsupport/src/malloc.c,
1650        libcsupport/src/malloc_deferred.c,
1651        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1652        libcsupport/src/malloc_sbrk_helpers.c,
1653        libcsupport/src/posix_memalign.c: Place all deferred free code and
1654        place it in subroutines. Add plugin for dirtying allocated memory to
1655        assist in debugging. Clean up comments and spacing as needed.
1656        * libcsupport/src/malloc_dirtier.c: New file.
1657
16582008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1659
1660        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1661        when there is an error.
1662
16632008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1664
1665        * posix/src/keycreate.c, rtems/src/eventseize.c,
1666        score/include/rtems/score/interr.h: Rearranged source to allow more
1667        test coverage.
1668
16692008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1670
1671        * libcsupport/src/__assert.c: Clean up and make __assert() call
1672        __assert_func().
1673
16742008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1675
1676        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1677        need to have it also.
1678
16792008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1680
1681        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1682        * libcsupport/include/rtems/malloc.h,
1683        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1684        libcsupport/src/malloc_p.h,
1685        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1686        support pluggable and optional.  This eliminates the need for
1687        heap extend and sbrk in the minimum footprint which is ~2.5K on
1688        the SPARC.
1689        * sapi/include/confdefs.h: Add the following configuration points:
1690          + CONFIGURE_MALLOC_STATISTICS
1691          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1692        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1693
16942008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1695
1696        * score/Makefile.am: Add missing file.
1697
16982008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1699
1700        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1701
17022008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1703
1704        * libmisc/Makefile.am: Add new files.
1705        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1706        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1707        * libmisc/shell/shellconfig.h: Add wkspace command.
1708        * libmisc/shell/main_wkspaceinfo.c,
1709        libmisc/shell/print_heapinfo.c: New files.
1710
17112008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1712
1713        * score/inline/rtems/score/isr.inl: Fix spacing.
1714        * score/src/apimutexallocate.c: Fix spacing.
1715        * score/src/coremsgseize.c: Check for message pending instead of
1716        message pending count to avoid dead code from inlined chain routine.
1717        It checks if the chain is empty so is redundant to count == 0.
1718
17192008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1720
1721        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1722        up.
1723
17242008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1725
1726        * posix/src/pthreadcreate.c: Add commit.
1727        * posix/src/pthreadinitthreads.c: Fix line length.
1728
17292008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1730
1731        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1732
17332008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1734
1735        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1736        coding it.
1737
17382008-01-05      Chris Johns <chrisj@rtems.org>
1739
1740        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1741        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1742        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1743        control fields. Add more control fields to handle the flash when
1744        full.
1745        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1746        detects a descriptor is erased. Add support for unavailable blocks
1747        the user can configure. Print the used list as a diag. Fix the bug
1748        when a page is detected as failed and present on more than one
1749        queue. Add a count to the queues so queue length can be used to
1750        manage compaction.
1751       
17522008-01-03      Till Straumann <strauman@slac.stanford.edu>
1753
1754        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1755        cannot call _fini via atexit() from rtems_shutdown_executive()
1756        because at the point where rtems_shutdown_executive is called
1757        the C-library is already dead.
1758        Instead, register an atexit(_fini) after calling _init().
1759
17602007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1761
1762        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1763        Hopefully this implementation is OK.
1764        * libcsupport/src/_rename_r.c: New file.
1765
17662007-12-22      Chris Johns <chrisj@rtems.org>
1767
1768        * configure.ac: fixed bug that always enabled strict order
1769        mutexes.
1770        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1771        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1772        list if the mutex is initialised locked.
1773        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1774        message to show the error is an rtems-net error.
1775        * libmisc/monitor/mon-network.c: Removed warnings.
1776        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1777        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1778        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1779        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1780        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1781        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1782        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1783        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1784        libmisc/shell/warnx.c: New. Ported from BSD.
1785        * libmisc/shell/shellconfig.h: Add the cp command.
1786        * libmisc/Makefile.am: Add the new files to the shell.
1787        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1788        support.
1789        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1790        bug.
1791       
17922007-12-21      Xi Yang <hiyangxi@gmail.com>
1793
1794        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1795        of priority inheritance on mutexes as well as enforce proper order of
1796        release.
1797
17982007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1799
1800        * configure.ac, score/include/rtems/score/coremutex.h,
1801        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1802        inlining coremutex seize. This reduces the code size and also
1803        improves the process of coverage analysis.
1804        * score/src/coremutexseizeintr.c: New file.
1805
18062007-12-21      Xi Yang <hiyangxi@gmail.com>
1807
1808        * configure.ac, score/include/rtems/score/coremutex.h,
1809        score/include/rtems/score/thread.h,
1810        score/inline/rtems/score/coremutex.inl,
1811        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1812        support for proper stacking of priority inheritance on mutexes as
1813        well as enforce proper order of release.
1814
18152007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1816
1817        PR 1268/cpukit
1818        * libcsupport/include/rtems/assoc.h: There is no
1819        rtems_assoc_ptr_by_value method.
1820
18212007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1822
1823        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1824        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1825
18262007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1827
1828        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1829
18302007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1831
1832        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1833
18342007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1835
1836        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1837        rtems_task_self() directive.
1838        * rtems/src/taskself.c: New file.
1839
18402007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1841
1842        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1843        and resolved copyright information.
1844        * posix/src/kill_r.c: New file.
1845
18462007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1847
1848        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1849
18502007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1851
1852        * sapi/include/confdefs.h: Revert. Requires info not available at
1853        preprocessing time.
1854
18552007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1856
1857        * sapi/include/confdefs.h: Catch the error when the user lowers the
1858        maximum number of drivers below the number of statically configured
1859        ones.
1860
18612007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1862
1863        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1864        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1865        Manager clean up. Update object id switches to new pattern. Catch
1866        some NULL parameter errors.
1867
18682007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1869
1870        * posix/src/psignalunblockthread.c: Remove source that
1871
18722007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1873
1874        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1875        only
1876
18772007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1878
1879        * posix/src/psignal.c: Move source around to enable path testing
1880
18812007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1882
1883        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1884        libcsupport/src/free.c, libcsupport/src/malloc.c,
1885        libcsupport/src/malloc_p.h,
1886        libcsupport/src/malloc_report_statistics_plugin.c,
1887        libmisc/shell/shell.c, libmisc/shell/shell.h,
1888        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1889        out management of deferred frees to subroutines.
1890        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1891
18922007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1893
1894        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1895        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1896        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1897        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1898        one function per file. Also split out statistics into a separate file
1899        which can be plugged in dynamically. Right now, it is always in. I
1900        suspect that splitting the file removed more code than leaving
1901        statistics in. I tinkered with malloc information command in the
1902        shell. I resurrected the malloc arena code as malloc boundary. This
1903        code is now compiled all the time even though it does not appear to
1904        work.
1905        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1906        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1907        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1908        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1909        libcsupport/src/malloc_get_statistics.c,
1910        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1911        libcsupport/src/malloc_report_statistics.c,
1912        libcsupport/src/malloc_report_statistics_plugin.c,
1913        libcsupport/src/malloc_statistics_helpers.c,
1914        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1915        libmisc/shell/main_perioduse.c: New files.
1916
19172007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1918
1919        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1920        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1921        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1922        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1923        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1924        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1925        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1926        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1927        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1928        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1929        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1930        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1931        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1932        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1933        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1934        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1935        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1936        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1937        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1938        rtems_Shell_ to rtems_shell_.
1939
19402007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1941
1942        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1943        with info and dump as replacement for older command. Fix what looked
1944        like a typo for mount sub-commands.
1945        * libmisc/shell/main_mallocinfo.c: New file.
1946        * libmisc/shell/main_mallocdump.c: Removed.
1947
19482007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1949
1950        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1951        malloc_info() routine.
1952        * libcsupport/src/mallocinfo.c: New file.
1953
19542007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1955
1956        * libmisc/stackchk/check.c: Add print of current stack pointer and
1957        stack info even if stack checker is not initialized.
1958
19592007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1960
1961        * libcsupport/src/printk.c: Style.
1962
19632007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1964
1965        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1966        required in multiprocessing configuration.
1967
19682007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1969
1970        * score/src/objectget.c: Revert.
1971
19722007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1973
1974        * posix/src/timergettime.c: Include rtems/score/timespec.h
1975
19762007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1977
1978        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1979        posix/include/mqueue.h, posix/include/sched.h,
1980        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1981        posix/include/rtems/posix/priority.h,
1982        posix/include/rtems/posix/psignal.h,
1983        posix/include/rtems/posix/threadsup.h,
1984        posix/include/rtems/posix/timer.h,
1985        posix/inline/rtems/posix/priority.inl,
1986        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1987        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1988        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1989        posix/src/cleanuppush.c, posix/src/cond.c,
1990        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1991        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1992        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1993        posix/src/conddestroy.c, posix/src/condinit.c,
1994        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1995        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1996        posix/src/keycreate.c, posix/src/keydelete.c,
1997        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1998        posix/src/keysetspecific.c, posix/src/mqueue.c,
1999        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2000        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2001        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
2002        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
2003        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
2004        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2005        posix/src/mqueueunlink.c, posix/src/mutex.c,
2006        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
2007        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2008        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2009        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2010        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2011        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2012        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2013        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2014        posix/src/psignal.c, posix/src/psignalchecksignal.c,
2015        posix/src/psignalclearprocesssignals.c,
2016        posix/src/psignalclearsignals.c,
2017        posix/src/psignalsetprocesssignals.c,
2018        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2019        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
2020        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
2021        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
2022        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
2023        posix/src/semclose.c, posix/src/semdestroy.c,
2024        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
2025        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
2026        posix/src/semwait.c, posix/src/setcancelstate.c,
2027        posix/src/setcanceltype.c, posix/src/sysconf.c,
2028        posix/src/testcancel.c: Add missing copyright statements.
2029
20302007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2031
2032        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2033
20342007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2035
2036        * posix/Makefile.am, posix/preinstall.am,
2037        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
2038        Timer implementation into multiple files. Add obvious error checks
2039        for NULL parameters. Attempt to reduce include files.
2040        * posix/src/timercreate.c, posix/src/timerdelete.c,
2041        posix/src/timergetoverrun.c, posix/src/timergettime.c,
2042        posix/src/timerinserthelper.c, posix/src/timersettime.c,
2043        posix/src/timertsr.c: New files.
2044        * posix/src/ptimer1.c: Removed.
2045
20462007-12-17      Chris Johns <chrisj@rtems.org>
2047
2048        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
2049        libmisc/shell/main_unmount.c: New.
2050        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
2051        blksync, msdosfmt, and unmount commands.
2052
20532007-12-17      Chris Johns <chrisj@rtems.org>
2054
2055        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
2056        system opts table.
2057        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
2058        system opts table.
2059        * libmisc/Makefile.am: Add the mount command and supporting files.
2060        * libmisc/preinstall.am: Rebuilt.
2061        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
2062        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2063        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2064        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2065        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2066        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2067        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2068        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2069        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2070        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2071        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2072        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2073        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2074        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2075        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
2076        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
2077        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
2078        libmisc/shell/write_file.c: Move all shell_* types, variables and
2079        functions to rtems_shell_* to avoid namespace clashes with
2080        applications. The is an RTEMS shell after all.
2081        * libmisc/shell/shell.h, libmisc/shell/internal.h,
2082        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
2083        functions to rtems_shell_* to avoid namespace clashes with
2084        applications. Add the mount command supporting types.
2085        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
2086        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
2087        libmisc/shell/main_mount_tftp.c: New.
2088       
20892007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2090
2091        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2092
20932007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2094
2095        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
2096        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
2097        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
2098        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2099        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2100        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2101        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2102        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2103        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2104        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2105        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2106        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2107        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2108        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2109        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2110        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2111        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
2112        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
2113        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
2114        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
2115        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
2116        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
2117        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
2118        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
2119        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
2120        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
2121        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
2122        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
2123        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
2124        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
2125
21262007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2127
2128        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
2129        API.
2130
21312007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2132
2133        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
2134        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
2135        Minor cleanup to improve testability and eliminate dead code.
2136
21372007-12-12      Chris Johns <chrisj@rtems.org>
2138
2139        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2140        Add RTEMS license details.
2141
21422007-12-12      Chris Johns <chrisj@rtems.org>
2143
2144        * Makefile.am, preinstall.am: Added
2145        libblock/include/rtems/flashdisk.h to the installed header list.
2146        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2147        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2148        New.
2149
21502007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2151
2152        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2153        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2154        score/Makefile.am, score/preinstall.am: Revert testing patch.
2155
21562007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2157
2158        * posix/src/sched_rr_get_interval.c: Fix warning.
2159
21602007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2161
2162        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2163        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2164        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2165        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2166        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2167        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2168        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2169        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2170        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2171        files into one function per file.
2172        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2173        posix/src/aio_read.c, posix/src/aio_return.c,
2174        posix/src/aio_suspend.c, posix/src/aio_write.c,
2175        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2176        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2177        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2178        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2179        posix/src/sched_yield.c: New files.
2180        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2181
21822007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2183
2184        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2185        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2186        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2187        posix/src/clocksettime.c, posix/src/devctl.c,
2188        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2189        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2190        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2191        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2192
21932007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2194
2195        * posix/src/adjtime.c: Clean up and verify against behavior documented
2196        in GNU/Linux man page provided with Fedora 7.
2197
21982007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2199
2200        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2201        automake variables.
2202
22032007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2204
2205        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2206        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2207        rtems/src/taskvariabledelete.c: Add test code for task variables to
2208        improve coverage.
2209        * rtems/src/taskvariable_invoke_dtor.c: New file.
2210
22112007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2212
2213        * posix/preinstall.am: Revert debug patch.
2214
22152007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2216
2217        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2218        BSP.
2219
22202007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2221
2222        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2223
22242007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2225
2226        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2227        disabled.
2228
22292007-12-12      Chris Johns <chrisj@rtems.org>
2230
2231        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2232        header list.
2233        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2234        in any order rather than before any commands have been added. Also
2235        made the command's strings be copies rather than references.
2236        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2237
22382007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2239
2240        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2241        Move Ada support code that is untestable from the Standard RTEMS Test
2242        Suite into its own directory. All code in score, posix, rtems, and
2243        sapi should be testable by the Standard RTEMS Test Suites. It was
2244        buried under POSIX before so this should be a clearer location
2245        anyway.
2246        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2247        libgnat/adasupp.c: New files.
2248        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2249
22502007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2251
2252        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2253        Reverse file contents.
2254
22552007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2256
2257        * sapi/include/rtems/config.h: Correct idle task prototype.
2258
22592007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2260
2261        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2262        libmisc/shell/internal.h, libmisc/shell/shell.c,
2263        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2264        processing now separated from main command loop. Addition of user
2265        commands and aliases tested. Monitor registration now explicit.
2266        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2267        libmisc/shell/write_file.c: New files.
2268
22692007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2270
2271        * libmisc/Makefile.am: Fix typo.
2272
22732007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2274
2275        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2276        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2277        into multiple files and add initial stages of command configuration.
2278        This seems to work but the monitor commands need to be integrated
2279        this way and the ability to configure user commands needs to be
2280        tested.
2281        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2282        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2283        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2284        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2285        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2286        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2287        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2288        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2289        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2290        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2291        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2292        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2293        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2294        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2295        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2296        libmisc/shell/str2int.c: New files.
2297
22982007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2299
2300        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2301
23022007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2303
2304        * sapi/include/rtems/config.h: Fix idle thread prototype.
2305
23062007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2307
2308        * sapi/include/confdefs.h: Separate the concept of configuring the
2309        interrupt stack size from actually reserving memory for it in the
2310        RTEMS Workspace.
2311
23122007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2313
2314        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2315        installed. It is the initialization interface for both GoAhead and
2316        Simple HTTPD.
2317
23182007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2319
2320        * sapi/include/rtems/config.h: Correct previous commit.
2321
23222007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2323
2324        * sapi/include/rtems/config.h: Commit temporary fix so
2325        interrupt_stack_size is accessible before RTEMS is initialized.
2326
23272007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2328
2329        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2330        sapi/include/rtems/init.h, sapi/src/exinit.c,
2331        score/include/rtems/system.h, score/src/isr.c: Move
2332        interrupt_stack_size field from CPU Table to Configuration Table.
2333        Eliminate CPU Table from all ports. Delete references to CPU Table in
2334        all forms.
2335
23362007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2337
2338        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2339        Table fields merged from CPU Table.
2340
23412007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2342
2343        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2344        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2345        posix/include/rtems/posix/mqueue.h,
2346        posix/include/rtems/posix/mutex.h,
2347        posix/include/rtems/posix/pthread.h,
2348        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2349        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2350        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2351        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2352        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2353        sapi/src/exinit.c, score/include/rtems/system.h,
2354        score/include/rtems/score/mpci.h, score/src/mpci.c,
2355        score/src/thread.c, score/src/threadcreateidle.c,
2356        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2357        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2358        the Configuration Table. This included pretasking_hook,
2359        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2360        extra_mpci_receive_server_stack, stack_allocate_hook, and
2361        stack_free_hook. As a side-effect of this effort some multiprocessing
2362        code was made conditional and some style clean up occurred.
2363
23642007-12-03      Chris Johns <chrisj@rtems.org>
2365
2366        * libmisc/shell/shell.h: Added comments for the parameters to the
2367        shell_init function.
2368        * libmisc/shell/shell.c: Only set cflags if tcflags is
2369        non-zero. This means the shell can use the current cflags settings
2370        and the application does not need to know the baudrate etc.
2371        * libmisc/capture/capture.h: Fix the comment.
2372
23732007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2374
2375        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2376        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2377        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2378        rtems/src/dpmemexternal2internal.c,
2379        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2380        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2381        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2382        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2383        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2384        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2385        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2386        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2387        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2388        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2389        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2390        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2391        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2392        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2393        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2394        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2395        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2396        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2397        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2398        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2399        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2400        rtems/src/timerserverfirewhen.c: Restructured all code with
2401        the switch (location) pattern so that OBJECTS_LOCAL is first
2402        and we can fall into it and the OBJECTS_ERROR case breaks
2403        to a return RTEMS_INVALID_ID.  This eliminates the return
2404        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2405        was unreachable and untestable code.  This resulted in a code
2406        savings of approximately 20 bytes per file on the SPARC/ERC32.
2407
24082007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2409
2410        * posix/Makefile.am: Restructed to move the
2411        OBJECTS_LOCAL case to the top of the switch statement and
2412        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2413        changes produced simplier assembly code and allowed for complete
2414        test coverage.  Also applied some consistency to the functions
2415        that translate the core status codes to POSIX status codes.
2416
24172007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2418
2419        * posix/include/rtems/posix/mutex.h,
2420        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2421        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2422        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2423        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2424        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2425        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2426        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2427        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2428        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2429        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2430        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2431        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2432        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2433        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2434        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2435        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2436        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2437        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2438        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2439        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2440        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2441        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2442        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2443        posix/src/semclose.c, posix/src/semdestroy.c,
2444        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2445        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2446        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2447        score/include/rtems/score/corebarrier.h,
2448        score/include/rtems/score/coremsg.h,
2449        score/include/rtems/score/coremutex.h,
2450        score/include/rtems/score/coresem.h: Restructed to move the
2451        OBJECTS_LOCAL case to the top of the switch statement and
2452        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2453        changes produced simplier assembly code and allowed for complete
2454        test coverage.  Also applied some consistency to the functions
2455        that translate the core status codes to POSIX status codes.
2456        * posix/src/mutextranslatereturncode.c,
2457        posix/src/semaphoretranslatereturncode.c: New files.
2458        * posix/src/mutexfromcorestatus.c: Removed.
2459
24602007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2461
2462        * posix/inline/rtems/posix/priority.inl: Fix typo.
2463
24642007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2465
2466        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2467        score/include/rtems/score/thread.h, score/src/object.c,
2468        score/src/thread.c: Conditionally compile out more code that is
2469        specific to multiprocessor configurations.
2470
24712007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2472
2473        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2474        posix/src/conddestroy.c, posix/src/condinit.c,
2475        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2476        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2477        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2478        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2479        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2480        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2481        posix/src/mutexattrgetprioceiling.c,
2482        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2483        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2484        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2485        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2486        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2487        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2488        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2489        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2490        posix/src/semclose.c, posix/src/semdestroy.c,
2491        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2492        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2493        Remove all pretense of POSIX MP support. The support in place was
2494        only a shell. This should make maintenance easier.
2495        * posix/include/rtems/posix/condmp.h,
2496        posix/include/rtems/posix/mqueuemp.h,
2497        posix/include/rtems/posix/mutexmp.h,
2498        posix/include/rtems/posix/pthreadmp.h,
2499        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2500        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2501
25022007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2503
2504        * configure.ac, score/inline/rtems/score/thread.inl,
2505        score/src/threaddispatch.c: Add ability for user to disable inlining
2506        of _Thread_Enable_dispatch. This can save code space but more
2507        importantly it means the binary generated does not have code inlined
2508        that is difficult to test and very seldom executed.
2509
25102007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2511
2512        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2513        rtems/include/rtems/rtems/barrier.h,
2514        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2515        score/src/corerwlockrelease.c: Fixed several implementation errors.
2516
25172007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2518
2519        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2520        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2521        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2522        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2523        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2524        case to the top of the switch statement, have a single exit with one
2525        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2526        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2527        code and allowed for complete test coverage.
2528
25292007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2530
2531        * sapi/include/confdefs.h,
2532        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2533        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2534
25352007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2536
2537        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2538
25392007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2540
2541        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2542        support Thumb.
2543
25442007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2545
2546        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2547        Now works on gen5200/icecube.
2548
25492007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2550
2551        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2552
25532007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2554
2555        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2556
25572007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2558
2559        * score/include/rtems/score/thread.h: Fix spelling error.
2560
25612007-11-17      Till Straumann <strauman@slac.stanford.edu>
2562
2563        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2564        Added checks so that use of 'stdio' is avoided (falling
2565        back to 'printk') before the system is up.
2566        Publish driver entry points so that the libi2c driver could
2567        be added to the applications 'device driver table'.
2568        This is not fully implemented yet, though, since in addition to
2569        initializing libi2c the low-level i2c bus drivers as well
2570        as high-level i2c device drivers need to be registered
2571        with the library.
2572        Updated README_libi2c accordingly.
2573
25742007-11-17      Till Straumann <strauman@slac.stanford.edu>
2575
2576        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2577        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2578        so that it knows what PHY they want to look at.
2579
25802007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2581
2582        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2583        in opposite files. Whoops!
2584
25852007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2586
2587        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2588        of the focus was on the beginning stages of making the login checker
2589        pluggable just like the shell.
2590
25912007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2592
2593        * posix/src/mprotect.c: Update comments.
2594
25952007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2596
2597        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2598        will require gcc 4.3 or newer.
2599        * posix/src/ada_intrsupp.c: New file.
2600
26012007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2602
2603        * sapi/src/exinit.c, score/Makefile.am,
2604        score/include/rtems/score/apimutex.h: API Mutex calls should never
2605        have been inlined. Inlining them lead to many inlined copies of core
2606        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2607        minimum.exe.
2608        * score/src/apimutex.c, score/src/apimutexallocate.c,
2609        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2610
26112007-11-07      Till Straumann <strauman@slac.stanford.edu>
2612
2613        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2614        around _CPU_ISR_Set_level().
2615
26162007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2617
2618        * score/inline/rtems/score/object.inl: During test coverage analysis,
2619        we identified this sanity check which should have been conditional on
2620        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2621        operations. With all APIs enabled, this saved 352 bytes from the
2622        minimum executable on the SPARC/ERC32.
2623
26242007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2625
2626        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2627        compiler conditional attribute for methods that do not return. This
2628        avoids gcc generating unreachable code following calls to
2629        _Internal_error_Occurred.
2630
26312007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2632
2633        * configure.ac: Add ARM/Thumb Makefile.
2634
26352007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2636
2637        PR 1266/cpukit
2638        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2639        of class for key indexing.
2640
26412007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2642
2643        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2644        Fix headers and formatting.
2645
26462007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2647
2648        Miscellaneous changes made after a review against the POSIX spec.
2649        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2650        passes a NULL in the attributes parameter, default attributes are used.
2651        * posix/src/prwlockdestroy.c: If there is at least one thread
2652        waiting, do not allow deletion.
2653        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2654        operation used to obtain a RWLock for writing.
2655        * posix/src/pspinlocktranslatereturncode.c,
2656        score/include/rtems/score/corespinlock.h,
2657        score/src/corespinlockrelease.c: If the current thread is not the
2658        holder of the lock, do not allow an unlock and return EPERM.
2659        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2660        for queueing with a timeout handler.
2661
26622007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2663
2664        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2665        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2666        stack so gdb backtrace does not print corrupted frame message after
2667        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2668        SPARC implementation and I made it more general.
2669
26702007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2671
2672        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2673        Cleaned up reports and fixed a bug related the printf format which
2674        resulted in lack of leading zeroes and misleading magnitude.
2675        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2676
26772007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2678
2679        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2680        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2681        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2682        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2683        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2684        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2685        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2686        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2687        posix/src/condinit.c, posix/src/condsignalsupp.c,
2688        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2689        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2690        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2691        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2692        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2693        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2694        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2695        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2696        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2697        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2698        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2699        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2700        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2701        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2702        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2703        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2704        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2705        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2706        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2707        posix/src/semclose.c, posix/src/semdestroy.c,
2708        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2709        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2710        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2711        rtems/src/dpmemexternal2internal.c,
2712        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2713        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2714        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2715        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2716        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2717        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2718        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2719        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2720        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2721        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2722        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2723        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2724        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2725        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2726        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2727        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2728        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2729        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2730        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2731        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2732        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2733        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2734        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2735        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2736        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2737        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2738        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2739        score/src/mpci.c, score/src/objectgetnameasstring.c,
2740        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2741        multiprocessing is disabled, do not even allow the constant
2742        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2743        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2744        in the generation of binary code which can NOT be reached.
2745
27462007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2747
2748        * score/Makefile.am, score/include/rtems/score/thread.h,
2749        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2750        resulted in unnessary code explosion, many uncovered paths when
2751        looking at binary executable coverage, and only optimized getting
2752        self. Id translations were still getting pushed to a subroutine call
2753        to _Objects_Get. Later the non-inlined version can be further
2754        optimized to get Ids in range for the current API, then self, then
2755        look at other APIs.
2756        * score/src/threadget.c: New file.
2757
27582007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2759
2760        * libi2c/README-libi2c
2761        document structure of libi2c library
2762
27632007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2764
2765        * libi2c/libi2c.c, libi2c/libi2c.h:
2766        extend API to support SPI devices
2767        made libi2c.h C++-proof
2768
27692007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2770
2771        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2772        also in another file.  Mistake after splitting.
2773        * libcsupport/Makefile.am: Reflect file removal.
2774
27752007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2776
2777        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2778        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2779        Minor updates from FreeBSD.
2780
27812007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2782
2783        * score/include/rtems/score/copyrt.h: Update year.
2784
27852007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2786
2787        * score/include/rtems/score/copyrt.h: Update year.
2788
27892007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2790
2791        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2792        Fixed check of status when registering driver. Add use of strerror().
2793
27942007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2795        Ralf Corsépius <ralf.corsepius@rtems.org>
2796
2797        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2798        libnetworking/libc/if_indextoname.c,
2799        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2800        * Makefile.am: Add files above.
2801        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2802
28032007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2804
2805        * libmisc/stackchk/check.c: Eliminate output with little information.
2806        Always print a blown message using the same routine. Now works with
2807        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2808        support in your GCC version.
2809
28102007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2811
2812        * libcsupport/src/gxx_wrappers.c: Revert.
2813
28142007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2815
2816        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2817        PRId32 to fix warning.
2818
28192007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2820
2821        * telnetd/passwd.h: New file.
2822
28232007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2824
2825        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2826        telnetd/telnetd.h: telnetd rewrite.
2827        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2828
28292007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2830
2831        PR 1262/filesystem
2832        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2833        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2834        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2835        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2836        writev() including documentation and test case.
2837        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2838
28392007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2840
2841        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2842        document what is required to provide a fully functional
2843        implementation.
2844        * libnetworking/rtems/rtems_socketpair.c: New file.
2845
28462007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2847
2848        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2849        Bump RTEMS_VERSION to 4.8.99.0.
2850
28512007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2852
2853        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2854
28552007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2856
2857        * posix/src/semaphorecreatesupp.c: Fixed warning.
2858
28592007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2860
2861        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2862
28632007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2864
2865        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2866        Use uint32_t for ext_accm.
2867
28682007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2869
2870        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2871        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2872        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2873        fixed-size types instead of BSD fixed-size types.
2874
28752007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2876
2877        * libmisc/stackchk/check.c: Fix alignment of output.
2878
28792007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2880
2881        * libmisc/monitor/monitor.h: Add network commands that were in the
2882        network supplement but not in the code.
2883        * libmisc/monitor/mon-network.c: New file.
2884
28852007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2886
2887        PR 1261/cpukit
2888        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2889        semaphore creation.
2890
28912007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2892
2893        PR 1260/cpukit
2894        * posix/src/pthread.c: Get initial signals blocked from creating
2895        thread not from ourselves.
2896
28972007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2898
2899        * score/src/watchdogtickle.c: Remove tabs.
2900
29012007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2902
2903        PR 1259/rtems
2904        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2905        memory is not guaranteed to be zero.
2906
29072007-09-12  Sergei Organov  <osv@javad.com>
2908
2909        PR 1258/rtems
2910        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2911        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2912        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2913        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2914        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2915        to changed block split strategy in _Heap_Allocate_aligned().
2916
29172007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2918
2919        * libcsupport/src/printk.c: Remove unnecessary comments.
2920
29212007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2922
2923        * libmisc/monitor/mon-monitor.c:
2924        Corrected linked list of rtems_monitor_commands
2925
29262007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2927
2928        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2929        walk on init, malloc, and free. The ability to walk the heap appears
2930        to disappeared during the rework of the C Program heap to skip the
2931        Region.
2932
29332007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2934
2935        * score/src/heap.c: Style.
2936        * score/src/heapwalk.c: Add more information to prints.
2937        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2938        is disabled.
2939
29402007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2941
2942        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2943        * libcsupport/src/printk_plugin.c: New file.
2944        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2945        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2946        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2947        rtems/src/ratemonreportstatistics.c: Added capability to specify
2948        your own "printf" routine to various reporting functions.  This
2949        added an XXX_with_plugin as the underlying implementation for
2950          + rtems_rate_monotonic_report_statistics
2951          + rtems_stack_checker_report_usage
2952          + rtems_cpu_usage_report
2953        As demonstration, the http netdemo can now print out stack
2954        and cpu usage reports.
2955
29562007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2957
2958        * shttpd/compat_rtems.c: Style clean up.
2959
29602007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2961
2962        * rtems/src/ratemonperiod.c: Clean up.
2963        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2964
29652007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2966
2967        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2968
29692007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2970
2971        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2972
29732007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2974
2975        * libmisc/Makefile.am: Add new files.
2976
29772007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2978
2979        * libmisc/monitor/mon-object.c,
2980        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2981        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2982        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2983        Added functionality for osmonweb support
2984
29852007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2986
2987        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2988        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2989        that are needed by osmonweb.
2990
29912007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2992
2993        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2994        Use printk.
2995
29962007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2997
2998        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2999        spacing and spelling.
3000
30012007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3002
3003        PR 1256/networking
3004        * ftpd/ftpd.c: Fix unaligned access.
3005
30062007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3007
3008        * posix/Makefile.am: Always build nanosleep.
3009
30102007-08-17      Chris Johns <chrisj@rtems.org>
3011
3012        * libmisc/capture/README: Minor copyright change.
3013        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
3014        libmisc/capture/capture.h: Fixed the memory leak when lots of
3015        tasks are being created and deleted. Improved the trigger
3016        interface so all task type actions can be caught.
3017
30182007-08-13      Chris Johns <chrisj@rtems.org>
3019
3020        * score/include/rtems/score/object.h: Point the
3021        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
3022
30232007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
3024
3025        PR 1248/networking
3026        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
3027        reported that when no interfaces are successfully attached, the
3028        default route is broken and may result in a jump to an illegal
3029        address.
3030
30312007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3032
3033        * score/inline/rtems/score/priority.inl: Use size_t instead of
3034          uint32_t for array index.
3035
30362007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3037
3038        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
3039          identify coldfire cpus.
3040
30412007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3042
3043        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
3044          coldfire.
3045
30462007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3047
3048        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
3049          work-around bug m68k/coldfire -fomit-frame-pointer bug
3050          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
3051
30522007-07-27      Chris Johns <chrisj@rtems.org>
3053
3054        * wrapup/Makefile.am: Create archive from a file for hosts
3055        with a limited command line size.
3056
30572007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3058
3059        * include/rtems/bspIo.h, include/rtems/pci.h:
3060        Add extern "C" guards. Reported by
3061        Robert S. Grimes <rsg@alum.mit.edu>.
3062
30632007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3064
3065        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
3066        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
3067        the time appears to be reported correctly and add up to what is
3068        expected.
3069
30702007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3071
3072        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
3073        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
3074        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
3075
30762007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
3077
3078        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
3079        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
3080        was always using uptime not time since last cpu usage reset when
3081        using nanoseconds granularity.
3082        * libmisc/cpuuse/cpuusagedata.c: New file.
3083
30842007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
3085
3086        * libcsupport/src/mount.c: Allow null for output parameter.
3087
30882007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
3089
3090        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
3091        to shttpd initialization.
3092
30932007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3094
3095        * libcsupport/src/malloc.c: Clean up Malloc debug code.
3096        * score/include/rtems/score/heap.h: Spacing.
3097        * score/inline/rtems/score/thread.inl:
3098        * score/src/heapfree.c. Clean up and add explicit check of the address
3099        being freed actually being in the heap.
3100        * score/src/heapwalk.c: Switch to printk and do not call abort.
3101
31022007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3103
3104        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
3105        area contingent on the stack checker user extension having been
3106        initialized.
3107
31082007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3109
3110        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
3111        and recv(). We already had the BSD versions and these conflict
3112        sometimes when linking.
3113
31142007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3115
3116        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
3117        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
3118
31192007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3120
3121        * sapi/include/confdefs.h: Do not instantiate initialization
3122        thas/thread pointer tables for an API that is not configured.
3123
31242007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3125
3126        * libcsupport/Makefile.am:
3127        * libcsupport/src/open_dev_console.c: New file.
3128
31292007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3130
3131        * score/src/corerwlock.c: Make sure structure is fully initialized.
3132        When reused, some fields will not be zero like at initialization.
3133
31342007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3135
3136        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
3137        size. Account for this.
3138
31392007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3140
3141        * configure.ac: Add NDEBUG as a command line compilation option.
3142
31432007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3144
3145        * libmd/.cvsignore: New file.
3146
31472007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3148
3149        * shttpd/defs.h: Eliminate my_strncasecmp.
3150        * shttpd/string.c: Eliminate my_strncasecmp.
3151
31522007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3153
3154        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3155        * pppd/Makefile.am: Reflect moving out md*.
3156        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3157          libmd).
3158        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3159        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3160        * configure.ac, Makefile.am: Add libmd.
3161
31622007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3163
3164        * shttpd/defs.h: Eliminate my_strlcpy.
3165        * shttpd/string.c: Eliminate my_strlcpy.
3166
31672007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3168
3169        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3170        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3171        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3172          libmd.a.
3173
31742007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3175
3176        * wrapup/Makefile.am: Add libmd.a.
3177
31782007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3179
3180        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3181          Add pppd/libmd.a.
3182        * pppd/md4.c: Don't include pppd.h.
3183
31842007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3185
3186        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3187
31882007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3189
3190        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3191        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3192        Add config.h support.
3193
31942007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3195
3196        * shttpd/compat_rtems.h: Define closesocket.
3197
31982007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3199
3200        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3201
32022007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3203        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3204        Use size_t for stack sizes.
3205
32062007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3207
3208        * configure.ac, Makefile.am: Add shttpd.
3209        * shttpd/Makefile.am: New.
3210        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3211        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3212        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3213        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3214        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3215        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3216        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3217        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3218        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3219        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3220        Import from shttpd-1.37.tar.gz.
3221
32222007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3223
3224        * configure.ac: Remove "pad" from CPU_CONTEXT.
3225
32262007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3227
3228        * score/src/coremsg.c: Formatting.
3229
32302007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3231
3232        * score/include/rtems/score/copyrt.h: Update copyright notice.
3233
32342007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3235
3236        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3237        one function per file execpt io.c which contains required
3238        initialization methods.
3239        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3240        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3241        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3242        sapi/src/iowrite.c: New files.
3243
32442007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3245
3246        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3247        table into Workspace but now it is only done if the application needs
3248        extra slots for dynamic driver registration. Cleaned up
3249        rtems_io_register_driver and rtems_io_unregister_driver code and
3250        added numerous error cases to register.
3251
32522007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3253
3254        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3255        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3256        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3257        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3258        configuration parameter since it was used to configure a no longer
3259        used feature. Device names are now part of the filesystem not in a
3260        table. This also eliminated the variables _IO_Number_of_devices and
3261        _IO_Driver_name_table from RTEMS as well as the memory allocation
3262        used to populate _IO_Driver_name_table.
3263        * libmisc/monitor/mon-dname.c: Removed.
3264
32652007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3266
3267        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3268        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3269        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3270        unused Workspace. Round the workspace required size to an 8 byte
3271        boundary instead of a 0x400 byte one. We may end up needing to add 8
3272        bytes again to account for the alignment rounding.
3273
32742007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3275
3276        Yu Chen <chyyuu@gmail.com>
3277        * score/src/corespinlockwait.c: Per question posted as
3278        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3279        logical operator to <=.
3280
32812007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3282
3283        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3284        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3285        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3286        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3287        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3288        executive initialization.
3289
32902007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3291
3292        * score/src/corerwlockrelease.c: Do not dereference NULL.
3293
32942007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3295
3296        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3297        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3298        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3299        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3300        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3301        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3302        sapi/include/rtems/extension.h: Split Classic API data instantiation
3303        into individual files. This reduces the size of the BSS section when
3304        an optional manager stub is used. Some tests showed about a 600 byte
3305        reduction in BSS size.
3306        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3307        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3308        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3309        used in one place after initialized. It was a waste of space.
3310        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3311        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3312        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3313        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3314        sapi/src/extensiondata.c: New files.
3315
33162007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3317
3318        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3319        functionality into multiple files to eliminate unnecessary cohesion.
3320        Update README.
3321        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3322        New files.
3323        * libmisc/cpuuse/cpuuse.c: Removed.
3324
33252007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3326
3327        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3328        negative value in some circumstances. Also cleaned up to share uptime
3329        declaration.
3330
33312007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3332
3333        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3334        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3335        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3336        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3337        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3338        score/Makefile.am, score/include/rtems/score/thread.h,
3339        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3340        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3341        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3342        monotonic period statistics and CPU usage statistics. This capability
3343        is enabled by default although may be conditionally disabled by the
3344        user. It could be too much overhead on small targets but it does not
3345        appear to be bad in early testing. Its impact on code size has not
3346        been evaluated either. It is possible that both forms of statistics
3347        gathering could be disabled with further tweaking of the conditional
3348        compilation.
3349        * score/src/timespecdividebyinteger.c: New file.
3350
33512007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3352
3353        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3354        functionally similar code here. Also cleanup print formats.
3355
33562007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3357
3358        * score/src/objectgetnameasstring.c: Internal threads use string names
3359        so in the current RTEMS source string object name can NOT be
3360        disabled. It is probably worth considering converting the internal
3361        threads to uint32_t style names so all the support for string names
3362        can be conditionally disabled.
3363
33642007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3365
3366        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3367        and greater than operations for timespecs.
3368        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3369        New files.
3370
33712007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3372
3373        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3374        RTEMS_POSIX_API.
3375
33762007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3377
3378        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3379        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3380        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3381        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3382        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3383        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3384        score/Makefile.am, score/include/rtems/score/object.h,
3385        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3386        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3387        Added the following directives: rtems_rate_monotonic_get_statistics,
3388        rtems_rate_monotonic_reset_statistics,
3389        rtems_rate_monotonic_reset_all_statistics,
3390        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3391        Obsoleted the rtems/rtmonuse.h file as a public interface.
3392        * rtems/src/ratemongetstatistics.c,
3393        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3394        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3395        score/src/objectgetnameasstring.c: New files.
3396        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3397
33982007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3399
3400        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3401        rtems_io_register_name for use on unix.
3402        * libcsupport/src/unixlibc_io.c: New file.
3403
34042007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3405
3406        * score/src/coremsgseize.c: A blocking sender's message size was
3407        pulled out of the wrong field in the Wait information structure.
3408        * score/src/objectallocate.c: With the new optional manager support,
3409        we only stub out the initialization. This makes it possible to attempt
3410        to create an object with the information structure only initialized
3411        with all zeros.  This ensures we return an error cleanly in this case.
3412
34132007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3414
3415        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3416        an optional manager, we cannot depend on it do initialize the
3417        internal Allocator Mutex.  This was always a questionable place to
3418        do it, so this is a cleanup.
3419
34202007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3421
3422        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3423        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3424        suitable for inclusion in the Users Guide.
3425
34262007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3427
3428        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3429        ChangeLog-pre2007.
3430        * ChangeLog-pre2007: New file.
3431
34322007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3433
3434        PR 1241/rtems
3435        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3436        critical section window added with requeueing support.
3437
34382007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3439
3440        * libcsupport/include/rtems/cdefs.h,
3441          libcsupport/include/sys/cdefs.h: Remove.
3442        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3443        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3444        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3445        libnetworking/netdb.h, libnetworking/resolv.h,
3446        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3447        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3448        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3449        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3450        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3451        libnetworking/rtems/rtems_bsdnet_internal.h,
3452        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3453        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3454        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3455        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3456        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3457        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3458        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3459        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3460        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3461        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3462        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3463
34642007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3465
3466        * Makefile.am: Reflect introduction of
3467          include/rtems/bsd/sys/cdefs.h.
3468        * include/rtems/bsd/sys/cdefs.h: New.
3469
34702007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3471
3472        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3473        * libnetworking/sys/queue.h: Remove.
3474
34752007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3476
3477        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3478        <machine/endian.h>.
3479        * libnetworking/rtems/rtems_showroute.c,
3480        libnetworking/rtems/rtems_showipstat.c,
3481        libnetworking/rtems/rtems_showtcpstat.c,
3482        libnetworking/rtems/rtems_showicmpstat.c,
3483        libnetworking/rtems/rtems_showmbuf.c,
3484        libnetworking/rtems/rtems_showudpstat.c,
3485        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3486        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3487        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3488        libnetworking/netinet/tcp_usrreq.c,
3489        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3490        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3491        libnetworking/netinet/ip_output.c,
3492        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3493        libnetworking/netinet/udp_usrreq.c,
3494        libnetworking/netinet/tcp_output.c,
3495        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3496        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3497        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3498        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3499        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3500        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3501        instead of <sys/queue.h>.
3502        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3503        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3504        libnetworking/net/if.h, libnetworking/net/if_media.h,
3505        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3506        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3507        instead of <sys/queue.h>.
3508        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3509        * include/rtems/bsd/sys/queue.h: New (Copied from
3510          libnetworking/sys/queue.h).
3511
35122007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3513
3514        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3515        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3516        score/Makefile.am, score/preinstall.am,
3517        score/include/rtems/score/userext.h, score/src/chain.c,
3518        score/src/userext.c: Switch to newlib reentrancy extension being
3519        installed in the initial set instead of using rtems_extension_create.
3520        While implementing this, noticed that user extensions and chain code
3521        had multiple functions in a single file which is not desirable in the
3522        SuperCore and API portions of RTEMS, so split these into multiple
3523        files with one function per file. Also noticed that some of user
3524        extension code was inlined for no particular reason so moved that to
3525        C bodies.  Split executive shutdown from initialization since not
3526        every application shuts down.  Moved __fini call to executive shutdown
3527        to be more symmetrical with where it is called at startup.
3528        * sapi/src/exshutdown.c, score/src/chainappend.c,
3529        score/src/chainextract.c, score/src/chainget.c,
3530        score/src/chaininsert.c, score/src/userextaddapiset.c,
3531        score/src/userextaddset.c, score/src/userextremoveset.c,
3532        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3533        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3534        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3535        files.
3536        * score/inline/rtems/score/userext.inl: Removed.
3537
35382007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3539
3540        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3541        reference _Configuration_MP_table if multiprocessing is disabled.
3542
35432007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3544
3545        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3546        reference _Configuration_MP_table if multiprocessing is disabled.
3547
35482007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3549
3550        * libnetworking/machine/endian.h: Remove.
3551        * libnetworking/Makefile.am: Remove machine/endian.h.
3552        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3553        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3554        <rtems/endian.h> instead of <machine/endian.h>.
3555        * Makefile.am: Add include/rtems/endian.h.
3556        * include/rtems/endian.h: New (Copied from
3557          libnetworking/machine/endian.h).
3558
35592007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3560
3561        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3562        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3563        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3564        of <stdint.h>.
3565        * libnetworking/machine/endian.h: Remove
3566          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3567        * NEWS: new.
3568
35692007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3570
3571        PR 1243
3572        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3573
35742007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3575
3576        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3577        to inline functions, using uint[16,32]_t.
3578        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3579        with SUSv3.
3580        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3581        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3582        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3583        Add HAVE_CONFIG_H magic.
3584        * libnetworking/libc/gethostbydns.c,
3585        libnetworking/libc/inet_net_ntop.c,
3586        libnetworking/libc/inet_pton.c: Eliminate __P.
3587        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3588        return value of ntohl (POSIX requirement).
3589        Use UINT32_C macros to avoid overflows on 16bit targets.
3590        Eliminate __P.
3591        * configure.ac: Check for working PRIxPTR.
3592
35932007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3594
3595        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3596        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3597        Use size_t for stack sizes.
3598
35992007-05-03      Joel Sherrill <joel@OARcorp.com>
3600
3601        * ChangeLog, libcsupport/src/malloc.c,
3602        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3603        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3604        Region Manager is quite heavy for implementing this. This patch
3605        implements the C Program Heap directly in terms of the new Protected
3606        Heap handler. This handler is a direct use of a SuperCore Heap in
3607        conjunction with the Allocator Mutex used internally by RTEMS. This
3608        saves 3184 bytes on most SPARC test executables.
3609        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3610        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3611        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3612        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3613        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3614        score/src/pheapwalk.c: New files.
3615
36162007-05-03      Joel Sherrill <joel@OARcorp.com>
3617
3618        * libcsupport/src/rmdir.c: Fixed spacing.
3619        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3620        newlibc.c. It is not required for minimum executing and drops 624
3621        from SPARC minimum executable.
3622        * libcsupport/src/newlibc_exit.c: New file.
3623
36242007-04-17      Joel Sherrill <joel@OARcorp.com>
3625
3626        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3627        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3628        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3629        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3630        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3631        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3632        reduce executable size. Most were refactoring of files. Split ITRON
3633        API files. Implemented mechanism to avoid initialization task/thread
3634        loop being linked in when that style of task initialization was not
3635        being used.
3636        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3637        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3638        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3639        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3640        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3641        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3642        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3643        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3644        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3645        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3646        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3647        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3648        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3649        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3650        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3651        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3652        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3653        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3654        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3655        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3656        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3657
36582007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3659
3660        * score/include/rtems/score/thread.h:
3661          Use Context_Control_fp* instead of void* for fp_contexts.
3662
36632007-04-16      Joel Sherrill <joel@OARcorp.com>
3664
3665        PR 1240/filesystem
3666        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3667        for filename was not being freed.
3668
36692007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3670
3671        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3672
36732007-04-16      Joel Sherrill <joel@OARcorp.com>
3674
3675        * itron/src/rsm_tsk.c: Correct error returned.
3676
36772007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3678
3679        * configure.ac: Redefine LIBPOSIX to !UNIX.
3680        * posix/src/usleep.c, libcsupport/src/readlink.c:
3681        Update API to SUSv3.
3682
36832007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3684
3685        * posix/Makefile.am: Unconditionally build src/sleep.c,
3686          src/usleep.c.
3687        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3688          CLOCK_MONOTONIC case.
3689        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3690
36912007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3692
3693        * posix/Makefile.am: Cosmetics.
3694        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3695        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3696
36972007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3698
3699        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3700          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3701        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3702          rtems/posix/time.h.
3703        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3704          rtems/posix/time.h.
3705        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3706
37072007-04-12      Joel Sherrill <joel@OARcorp.com>
3708
3709        * itron/src/rsm_tsk.c: Correct error returned.
3710
37112007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3712
3713        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3714
37152007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3716
3717        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3718        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3719        _impure_ptr bug).
3720        Fix abuse of _REENT_INIT().
3721
37222007-04-05      Joel Sherrill <joel@OARcorp.com>
3723
3724        * itron/src/itrontime.c: Fix typo.
3725        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3726        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3727        * score/src/threaddispatch.c: Formatting.
3728
37292007-04-05      Joel Sherrill <joel@OARcorp.com>
3730
3731        * posix/Makefile.am: Fix formatting.
3732
37332007-04-05      Joel Sherrill <joel@OARcorp.com>
3734
3735        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3736        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3737        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3738        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3739        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3740        posix/src/pthread.c, posix/src/pthreadcreate.c,
3741        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3742        posix/src/sched.c, posix/src/semtimedwait.c,
3743        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3744        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3745        score/preinstall.am, score/include/rtems/score/tod.h,
3746        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3747        score/src/coretodget.c, score/src/coretodgetuptime.c,
3748        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3749        manipulation routines in the SuperCore. Use them everywhere possible.
3750        This lead to significant cleanup in the API routines and eliminated
3751        some of the same code from the POSIX API. At this point, the
3752        SuperCore keeps time in POSIX timespec format properly from 1970. You
3753        just cannot set it before 1988 in keeping with RTEMS traditional
3754        behavior.
3755        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3756        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3757        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3758        score/src/timespectoticks.c: New files.
3759        * posix/src/posixintervaltotimespec.c,
3760        posix/src/posixtimespecsubtract.c,
3761        posix/src/posixtimespectointerval.c: Removed.
3762
37632007-04-04      Joel Sherrill <joel@OARcorp.com>
3764
3765        * score/Makefile.am, score/include/rtems/score/tod.h,
3766        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3767        non-inlined routine. It should only be used once so there is little
3768        advantage to inlining it.
3769        * score/src/coretodtickle.c: New file.
3770
37712007-04-02      Joel Sherrill <joel@OARcorp.com>
3772
3773        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3774        dead code.
3775        * posix/src/time.c: Removed.
3776
37772007-04-02      Joel Sherrill <joel@OARcorp.com>
3778
3779        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3780        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3781        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3782        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3783        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3784        TOD_Ticks_per_second variable.
3785
37862007-04-02      Joel Sherrill <joel@OARcorp.com>
3787
3788        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3789        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3790        posix/src/clockgettime.c, posix/src/clocksettime.c,
3791        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3792        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3793        posix/src/sleep.c, rtems/Makefile.am,
3794        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3795        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3796        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3797        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3798        score/Makefile.am, score/include/rtems/score/tod.h,
3799        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3800        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3801        fundamental time structure to POSIX struct timespec. Add
3802        clock_get_uptime().
3803        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3804        score/src/coretodgetuptime.c: New files.
3805        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3806        score/src/coretodvalidate.c: Removed.
3807
38082007-04-02      Joel Sherrill <joel@OARcorp.com>
3809
3810        * libcsupport/src/printk.c: Add %p support.
3811
38122007-04-02      Joel Sherrill <joel@OARcorp.com>
3813
3814        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3815        in addition to the pattern area being overwritten. Also do some
3816        cleanup.
3817
38182007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3819
3820        * include/rtems/pci.h: Further stdint.h fixed-size types.
3821
38222007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3823
3824        * include/rtems/pci.h: Use stdint.h fixed size-types.
3825
38262007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3827
3828        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3829        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3830        * libnetworking/Makefile.am: Move libc/res_config.h to
3831          libc_a_SOURCES (File is being used).
3832        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3833        Remove (Unused).
3834        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3835        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3836        Remove (Unused).
3837        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3838
38392007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3840
3841        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3842        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3843        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3844        libnetworking/libc/gethostbynis.c,
3845        libnetworking/libc/gethostnamadr.c,
3846        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3847        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3848        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3849        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3850        libnetworking/libc/getservbyname.c,
3851        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3852        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3853        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3854        libnetworking/libc/inet_net_ntop.c,
3855        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3856        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3857        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3858        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3859        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3860        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3861        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3862        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3863        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3864        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3865        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3866        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3867        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3868        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3869        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3870        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3871        SCCS, LINT. Add HAVE_CONFIG_H.
3872        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3873
38742007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3875
3876        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3877          uintptr_t.
3878
38792007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3880
3881        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3882        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3883
38842007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3885
3886        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3887        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3888        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3889        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3890        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3891        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3892        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3893        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3894        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3895        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3896        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3897        (Abandoned in FreeBSD).
3898        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3899        (Abandoned in FreeBSD).
3900        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3901        (Abandoned in FreeBSD).
3902        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3903        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3904
39052007-03-28      Chris Johns <chrisj@rtems.org>
3906
3907        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3908        score/include/rtems/score/watchdog.h: Add support for a handler to
3909        obtain the number of nanoseconds since the last clock tick. The
3910        primary interface for this is rtems_clock_set_nanoseconds_extension.
3911        Subsequent commits from Joel will redo the TOD support to use this
3912        capability.
3913        * rtems/src/clocksetnsecshandler.c: New file.
3914
39152007-03-28      Joel Sherrill <joel@OARcorp.com>
3916
3917        PR 1234/cpukit
3918        * libcsupport/Makefile.am: Provide printk() based implementation of
3919        __assert() to reduce dependencies in executables.
3920        * libcsupport/src/__assert.c: New file.
3921
39222007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3923
3924        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3925        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3926        * libnetworking/net/ppp-comp.h: Remove (Unused).
3927        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3928        * libnetworking/sys/buf.h: Remove (Unused).
3929        * libnetworking/Makefile.am: Remove sys/buf.h.
3930        * libnetworking/kern/kern_sysctl.c,
3931        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3932        <sys/buf.h>.
3933        *  libcsupport/include/sys/sockio.h: Partial update from
3934          FreeBSD.
3935
39362007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3937
3938        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3939        * libnetworking/netinet/igmp.c: Eliminate __P().
3940        * libnetworking/netinet/in.c: Eliminate __P().
3941        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3942        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3943        * libnetworking/netinet/ip_output.c: Eliminate __P().
3944
39452007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3946
3947        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3948        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3949        Change int args to intptr_t because they are casted to pointers.
3950        * libnetworking/netinet/tcp_usrreq.c,
3951        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3952
39532007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3954
3955        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3956        "long", because long is not guaranteed to be castable to char*.
3957        * libnetworking/netinet/ip_input.c: Eliminate __P().
3958        Change "int next" to "int32_t next" for 16bit targets.
3959        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3960        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3961        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3962        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3963        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3964        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3965        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3966
39672007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3968
3969        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3970        Remove (Abandoned in FreeBSD).
3971        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3972        net/pppcompress.h.
3973        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3974        net/pppcompress.h.
3975        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3976        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3977        net/pppcompress.h.
3978
39792007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3980
3981        * libnetworking/net/pppcompress.h: Eliminate __P().
3982        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3983        * libnetworking/net/if_llc.h: Update from FreeBSD.
3984
39852007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3986
3987        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3988          <net/ppp-comp.h>.
3989        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3990        Warn about using it.
3991        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3992        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3993        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3994          FreeBSD.
3995        * libnetworking/machine/in_cksum.h: Eliminate __P().
3996        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3997        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3998        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3999        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
4000        Eliminate __P().
4001        * libcsupport/src/scandir.c: Eliminate __P().
4002        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
4003        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
4004        Eliminate __P().
4005        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
4006        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
4007        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
4008
40092007-03-26      Joel Sherrill <joel@OARcorp.com>
4010
4011        PR 1231/cpukit
4012        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
4013        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
4014        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
4015        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
4016        posix/src/mutexattrgetprioceiling.c,
4017        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
4018        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
4019        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
4020        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
4021        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
4022        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
4023        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
4024        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
4025        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
4026        posix/src/posixtimespecsubtract.c,
4027        posix/src/posixtimespectointerval.c,
4028        posix/src/psignalclearprocesssignals.c,
4029        posix/src/psignalclearsignals.c,
4030        posix/src/psignalsetprocesssignals.c,
4031        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
4032        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
4033        unneeded includes of assert.h
4034
40352007-03-26      Joel Sherrill <joel@OARcorp.com>
4036
4037        * libcsupport/include/rtems/assoc.h: Pick up the include file
4038        changes associated with the file splitting.
4039
40402007-03-26      Joel Sherrill <joel@OARcorp.com>
4041
4042        * libcsupport/Makefile.am: Pick up the Makefile changes associated
4043        with the file splitting.
4044
40452007-03-26      Joel Sherrill <joel@OARcorp.com>
4046
4047        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
4048        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
4049        this will not be deemed necessary to commit to the 4.7 branch.
4050        * libcsupport/src/assoclocalbyname.c,
4051        libcsupport/src/assoclocalbyremote.c,
4052        libcsupport/src/assoclocalbyremotebitfield.c,
4053        libcsupport/src/assocnamebylocal.c,
4054        libcsupport/src/assocnamebylocalbitfield.c,
4055        libcsupport/src/assocnamebyremote.c,
4056        libcsupport/src/assocnamebyremotebitfield.c,
4057        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
4058        libcsupport/src/assocptrbyremote.c,
4059        libcsupport/src/assocremotebylocal.c,
4060        libcsupport/src/assocremotebylocalbitfield.c,
4061        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
4062        libcsupport/src/write_r.c: New files.
4063
40642007-03-26      Joel Sherrill <joel@OARcorp.com>
4065
4066        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
4067        support and remove deadcode. Replace with comment explaining that
4068        behavior is compatible with GNU/Linux per Eric Norum.
4069
40702007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4071
4072        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
4073        Partial update from FreeBSD.
4074        * libnetworking/netinet/if_ether.h: Eliminate __P().
4075        * libnetworking/netinet/ip_var.h: Eliminate __P().
4076        * libnetworking/netinet/in.h: Eliminate __P().
4077        * libnetworking/netinet/tcp_var.h: Eliminate __P().
4078
40792007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4080
4081        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
4082        Remove __P();
4083        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
4084
40852007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4086
4087        * libnetworking/netinet/in_var.h: Remove __P().
4088        * libnetworking/netinet/in_systm.h: Remove __P().
4089        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
4090        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
4091        * libnetworking/netinet/if_ether.c: Remove __P().
4092        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
4093        More updates from FreeBSD.
4094        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
4095        libnetworking/net/route.h: Partial update from FreeBSD.
4096
40972007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
4098
4099        * libnetworking/Makefile.am: Remove nfs/krpc.h.
4100        * libnetworking/nfs/krpc.h: Remove (Unused).
4101        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
4102        * libnetworking/Makefile.am: Remove nfs/nfs.h.
4103        * libnetworking/nfs/nfs.h: Remove (Unused).
4104
41052007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4106
4107        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
4108          symbols.
4109        * libnetworking/sys/conf.h: Don't include machine/conf.h.
4110        Update copyright notice.
4111        Remove unused/non-implemented declarations.
4112        * libnetworking/Makefile.am: Remove machine/conf.h.
4113        * libnetworking/machine/conf.h: Remove.
4114
41152007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4116
4117        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
4118        Remove many non-supported/unused declarations.
4119
41202007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4121
4122        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
4123          crhold (Unused/non-implemented).
4124
41252007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4126
4127        * libnetworking/sys/ucred.h: Remove __P().
4128        * libnetworking/sys/callout.h: Remove __P().
4129        * libnetworking/sys/domain.h: Remove __P().
4130        * libnetworking/sys/socketvar.h: Remove __P().
4131        * libnetworking/sys/socket.h: Remove __P().
4132        * libnetworking/sys/select.h: Remove __P().
4133        * libnetworking/sys/kernel.h: Remove __P().
4134        * libnetworking/sys/protosw.h: Remove __P().
4135        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
4136        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
4137        swdevt, nswdev, nswap (Unused).
4138
41392007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4140
4141        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4142        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4143        instead of struct linesw (PR 1229)
4144        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4145        around clash with defines from rtems_bsdnet_internal.h.
4146        * score/src/heapwalk.c: include stdlib.h.
4147
41482007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4149
4150        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4151        Remove __P().
4152        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4153        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4154        Remove __P().
4155        * libcsupport/include/rtems/termiostypes.h,
4156        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4157        with rtems_termios_*.
4158        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4159        (Clash with termiostypes.h - PR 1229).
4160
41612007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4162
4163        * score/include/rtems/score/wkspace.h,
4164        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4165        Change _Workspace_Handler_initialization and
4166        _Workspace_Allocate_or_fatal_error to using size_t.
4167        * libnetworking/sys/rtprio.h: Remove (Unused).
4168        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4169
41702007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4171
4172        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4173        Remove __P().
4174
41752007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4176
4177        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4178          to fix warnings.
4179        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4180        * score/include/rtems/score/chain.h, score/src/chain.c:
4181        Change _Chain_Initialize to using size_t.
4182
41832007-03-12      Joel Sherrill <joel@OARcorp.com>
4184
4185        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4186        Dump_Buffer to rtems_print_buffer.
4187
41882007-03-12      Joel Sherrill <joel@OARcorp.com>
4189
4190        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4191        license URL and/or fix mistake in copyright notice. Both of these
4192        mistakes appear to be from code submitted after these changes were
4193        made previously.
4194
41952007-03-10      Joel Sherrill <joel@OARcorp.com>
4196
4197        PR 1226/cpukit
4198        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4199        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4200
42012007-03-08      Joel Sherrill <joel@OARcorp.com>
4202
4203        * libfs/src/imfs/imfs.h: Fix comment.
4204
42052007-03-08      Joel Sherrill <joel@OARcorp.com>
4206
4207        * libfs/src/imfs/imfs.h: Fix comment.
4208
42092007-03-08      Joel Sherrill <joel@OARcorp.com>
4210
4211        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4212        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4213
42142007-03-08      Joel Sherrill <joel@OARcorp.com>
4215
4216        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4217        Remove wrapper for message queue send and urgent and implement them
4218        directly. There was an unnecessary function call layer in addition to
4219        conditions in the shared routine. Directly coding both directives is
4220        simpler and should result in smaller code.
4221        * rtems/src/msgqsubmit.c: Removed.
4222
42232007-03-05      Joel Sherrill <joel@OARcorp.com>
4224
4225        PR 1222/cpukit
4226        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4227        score/include/rtems/score/threadq.h,
4228        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4229        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4230        score/src/threadclearstate.c, score/src/threadhandler.c,
4231        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4232        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4233        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4234        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4235        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4236        thread that is blocked on a priority based thread queue is changed,
4237        that its placement in the queue is reevaluated based upon the new
4238        priority. This enhancement includes modifications to the SuperCore as
4239        well as new test cases.
4240        * score/src/threadqrequeue.c: New file.
4241
42422007-03-05      Joel Sherrill <joel@OARcorp.com>
4243
4244        * sapi/src/exinit.c: Fix spacing.
4245
42462007-03-05      Joel Sherrill <joel@OARcorp.com>
4247
4248        PR 1221/cpukit
4249        * posix/src/pthreadequal.c: Fix critical section nesting.
4250
42512007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4252
4253        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4254          compiled files.
4255
42562007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4257
4258        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4259
42602007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4261
4262        * score/Makefile.am: Remove macros/README.
4263
42642007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4265
4266        * score/include/rtems/score/heap.h, score/src/heap.c,
4267        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4268        More size_t for heap-sizes.
4269        * score/include/rtems/score/heap.h, score/src/heap.c,
4270        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4271        heap-sizes.
4272        * libnetworking/resolv.h: Typo fixes. Remove __P().
4273
42742007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4275
4276        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4277        Use size_t for stack-sizes.
4278
42792007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4280
4281        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4282          functions.
4283        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4284        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4285
42862007-02-06      Till Straumann <strauman@slac.stanford.edu>
4287
4288        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4289        taskvar dtor to plug memory leak. Applied patch attached
4290        to PR#690.
4291
42922007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4293
4294        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4295        * posix/src/getpagesize.c: Removed.
4296        * posix/Makefile.am: Remove references to getpagesize.c.
4297        * libcsupport/Makefile.am: Add getpagesize.c.
4298
42992007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4300
4301        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4302        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4303          visible.
4304        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4305
43062007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4307
4308        * rtems/src/msgqsend.c: Use size_t for sizes.
4309        * rtems/src/msgqurgent.c: Use size_t for sizes.
4310        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4311        * rtems/src/msgmp.c: Use size_t for sizes.
4312        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4313        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4314        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4315        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4316
43172007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4318
4319        * itron/src/trcv_mbf.c: Use size_t for sizes.
4320        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4321        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4322        * libmisc/monitor/monitor.h: Use size_t for sizes.
4323        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4324        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4325        * rtems/src/msgqreceive.c: Use size_t for sizes.
4326        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4327        * score/src/coremsgseize.c: Use size_t for sizes.
4328
43292007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4330
4331        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4332        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4333        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4334        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4335        * score/src/coremsgsubmit.c: Use size_t for sizes.
4336
43372007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4338
4339        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4340
43412007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4342
4343        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4344
43452007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4346
4347        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4348        Remove isblank (supposed to be provided by libc).
4349
43502007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4351
4352        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4353
43542007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4355
4356        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4357         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4358        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4359        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4360        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4361
43622007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4363
4364        * score/include/rtems/system.h:
4365        #define __RTEMS_MINOR__ 7 (BZ 1206).
4366
43672007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4368
4369        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4370        export some internal variables to make them available in
4371        "show_bdbuf" monitor add-on
4372
43732007-01-16      Till Straumann <strauman@slac.stanford.edu>
4374
4375        * libnetworking/rtems/rtems_mii_ioctl.c,
4376        libnetworking/rtems/rtems_mii_ioctl.h,
4377        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4378        libi2c/libi2c.c, libi2c/libi2c.h:
4379        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4380
43812007-01-09      Joel Sherrill <joel@OARcorp.com>
4382
4383        * libcsupport/src/error.c: rtems_progname is no longer defined in
4384        the BSP startup since it never held a meaningful value.
4385
43862007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4387
4388        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4389        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.