source: rtems/cpukit/ChangeLog @ 2975e71

4.104.114.95
Last change on this file since 2975e71 was 3b14b7ad, checked in by Joel Sherrill <joel.sherrill@…>, on 08/08/08 at 13:50:28

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

  • libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h, score/include/rtems/score/thread.h, score/src/threadreset.c, score/src/threadrestart.c, score/src/threadstart.c: New type Thread_Entry_numeric_type for numeric arguments in thread entry functions with at least one numeric argument.
  • Property mode set to 100644
File size: 176.1 KB
Line 
12008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2
3        * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
4        warnings.
5
62008-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
7
8        * score/include/rtems/score/sysstate.h,
9        score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
10        _System_state_Is_multiprocessing unused when multiprocessing is not
11        enabled. Saves one more variable from single processor configuration.
12
132008-08-07      Chris Johns <chrisj@rtems.org>
14
15        * libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
16        to see if the 'to' path was a directory and removed the directory.
17
18        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv
19        command.
20
21        * libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
22
232008-08-06      Chris Johns <chrisj@rtems.org>
24
25        * libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
26        the new bdbuf code.
27
282008-08-06      Brett Swimley <brett.swimley@aedbozeman.com>
29
30        PR 1192/filesystem
31        * libblock/src/diskdevs.c: PR1192. Update the disktap pointer
32        after the realloc.
33
342008-08-06      Till Straumann <strauman@slac.stanford.edu>
35
36        * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
37        than release it.
38
392008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
40
41        PR 537/bsps
42        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
43        libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
44        vestiges of ticks_per_timeslice controlling newlib reentrancy. The
45        parameter was ignored in libc_init().
46
472008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
48
49        PR 741/networking
50        * libmisc/dummy/dummy.c: Add dummy network configuration.
51
522008-08-05     Sebastian Huber <sebastian.huber@embedded-brains.de>
53
54        * rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
55        Changed option set type to rtems_option.
56
57        * score/src/objectgetinfo.c: Check return value of
58        _Objects_API_maximum_class().
59
60        * libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
61        rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
62        rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
63        rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
64        rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
65        score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
66        score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
67        score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
68        score/src/coremsgsubmit.c:
69        Removed parameters of _Message_queue_Allocate().  Changed option set
70        type to rtems_option.  Changed type of maximum message and packet size
71        to size_t.  Changed the input buffer type for message send functions to
72        "const void *".  Changed the pointer to the second return argument in
73        the thread wait information to a union.  This union can contain a
74        pointer to an immutable or a mutable object.  This is somewhat fragile.
75        An alternative would be to add a third pointer for immutable objects,
76        but this would increase the structure size.
77
782008-08-05      Xudong Guan <xudong.guan@criticalsoftware.com>
79
80        PR 1212/cpukit
81        * rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
82        will not happen if the task mode is changed from a non-timeslicing
83        mode to timeslicing mode if it is done by the executing thread (e.g.
84        in its task body). This change includes sp44 to demonstrate the
85        problem and verify the correction.
86
872008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
88
89        * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
90        warnings.
91
922008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
93
94        PR 1265/cpukit
95        * score/include/rtems/score/object.h,
96        score/src/objectallocatebyindex.c: Rename index argument to avoid
97        warning when rtems.h and string.h are included at the same time by
98        user code.
99
1002008-08-03      Ralf Corsépius <ralf.corsepius@rtems.org>
101
102        * libnetworking/lib/tftpDriver.c: Add prototypes.
103        * pppd/rtemsmain.c: Add prototypes.
104        * zlib/crc32.c: Add prototypes.
105
1062008-08-02      Chris Johns (chrisj@rtems.org>
107
108        * libblock/include/rtems/blkdev.h: Remove count and start from
109        rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.
110
111        * libblock/src/bdbuf.c: Add read ahead blocks always consecutive
112        comment. Change count to bufnum and remove start references. Sort
113        the transfer list so blocks are consecutive where possible.
114
115        * libblock/src/blkdev.c, libblock/src/nvdisk.c,
116        libblock/src/ramdisk.c: Change count to bufnum and remove start
117        references.
118
1192008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
120
121        * telnetd/telnetd.c: Add missing prototypes.
122        Remove unused local declations.
123
1242008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
125
126        * libnetworking/libc/gethostbydns.c,
127        libnetworking/libc/gethostbyht.c,
128        libnetworking/libc/gethostbynis.c,
129        libnetworking/libc/gethostnamadr.c,
130        libnetworking/libc/getnetbydns.c,
131        libnetworking/libc/getnetbynis.c,
132        libnetworking/libc/getnetnamadr.c,
133        libnetworking/libc/nsap_addr.c,
134        libnetworking/libc/res_debug.c,
135        libnetworking/libc/res_send.c: Add missing prototypes.
136
1372008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
138
139        * libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
140        * libmd/md4.c, libmd/md5.c: Add missing prototypes.
141        * libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
142        libmisc/shell/shell_script.c: Add missing prototypes.
143
1442008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
145
146        * libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
147
1482008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
149
150        * librpc/include/rpc/clnt.h: Cleanup.
151        * librpc/include/rpc/svc.h: Cleanup.
152
1532008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
154
155        * librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
156        librpc/src/xdr/xdr_sizeof.c, librpc/src/xdr/xdr_stdio.c:
157        Misc. ansifications. Add prototypes.
158
1592008-08-01      Joel Sherrill <joel.sherrill@OARcorp.com>
160
161        * rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
162
1632008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
164
165        * librpc/src/rpc/getrpcport.c: Misc. ansifications.
166        * librpc/src/rpc/getrpcent.c: Remove stray local decls.
167        Misc. ansifications.
168        * librpc/src/rpc/clnt_perror.c: Misc. ansifications.
169        * librpc/src/rpc/get_myaddress.c: Misc. ansifications.
170        * librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
171        * librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
172        * librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
173        * librpc/src/rpc/clnt_raw.c: Add missing prototypes.
174        * librpc/src/rpc/clnt_udp.c: Add missing prototypes.
175        * librpc/src/rpc/svc_auth.c: Add missing prototypes.
176        * librpc/src/rpc/svc_raw.c: Add missing prototypes.
177        * librpc/src/rpc/svc_tcp.c: Add missing prototypes.
178        * librpc/src/rpc/svc_udp.c: Add missing prototypes.
179
1802008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
181
182        * librpc/src/rpc/svc.c: Add missing prototypes.
183        * librpc/src/xdr/xdr_rec.c: Remove register vars.
184        * librpc/src/xdr/xdr_mem.c: Misc. ansifications.
185        * librpc/src/rpc/svc_tcp.c: Misc. ansifications.
186        * librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
187        * librpc/src/rpc/svc_raw.c: Misc. ansifications.
188        * librpc/src/xdr/xdr_rec.c: Misc. ansifications.
189        * librpc/src/rpc/svc_simple.c: Add missing prototypes.
190        * librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
191        * librpc/src/rpc/rpcdname.c: Add missing prototypes.
192        * librpc/src/rpc/rpc_prot.c: Misc. ansifications.
193        * librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
194        * librpc/src/rpc/clnt_simple.c: Misc. ansifications.
195        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
196        Add missing prototypes.
197        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
198        Misc. ansifications.
199
2002008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
201
202        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
203        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
204        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
205        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
206        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
207        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
208        Eliminate __P().
209
2102008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
211
212        * score/include/rtems/score/thread.h: Add missing prototype.
213        * score/inline/rtems/score/thread.inl: Add missing prototypes.
214        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
215        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
216        libnetworking/netinet/in_cksum_m68k.h,
217        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
218        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
219        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
220        * itron/include/itronsys/types.h: Add missing prototype.
221        * ftpd/ftpd.c: Fix broken prototype.
222        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
223        Add missing prototypes.
224
2252008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
226
227        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
228        is disabled but luckily it is not even needed to compile.
229
2302008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
231
232        * libmisc/shell/main_netstats.c: Add missing prototypes.
233        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
234        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
235
2362008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
237
238        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
239        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
240        httpd/wsIntrn.h: Add missing protoypes.
241
2422008-07-29      Tim Cussins <timcussins@eml.cc>
243
244        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
245        conditional.
246
2472008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
248
249        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
250        call.
251
2522008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
253
254        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
255
2562008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
257
258        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
259        libmisc/monitor/monitor.h: Add missing prototypes.
260        * score/inline/rtems/score/tod.inl: Add prototypes.
261        * score/src/coretodset.c: Remove stray args in function call.
262        * libcsupport/include/rtems/libcsupport.h,
263        libcsupport/include/rtems/libio_.h,
264        libcsupport/src/malloc_statistics_helpers.c,
265        libcsupport/src/scandir.c: Add prototypes.
266        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
267        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
268        posix/src/prwlockrdlock.c: Use C-style comments.
269
2702008-07-29      Chris Johns <chrisj@rtems.org>
271
272        * libblock/src/nvdisk.c: Fix block compile bug.
273
2742008-07-29      Chris Johns <chrisj@rtems.org>
275
276        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
277        Update the comments.
278
2792008-07-29      Chris Johns <chrisj@rtems.org>
280
281        * libblock/Makefile.am: Removed src/show_bdbuf.c.
282
283        * libblock/src/show_bdbuf.c: Removed.
284
285        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
286        Rewritten the bdbuf code. Remove pre-emption disable, score
287        access, fixed many bugs and increased performance.
288
289        * libblock/include/rtems/blkdev.h: Added
290        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
291        comments. Added block and user fields to the sg buffer
292        request. Move to rtems_* namespace.
293
294        * libblock/include/rtems/diskdevs.h,
295        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
296        capabilities field for drivers. Change rtems_disk_lookup to
297        rtems_disk_obtain to match the release call. You do not lookup and
298        release a disk, you obtain and release a disk.
299
300        * libblock/include/rtems/ide_part_table.h,
301        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
302        Move to rtems_* namespace.
303
304        * libblock/include/rtems/nvdisk.h: Formatting change.
305
306        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
307        rtems_disk_lookup to rtems_disk_obtain
308
309        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
310        support for the block number in the scatter/grather request
311        struct. This allows non-continuous buffer requests for those
312        drivers that can support increasing performance.
313
314        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
315        warnings. Added better error checking. Fixed some comments.
316
317        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
318        trace functions to help debugging upper layers. Use the new
319        support for the block number in the scatter/grather request
320        struct. This allows non-continuous buffer requests for those
321        drivers that can support increasing performance.
322
323        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
324        API. Removed temporary hack and changed
325        set_errno_and_return_minus_one to
326        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
327        header and stopped it being inlined. Updated to libblock changes.
328       
329        * libfs/src/dosfs/fat_fat_operations.c,
330        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
331        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
332        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
333        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
334        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
335        new chains API. Removed temporary hack and changed
336        set_errno_and_return_minus_one to
337        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
338
339        * libmisc/Makefile.am: Add new ls and rm command files.
340
341        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
342        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
343        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
344        libmisc/shell/vis.c, shell/vis.h: New.
345
346        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
347        libmisc/shell/utils-cp.c: Fixed the usage call bug.
348
349        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
350        command.
351
352        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
353        commands with more features.
354       
355        * score/src/coremutex.c: Fix the strick order mutex code.
356
357        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
358        and no ASR.
359       
360        * sapi/include/confdefs.h: Change ata_driver_task_priority to
361        rtems_ata_driver_task_priority. Add the new BD buf cache
362        parameters with defaults.
363
364        * score/src/interr.c: Do not return if the CPU halt call returns.
365       
3662008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
367
368        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
369        bsp_libc_init() into new bootcard.h.
370
371        * cpukit/include/rtems/irq-extension.h: New function
372        rtems_interrupt_handler_iterate() for system information and
373        diagnostics.
374
3752008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
376
377        * libmisc/shell/shell_script.c: Clean up code for command not found
378        including the error message.
379
3802008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
381
382        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
383        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
384        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
385        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
386        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
387        internal routine. This makes it possible to also print string names
388        of POSIX objects. Adjust task report to realign since we can have
389        longer names.
390
3912008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
392
393        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
394        body is now completely configured via the Configuration table.
395
3962008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
397
398        PR 1291/cpukit
399        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
400        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
401        posix/include/rtems/posix/semaphore.h,
402        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
403        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
404        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
405        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
406        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
407        posix/src/posixtimespecabsolutetimeout.c,
408        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
409        posix/src/semaphoretranslatereturncode.c,
410        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
411        posix/src/semtrywait.c, posix/src/semwait.c,
412        posix/src/sigtimedwait.c, posix/src/timersettime.c,
413        posix/src/ualarm.c, rtems/src/semobtain.c,
414        rtems/src/semtranslatereturncode.c,
415        score/include/rtems/score/coremutex.h,
416        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
417        patch addresses issues on implementation of the timeout on the
418        following POSIX services. Some of these services incorrectly took a
419        timeout as a relative time. Others would compute a 0 delta to timeout
420        if the absolute time and the current time were equal and thus
421        incorrectly block the caller forever. The root of the confusion is
422        that POSIX specifies that if the timeout is incorrect (e.g. in the
423        past, is now, or is numerically invalid), that it does not matter if
424        the call would succeed without blocking. This is in contrast to RTEMS
425        programming style where all errors are checked before any critical
426        sections are entered. This fix implemented a more uniform way of
427        handling POSIX absolute time timeouts.
428            + pthread_cond_timedwait - could block forever
429            + mq_timedreceive - used relative not absolute time
430            + mq_timedsend - used relative not absolute time
431            + pthread_mutex_timedlock - used relative not absolute time
432            + pthread_rwlock_timedrdlock- used relative not absolute time
433            + pthread_rwlock_timedwrlock- used relative not absolute time
434            + sem_timedwait - could block forever
435
4362008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
437
438        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
439        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
440        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
441        libmisc/shell/main_whoami.c: Add pthread command to monitor when
442        POSIX is enabled. Remove include of rtems/monitor.h from files not
443        related.
444
4452008-07-16      Till Straumann <strauman@slac.stanford.edu>
446
447        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
448        use ppc_interrupt_get_disable_mask() to determine
449        which bits to set/clear from _CPU_ISR_Set_level().
450
4512008-07-16      Till Straumann <strauman@slac.stanford.edu>
452
453        * score/cpu/powerpc/rtems/powerpc/registers.h:
454        added ppc_interrupt_get_disable_mask() inline function.
455
4562008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
457
458        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
459
4602008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
461
462        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
463        for rtems_shell_init(). This makes it possible to run the shell
464        forever or invoke it from a program as a subroutine, have a user
465        enter commands, and wait for it to exit.
466
4672008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
468
469        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
470        RTEMS version string.
471        * sapi/src/getversionstring.c: New file.
472
4732008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
474
475        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
476        cpukit/score/cpu/m68k/rtems/score/cpu.h,
477        score/cpu/m68k/rtems/score/m68k.h:
478
479        added support to save coldfire FPU/EMAC context
480
4812008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
482
483        * libi2c/libi2c.c, libi2c/libi2c.h:
484        make buffer passed to *write* functions a const pointer
485
486
4872008-07-10      Till Straumann <strauman@slac.stanford.edu>
488
489        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
490        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
491        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
492        Removed all macro definitions which depended on
493        the compiler defining a PPC CPU-model dependent
494        symbol.
495        Macros which were not used by cpukit have been
496        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
497       
4982008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
499
500        * include/rtems/status-checks.h: Fix style.
501
5022008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
503
504        * rtems/include/rtems/rtems/intr.h: Documentation.
505
506        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
507        Interrupt Manager (shared handler and handler with a handle).
508
509
5102008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
511
512        * cpukit/include/rtems/status-checks.h: Macros for status code and
513        return value checks.
514
515        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
516
517        * cpukit/libfs/src/dosfs/msdos_dir.c,
518        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
519        to file mode.
520
521        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
522        messages.  Driver operations table is now constant.  New entry in the
523        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
524        continuously transmitted in read only functions.
525
5262008-07-03      Chris Johns <chrisj@rtems.org>
527
528        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
529        interface that is supported.
530
531        * cpukit/libcsupport/Makefile.am,
532        cpukit/libcsupport/preinstall.am: Remove chain.h header
533        references.
534
535        * cpukit/sapi/include/rtems/chain.h,
536        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
537        interface.
538
539        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
540        include the new chains interface.
541
542        * cpukit/libfs/src/imfs/imfs.h,
543        cpukit/libfs/src/imfs/imfs_creat.c,
544        cpukit/libfs/src/imfs/imfs_debug.c,
545        cpukit/libfs/src/imfs/imfs_directory.c,
546        cpukit/libfs/src/imfs/imfs_fsunmount.c,
547        cpukit/libfs/src/imfs/imfs_getchild.c,
548        cpukit/libfs/src/imfs/imfs_load_tar.c,
549        cpukit/libfs/src/imfs/imfs_rmnod.c,
550        cpukit/libfs/src/imfs/memfile.c,
551        cpukit/libfs/src/nfsclient/src/nfs.c,
552        cpukit/libcsupport/include/rtems/libio.h,
553        cpukit/libcsupport/src/malloc_deferred.c,
554        cpukit/libcsupport/src/mount.c,
555        cpukit/libcsupport/src/privateenv.c,
556        cpukit/libcsupport/src/unmount.c: Change to the new chains
557        interface.
558
559        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
560
5612008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
562
563        * score/include/rtems/score/thread.h,
564        score/src/threaddispatch.c, score/src/threadinitialize.c:
565        Support rtems_ada_self iff __RTEMS_ADA__ is given.
566
5672008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
568
569        * libmisc/shell/shell_script.c: Remove unused function.
570
5712008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
572
573        * configure.ac: Add __RTEMS_ADA__.
574
5752008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
576
577        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
578        libnetworking/libc/getservbyname.c,
579        libnetworking/libc/getservbyport.c: Add initial versions of
580        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
581        point they are just simple weappers for the version without the _r in
582        the name.
583
5842008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
585
586        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
587        Review association tables in monitor.
588
5892008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
590
591        * configure.ac, rtems/src/semtranslatereturncode.c,
592        score/include/rtems/score/coremutex.h,
593        score/include/rtems/score/thread.h,
594        score/inline/rtems/score/coremutex.inl,
595        score/src/coremutex.c, score/src/coremutexsurrender.c,
596        score/src/threadinitialize.c:
597        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
598
5992008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
600
601        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
602        * libgnat/Makefile.am: Use LIBGNAT.
603        * wrapup/Makefile.am: Use LIBGNAT.
604
6052008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
606
607        * acinclude.m4: Add magic to update cpuopt.h.
608        * configure.ac: Remove magic to update cpuopt.h.
609
6102008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
611
612        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
613        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
614        Cleanup mal-formated RTEMS_CPUOPT's.
615
6162008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
617
618        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
619        AC_PREREQ(2.62).
620
6212008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
622
623        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
624        than a number.
625
6262008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
627
628        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
629        still reserved memory for the reentrancy structure. This is about 1K
630        per task. On psim, we now reserve only 1936 bytes and only 240 remain
631        after all allocations. Further analysis will be required to narrow
632        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
633        be defined and the structure named Configuration_Memory_Debug will be
634        instantiated. This structure contains many of the component values
635        that go into the memory reservation computation. This is helpful when
636        tracking down problems.
637
6382008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
639
640        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
641        was always adding heap overhead even when the number of objects
642        configured was zero and we would not do an allocation. This resulted
643        in an over estimation of the amount of Workspace required (~2K on
644        minimum.exe on PowerPC).
645
6462008-06-17      Chris Johns <chrisj@rtems.org>
647
648        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
649        remove warning.
650       
651        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
652        priority level for large memory Coldfires.
653
6542008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
655
656        * rtems/include/rtems/rtems/config.h,
657        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
658        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
659        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
660
6612008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
662
663        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
664        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
665        CONFIGURE_MAXIMUM_PRIORITY.
666
6672008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
668
669        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
670        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
671        sapi/include/confdefs.h, sapi/include/rtems/config.h,
672        score/inline/rtems/score/stack.inl, score/src/isr.c,
673        score/src/mpci.c, score/src/threadcreateidle.c,
674        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
675        ability for application to configure minimum stack size. Add
676        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
677        indicate they want the configured as opposed to the recommended
678        minimum stack size.
679
6802008-06-10      Chris Johns <chrisj@rtems.org>
681
682        * score/include/rtems/score/priority.h: Let the CPU define the
683        maximum and minimum priority levels to reduce the amount of memory
684        thread chains use.
685
6862008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
687
688        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
689        rtems/include/rtems/rtems/config.h,
690        rtems/include/rtems/rtems/dpmem.h,
691        rtems/include/rtems/rtems/eventset.h,
692        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
693        rtems/include/rtems/rtems/ratemon.h,
694        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
695        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
696        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
697        Classic API Doxygen.
698
6992008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
700
701        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
702        score/include/rtems/score/thread.h: Complete previous patch. Add
703        typedef for cpu usage statistics.
704
7052008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
706
707        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
708        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
709        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
710        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
711        score/src/threaddispatch.c, score/src/threadinitialize.c,
712        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
713        period timing statistics. Also renamed related variables and
714        structure members so they are the same whether you are using
715        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
716        granularity. This lays the groundwork for future cleanup.
717
7182008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
719
720        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
721        particular, there was a report from that Matthew Riek that memory was
722        being reserved twice for the IDLE task. This was covering up other
723        places that under allocated memory. Before I was done, I had reworked
724        the file to be easier to read, maintain and be more accurate.
725
7262008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
727
728        * score/include/rtems/score/isr.h, score/src/isr.c: Use
729        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
730        memory for vector table.
731
7322008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
733
734        * score/src/wkspace.c: Fix error in comment.
735
7362008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
737
738        * posix/src/psignal.c: Do not allocate any memory for queued signals if
739        the configuration parameter is 0. Before we would end up with an
740        allocation of 0 which rounded up and wasted some memory when POSIX
741        was configured.
742
7432008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
744
745        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
746        the target toolset uses init/fini sections.
747
7482008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
749
750        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
751        has no functional data in the user extension data area structure so
752        this disables the definition, allocation and deallocation of that
753        structure. If we ever have to add data to it, then it will be easy to
754        reenable.
755
7562008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
757
758        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
759        score/src/threadget.c: Make sure the pointer to the API object table
760        is valid before derefencing it.
761
7622008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
763
764        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
765        calls for leading underscore on private RTEMS variables.
766
7672008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
768
769        * score/include/rtems/score/object.h,
770        score/include/rtems/score/watchdog.h: Move #include's out of
771        extern "C" {}.
772
7732008-05-30      Till Straumann <strauman@slac.stanford.edu>
774
775        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
776        release node if rtems_filesystem_evaluate_path() fails
777        in nfs_eval_link() since pathloc contains no valid node.
778
7792008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
780
781        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
782        while at prompt results in shell logging out and connection still
783        being available.
784
7852008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
786
787        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
788        fini() as part of exit(). This avoids atexit() being a required
789        function.
790
7912008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
792
793        * libmisc/shell/shell.c: Minor change so dropping connection during
794        login prompt results in connection still being available.
795
796
7972008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
798
799        * score/include/rtems/score/object.h,
800        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
801        and RTEMS_ID_NONE.  No object can have this ID.
802
8032008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
804
805        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
806        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
807        libcsupport/src/base_fs.c, libcsupport/src/error.c,
808        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
809        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
810        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
811        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
812        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
813        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
814        libfs/src/imfs/imfs_handlers_device.c,
815        libfs/src/imfs/imfs_handlers_directory.c,
816        libfs/src/imfs/imfs_handlers_link.c,
817        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
818        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
819        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
820        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
821        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
822        sapi/include/confdefs.h, sapi/include/rtems/io.h,
823        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
824        Added const qualifier to various pointers and data tables to
825        reduce size of data area.
826        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
827        DOSFS: Use LibBlock instead of read() to read the boot record.
828       
8292008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
830
831        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
832
8332008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
834
835        * libcsupport/src/printk.c:
836        Bugfix: String output without width option.
837
8382008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
839
840        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
841        Bugfix: Moved definition of ppp_softc into source file.
842
8432008-05-23      Till Straumann <strauman@slac.stanford.edu>
844
845        * libnetworking/netinet/ip_output.c: when fragmenting
846        multicast packets M_MCAST must be set on all fragments.
847        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
848        (see my email to rtems-users from 2008/5/15).
849
8502008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
851
852        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
853        itron/src/exd_tsk.c, itron/src/task.c,
854        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
855        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
856        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
857        posix/src/testcancel.c, rtems/src/taskdelete.c,
858        score/inline/rtems/score/object.inl, score/src/objectclose.c,
859        score/src/threadclose.c: Make all task delete/exit/cancel routines
860        follow the same critical section pattern. Also ensure that POSIX
861        cancelation routines are run at thread exit.
862
8632008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
864
865        * libcsupport/src/termios_baud2index.c,
866        libcsupport/src/termios_baud2num.c,
867        libcsupport/src/termios_num2baud.c,
868        libcsupport/src/termios_setinitialbaud.c: New files.
869
8702008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
871
872        * libcsupport/Makefile.am, libcsupport/preinstall.am,
873        libcsupport/include/rtems/termiostypes.h: Move termios helper
874        routines from libchip to libcsupport. Add routine which makes it easy
875        for a termios device driver to inform termios of its default baud
876        rate. This avoids inconsistencies in later termios settings changes.
877
8782008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
879
880        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
881
8822008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
883
884        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
885        interface for Watchdog Driver.
886        * libcsupport/include/rtems/watchdogdrv.h: New file.
887
8882008-05-16      Till Straumann <strauman@slac.stanford.edu>
889
890        * score/src/threadchangepriority.c: Just in case the transient
891        state was set when we entered, ensure that it is still set when
892        we exit.
893        * score/src/threadclose.c: When a thread is being deleted, it should
894        go into the dormant state -- not the transient state.
895
8962008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
897
898        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
899        driver private data
900
9012008-05-13      Eric Norum: <norume@aps.anl.gov>
902
903        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
904        structure assignment.
905
9062008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
907
908        * libi2c/libi2c.h: Fix typo.
909
9102008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
911
912        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
913        CPUKIT.
914
9152008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
916
917        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
918        initialization routines to rtems_initialize_data_structures,
919        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
920        rtems_initialize_start_multitasking. This opened the sequence up so
921        that bootcard() could provide a more robust and flexible framework
922        which is easier to explain and understand. This also lays the
923        groundwork for sharing the division of available memory between the
924        RTEMS workspace and heap and the C library initialization across all
925        BSPs.
926
9272008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
928
929        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
930        comments.
931
9322008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
933
934        * score/src/objectget.c: Improve comments and readability.
935
9362008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
937
938        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
939        score/src/coresemseize.c, score/src/threadhandler.c: Comment
940        improvements from class.
941
9422008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
943
944        PR 1285/rtems
945        * sapi/include/rtems/config.h: Remove obsolete
946        rtems_configuration_get_maximum_devices().
947
9482008-05-01      Chris Johns <chrisj@rtems.org>
949
950        * libblock/include/rtems/nvdisk-sram.h,
951        libblock/include/rtems/nvdisk.h,
952        libblock/src/nvdisk-sram.c,
953        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
954        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
955        the NV disk driver.
956
9572008-05-01  Maarten Van Es <maarten@mind.be>
958
959        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
960        interface for rtems_dhcp_failsafe.
961        * libnetworking/rtems/rtems_dhcp.h: Added interface for
962        rtems_dhcp_failsafe.
963
9642008-05-01  Arnout Vandecappelle <arnout@mind.be>
965
966        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
967        return on timeout in bootpc_call().  Removed panic()s.
968        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
969        SIOCAIFADDR ioctl call.
970        * libnetworking/rtems/rtems_dhcp_failsafe.c,
971        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
972        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
973        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
974
9752008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
976
977        * rtems/include/rtems/rtems/timer.h: Fix typo.
978
9792008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
980
981        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
982        rtems/include/rtems/rtems/status.h,
983        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
984        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
985
9862008-04-28      Daron Chabot <daron.chabot@usask.ca>
987
988        * posix/src/keycreate.c, posix/src/pthreadequal.c,
989        rtems/src/semtranslatereturncode.c,
990        score/src/threadblockingoperationcancel.c: Fix compilation errors
991        when --enable-rtems-debug is used.
992
9932008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
994
995        * score/include/rtems/system.h: Fix typo in comment.
996
9972008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
998
999        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
1000        typos added with recent changes.
1001
10022008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1003
1004        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
1005        rtems_termios_reserve_resources. It is obsolete.
1006        * libcsupport/src/termiosreserveresources.c: Removed.
1007
10082008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1009
1010        * rtems/mainpage.h: New file.
1011
10122008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1013
1014        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
1015        rtems/include/rtems/rtems/attr.h,
1016        rtems/include/rtems/rtems/barrier.h,
1017        rtems/include/rtems/rtems/barriermp.h,
1018        rtems/include/rtems/rtems/cache.h,
1019        rtems/include/rtems/rtems/config.h,
1020        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1021        rtems/include/rtems/rtems/eventmp.h,
1022        rtems/include/rtems/rtems/eventset.h,
1023        rtems/include/rtems/rtems/intr.h,
1024        rtems/include/rtems/rtems/message.h,
1025        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1026        rtems/include/rtems/rtems/msgmp.h,
1027        rtems/include/rtems/rtems/options.h,
1028        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1029        rtems/include/rtems/rtems/ratemon.h,
1030        rtems/include/rtems/rtems/region.h,
1031        rtems/include/rtems/rtems/regionmp.h,
1032        rtems/include/rtems/rtems/rtemsapi.h,
1033        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1034        rtems/include/rtems/rtems/signal.h,
1035        rtems/include/rtems/rtems/signalmp.h,
1036        rtems/include/rtems/rtems/status.h,
1037        rtems/include/rtems/rtems/support.h,
1038        rtems/include/rtems/rtems/taskmp.h,
1039        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1040        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1041        rtems/inline/rtems/rtems/attr.inl,
1042        rtems/inline/rtems/rtems/barrier.inl,
1043        rtems/inline/rtems/rtems/dpmem.inl,
1044        rtems/inline/rtems/rtems/event.inl,
1045        rtems/inline/rtems/rtems/message.inl,
1046        rtems/inline/rtems/rtems/modes.inl,
1047        rtems/inline/rtems/rtems/options.inl,
1048        rtems/inline/rtems/rtems/part.inl,
1049        rtems/inline/rtems/rtems/ratemon.inl,
1050        rtems/inline/rtems/rtems/region.inl,
1051        rtems/inline/rtems/rtems/sem.inl,
1052        rtems/inline/rtems/rtems/status.inl,
1053        rtems/inline/rtems/rtems/support.inl,
1054        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
1055
10562008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1057
1058        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
1059        rtems/include/rtems/rtems/attr.h,
1060        rtems/include/rtems/rtems/barrier.h,
1061        rtems/include/rtems/rtems/barriermp.h,
1062        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
1063        rtems/include/rtems/rtems/config.h,
1064        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1065        rtems/include/rtems/rtems/eventmp.h,
1066        rtems/include/rtems/rtems/eventset.h,
1067        rtems/include/rtems/rtems/intr.h,
1068        rtems/include/rtems/rtems/message.h,
1069        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1070        rtems/include/rtems/rtems/msgmp.h,
1071        rtems/include/rtems/rtems/object.h,
1072        rtems/include/rtems/rtems/options.h,
1073        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1074        rtems/include/rtems/rtems/ratemon.h,
1075        rtems/include/rtems/rtems/region.h,
1076        rtems/include/rtems/rtems/regionmp.h,
1077        rtems/include/rtems/rtems/rtemsapi.h,
1078        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1079        rtems/include/rtems/rtems/signal.h,
1080        rtems/include/rtems/rtems/signalmp.h,
1081        rtems/include/rtems/rtems/status.h,
1082        rtems/include/rtems/rtems/support.h,
1083        rtems/include/rtems/rtems/taskmp.h,
1084        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1085        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1086        rtems/inline/rtems/rtems/attr.inl,
1087        rtems/inline/rtems/rtems/barrier.inl,
1088        rtems/inline/rtems/rtems/dpmem.inl,
1089        rtems/inline/rtems/rtems/event.inl,
1090        rtems/inline/rtems/rtems/eventset.inl,
1091        rtems/inline/rtems/rtems/message.inl,
1092        rtems/inline/rtems/rtems/modes.inl,
1093        rtems/inline/rtems/rtems/options.inl,
1094        rtems/inline/rtems/rtems/part.inl,
1095        rtems/inline/rtems/rtems/ratemon.inl,
1096        rtems/inline/rtems/rtems/region.inl,
1097        rtems/inline/rtems/rtems/sem.inl,
1098        rtems/inline/rtems/rtems/status.inl,
1099        rtems/inline/rtems/rtems/support.inl,
1100        rtems/inline/rtems/rtems/tasks.inl,
1101        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
1102        header files to Doxygen.
1103        * rtems/Doxyfile: New file.
1104
11052008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1106
1107        * posix/src/key.c: Include <limits.h>
1108        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
1109        a NULL extension block.
1110
11112008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1112
1113        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
1114        application configuration errors. If any POSIX objects or a POSIX
1115        init thread is configured without POSIX being configure, then error
1116        out. Similarly for ITRON. Add
1117        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
1118        parameter so the application has to explicitly configure the Clock
1119        driver in or out if the Timer driver is not configured. Also verify
1120        RTEMS was built for multiprocessing, if the user tries to configure a
1121        multiprocessing application.
1122
11232008-04-12      Chris Johns <chrisj@rtems.org>
1124
1125        * libmisc/shell/shell.c, libmisc/shell/shell.h,
1126        libmisc/shell/shell_script.c: Add support to echo the commands to
1127        stdout. This is useful with the -v script option to show commands
1128        as the run. Also added support to chdir to the directory the task
1129        invoking the script is in.
1130        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
1131        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
1132        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
1133        support.
1134
11352008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
1136
1137        * score/include/rtems/score/tod.h: Fix typo.
1138
11392008-04-08      Chris Johns <chrisj@rtems.org>
1140
1141        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
1142        into argv parts. Was using the command line history buffer so the
1143        history was being corrupted.
1144
11452008-04-03      Chris Johns <chrisj@rtems.org>
1146
1147        * libfs/src/nfsclient/src/librtemsNfs.h,
1148        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
1149        external to RTEMS and even if in the cpukit it should not cross
1150        reference in this way.
1151        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
1152        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
1153        in the shell area.
1154        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
1155        support.
1156
11572008-03-29      Chris Johns <chrisj@rtems.org>
1158
1159        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
1160        reported to the mailing list by Pierre Kestener
1161        (pierre.kestener@cea.fr).
1162
11632008-03-25      Till Straumann <strauman@slac.stanford.edu>
1164
1165        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
1166          coldfire.
1167
11682008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1169
1170        * libmisc/shell/cmds.c: Directly register the command structure to
1171        avoid unnecessary duplication of static strings. We know best this
1172        time.
1173
11742008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1175
1176        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
1177        for the ITRON initialization tasks ALL the time.
1178        Do not reserve memory for the object name table since it does not
1179        exist any longer.
1180        * sapi/include/rtems/sptables.h: Fix typo.
1181
11822008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1183
1184        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1185        rtems/src/clockget.c:
1186        * rtems/src/clockgetsecondssinceepoch.c,
1187        rtems/src/clockgettickspersecond.c,
1188        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
1189        rtems/src/clockgettodtimeval.c: New files.
1190        Refactored rtems_clock_get into 5 methods which are single purpose
1191        and more strongly typed.  They are:
1192            rtems_clock_get_tod - Get TOD in Classic API structure
1193            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1194            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1195            rtems_clock_get_ticks_since_boot - Get ticks since boot
1196            rtems_clock_get_ticks_per_second - Get ticks per second
1197
11982008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1199
1200        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1201        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1202        ensure it is zeroed out each time we use getopt_r().
1203        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1204        This makes the scripts behave more like UNIX scripts.
1205
12062008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1207
1208        * posix/Makefile.am: Make clock_settime() available always just like
1209        clock_gettime().
1210
12112008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1212
1213        * score/include/rtems/score/copyrt.h: Update year.
1214
12152008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1216
1217        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1218        by gcc newer than the 4.3 release series.
1219
12202008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1221
1222        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1223        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1224        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1225        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1226        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1227        libmisc/shell/shell.c, libmisc/shell/shell.h,
1228        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1229        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1230        capability to automatically execute a script from the filesystem. Add
1231        echo command from NetBSD and sleep command.
1232        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1233        libmisc/shell/shell_script.c: New files.
1234
12352008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1236
1237        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1238        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1239        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1240        score/src/threadclose.c, score/src/threadcreateidle.c,
1241        score/src/threadinitialize.c: Switch task create and delete
1242        operations to using API Allocator Mutex. This moves almost all uses
1243        of the RTEMS Workspace from dispatching disabled to mutex protected
1244        which should improve deterministic behavior. The implementation was
1245        carefully done to allow task create and delete extensions to invoke
1246        more services. In particular, a task delete extension should be able
1247        to do mutex and file operations.
1248
12492008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1250
1251        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1252        enabled.
1253
12542008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1255
1256        * libcsupport/src/chroot.c: Formatting.
1257
12582008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1259
1260        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1261        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1262        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1263        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1264        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1265        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1266        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1267        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1268        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1269        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1270        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1271        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1272        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1273        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1274        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1275        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1276        libmisc/shell/shell.h: Clean up done while writing documentation.
1277        Some command improvements such as date now allows setting of the
1278        current TOD. Often commands did not use stdout/stderr per
1279        expectations and did not return -1 on an error.
1280
12812008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1282
1283        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1284        the use of RPC/XDR could be an issue, the code does build multilib
1285        across all targets. There are a few remaining warnings to deal with.
1286        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1287        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1288        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1289        libfs/src/nfsclient/rfc1094.txt,
1290        libfs/src/nfsclient/proto/mount_prot.h,
1291        libfs/src/nfsclient/proto/mount_prot.x,
1292        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1293        libfs/src/nfsclient/proto/nfs_prot.h,
1294        libfs/src/nfsclient/proto/nfs_prot.x,
1295        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1296        libfs/src/nfsclient/src/cexphelp.c,
1297        libfs/src/nfsclient/src/dirutils.c,
1298        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1299        libfs/src/nfsclient/src/nfs.modini.c,
1300        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1301        libfs/src/nfsclient/src/rpcio.h,
1302        libfs/src/nfsclient/src/rpcio.modini.c,
1303        libfs/src/nfsclient/src/sock_mbuf.c,
1304        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1305
13062008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1307
1308        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1309        missing field to default multiprocessing configuration table. Also
1310        document fields in Doxygen format.
1311
13122008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1313
1314        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1315        warnings.
1316
13172008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1318
1319        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1320        command to access statistics reporting functions in TCP/IP stack.
1321        * libmisc/shell/main_netstats.c: New file.
1322
13232008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1324
1325        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1326        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1327        ifconfig commands. The code for these was previously in the
1328        networking guide. Disable NFS filesystem mount until that code is in
1329        cpukit.
1330        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1331
13322008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1333
1334        * posix/preinstall.am,  libcsupport/preinstall.am:
1335        Revert Joel's  2008-01-31 screw up.
1336
13372008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1338
1339        * posix/include/rtems/posix/timer.h: Add c++ guards.
1340        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1341        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1342        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1343        MC68230_ to avoid preprocessor clashes.
1344
13452008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1346
1347        * posix/src/mqueueunlink.c, score/Makefile.am,
1348        score/include/rtems/score/object.h,
1349        score/inline/rtems/score/object.inl: Enhance
1350        _Objects_Namespace_remove() to handle freeing object names which are
1351        strings. All changed _Objects_Close() to call
1352        _Objects_Namespace_remove(). The resulting code was then moved from
1353        inline routines to function calls.
1354        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1355
13562008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1357
1358        * libcsupport/src/printk.c: Added width and padding for %s.
1359        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1360        strings longer than 4 chanracters.
1361
13622008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1363
1364        PR 1277/networking
1365        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1366        constraint for assembly language. This restricts the register choice
1367        to the a-d registers.
1368
13692008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1370
1371        * libnetworking/kern/uipc_socket2.c,
1372        libnetworking/netinet/tcp_usrreq.c,
1373        libnetworking/netinet/udp_usrreq.c,
1374        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1375        Add configuration parameters for network stack efficiency multiplier
1376        and default socket buffer sizes. Change default multiplier from 8 to
1377        2 to match GNU/Linux. This has no impact on performance on the BSPs
1378        tested.
1379
13802008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1381
1382        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1383        workspace manipulation routines for testing.
1384        * rtems/src/workspace.c: New file.
1385
13862008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1387
1388        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1389        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1390        Object Id of SELF.
1391
13922008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1393
1394        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1395        Minor modifications to improve testability.
1396        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1397
13982008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1399
1400        * posix/src/pthreadinitthreads.c: Clean up error paths.
1401
14022008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1403
1404        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1405        changes which aid in coverage testing.
1406
14072008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1408
1409        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1410        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1411        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1412        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1413        whether named or unnamed to have a string name.  If the API does
1414        not directly support having a name, then the user must explicitly
1415        assign it using rtems_object_set_name().
1416        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1417        * score/include/rtems/score/object.h,
1418        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1419        score/src/objectsetname.c: Modifications required to pass testing of
1420        recently modified object name operations.  Also eliminated
1421        multiprocessing related code that was not reachable.
1422
14232008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1424
1425        * posix/src/timersettime.c: Fix to remove warning.
1426
14272008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1428
1429        * libcsupport/src/posix_memalign.c: Remove warning.
1430
14312008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1432
1433        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1434        rtems/include/rtems/rtems/object.h,
1435        rtems/src/rtemsobjectgetapiclassname.c,
1436        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1437        cannot be used as a parameter.
1438
14392008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1440
1441        * score/Makefile.am, score/include/rtems/score/threadq.h,
1442        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1443        was really too complex to be inlined.
1444        * score/src/threadqprocesstimeout.c: New file.
1445
14462008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1447
1448        * score/Doxyfile: Revert Doxygen version changes.
1449
14502008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1451
1452        * score/Doxyfile: Update to latest Doxygen format.
1453        * score/include/rtems/score/apimutex.h,
1454        score/include/rtems/score/corebarrier.h,
1455        score/include/rtems/score/coremutex.h,
1456        score/include/rtems/score/corerwlock.h,
1457        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1458        score/include/rtems/score/protectedheap.h,
1459        score/include/rtems/score/thread.h,
1460        score/include/rtems/score/threadsync.h,
1461        score/include/rtems/score/tod.h,
1462        score/inline/rtems/score/corerwlock.inl,
1463        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1464        warnings.
1465
14662008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1467
1468        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1469        available when API is disabled. Do not attempt to use them.
1470
14712008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1472
1473        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1474
14752008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1476
1477        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1478        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1479        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1480        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1481        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1482        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1483        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1484        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1485        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1486        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1487        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1488        rtems/src/timerserver.c, score/Makefile.am,
1489        score/include/rtems/score/object.h,
1490        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1491        score/src/objectgetnameasstring.c,
1492        score/src/threadqextractwithproxy.c: Add new Object Services
1493        collection. This changed the name of a few previously public but
1494        undocumented services and added a some new services.
1495        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1496        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1497        rtems/src/rtemsobjectapiminimumclass.c,
1498        rtems/src/rtemsobjectgetapiclassname.c,
1499        rtems/src/rtemsobjectgetapiname.c,
1500        rtems/src/rtemsobjectgetclassicname.c,
1501        rtems/src/rtemsobjectgetclassinfo.c,
1502        rtems/src/rtemsobjectidapimaximum.c,
1503        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1504        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1505        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1506        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1507        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1508        * rtems/src/rtemsidtoname.c: Removed.
1509
15102008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1511
1512        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1513        switch statements to if statements.
1514
15152008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1516
1517        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1518        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1519        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1520        as helper and as exposed nmemalign variant with few restrictions.
1521        Also turn on compilation of _Heap_Walk but make forced calls to it
1522        conditionally compiled. This should allow more flexibility to the
1523        user as to run-time checking of the heap.
1524        * libcsupport/src/rtems_memalign.c: New file.
1525
15262008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1527
1528        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1529        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1530        Multiprocessing compiles again and survives initialization. The
1531        recent object name and confdefs.h changes had broken it.
1532
15332008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1534
1535        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1536        score/include/rtems/score/interr.h,
1537        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1538        Modifications to aid in full path testing.
1539
15402008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1541
1542        * posix/src/mqueuesendsupp.c: Remove warning.
1543
15442008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1545
1546        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1547        in public API.
1548
15492008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1550
1551        * score/include/rtems/score/object.h,
1552        score/src/objectextendinformation.c,
1553        score/src/objectinitializeinformation.c,
1554        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1555        not used.
1556
15572008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1558
1559        * score/src/objectnametoidstring.c: New file.
1560
15612008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1562
1563        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1564        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1565        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1566        libmisc/stackchk/check.c, posix/src/condinit.c,
1567        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1568        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1569        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1570        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1571        posix/src/prwlockinit.c, posix/src/pspininit.c,
1572        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1573        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1574        posix/src/timercreate.c, rtems/src/barrierident.c,
1575        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1576        rtems/src/ratemonident.c, rtems/src/regionident.c,
1577        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1578        sapi/src/extensionident.c, score/Makefile.am,
1579        score/include/rtems/score/object.h,
1580        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1581        score/src/objectextendinformation.c,
1582        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1583        score/src/objectnametoid.c: Convert the Objects_Name type from a
1584        simple type to a union of an unsigned 32 bit integer and a pointer.
1585        This should help eliminate weird casts between u32 and pointers in
1586        various places. The APIs now have to explicitly call _u32 or _string
1587        versions of helper routines. This should also simplify things and
1588        eliminate the need for ugly casts in some cases.
1589        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1590        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1591        score/src/objectcopynamestring.c: Removed.
1592
15932008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1594
1595        * score/src/threadblockingoperationcancel.c: Clean up.
1596        * score/src/threadqextract.c: Restructure to eliminate dead code.
1597
15982008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1599
1600        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1601        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1602        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1603        testing and clean up more code.
1604
16052008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1606
1607        * score/src/threadqfirst.c: Remove switch.
1608
16092008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1610
1611        * rtems/include/rtems/rtems/event.h,
1612        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1613        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1614        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1615        score/include/rtems/score/interr.h,
1616        score/include/rtems/score/thread.h,
1617        score/include/rtems/score/threadq.h,
1618        score/include/rtems/score/tqdata.h,
1619        score/inline/rtems/score/threadq.inl,
1620        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1621        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1622        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1623        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1624        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1625        score/src/threadqextractpriority.c,
1626        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1627        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1628        score/src/threadqflush.c, score/src/threadqrequeue.c,
1629        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1630        blocking synchronization critical sections. This resulted in three
1631        copies of essentially the same hard to test critical section code
1632        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1633        addition, the thread queue and event code now share a common
1634        synchronization enumerated type. Along the way, switches were
1635        reworked to eliminate dead code generated by gcc and comments and
1636        copyrights were updated.
1637        * score/include/rtems/score/threadsync.h,
1638        score/src/threadblockingoperationcancel.c: New files.
1639
16402008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1641
1642        * libi2c/README_libi2c: Correct spelling error.
1643        * score/src/threadclearstate.c: Improve comment.
1644
16452008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1646
1647        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1648        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1649        posix/src/timergettime.c, posix/src/timersettime.c,
1650        score/include/rtems/score/timespec.h:
1651
16522008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1653
1654        * libmisc/shell/Makefile.am: Don't use make variables.
1655
16562008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1657
1658        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1659        existing one.
1660
16612008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1662
1663        * score/include/rtems/score/wkspace.h,
1664        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1665        inline _Workspace_Free or _Workspace_Allocate since they are not
1666        always inlined and actually smaller overall as subroutines. They are
1667        not particularly time critical so inlining is not absolutely
1668        necessary.
1669
16702008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1671
1672        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1673        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1674        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1675        Condition Variable object get helpers because they are more
1676        complicated than the norm. They can implicitly perform a create. They
1677        cross the line as being too complex and large to inline since they
1678        negatively impact size and binary test coverage.
1679        * posix/src/condget.c, posix/src/mutexget.c: New files.
1680
16812008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1682
1683        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1684        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1685        * libcsupport/src/malloc_p.h: Correct prototype.
1686
16872008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1688
1689        * score/include/rtems/score/coremutex.h,
1690        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1691        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1692
16932008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1694
1695        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1696
16972008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1698
1699        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1700        libcsupport/src/free.c, libcsupport/src/malloc.c,
1701        libcsupport/src/malloc_deferred.c,
1702        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1703        libcsupport/src/malloc_sbrk_helpers.c,
1704        libcsupport/src/posix_memalign.c: Place all deferred free code and
1705        place it in subroutines. Add plugin for dirtying allocated memory to
1706        assist in debugging. Clean up comments and spacing as needed.
1707        * libcsupport/src/malloc_dirtier.c: New file.
1708
17092008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1710
1711        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1712        when there is an error.
1713
17142008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1715
1716        * posix/src/keycreate.c, rtems/src/eventseize.c,
1717        score/include/rtems/score/interr.h: Rearranged source to allow more
1718        test coverage.
1719
17202008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1721
1722        * libcsupport/src/__assert.c: Clean up and make __assert() call
1723        __assert_func().
1724
17252008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1726
1727        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1728        need to have it also.
1729
17302008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1731
1732        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1733        * libcsupport/include/rtems/malloc.h,
1734        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1735        libcsupport/src/malloc_p.h,
1736        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1737        support pluggable and optional.  This eliminates the need for
1738        heap extend and sbrk in the minimum footprint which is ~2.5K on
1739        the SPARC.
1740        * sapi/include/confdefs.h: Add the following configuration points:
1741          + CONFIGURE_MALLOC_STATISTICS
1742          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1743        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1744
17452008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1746
1747        * score/Makefile.am: Add missing file.
1748
17492008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1750
1751        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1752
17532008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1754
1755        * libmisc/Makefile.am: Add new files.
1756        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1757        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1758        * libmisc/shell/shellconfig.h: Add wkspace command.
1759        * libmisc/shell/main_wkspaceinfo.c,
1760        libmisc/shell/print_heapinfo.c: New files.
1761
17622008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1763
1764        * score/inline/rtems/score/isr.inl: Fix spacing.
1765        * score/src/apimutexallocate.c: Fix spacing.
1766        * score/src/coremsgseize.c: Check for message pending instead of
1767        message pending count to avoid dead code from inlined chain routine.
1768        It checks if the chain is empty so is redundant to count == 0.
1769
17702008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1771
1772        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1773        up.
1774
17752008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1776
1777        * posix/src/pthreadcreate.c: Add commit.
1778        * posix/src/pthreadinitthreads.c: Fix line length.
1779
17802008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1781
1782        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1783
17842008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1785
1786        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1787        coding it.
1788
17892008-01-05      Chris Johns <chrisj@rtems.org>
1790
1791        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1792        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1793        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1794        control fields. Add more control fields to handle the flash when
1795        full.
1796        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1797        detects a descriptor is erased. Add support for unavailable blocks
1798        the user can configure. Print the used list as a diag. Fix the bug
1799        when a page is detected as failed and present on more than one
1800        queue. Add a count to the queues so queue length can be used to
1801        manage compaction.
1802       
18032008-01-03      Till Straumann <strauman@slac.stanford.edu>
1804
1805        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1806        cannot call _fini via atexit() from rtems_shutdown_executive()
1807        because at the point where rtems_shutdown_executive is called
1808        the C-library is already dead.
1809        Instead, register an atexit(_fini) after calling _init().
1810
18112007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1812
1813        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1814        Hopefully this implementation is OK.
1815        * libcsupport/src/_rename_r.c: New file.
1816
18172007-12-22      Chris Johns <chrisj@rtems.org>
1818
1819        * configure.ac: fixed bug that always enabled strict order
1820        mutexes.
1821        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1822        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1823        list if the mutex is initialised locked.
1824        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1825        message to show the error is an rtems-net error.
1826        * libmisc/monitor/mon-network.c: Removed warnings.
1827        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1828        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1829        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1830        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1831        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1832        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1833        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1834        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1835        libmisc/shell/warnx.c: New. Ported from BSD.
1836        * libmisc/shell/shellconfig.h: Add the cp command.
1837        * libmisc/Makefile.am: Add the new files to the shell.
1838        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1839        support.
1840        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1841        bug.
1842       
18432007-12-21      Xi Yang <hiyangxi@gmail.com>
1844
1845        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1846        of priority inheritance on mutexes as well as enforce proper order of
1847        release.
1848
18492007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1850
1851        * configure.ac, score/include/rtems/score/coremutex.h,
1852        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1853        inlining coremutex seize. This reduces the code size and also
1854        improves the process of coverage analysis.
1855        * score/src/coremutexseizeintr.c: New file.
1856
18572007-12-21      Xi Yang <hiyangxi@gmail.com>
1858
1859        * configure.ac, score/include/rtems/score/coremutex.h,
1860        score/include/rtems/score/thread.h,
1861        score/inline/rtems/score/coremutex.inl,
1862        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1863        support for proper stacking of priority inheritance on mutexes as
1864        well as enforce proper order of release.
1865
18662007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1867
1868        PR 1268/cpukit
1869        * libcsupport/include/rtems/assoc.h: There is no
1870        rtems_assoc_ptr_by_value method.
1871
18722007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1873
1874        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1875        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1876
18772007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1878
1879        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1880
18812007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1882
1883        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1884
18852007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1886
1887        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1888        rtems_task_self() directive.
1889        * rtems/src/taskself.c: New file.
1890
18912007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1892
1893        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1894        and resolved copyright information.
1895        * posix/src/kill_r.c: New file.
1896
18972007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1898
1899        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1900
19012007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1902
1903        * sapi/include/confdefs.h: Revert. Requires info not available at
1904        preprocessing time.
1905
19062007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1907
1908        * sapi/include/confdefs.h: Catch the error when the user lowers the
1909        maximum number of drivers below the number of statically configured
1910        ones.
1911
19122007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1913
1914        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1915        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1916        Manager clean up. Update object id switches to new pattern. Catch
1917        some NULL parameter errors.
1918
19192007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1920
1921        * posix/src/psignalunblockthread.c: Remove source that
1922
19232007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1924
1925        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1926        only
1927
19282007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1929
1930        * posix/src/psignal.c: Move source around to enable path testing
1931
19322007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1933
1934        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1935        libcsupport/src/free.c, libcsupport/src/malloc.c,
1936        libcsupport/src/malloc_p.h,
1937        libcsupport/src/malloc_report_statistics_plugin.c,
1938        libmisc/shell/shell.c, libmisc/shell/shell.h,
1939        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1940        out management of deferred frees to subroutines.
1941        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1942
19432007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1944
1945        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1946        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1947        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1948        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1949        one function per file. Also split out statistics into a separate file
1950        which can be plugged in dynamically. Right now, it is always in. I
1951        suspect that splitting the file removed more code than leaving
1952        statistics in. I tinkered with malloc information command in the
1953        shell. I resurrected the malloc arena code as malloc boundary. This
1954        code is now compiled all the time even though it does not appear to
1955        work.
1956        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1957        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1958        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1959        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1960        libcsupport/src/malloc_get_statistics.c,
1961        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1962        libcsupport/src/malloc_report_statistics.c,
1963        libcsupport/src/malloc_report_statistics_plugin.c,
1964        libcsupport/src/malloc_statistics_helpers.c,
1965        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1966        libmisc/shell/main_perioduse.c: New files.
1967
19682007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1969
1970        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1971        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1972        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1973        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1974        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1975        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1976        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1977        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1978        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1979        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1980        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1981        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1982        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1983        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1984        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1985        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1986        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1987        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1988        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1989        rtems_Shell_ to rtems_shell_.
1990
19912007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1992
1993        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1994        with info and dump as replacement for older command. Fix what looked
1995        like a typo for mount sub-commands.
1996        * libmisc/shell/main_mallocinfo.c: New file.
1997        * libmisc/shell/main_mallocdump.c: Removed.
1998
19992007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2000
2001        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
2002        malloc_info() routine.
2003        * libcsupport/src/mallocinfo.c: New file.
2004
20052007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2006
2007        * libmisc/stackchk/check.c: Add print of current stack pointer and
2008        stack info even if stack checker is not initialized.
2009
20102007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2011
2012        * libcsupport/src/printk.c: Style.
2013
20142007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2015
2016        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
2017        required in multiprocessing configuration.
2018
20192007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2020
2021        * score/src/objectget.c: Revert.
2022
20232007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2024
2025        * posix/src/timergettime.c: Include rtems/score/timespec.h
2026
20272007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2028
2029        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
2030        posix/include/mqueue.h, posix/include/sched.h,
2031        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
2032        posix/include/rtems/posix/priority.h,
2033        posix/include/rtems/posix/psignal.h,
2034        posix/include/rtems/posix/threadsup.h,
2035        posix/include/rtems/posix/timer.h,
2036        posix/inline/rtems/posix/priority.inl,
2037        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
2038        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
2039        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
2040        posix/src/cleanuppush.c, posix/src/cond.c,
2041        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
2042        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
2043        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
2044        posix/src/conddestroy.c, posix/src/condinit.c,
2045        posix/src/condsignal.c, posix/src/condsignalsupp.c,
2046        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
2047        posix/src/keycreate.c, posix/src/keydelete.c,
2048        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
2049        posix/src/keysetspecific.c, posix/src/mqueue.c,
2050        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2051        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2052        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
2053        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
2054        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
2055        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2056        posix/src/mqueueunlink.c, posix/src/mutex.c,
2057        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
2058        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2059        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2060        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2061        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2062        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2063        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2064        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2065        posix/src/psignal.c, posix/src/psignalchecksignal.c,
2066        posix/src/psignalclearprocesssignals.c,
2067        posix/src/psignalclearsignals.c,
2068        posix/src/psignalsetprocesssignals.c,
2069        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2070        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
2071        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
2072        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
2073        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
2074        posix/src/semclose.c, posix/src/semdestroy.c,
2075        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
2076        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
2077        posix/src/semwait.c, posix/src/setcancelstate.c,
2078        posix/src/setcanceltype.c, posix/src/sysconf.c,
2079        posix/src/testcancel.c: Add missing copyright statements.
2080
20812007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2082
2083        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2084
20852007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2086
2087        * posix/Makefile.am, posix/preinstall.am,
2088        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
2089        Timer implementation into multiple files. Add obvious error checks
2090        for NULL parameters. Attempt to reduce include files.
2091        * posix/src/timercreate.c, posix/src/timerdelete.c,
2092        posix/src/timergetoverrun.c, posix/src/timergettime.c,
2093        posix/src/timerinserthelper.c, posix/src/timersettime.c,
2094        posix/src/timertsr.c: New files.
2095        * posix/src/ptimer1.c: Removed.
2096
20972007-12-17      Chris Johns <chrisj@rtems.org>
2098
2099        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
2100        libmisc/shell/main_unmount.c: New.
2101        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
2102        blksync, msdosfmt, and unmount commands.
2103
21042007-12-17      Chris Johns <chrisj@rtems.org>
2105
2106        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
2107        system opts table.
2108        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
2109        system opts table.
2110        * libmisc/Makefile.am: Add the mount command and supporting files.
2111        * libmisc/preinstall.am: Rebuilt.
2112        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
2113        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2114        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2115        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2116        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2117        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2118        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2119        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2120        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2121        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2122        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2123        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2124        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2125        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2126        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
2127        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
2128        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
2129        libmisc/shell/write_file.c: Move all shell_* types, variables and
2130        functions to rtems_shell_* to avoid namespace clashes with
2131        applications. The is an RTEMS shell after all.
2132        * libmisc/shell/shell.h, libmisc/shell/internal.h,
2133        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
2134        functions to rtems_shell_* to avoid namespace clashes with
2135        applications. Add the mount command supporting types.
2136        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
2137        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
2138        libmisc/shell/main_mount_tftp.c: New.
2139       
21402007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2141
2142        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2143
21442007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2145
2146        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
2147        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
2148        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
2149        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2150        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2151        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2152        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2153        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2154        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2155        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2156        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2157        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2158        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2159        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2160        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2161        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2162        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
2163        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
2164        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
2165        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
2166        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
2167        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
2168        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
2169        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
2170        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
2171        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
2172        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
2173        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
2174        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
2175        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
2176
21772007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2178
2179        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
2180        API.
2181
21822007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2183
2184        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
2185        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
2186        Minor cleanup to improve testability and eliminate dead code.
2187
21882007-12-12      Chris Johns <chrisj@rtems.org>
2189
2190        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2191        Add RTEMS license details.
2192
21932007-12-12      Chris Johns <chrisj@rtems.org>
2194
2195        * Makefile.am, preinstall.am: Added
2196        libblock/include/rtems/flashdisk.h to the installed header list.
2197        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2198        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2199        New.
2200
22012007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2202
2203        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2204        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2205        score/Makefile.am, score/preinstall.am: Revert testing patch.
2206
22072007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2208
2209        * posix/src/sched_rr_get_interval.c: Fix warning.
2210
22112007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2212
2213        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2214        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2215        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2216        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2217        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2218        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2219        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2220        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2221        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2222        files into one function per file.
2223        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2224        posix/src/aio_read.c, posix/src/aio_return.c,
2225        posix/src/aio_suspend.c, posix/src/aio_write.c,
2226        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2227        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2228        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2229        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2230        posix/src/sched_yield.c: New files.
2231        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2232
22332007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2234
2235        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2236        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2237        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2238        posix/src/clocksettime.c, posix/src/devctl.c,
2239        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2240        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2241        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2242        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2243
22442007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2245
2246        * posix/src/adjtime.c: Clean up and verify against behavior documented
2247        in GNU/Linux man page provided with Fedora 7.
2248
22492007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2250
2251        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2252        automake variables.
2253
22542007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2255
2256        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2257        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2258        rtems/src/taskvariabledelete.c: Add test code for task variables to
2259        improve coverage.
2260        * rtems/src/taskvariable_invoke_dtor.c: New file.
2261
22622007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2263
2264        * posix/preinstall.am: Revert debug patch.
2265
22662007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2267
2268        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2269        BSP.
2270
22712007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2272
2273        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2274
22752007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2276
2277        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2278        disabled.
2279
22802007-12-12      Chris Johns <chrisj@rtems.org>
2281
2282        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2283        header list.
2284        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2285        in any order rather than before any commands have been added. Also
2286        made the command's strings be copies rather than references.
2287        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2288
22892007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2290
2291        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2292        Move Ada support code that is untestable from the Standard RTEMS Test
2293        Suite into its own directory. All code in score, posix, rtems, and
2294        sapi should be testable by the Standard RTEMS Test Suites. It was
2295        buried under POSIX before so this should be a clearer location
2296        anyway.
2297        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2298        libgnat/adasupp.c: New files.
2299        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2300
23012007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2302
2303        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2304        Reverse file contents.
2305
23062007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2307
2308        * sapi/include/rtems/config.h: Correct idle task prototype.
2309
23102007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2311
2312        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2313        libmisc/shell/internal.h, libmisc/shell/shell.c,
2314        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2315        processing now separated from main command loop. Addition of user
2316        commands and aliases tested. Monitor registration now explicit.
2317        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2318        libmisc/shell/write_file.c: New files.
2319
23202007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2321
2322        * libmisc/Makefile.am: Fix typo.
2323
23242007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2325
2326        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2327        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2328        into multiple files and add initial stages of command configuration.
2329        This seems to work but the monitor commands need to be integrated
2330        this way and the ability to configure user commands needs to be
2331        tested.
2332        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2333        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2334        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2335        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2336        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2337        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2338        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2339        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2340        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2341        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2342        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2343        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2344        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2345        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2346        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2347        libmisc/shell/str2int.c: New files.
2348
23492007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2350
2351        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2352
23532007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2354
2355        * sapi/include/rtems/config.h: Fix idle thread prototype.
2356
23572007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2358
2359        * sapi/include/confdefs.h: Separate the concept of configuring the
2360        interrupt stack size from actually reserving memory for it in the
2361        RTEMS Workspace.
2362
23632007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2364
2365        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2366        installed. It is the initialization interface for both GoAhead and
2367        Simple HTTPD.
2368
23692007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2370
2371        * sapi/include/rtems/config.h: Correct previous commit.
2372
23732007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2374
2375        * sapi/include/rtems/config.h: Commit temporary fix so
2376        interrupt_stack_size is accessible before RTEMS is initialized.
2377
23782007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2379
2380        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2381        sapi/include/rtems/init.h, sapi/src/exinit.c,
2382        score/include/rtems/system.h, score/src/isr.c: Move
2383        interrupt_stack_size field from CPU Table to Configuration Table.
2384        Eliminate CPU Table from all ports. Delete references to CPU Table in
2385        all forms.
2386
23872007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2388
2389        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2390        Table fields merged from CPU Table.
2391
23922007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2393
2394        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2395        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2396        posix/include/rtems/posix/mqueue.h,
2397        posix/include/rtems/posix/mutex.h,
2398        posix/include/rtems/posix/pthread.h,
2399        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2400        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2401        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2402        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2403        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2404        sapi/src/exinit.c, score/include/rtems/system.h,
2405        score/include/rtems/score/mpci.h, score/src/mpci.c,
2406        score/src/thread.c, score/src/threadcreateidle.c,
2407        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2408        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2409        the Configuration Table. This included pretasking_hook,
2410        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2411        extra_mpci_receive_server_stack, stack_allocate_hook, and
2412        stack_free_hook. As a side-effect of this effort some multiprocessing
2413        code was made conditional and some style clean up occurred.
2414
24152007-12-03      Chris Johns <chrisj@rtems.org>
2416
2417        * libmisc/shell/shell.h: Added comments for the parameters to the
2418        shell_init function.
2419        * libmisc/shell/shell.c: Only set cflags if tcflags is
2420        non-zero. This means the shell can use the current cflags settings
2421        and the application does not need to know the baudrate etc.
2422        * libmisc/capture/capture.h: Fix the comment.
2423
24242007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2425
2426        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2427        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2428        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2429        rtems/src/dpmemexternal2internal.c,
2430        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2431        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2432        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2433        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2434        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2435        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2436        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2437        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2438        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2439        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2440        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2441        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2442        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2443        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2444        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2445        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2446        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2447        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2448        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2449        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2450        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2451        rtems/src/timerserverfirewhen.c: Restructured all code with
2452        the switch (location) pattern so that OBJECTS_LOCAL is first
2453        and we can fall into it and the OBJECTS_ERROR case breaks
2454        to a return RTEMS_INVALID_ID.  This eliminates the return
2455        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2456        was unreachable and untestable code.  This resulted in a code
2457        savings of approximately 20 bytes per file on the SPARC/ERC32.
2458
24592007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2460
2461        * posix/Makefile.am: Restructed to move the
2462        OBJECTS_LOCAL case to the top of the switch statement and
2463        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2464        changes produced simplier assembly code and allowed for complete
2465        test coverage.  Also applied some consistency to the functions
2466        that translate the core status codes to POSIX status codes.
2467
24682007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2469
2470        * posix/include/rtems/posix/mutex.h,
2471        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2472        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2473        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2474        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2475        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2476        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2477        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2478        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2479        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2480        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2481        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2482        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2483        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2484        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2485        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2486        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2487        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2488        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2489        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2490        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2491        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2492        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2493        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2494        posix/src/semclose.c, posix/src/semdestroy.c,
2495        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2496        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2497        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2498        score/include/rtems/score/corebarrier.h,
2499        score/include/rtems/score/coremsg.h,
2500        score/include/rtems/score/coremutex.h,
2501        score/include/rtems/score/coresem.h: Restructed to move the
2502        OBJECTS_LOCAL case to the top of the switch statement and
2503        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2504        changes produced simplier assembly code and allowed for complete
2505        test coverage.  Also applied some consistency to the functions
2506        that translate the core status codes to POSIX status codes.
2507        * posix/src/mutextranslatereturncode.c,
2508        posix/src/semaphoretranslatereturncode.c: New files.
2509        * posix/src/mutexfromcorestatus.c: Removed.
2510
25112007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2512
2513        * posix/inline/rtems/posix/priority.inl: Fix typo.
2514
25152007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2516
2517        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2518        score/include/rtems/score/thread.h, score/src/object.c,
2519        score/src/thread.c: Conditionally compile out more code that is
2520        specific to multiprocessor configurations.
2521
25222007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2523
2524        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2525        posix/src/conddestroy.c, posix/src/condinit.c,
2526        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2527        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2528        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2529        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2530        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2531        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2532        posix/src/mutexattrgetprioceiling.c,
2533        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2534        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2535        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2536        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2537        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2538        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2539        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2540        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2541        posix/src/semclose.c, posix/src/semdestroy.c,
2542        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2543        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2544        Remove all pretense of POSIX MP support. The support in place was
2545        only a shell. This should make maintenance easier.
2546        * posix/include/rtems/posix/condmp.h,
2547        posix/include/rtems/posix/mqueuemp.h,
2548        posix/include/rtems/posix/mutexmp.h,
2549        posix/include/rtems/posix/pthreadmp.h,
2550        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2551        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2552
25532007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2554
2555        * configure.ac, score/inline/rtems/score/thread.inl,
2556        score/src/threaddispatch.c: Add ability for user to disable inlining
2557        of _Thread_Enable_dispatch. This can save code space but more
2558        importantly it means the binary generated does not have code inlined
2559        that is difficult to test and very seldom executed.
2560
25612007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2562
2563        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2564        rtems/include/rtems/rtems/barrier.h,
2565        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2566        score/src/corerwlockrelease.c: Fixed several implementation errors.
2567
25682007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2569
2570        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2571        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2572        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2573        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2574        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2575        case to the top of the switch statement, have a single exit with one
2576        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2577        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2578        code and allowed for complete test coverage.
2579
25802007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2581
2582        * sapi/include/confdefs.h,
2583        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2584        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2585
25862007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2587
2588        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2589
25902007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2591
2592        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2593        support Thumb.
2594
25952007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2596
2597        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2598        Now works on gen5200/icecube.
2599
26002007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2601
2602        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2603
26042007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2605
2606        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2607
26082007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2609
2610        * score/include/rtems/score/thread.h: Fix spelling error.
2611
26122007-11-17      Till Straumann <strauman@slac.stanford.edu>
2613
2614        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2615        Added checks so that use of 'stdio' is avoided (falling
2616        back to 'printk') before the system is up.
2617        Publish driver entry points so that the libi2c driver could
2618        be added to the applications 'device driver table'.
2619        This is not fully implemented yet, though, since in addition to
2620        initializing libi2c the low-level i2c bus drivers as well
2621        as high-level i2c device drivers need to be registered
2622        with the library.
2623        Updated README_libi2c accordingly.
2624
26252007-11-17      Till Straumann <strauman@slac.stanford.edu>
2626
2627        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2628        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2629        so that it knows what PHY they want to look at.
2630
26312007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2632
2633        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2634        in opposite files. Whoops!
2635
26362007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2637
2638        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2639        of the focus was on the beginning stages of making the login checker
2640        pluggable just like the shell.
2641
26422007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2643
2644        * posix/src/mprotect.c: Update comments.
2645
26462007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2647
2648        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2649        will require gcc 4.3 or newer.
2650        * posix/src/ada_intrsupp.c: New file.
2651
26522007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2653
2654        * sapi/src/exinit.c, score/Makefile.am,
2655        score/include/rtems/score/apimutex.h: API Mutex calls should never
2656        have been inlined. Inlining them lead to many inlined copies of core
2657        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2658        minimum.exe.
2659        * score/src/apimutex.c, score/src/apimutexallocate.c,
2660        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2661
26622007-11-07      Till Straumann <strauman@slac.stanford.edu>
2663
2664        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2665        around _CPU_ISR_Set_level().
2666
26672007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2668
2669        * score/inline/rtems/score/object.inl: During test coverage analysis,
2670        we identified this sanity check which should have been conditional on
2671        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2672        operations. With all APIs enabled, this saved 352 bytes from the
2673        minimum executable on the SPARC/ERC32.
2674
26752007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2676
2677        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2678        compiler conditional attribute for methods that do not return. This
2679        avoids gcc generating unreachable code following calls to
2680        _Internal_error_Occurred.
2681
26822007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2683
2684        * configure.ac: Add ARM/Thumb Makefile.
2685
26862007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2687
2688        PR 1266/cpukit
2689        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2690        of class for key indexing.
2691
26922007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2693
2694        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2695        Fix headers and formatting.
2696
26972007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2698
2699        Miscellaneous changes made after a review against the POSIX spec.
2700        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2701        passes a NULL in the attributes parameter, default attributes are used.
2702        * posix/src/prwlockdestroy.c: If there is at least one thread
2703        waiting, do not allow deletion.
2704        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2705        operation used to obtain a RWLock for writing.
2706        * posix/src/pspinlocktranslatereturncode.c,
2707        score/include/rtems/score/corespinlock.h,
2708        score/src/corespinlockrelease.c: If the current thread is not the
2709        holder of the lock, do not allow an unlock and return EPERM.
2710        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2711        for queueing with a timeout handler.
2712
27132007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2714
2715        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2716        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2717        stack so gdb backtrace does not print corrupted frame message after
2718        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2719        SPARC implementation and I made it more general.
2720
27212007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2722
2723        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2724        Cleaned up reports and fixed a bug related the printf format which
2725        resulted in lack of leading zeroes and misleading magnitude.
2726        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2727
27282007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2729
2730        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2731        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2732        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2733        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2734        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2735        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2736        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2737        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2738        posix/src/condinit.c, posix/src/condsignalsupp.c,
2739        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2740        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2741        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2742        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2743        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2744        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2745        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2746        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2747        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2748        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2749        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2750        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2751        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2752        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2753        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2754        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2755        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2756        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2757        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2758        posix/src/semclose.c, posix/src/semdestroy.c,
2759        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2760        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2761        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2762        rtems/src/dpmemexternal2internal.c,
2763        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2764        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2765        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2766        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2767        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2768        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2769        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2770        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2771        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2772        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2773        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2774        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2775        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2776        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2777        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2778        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2779        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2780        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2781        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2782        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2783        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2784        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2785        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2786        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2787        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2788        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2789        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2790        score/src/mpci.c, score/src/objectgetnameasstring.c,
2791        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2792        multiprocessing is disabled, do not even allow the constant
2793        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2794        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2795        in the generation of binary code which can NOT be reached.
2796
27972007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2798
2799        * score/Makefile.am, score/include/rtems/score/thread.h,
2800        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2801        resulted in unnessary code explosion, many uncovered paths when
2802        looking at binary executable coverage, and only optimized getting
2803        self. Id translations were still getting pushed to a subroutine call
2804        to _Objects_Get. Later the non-inlined version can be further
2805        optimized to get Ids in range for the current API, then self, then
2806        look at other APIs.
2807        * score/src/threadget.c: New file.
2808
28092007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2810
2811        * libi2c/README-libi2c
2812        document structure of libi2c library
2813
28142007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2815
2816        * libi2c/libi2c.c, libi2c/libi2c.h:
2817        extend API to support SPI devices
2818        made libi2c.h C++-proof
2819
28202007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2821
2822        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2823        also in another file.  Mistake after splitting.
2824        * libcsupport/Makefile.am: Reflect file removal.
2825
28262007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2827
2828        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2829        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2830        Minor updates from FreeBSD.
2831
28322007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2833
2834        * score/include/rtems/score/copyrt.h: Update year.
2835
28362007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2837
2838        * score/include/rtems/score/copyrt.h: Update year.
2839
28402007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2841
2842        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2843        Fixed check of status when registering driver. Add use of strerror().
2844
28452007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2846        Ralf Corsépius <ralf.corsepius@rtems.org>
2847
2848        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2849        libnetworking/libc/if_indextoname.c,
2850        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2851        * Makefile.am: Add files above.
2852        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2853
28542007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2855
2856        * libmisc/stackchk/check.c: Eliminate output with little information.
2857        Always print a blown message using the same routine. Now works with
2858        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2859        support in your GCC version.
2860
28612007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2862
2863        * libcsupport/src/gxx_wrappers.c: Revert.
2864
28652007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2866
2867        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2868        PRId32 to fix warning.
2869
28702007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2871
2872        * telnetd/passwd.h: New file.
2873
28742007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2875
2876        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2877        telnetd/telnetd.h: telnetd rewrite.
2878        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2879
28802007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2881
2882        PR 1262/filesystem
2883        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2884        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2885        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2886        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2887        writev() including documentation and test case.
2888        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2889
28902007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2891
2892        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2893        document what is required to provide a fully functional
2894        implementation.
2895        * libnetworking/rtems/rtems_socketpair.c: New file.
2896
28972007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2898
2899        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2900        Bump RTEMS_VERSION to 4.8.99.0.
2901
29022007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2903
2904        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2905
29062007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2907
2908        * posix/src/semaphorecreatesupp.c: Fixed warning.
2909
29102007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2911
2912        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2913
29142007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2915
2916        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2917        Use uint32_t for ext_accm.
2918
29192007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2920
2921        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2922        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2923        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2924        fixed-size types instead of BSD fixed-size types.
2925
29262007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2927
2928        * libmisc/stackchk/check.c: Fix alignment of output.
2929
29302007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2931
2932        * libmisc/monitor/monitor.h: Add network commands that were in the
2933        network supplement but not in the code.
2934        * libmisc/monitor/mon-network.c: New file.
2935
29362007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2937
2938        PR 1261/cpukit
2939        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2940        semaphore creation.
2941
29422007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2943
2944        PR 1260/cpukit
2945        * posix/src/pthread.c: Get initial signals blocked from creating
2946        thread not from ourselves.
2947
29482007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2949
2950        * score/src/watchdogtickle.c: Remove tabs.
2951
29522007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2953
2954        PR 1259/rtems
2955        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2956        memory is not guaranteed to be zero.
2957
29582007-09-12  Sergei Organov  <osv@javad.com>
2959
2960        PR 1258/rtems
2961        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2962        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2963        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2964        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2965        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2966        to changed block split strategy in _Heap_Allocate_aligned().
2967
29682007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2969
2970        * libcsupport/src/printk.c: Remove unnecessary comments.
2971
29722007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2973
2974        * libmisc/monitor/mon-monitor.c:
2975        Corrected linked list of rtems_monitor_commands
2976
29772007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2978
2979        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2980        walk on init, malloc, and free. The ability to walk the heap appears
2981        to disappeared during the rework of the C Program heap to skip the
2982        Region.
2983
29842007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2985
2986        * score/src/heap.c: Style.
2987        * score/src/heapwalk.c: Add more information to prints.
2988        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2989        is disabled.
2990
29912007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2992
2993        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2994        * libcsupport/src/printk_plugin.c: New file.
2995        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2996        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2997        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2998        rtems/src/ratemonreportstatistics.c: Added capability to specify
2999        your own "printf" routine to various reporting functions.  This
3000        added an XXX_with_plugin as the underlying implementation for
3001          + rtems_rate_monotonic_report_statistics
3002          + rtems_stack_checker_report_usage
3003          + rtems_cpu_usage_report
3004        As demonstration, the http netdemo can now print out stack
3005        and cpu usage reports.
3006
30072007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3008
3009        * shttpd/compat_rtems.c: Style clean up.
3010
30112007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3012
3013        * rtems/src/ratemonperiod.c: Clean up.
3014        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
3015
30162007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3017
3018        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
3019
30202007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3021
3022        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
3023
30242007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3025
3026        * libmisc/Makefile.am: Add new files.
3027
30282007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3029
3030        * libmisc/monitor/mon-object.c,
3031        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
3032        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
3033        * libmisc/monitor/mon-task, libmisc/Makefile.am:
3034        Added functionality for osmonweb support
3035
30362007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3037
3038        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
3039        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
3040        that are needed by osmonweb.
3041
30422007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3043
3044        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
3045        Use printk.
3046
30472007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3048
3049        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
3050        spacing and spelling.
3051
30522007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3053
3054        PR 1256/networking
3055        * ftpd/ftpd.c: Fix unaligned access.
3056
30572007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3058
3059        * posix/Makefile.am: Always build nanosleep.
3060
30612007-08-17      Chris Johns <chrisj@rtems.org>
3062
3063        * libmisc/capture/README: Minor copyright change.
3064        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
3065        libmisc/capture/capture.h: Fixed the memory leak when lots of
3066        tasks are being created and deleted. Improved the trigger
3067        interface so all task type actions can be caught.
3068
30692007-08-13      Chris Johns <chrisj@rtems.org>
3070
3071        * score/include/rtems/score/object.h: Point the
3072        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
3073
30742007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
3075
3076        PR 1248/networking
3077        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
3078        reported that when no interfaces are successfully attached, the
3079        default route is broken and may result in a jump to an illegal
3080        address.
3081
30822007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3083
3084        * score/inline/rtems/score/priority.inl: Use size_t instead of
3085          uint32_t for array index.
3086
30872007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3088
3089        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
3090          identify coldfire cpus.
3091
30922007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3093
3094        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
3095          coldfire.
3096
30972007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3098
3099        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
3100          work-around bug m68k/coldfire -fomit-frame-pointer bug
3101          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
3102
31032007-07-27      Chris Johns <chrisj@rtems.org>
3104
3105        * wrapup/Makefile.am: Create archive from a file for hosts
3106        with a limited command line size.
3107
31082007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3109
3110        * include/rtems/bspIo.h, include/rtems/pci.h:
3111        Add extern "C" guards. Reported by
3112        Robert S. Grimes <rsg@alum.mit.edu>.
3113
31142007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3115
3116        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
3117        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
3118        the time appears to be reported correctly and add up to what is
3119        expected.
3120
31212007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3122
3123        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
3124        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
3125        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
3126
31272007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
3128
3129        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
3130        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
3131        was always using uptime not time since last cpu usage reset when
3132        using nanoseconds granularity.
3133        * libmisc/cpuuse/cpuusagedata.c: New file.
3134
31352007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
3136
3137        * libcsupport/src/mount.c: Allow null for output parameter.
3138
31392007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
3140
3141        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
3142        to shttpd initialization.
3143
31442007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3145
3146        * libcsupport/src/malloc.c: Clean up Malloc debug code.
3147        * score/include/rtems/score/heap.h: Spacing.
3148        * score/inline/rtems/score/thread.inl:
3149        * score/src/heapfree.c. Clean up and add explicit check of the address
3150        being freed actually being in the heap.
3151        * score/src/heapwalk.c: Switch to printk and do not call abort.
3152
31532007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3154
3155        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
3156        area contingent on the stack checker user extension having been
3157        initialized.
3158
31592007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3160
3161        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
3162        and recv(). We already had the BSD versions and these conflict
3163        sometimes when linking.
3164
31652007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3166
3167        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
3168        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
3169
31702007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3171
3172        * sapi/include/confdefs.h: Do not instantiate initialization
3173        thas/thread pointer tables for an API that is not configured.
3174
31752007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3176
3177        * libcsupport/Makefile.am:
3178        * libcsupport/src/open_dev_console.c: New file.
3179
31802007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3181
3182        * score/src/corerwlock.c: Make sure structure is fully initialized.
3183        When reused, some fields will not be zero like at initialization.
3184
31852007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3186
3187        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
3188        size. Account for this.
3189
31902007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3191
3192        * configure.ac: Add NDEBUG as a command line compilation option.
3193
31942007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3195
3196        * libmd/.cvsignore: New file.
3197
31982007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3199
3200        * shttpd/defs.h: Eliminate my_strncasecmp.
3201        * shttpd/string.c: Eliminate my_strncasecmp.
3202
32032007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3204
3205        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3206        * pppd/Makefile.am: Reflect moving out md*.
3207        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3208          libmd).
3209        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3210        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3211        * configure.ac, Makefile.am: Add libmd.
3212
32132007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3214
3215        * shttpd/defs.h: Eliminate my_strlcpy.
3216        * shttpd/string.c: Eliminate my_strlcpy.
3217
32182007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3219
3220        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3221        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3222        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3223          libmd.a.
3224
32252007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3226
3227        * wrapup/Makefile.am: Add libmd.a.
3228
32292007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3230
3231        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3232          Add pppd/libmd.a.
3233        * pppd/md4.c: Don't include pppd.h.
3234
32352007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3236
3237        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3238
32392007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3240
3241        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3242        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3243        Add config.h support.
3244
32452007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3246
3247        * shttpd/compat_rtems.h: Define closesocket.
3248
32492007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3250
3251        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3252
32532007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3254        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3255        Use size_t for stack sizes.
3256
32572007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3258
3259        * configure.ac, Makefile.am: Add shttpd.
3260        * shttpd/Makefile.am: New.
3261        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3262        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3263        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3264        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3265        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3266        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3267        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3268        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3269        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3270        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3271        Import from shttpd-1.37.tar.gz.
3272
32732007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3274
3275        * configure.ac: Remove "pad" from CPU_CONTEXT.
3276
32772007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3278
3279        * score/src/coremsg.c: Formatting.
3280
32812007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3282
3283        * score/include/rtems/score/copyrt.h: Update copyright notice.
3284
32852007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3286
3287        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3288        one function per file execpt io.c which contains required
3289        initialization methods.
3290        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3291        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3292        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3293        sapi/src/iowrite.c: New files.
3294
32952007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3296
3297        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3298        table into Workspace but now it is only done if the application needs
3299        extra slots for dynamic driver registration. Cleaned up
3300        rtems_io_register_driver and rtems_io_unregister_driver code and
3301        added numerous error cases to register.
3302
33032007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3304
3305        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3306        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3307        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3308        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3309        configuration parameter since it was used to configure a no longer
3310        used feature. Device names are now part of the filesystem not in a
3311        table. This also eliminated the variables _IO_Number_of_devices and
3312        _IO_Driver_name_table from RTEMS as well as the memory allocation
3313        used to populate _IO_Driver_name_table.
3314        * libmisc/monitor/mon-dname.c: Removed.
3315
33162007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3317
3318        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3319        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3320        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3321        unused Workspace. Round the workspace required size to an 8 byte
3322        boundary instead of a 0x400 byte one. We may end up needing to add 8
3323        bytes again to account for the alignment rounding.
3324
33252007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3326
3327        Yu Chen <chyyuu@gmail.com>
3328        * score/src/corespinlockwait.c: Per question posted as
3329        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3330        logical operator to <=.
3331
33322007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3333
3334        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3335        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3336        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3337        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3338        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3339        executive initialization.
3340
33412007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3342
3343        * score/src/corerwlockrelease.c: Do not dereference NULL.
3344
33452007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3346
3347        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3348        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3349        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3350        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3351        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3352        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3353        sapi/include/rtems/extension.h: Split Classic API data instantiation
3354        into individual files. This reduces the size of the BSS section when
3355        an optional manager stub is used. Some tests showed about a 600 byte
3356        reduction in BSS size.
3357        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3358        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3359        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3360        used in one place after initialized. It was a waste of space.
3361        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3362        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3363        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3364        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3365        sapi/src/extensiondata.c: New files.
3366
33672007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3368
3369        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3370        functionality into multiple files to eliminate unnecessary cohesion.
3371        Update README.
3372        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3373        New files.
3374        * libmisc/cpuuse/cpuuse.c: Removed.
3375
33762007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3377
3378        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3379        negative value in some circumstances. Also cleaned up to share uptime
3380        declaration.
3381
33822007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3383
3384        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3385        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3386        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3387        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3388        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3389        score/Makefile.am, score/include/rtems/score/thread.h,
3390        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3391        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3392        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3393        monotonic period statistics and CPU usage statistics. This capability
3394        is enabled by default although may be conditionally disabled by the
3395        user. It could be too much overhead on small targets but it does not
3396        appear to be bad in early testing. Its impact on code size has not
3397        been evaluated either. It is possible that both forms of statistics
3398        gathering could be disabled with further tweaking of the conditional
3399        compilation.
3400        * score/src/timespecdividebyinteger.c: New file.
3401
34022007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3403
3404        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3405        functionally similar code here. Also cleanup print formats.
3406
34072007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3408
3409        * score/src/objectgetnameasstring.c: Internal threads use string names
3410        so in the current RTEMS source string object name can NOT be
3411        disabled. It is probably worth considering converting the internal
3412        threads to uint32_t style names so all the support for string names
3413        can be conditionally disabled.
3414
34152007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3416
3417        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3418        and greater than operations for timespecs.
3419        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3420        New files.
3421
34222007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3423
3424        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3425        RTEMS_POSIX_API.
3426
34272007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3428
3429        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3430        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3431        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3432        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3433        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3434        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3435        score/Makefile.am, score/include/rtems/score/object.h,
3436        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3437        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3438        Added the following directives: rtems_rate_monotonic_get_statistics,
3439        rtems_rate_monotonic_reset_statistics,
3440        rtems_rate_monotonic_reset_all_statistics,
3441        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3442        Obsoleted the rtems/rtmonuse.h file as a public interface.
3443        * rtems/src/ratemongetstatistics.c,
3444        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3445        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3446        score/src/objectgetnameasstring.c: New files.
3447        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3448
34492007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3450
3451        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3452        rtems_io_register_name for use on unix.
3453        * libcsupport/src/unixlibc_io.c: New file.
3454
34552007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3456
3457        * score/src/coremsgseize.c: A blocking sender's message size was
3458        pulled out of the wrong field in the Wait information structure.
3459        * score/src/objectallocate.c: With the new optional manager support,
3460        we only stub out the initialization. This makes it possible to attempt
3461        to create an object with the information structure only initialized
3462        with all zeros.  This ensures we return an error cleanly in this case.
3463
34642007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3465
3466        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3467        an optional manager, we cannot depend on it do initialize the
3468        internal Allocator Mutex.  This was always a questionable place to
3469        do it, so this is a cleanup.
3470
34712007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3472
3473        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3474        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3475        suitable for inclusion in the Users Guide.
3476
34772007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3478
3479        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3480        ChangeLog-pre2007.
3481        * ChangeLog-pre2007: New file.
3482
34832007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3484
3485        PR 1241/rtems
3486        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3487        critical section window added with requeueing support.
3488
34892007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3490
3491        * libcsupport/include/rtems/cdefs.h,
3492          libcsupport/include/sys/cdefs.h: Remove.
3493        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3494        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3495        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3496        libnetworking/netdb.h, libnetworking/resolv.h,
3497        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3498        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3499        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3500        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3501        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3502        libnetworking/rtems/rtems_bsdnet_internal.h,
3503        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3504        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3505        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3506        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3507        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3508        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3509        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3510        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3511        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3512        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3513        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3514
35152007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3516
3517        * Makefile.am: Reflect introduction of
3518          include/rtems/bsd/sys/cdefs.h.
3519        * include/rtems/bsd/sys/cdefs.h: New.
3520
35212007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3522
3523        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3524        * libnetworking/sys/queue.h: Remove.
3525
35262007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3527
3528        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3529        <machine/endian.h>.
3530        * libnetworking/rtems/rtems_showroute.c,
3531        libnetworking/rtems/rtems_showipstat.c,
3532        libnetworking/rtems/rtems_showtcpstat.c,
3533        libnetworking/rtems/rtems_showicmpstat.c,
3534        libnetworking/rtems/rtems_showmbuf.c,
3535        libnetworking/rtems/rtems_showudpstat.c,
3536        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3537        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3538        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3539        libnetworking/netinet/tcp_usrreq.c,
3540        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3541        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3542        libnetworking/netinet/ip_output.c,
3543        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3544        libnetworking/netinet/udp_usrreq.c,
3545        libnetworking/netinet/tcp_output.c,
3546        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3547        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3548        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3549        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3550        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3551        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3552        instead of <sys/queue.h>.
3553        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3554        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3555        libnetworking/net/if.h, libnetworking/net/if_media.h,
3556        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3557        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3558        instead of <sys/queue.h>.
3559        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3560        * include/rtems/bsd/sys/queue.h: New (Copied from
3561          libnetworking/sys/queue.h).
3562
35632007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3564
3565        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3566        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3567        score/Makefile.am, score/preinstall.am,
3568        score/include/rtems/score/userext.h, score/src/chain.c,
3569        score/src/userext.c: Switch to newlib reentrancy extension being
3570        installed in the initial set instead of using rtems_extension_create.
3571        While implementing this, noticed that user extensions and chain code
3572        had multiple functions in a single file which is not desirable in the
3573        SuperCore and API portions of RTEMS, so split these into multiple
3574        files with one function per file. Also noticed that some of user
3575        extension code was inlined for no particular reason so moved that to
3576        C bodies.  Split executive shutdown from initialization since not
3577        every application shuts down.  Moved __fini call to executive shutdown
3578        to be more symmetrical with where it is called at startup.
3579        * sapi/src/exshutdown.c, score/src/chainappend.c,
3580        score/src/chainextract.c, score/src/chainget.c,
3581        score/src/chaininsert.c, score/src/userextaddapiset.c,
3582        score/src/userextaddset.c, score/src/userextremoveset.c,
3583        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3584        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3585        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3586        files.
3587        * score/inline/rtems/score/userext.inl: Removed.
3588
35892007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3590
3591        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3592        reference _Configuration_MP_table if multiprocessing is disabled.
3593
35942007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3595
3596        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3597        reference _Configuration_MP_table if multiprocessing is disabled.
3598
35992007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3600
3601        * libnetworking/machine/endian.h: Remove.
3602        * libnetworking/Makefile.am: Remove machine/endian.h.
3603        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3604        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3605        <rtems/endian.h> instead of <machine/endian.h>.
3606        * Makefile.am: Add include/rtems/endian.h.
3607        * include/rtems/endian.h: New (Copied from
3608          libnetworking/machine/endian.h).
3609
36102007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3611
3612        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3613        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3614        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3615        of <stdint.h>.
3616        * libnetworking/machine/endian.h: Remove
3617          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3618        * NEWS: new.
3619
36202007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3621
3622        PR 1243
3623        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3624
36252007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3626
3627        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3628        to inline functions, using uint[16,32]_t.
3629        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3630        with SUSv3.
3631        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3632        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3633        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3634        Add HAVE_CONFIG_H magic.
3635        * libnetworking/libc/gethostbydns.c,
3636        libnetworking/libc/inet_net_ntop.c,
3637        libnetworking/libc/inet_pton.c: Eliminate __P.
3638        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3639        return value of ntohl (POSIX requirement).
3640        Use UINT32_C macros to avoid overflows on 16bit targets.
3641        Eliminate __P.
3642        * configure.ac: Check for working PRIxPTR.
3643
36442007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3645
3646        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3647        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3648        Use size_t for stack sizes.
3649
36502007-05-03      Joel Sherrill <joel@OARcorp.com>
3651
3652        * ChangeLog, libcsupport/src/malloc.c,
3653        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3654        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3655        Region Manager is quite heavy for implementing this. This patch
3656        implements the C Program Heap directly in terms of the new Protected
3657        Heap handler. This handler is a direct use of a SuperCore Heap in
3658        conjunction with the Allocator Mutex used internally by RTEMS. This
3659        saves 3184 bytes on most SPARC test executables.
3660        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3661        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3662        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3663        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3664        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3665        score/src/pheapwalk.c: New files.
3666
36672007-05-03      Joel Sherrill <joel@OARcorp.com>
3668
3669        * libcsupport/src/rmdir.c: Fixed spacing.
3670        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3671        newlibc.c. It is not required for minimum executing and drops 624
3672        from SPARC minimum executable.
3673        * libcsupport/src/newlibc_exit.c: New file.
3674
36752007-04-17      Joel Sherrill <joel@OARcorp.com>
3676
3677        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3678        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3679        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3680        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3681        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3682        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3683        reduce executable size. Most were refactoring of files. Split ITRON
3684        API files. Implemented mechanism to avoid initialization task/thread
3685        loop being linked in when that style of task initialization was not
3686        being used.
3687        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3688        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3689        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3690        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3691        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3692        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3693        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3694        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3695        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3696        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3697        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3698        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3699        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3700        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3701        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3702        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3703        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3704        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3705        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3706        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3707        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3708
37092007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3710
3711        * score/include/rtems/score/thread.h:
3712          Use Context_Control_fp* instead of void* for fp_contexts.
3713
37142007-04-16      Joel Sherrill <joel@OARcorp.com>
3715
3716        PR 1240/filesystem
3717        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3718        for filename was not being freed.
3719
37202007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3721
3722        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3723
37242007-04-16      Joel Sherrill <joel@OARcorp.com>
3725
3726        * itron/src/rsm_tsk.c: Correct error returned.
3727
37282007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3729
3730        * configure.ac: Redefine LIBPOSIX to !UNIX.
3731        * posix/src/usleep.c, libcsupport/src/readlink.c:
3732        Update API to SUSv3.
3733
37342007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3735
3736        * posix/Makefile.am: Unconditionally build src/sleep.c,
3737          src/usleep.c.
3738        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3739          CLOCK_MONOTONIC case.
3740        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3741
37422007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3743
3744        * posix/Makefile.am: Cosmetics.
3745        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3746        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3747
37482007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3749
3750        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3751          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3752        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3753          rtems/posix/time.h.
3754        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3755          rtems/posix/time.h.
3756        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3757
37582007-04-12      Joel Sherrill <joel@OARcorp.com>
3759
3760        * itron/src/rsm_tsk.c: Correct error returned.
3761
37622007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3763
3764        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3765
37662007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3767
3768        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3769        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3770        _impure_ptr bug).
3771        Fix abuse of _REENT_INIT().
3772
37732007-04-05      Joel Sherrill <joel@OARcorp.com>
3774
3775        * itron/src/itrontime.c: Fix typo.
3776        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3777        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3778        * score/src/threaddispatch.c: Formatting.
3779
37802007-04-05      Joel Sherrill <joel@OARcorp.com>
3781
3782        * posix/Makefile.am: Fix formatting.
3783
37842007-04-05      Joel Sherrill <joel@OARcorp.com>
3785
3786        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3787        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3788        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3789        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3790        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3791        posix/src/pthread.c, posix/src/pthreadcreate.c,
3792        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3793        posix/src/sched.c, posix/src/semtimedwait.c,
3794        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3795        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3796        score/preinstall.am, score/include/rtems/score/tod.h,
3797        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3798        score/src/coretodget.c, score/src/coretodgetuptime.c,
3799        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3800        manipulation routines in the SuperCore. Use them everywhere possible.
3801        This lead to significant cleanup in the API routines and eliminated
3802        some of the same code from the POSIX API. At this point, the
3803        SuperCore keeps time in POSIX timespec format properly from 1970. You
3804        just cannot set it before 1988 in keeping with RTEMS traditional
3805        behavior.
3806        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3807        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3808        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3809        score/src/timespectoticks.c: New files.
3810        * posix/src/posixintervaltotimespec.c,
3811        posix/src/posixtimespecsubtract.c,
3812        posix/src/posixtimespectointerval.c: Removed.
3813
38142007-04-04      Joel Sherrill <joel@OARcorp.com>
3815
3816        * score/Makefile.am, score/include/rtems/score/tod.h,
3817        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3818        non-inlined routine. It should only be used once so there is little
3819        advantage to inlining it.
3820        * score/src/coretodtickle.c: New file.
3821
38222007-04-02      Joel Sherrill <joel@OARcorp.com>
3823
3824        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3825        dead code.
3826        * posix/src/time.c: Removed.
3827
38282007-04-02      Joel Sherrill <joel@OARcorp.com>
3829
3830        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3831        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3832        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3833        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3834        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3835        TOD_Ticks_per_second variable.
3836
38372007-04-02      Joel Sherrill <joel@OARcorp.com>
3838
3839        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3840        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3841        posix/src/clockgettime.c, posix/src/clocksettime.c,
3842        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3843        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3844        posix/src/sleep.c, rtems/Makefile.am,
3845        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3846        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3847        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3848        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3849        score/Makefile.am, score/include/rtems/score/tod.h,
3850        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3851        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3852        fundamental time structure to POSIX struct timespec. Add
3853        clock_get_uptime().
3854        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3855        score/src/coretodgetuptime.c: New files.
3856        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3857        score/src/coretodvalidate.c: Removed.
3858
38592007-04-02      Joel Sherrill <joel@OARcorp.com>
3860
3861        * libcsupport/src/printk.c: Add %p support.
3862
38632007-04-02      Joel Sherrill <joel@OARcorp.com>
3864
3865        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3866        in addition to the pattern area being overwritten. Also do some
3867        cleanup.
3868
38692007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3870
3871        * include/rtems/pci.h: Further stdint.h fixed-size types.
3872
38732007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3874
3875        * include/rtems/pci.h: Use stdint.h fixed size-types.
3876
38772007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3878
3879        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3880        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3881        * libnetworking/Makefile.am: Move libc/res_config.h to
3882          libc_a_SOURCES (File is being used).
3883        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3884        Remove (Unused).
3885        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3886        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3887        Remove (Unused).
3888        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3889
38902007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3891
3892        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3893        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3894        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3895        libnetworking/libc/gethostbynis.c,
3896        libnetworking/libc/gethostnamadr.c,
3897        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3898        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3899        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3900        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3901        libnetworking/libc/getservbyname.c,
3902        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3903        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3904        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3905        libnetworking/libc/inet_net_ntop.c,
3906        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3907        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3908        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3909        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3910        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3911        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3912        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3913        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3914        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3915        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3916        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3917        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3918        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3919        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3920        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3921        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3922        SCCS, LINT. Add HAVE_CONFIG_H.
3923        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3924
39252007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3926
3927        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3928          uintptr_t.
3929
39302007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3931
3932        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3933        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3934
39352007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3936
3937        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3938        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3939        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3940        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3941        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3942        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3943        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3944        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3945        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3946        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3947        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3948        (Abandoned in FreeBSD).
3949        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3950        (Abandoned in FreeBSD).
3951        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3952        (Abandoned in FreeBSD).
3953        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3954        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3955
39562007-03-28      Chris Johns <chrisj@rtems.org>
3957
3958        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3959        score/include/rtems/score/watchdog.h: Add support for a handler to
3960        obtain the number of nanoseconds since the last clock tick. The
3961        primary interface for this is rtems_clock_set_nanoseconds_extension.
3962        Subsequent commits from Joel will redo the TOD support to use this
3963        capability.
3964        * rtems/src/clocksetnsecshandler.c: New file.
3965
39662007-03-28      Joel Sherrill <joel@OARcorp.com>
3967
3968        PR 1234/cpukit
3969        * libcsupport/Makefile.am: Provide printk() based implementation of
3970        __assert() to reduce dependencies in executables.
3971        * libcsupport/src/__assert.c: New file.
3972
39732007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3974
3975        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3976        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3977        * libnetworking/net/ppp-comp.h: Remove (Unused).
3978        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3979        * libnetworking/sys/buf.h: Remove (Unused).
3980        * libnetworking/Makefile.am: Remove sys/buf.h.
3981        * libnetworking/kern/kern_sysctl.c,
3982        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3983        <sys/buf.h>.
3984        *  libcsupport/include/sys/sockio.h: Partial update from
3985          FreeBSD.
3986
39872007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3988
3989        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3990        * libnetworking/netinet/igmp.c: Eliminate __P().
3991        * libnetworking/netinet/in.c: Eliminate __P().
3992        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3993        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3994        * libnetworking/netinet/ip_output.c: Eliminate __P().
3995
39962007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3997
3998        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3999        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
4000        Change int args to intptr_t because they are casted to pointers.
4001        * libnetworking/netinet/tcp_usrreq.c,
4002        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
4003
40042007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4005
4006        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
4007        "long", because long is not guaranteed to be castable to char*.
4008        * libnetworking/netinet/ip_input.c: Eliminate __P().
4009        Change "int next" to "int32_t next" for 16bit targets.
4010        * libnetworking/netinet/tcp_input.c: Eliminate __P().
4011        * libnetworking/netinet/in_rmx.c: Eliminate __P().
4012        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
4013        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
4014        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
4015        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
4016        * libnetworking/kern/uipc_domain.c: Eliminate __P().
4017
40182007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4019
4020        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
4021        Remove (Abandoned in FreeBSD).
4022        * libnetworking/Makefile.am: Remove net/pppcompress.c,
4023        net/pppcompress.h.
4024        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
4025        net/pppcompress.h.
4026        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
4027        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
4028        net/pppcompress.h.
4029
40302007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4031
4032        * libnetworking/net/pppcompress.h: Eliminate __P().
4033        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
4034        * libnetworking/net/if_llc.h: Update from FreeBSD.
4035
40362007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4037
4038        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
4039          <net/ppp-comp.h>.
4040        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
4041        Warn about using it.
4042        * libnetworking/Makefile.am: Add net/ppp_comp.h.
4043        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
4044        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
4045          FreeBSD.
4046        * libnetworking/machine/in_cksum.h: Eliminate __P().
4047        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
4048        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
4049        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
4050        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
4051        Eliminate __P().
4052        * libcsupport/src/scandir.c: Eliminate __P().
4053        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
4054        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
4055        Eliminate __P().
4056        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
4057        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
4058        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
4059
40602007-03-26      Joel Sherrill <joel@OARcorp.com>
4061
4062        PR 1231/cpukit
4063        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
4064        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
4065        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
4066        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
4067        posix/src/mutexattrgetprioceiling.c,
4068        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
4069        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
4070        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
4071        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
4072        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
4073        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
4074        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
4075        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
4076        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
4077        posix/src/posixtimespecsubtract.c,
4078        posix/src/posixtimespectointerval.c,
4079        posix/src/psignalclearprocesssignals.c,
4080        posix/src/psignalclearsignals.c,
4081        posix/src/psignalsetprocesssignals.c,
4082        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
4083        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
4084        unneeded includes of assert.h
4085
40862007-03-26      Joel Sherrill <joel@OARcorp.com>
4087
4088        * libcsupport/include/rtems/assoc.h: Pick up the include file
4089        changes associated with the file splitting.
4090
40912007-03-26      Joel Sherrill <joel@OARcorp.com>
4092
4093        * libcsupport/Makefile.am: Pick up the Makefile changes associated
4094        with the file splitting.
4095
40962007-03-26      Joel Sherrill <joel@OARcorp.com>
4097
4098        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
4099        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
4100        this will not be deemed necessary to commit to the 4.7 branch.
4101        * libcsupport/src/assoclocalbyname.c,
4102        libcsupport/src/assoclocalbyremote.c,
4103        libcsupport/src/assoclocalbyremotebitfield.c,
4104        libcsupport/src/assocnamebylocal.c,
4105        libcsupport/src/assocnamebylocalbitfield.c,
4106        libcsupport/src/assocnamebyremote.c,
4107        libcsupport/src/assocnamebyremotebitfield.c,
4108        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
4109        libcsupport/src/assocptrbyremote.c,
4110        libcsupport/src/assocremotebylocal.c,
4111        libcsupport/src/assocremotebylocalbitfield.c,
4112        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
4113        libcsupport/src/write_r.c: New files.
4114
41152007-03-26      Joel Sherrill <joel@OARcorp.com>
4116
4117        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
4118        support and remove deadcode. Replace with comment explaining that
4119        behavior is compatible with GNU/Linux per Eric Norum.
4120
41212007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4122
4123        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
4124        Partial update from FreeBSD.
4125        * libnetworking/netinet/if_ether.h: Eliminate __P().
4126        * libnetworking/netinet/ip_var.h: Eliminate __P().
4127        * libnetworking/netinet/in.h: Eliminate __P().
4128        * libnetworking/netinet/tcp_var.h: Eliminate __P().
4129
41302007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4131
4132        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
4133        Remove __P();
4134        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
4135
41362007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4137
4138        * libnetworking/netinet/in_var.h: Remove __P().
4139        * libnetworking/netinet/in_systm.h: Remove __P().
4140        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
4141        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
4142        * libnetworking/netinet/if_ether.c: Remove __P().
4143        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
4144        More updates from FreeBSD.
4145        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
4146        libnetworking/net/route.h: Partial update from FreeBSD.
4147
41482007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
4149
4150        * libnetworking/Makefile.am: Remove nfs/krpc.h.
4151        * libnetworking/nfs/krpc.h: Remove (Unused).
4152        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
4153        * libnetworking/Makefile.am: Remove nfs/nfs.h.
4154        * libnetworking/nfs/nfs.h: Remove (Unused).
4155
41562007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4157
4158        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
4159          symbols.
4160        * libnetworking/sys/conf.h: Don't include machine/conf.h.
4161        Update copyright notice.
4162        Remove unused/non-implemented declarations.
4163        * libnetworking/Makefile.am: Remove machine/conf.h.
4164        * libnetworking/machine/conf.h: Remove.
4165
41662007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4167
4168        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
4169        Remove many non-supported/unused declarations.
4170
41712007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4172
4173        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
4174          crhold (Unused/non-implemented).
4175
41762007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4177
4178        * libnetworking/sys/ucred.h: Remove __P().
4179        * libnetworking/sys/callout.h: Remove __P().
4180        * libnetworking/sys/domain.h: Remove __P().
4181        * libnetworking/sys/socketvar.h: Remove __P().
4182        * libnetworking/sys/socket.h: Remove __P().
4183        * libnetworking/sys/select.h: Remove __P().
4184        * libnetworking/sys/kernel.h: Remove __P().
4185        * libnetworking/sys/protosw.h: Remove __P().
4186        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
4187        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
4188        swdevt, nswdev, nswap (Unused).
4189
41902007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4191
4192        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4193        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4194        instead of struct linesw (PR 1229)
4195        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4196        around clash with defines from rtems_bsdnet_internal.h.
4197        * score/src/heapwalk.c: include stdlib.h.
4198
41992007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4200
4201        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4202        Remove __P().
4203        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4204        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4205        Remove __P().
4206        * libcsupport/include/rtems/termiostypes.h,
4207        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4208        with rtems_termios_*.
4209        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4210        (Clash with termiostypes.h - PR 1229).
4211
42122007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4213
4214        * score/include/rtems/score/wkspace.h,
4215        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4216        Change _Workspace_Handler_initialization and
4217        _Workspace_Allocate_or_fatal_error to using size_t.
4218        * libnetworking/sys/rtprio.h: Remove (Unused).
4219        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4220
42212007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4222
4223        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4224        Remove __P().
4225
42262007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4227
4228        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4229          to fix warnings.
4230        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4231        * score/include/rtems/score/chain.h, score/src/chain.c:
4232        Change _Chain_Initialize to using size_t.
4233
42342007-03-12      Joel Sherrill <joel@OARcorp.com>
4235
4236        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4237        Dump_Buffer to rtems_print_buffer.
4238
42392007-03-12      Joel Sherrill <joel@OARcorp.com>
4240
4241        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4242        license URL and/or fix mistake in copyright notice. Both of these
4243        mistakes appear to be from code submitted after these changes were
4244        made previously.
4245
42462007-03-10      Joel Sherrill <joel@OARcorp.com>
4247
4248        PR 1226/cpukit
4249        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4250        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4251
42522007-03-08      Joel Sherrill <joel@OARcorp.com>
4253
4254        * libfs/src/imfs/imfs.h: Fix comment.
4255
42562007-03-08      Joel Sherrill <joel@OARcorp.com>
4257
4258        * libfs/src/imfs/imfs.h: Fix comment.
4259
42602007-03-08      Joel Sherrill <joel@OARcorp.com>
4261
4262        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4263        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4264
42652007-03-08      Joel Sherrill <joel@OARcorp.com>
4266
4267        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4268        Remove wrapper for message queue send and urgent and implement them
4269        directly. There was an unnecessary function call layer in addition to
4270        conditions in the shared routine. Directly coding both directives is
4271        simpler and should result in smaller code.
4272        * rtems/src/msgqsubmit.c: Removed.
4273
42742007-03-05      Joel Sherrill <joel@OARcorp.com>
4275
4276        PR 1222/cpukit
4277        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4278        score/include/rtems/score/threadq.h,
4279        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4280        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4281        score/src/threadclearstate.c, score/src/threadhandler.c,
4282        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4283        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4284        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4285        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4286        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4287        thread that is blocked on a priority based thread queue is changed,
4288        that its placement in the queue is reevaluated based upon the new
4289        priority. This enhancement includes modifications to the SuperCore as
4290        well as new test cases.
4291        * score/src/threadqrequeue.c: New file.
4292
42932007-03-05      Joel Sherrill <joel@OARcorp.com>
4294
4295        * sapi/src/exinit.c: Fix spacing.
4296
42972007-03-05      Joel Sherrill <joel@OARcorp.com>
4298
4299        PR 1221/cpukit
4300        * posix/src/pthreadequal.c: Fix critical section nesting.
4301
43022007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4303
4304        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4305          compiled files.
4306
43072007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4308
4309        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4310
43112007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4312
4313        * score/Makefile.am: Remove macros/README.
4314
43152007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4316
4317        * score/include/rtems/score/heap.h, score/src/heap.c,
4318        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4319        More size_t for heap-sizes.
4320        * score/include/rtems/score/heap.h, score/src/heap.c,
4321        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4322        heap-sizes.
4323        * libnetworking/resolv.h: Typo fixes. Remove __P().
4324
43252007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4326
4327        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4328        Use size_t for stack-sizes.
4329
43302007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4331
4332        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4333          functions.
4334        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4335        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4336
43372007-02-06      Till Straumann <strauman@slac.stanford.edu>
4338
4339        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4340        taskvar dtor to plug memory leak. Applied patch attached
4341        to PR#690.
4342
43432007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4344
4345        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4346        * posix/src/getpagesize.c: Removed.
4347        * posix/Makefile.am: Remove references to getpagesize.c.
4348        * libcsupport/Makefile.am: Add getpagesize.c.
4349
43502007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4351
4352        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4353        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4354          visible.
4355        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4356
43572007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4358
4359        * rtems/src/msgqsend.c: Use size_t for sizes.
4360        * rtems/src/msgqurgent.c: Use size_t for sizes.
4361        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4362        * rtems/src/msgmp.c: Use size_t for sizes.
4363        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4364        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4365        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4366        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4367
43682007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4369
4370        * itron/src/trcv_mbf.c: Use size_t for sizes.
4371        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4372        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4373        * libmisc/monitor/monitor.h: Use size_t for sizes.
4374        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4375        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4376        * rtems/src/msgqreceive.c: Use size_t for sizes.
4377        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4378        * score/src/coremsgseize.c: Use size_t for sizes.
4379
43802007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4381
4382        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4383        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4384        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4385        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4386        * score/src/coremsgsubmit.c: Use size_t for sizes.
4387
43882007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4389
4390        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4391
43922007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4393
4394        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4395
43962007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4397
4398        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4399        Remove isblank (supposed to be provided by libc).
4400
44012007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4402
4403        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4404
44052007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4406
4407        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4408         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4409        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4410        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4411        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4412
44132007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4414
4415        * score/include/rtems/system.h:
4416        #define __RTEMS_MINOR__ 7 (BZ 1206).
4417
44182007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4419
4420        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4421        export some internal variables to make them available in
4422        "show_bdbuf" monitor add-on
4423
44242007-01-16      Till Straumann <strauman@slac.stanford.edu>
4425
4426        * libnetworking/rtems/rtems_mii_ioctl.c,
4427        libnetworking/rtems/rtems_mii_ioctl.h,
4428        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4429        libi2c/libi2c.c, libi2c/libi2c.h:
4430        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4431
44322007-01-09      Joel Sherrill <joel@OARcorp.com>
4433
4434        * libcsupport/src/error.c: rtems_progname is no longer defined in
4435        the BSP startup since it never held a meaningful value.
4436
44372007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4438
4439        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4440        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.