source: rtems/cpukit/ChangeLog @ 89423b9

4.104.114.95
Last change on this file since 89423b9 was 89423b9, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 8, 2008 at 2:19:45 PM

Fix joel mistake.

  • Property mode set to 100644
File size: 176.4 KB
Line 
12008-08-08     Sebastian Huber <sebastian.huber@embedded-brains.de>
2
3        * libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
4        score/include/rtems/score/thread.h, score/src/threadreset.c,
5        score/src/threadrestart.c, score/src/threadstart.c: New type
6        Thread_Entry_numeric_type for numeric arguments in thread entry
7        functions with at least one numeric argument.
8
92008-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
10
11        * score/include/rtems/score/sysstate.h,
12        score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
13        _System_state_Is_multiprocessing unused when multiprocessing is not
14        enabled. Saves one more variable from single processor configuration.
15
162008-08-07      Chris Johns <chrisj@rtems.org>
17
18        * libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
19        to see if the 'to' path was a directory and removed the directory.
20
21        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv
22        command.
23
24        * libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
25
262008-08-06      Chris Johns <chrisj@rtems.org>
27
28        * libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
29        the new bdbuf code.
30
312008-08-06      Brett Swimley <brett.swimley@aedbozeman.com>
32
33        PR 1192/filesystem
34        * libblock/src/diskdevs.c: PR1192. Update the disktap pointer
35        after the realloc.
36
372008-08-06      Till Straumann <strauman@slac.stanford.edu>
38
39        * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
40        than release it.
41
422008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
43
44        PR 537/bsps
45        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
46        libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
47        vestiges of ticks_per_timeslice controlling newlib reentrancy. The
48        parameter was ignored in libc_init().
49
502008-08-05      Joel Sherrill <joel.sherrill@OARcorp.com>
51
52        PR 741/networking
53        * libmisc/dummy/dummy.c: Add dummy network configuration.
54
552008-08-05     Sebastian Huber <sebastian.huber@embedded-brains.de>
56
57        * rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
58        Changed option set type to rtems_option.
59
60        * score/src/objectgetinfo.c: Check return value of
61        _Objects_API_maximum_class().
62
63        * libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
64        rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
65        rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
66        rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
67        rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
68        score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
69        score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
70        score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
71        score/src/coremsgsubmit.c:
72        Removed parameters of _Message_queue_Allocate().  Changed option set
73        type to rtems_option.  Changed type of maximum message and packet size
74        to size_t.  Changed the input buffer type for message send functions to
75        "const void *".  Changed the pointer to the second return argument in
76        the thread wait information to a union.  This union can contain a
77        pointer to an immutable or a mutable object.  This is somewhat fragile.
78        An alternative would be to add a third pointer for immutable objects,
79        but this would increase the structure size.
80
812008-08-05      Xudong Guan <xudong.guan@criticalsoftware.com>
82
83        PR 1212/cpukit
84        * rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
85        will not happen if the task mode is changed from a non-timeslicing
86        mode to timeslicing mode if it is done by the executing thread (e.g.
87        in its task body). This change includes sp44 to demonstrate the
88        problem and verify the correction.
89
902008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
91
92        * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
93        warnings.
94
952008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
96
97        PR 1265/cpukit
98        * score/include/rtems/score/object.h,
99        score/src/objectallocatebyindex.c: Rename index argument to avoid
100        warning when rtems.h and string.h are included at the same time by
101        user code.
102
1032008-08-03      Ralf Corsépius <ralf.corsepius@rtems.org>
104
105        * libnetworking/lib/tftpDriver.c: Add prototypes.
106        * pppd/rtemsmain.c: Add prototypes.
107        * zlib/crc32.c: Add prototypes.
108
1092008-08-02      Chris Johns (chrisj@rtems.org>
110
111        * libblock/include/rtems/blkdev.h: Remove count and start from
112        rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.
113
114        * libblock/src/bdbuf.c: Add read ahead blocks always consecutive
115        comment. Change count to bufnum and remove start references. Sort
116        the transfer list so blocks are consecutive where possible.
117
118        * libblock/src/blkdev.c, libblock/src/nvdisk.c,
119        libblock/src/ramdisk.c: Change count to bufnum and remove start
120        references.
121
1222008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
123
124        * telnetd/telnetd.c: Add missing prototypes.
125        Remove unused local declations.
126
1272008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
128
129        * libnetworking/libc/gethostbydns.c,
130        libnetworking/libc/gethostbyht.c,
131        libnetworking/libc/gethostbynis.c,
132        libnetworking/libc/gethostnamadr.c,
133        libnetworking/libc/getnetbydns.c,
134        libnetworking/libc/getnetbynis.c,
135        libnetworking/libc/getnetnamadr.c,
136        libnetworking/libc/nsap_addr.c,
137        libnetworking/libc/res_debug.c,
138        libnetworking/libc/res_send.c: Add missing prototypes.
139
1402008-08-02      Ralf Corsépius <ralf.corsepius@rtems.org>
141
142        * libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
143        * libmd/md4.c, libmd/md5.c: Add missing prototypes.
144        * libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
145        libmisc/shell/shell_script.c: Add missing prototypes.
146
1472008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
148
149        * libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
150
1512008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
152
153        * librpc/include/rpc/clnt.h: Cleanup.
154        * librpc/include/rpc/svc.h: Cleanup.
155
1562008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
157
158        * librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
159        librpc/src/xdr/xdr_sizeof.c, librpc/src/xdr/xdr_stdio.c:
160        Misc. ansifications. Add prototypes.
161
1622008-08-01      Joel Sherrill <joel.sherrill@OARcorp.com>
163
164        * rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
165
1662008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
167
168        * librpc/src/rpc/getrpcport.c: Misc. ansifications.
169        * librpc/src/rpc/getrpcent.c: Remove stray local decls.
170        Misc. ansifications.
171        * librpc/src/rpc/clnt_perror.c: Misc. ansifications.
172        * librpc/src/rpc/get_myaddress.c: Misc. ansifications.
173        * librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
174        * librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
175        * librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
176        * librpc/src/rpc/clnt_raw.c: Add missing prototypes.
177        * librpc/src/rpc/clnt_udp.c: Add missing prototypes.
178        * librpc/src/rpc/svc_auth.c: Add missing prototypes.
179        * librpc/src/rpc/svc_raw.c: Add missing prototypes.
180        * librpc/src/rpc/svc_tcp.c: Add missing prototypes.
181        * librpc/src/rpc/svc_udp.c: Add missing prototypes.
182
1832008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
184
185        * librpc/src/rpc/svc.c: Add missing prototypes.
186        * librpc/src/xdr/xdr_rec.c: Remove register vars.
187        * librpc/src/xdr/xdr_mem.c: Misc. ansifications.
188        * librpc/src/rpc/svc_tcp.c: Misc. ansifications.
189        * librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
190        * librpc/src/rpc/svc_raw.c: Misc. ansifications.
191        * librpc/src/xdr/xdr_rec.c: Misc. ansifications.
192        * librpc/src/rpc/svc_simple.c: Add missing prototypes.
193        * librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
194        * librpc/src/rpc/rpcdname.c: Add missing prototypes.
195        * librpc/src/rpc/rpc_prot.c: Misc. ansifications.
196        * librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
197        * librpc/src/rpc/clnt_simple.c: Misc. ansifications.
198        * librpc/src/rpc/auth_unix.c: Misc. ansifications.
199        Add missing prototypes.
200        * librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
201        Misc. ansifications.
202
2032008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
204
205        * librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
206        librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
207        librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
208        librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
209        librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
210        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
211        Eliminate __P().
212
2132008-08-01      Ralf Corsépius <ralf.corsepius@rtems.org>
214
215        * score/include/rtems/score/thread.h: Add missing prototype.
216        * score/inline/rtems/score/thread.inl: Add missing prototypes.
217        * libfs/src/nfsclient/src/nfs.c: Add missing prototype.
218        * libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
219        libnetworking/netinet/in_cksum_m68k.h,
220        libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
221        libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
222        libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
223        * itron/include/itronsys/types.h: Add missing prototype.
224        * ftpd/ftpd.c: Fix broken prototype.
225        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
226        Add missing prototypes.
227
2282008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
229
230        * libmisc/shell/main_rm.c: sys/mount.h is not available when networking
231        is disabled but luckily it is not even needed to compile.
232
2332008-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
234
235        * libmisc/shell/main_netstats.c: Add missing prototypes.
236        * libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
237        * shttpd/compat_rtems.c: Replace C++-comments with C-comments.
238
2392008-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
240
241        * httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
242        httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
243        httpd/wsIntrn.h: Add missing protoypes.
244
2452008-07-29      Tim Cussins <timcussins@eml.cc>
246
247        * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
248        conditional.
249
2502008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
251
252        * libmisc/monitor/mon-monitor.c: Remove stray arg from function
253        call.
254
2552008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
256
257        * ftpd/ftpd.c, ftpd/ftpd.h: Add missing prototypes.
258
2592008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
260
261        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
262        libmisc/monitor/monitor.h: Add missing prototypes.
263        * score/inline/rtems/score/tod.inl: Add prototypes.
264        * score/src/coretodset.c: Remove stray args in function call.
265        * libcsupport/include/rtems/libcsupport.h,
266        libcsupport/include/rtems/libio_.h,
267        libcsupport/src/malloc_statistics_helpers.c,
268        libcsupport/src/scandir.c: Add prototypes.
269        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
270        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
271        posix/src/prwlockrdlock.c: Use C-style comments.
272
2732008-07-29      Chris Johns <chrisj@rtems.org>
274
275        * libblock/src/nvdisk.c: Fix block compile bug.
276
2772008-07-29      Chris Johns <chrisj@rtems.org>
278
279        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
280        Update the comments.
281
2822008-07-29      Chris Johns <chrisj@rtems.org>
283
284        * libblock/Makefile.am: Removed src/show_bdbuf.c.
285
286        * libblock/src/show_bdbuf.c: Removed.
287
288        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
289        Rewritten the bdbuf code. Remove pre-emption disable, score
290        access, fixed many bugs and increased performance.
291
292        * libblock/include/rtems/blkdev.h: Added
293        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
294        comments. Added block and user fields to the sg buffer
295        request. Move to rtems_* namespace.
296
297        * libblock/include/rtems/diskdevs.h,
298        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
299        capabilities field for drivers. Change rtems_disk_lookup to
300        rtems_disk_obtain to match the release call. You do not lookup and
301        release a disk, you obtain and release a disk.
302
303        * libblock/include/rtems/ide_part_table.h,
304        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
305        Move to rtems_* namespace.
306
307        * libblock/include/rtems/nvdisk.h: Formatting change.
308
309        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
310        rtems_disk_lookup to rtems_disk_obtain
311
312        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
313        support for the block number in the scatter/grather request
314        struct. This allows non-continuous buffer requests for those
315        drivers that can support increasing performance.
316
317        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
318        warnings. Added better error checking. Fixed some comments.
319
320        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
321        trace functions to help debugging upper layers. Use the new
322        support for the block number in the scatter/grather request
323        struct. This allows non-continuous buffer requests for those
324        drivers that can support increasing performance.
325
326        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
327        API. Removed temporary hack and changed
328        set_errno_and_return_minus_one to
329        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
330        header and stopped it being inlined. Updated to libblock changes.
331       
332        * libfs/src/dosfs/fat_fat_operations.c,
333        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
334        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
335        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
336        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
337        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
338        new chains API. Removed temporary hack and changed
339        set_errno_and_return_minus_one to
340        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
341
342        * libmisc/Makefile.am: Add new ls and rm command files.
343
344        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
345        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
346        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
347        libmisc/shell/vis.c, shell/vis.h: New.
348
349        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
350        libmisc/shell/utils-cp.c: Fixed the usage call bug.
351
352        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
353        command.
354
355        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
356        commands with more features.
357       
358        * score/src/coremutex.c: Fix the strick order mutex code.
359
360        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
361        and no ASR.
362       
363        * sapi/include/confdefs.h: Change ata_driver_task_priority to
364        rtems_ata_driver_task_priority. Add the new BD buf cache
365        parameters with defaults.
366
367        * score/src/interr.c: Do not return if the CPU halt call returns.
368       
3692008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
370
371        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
372        bsp_libc_init() into new bootcard.h.
373
374        * cpukit/include/rtems/irq-extension.h: New function
375        rtems_interrupt_handler_iterate() for system information and
376        diagnostics.
377
3782008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
379
380        * libmisc/shell/shell_script.c: Clean up code for command not found
381        including the error message.
382
3832008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
384
385        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
386        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
387        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
388        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
389        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
390        internal routine. This makes it possible to also print string names
391        of POSIX objects. Adjust task report to realign since we can have
392        longer names.
393
3942008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
395
396        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
397        body is now completely configured via the Configuration table.
398
3992008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
400
401        PR 1291/cpukit
402        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
403        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
404        posix/include/rtems/posix/semaphore.h,
405        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
406        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
407        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
408        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
409        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
410        posix/src/posixtimespecabsolutetimeout.c,
411        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
412        posix/src/semaphoretranslatereturncode.c,
413        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
414        posix/src/semtrywait.c, posix/src/semwait.c,
415        posix/src/sigtimedwait.c, posix/src/timersettime.c,
416        posix/src/ualarm.c, rtems/src/semobtain.c,
417        rtems/src/semtranslatereturncode.c,
418        score/include/rtems/score/coremutex.h,
419        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
420        patch addresses issues on implementation of the timeout on the
421        following POSIX services. Some of these services incorrectly took a
422        timeout as a relative time. Others would compute a 0 delta to timeout
423        if the absolute time and the current time were equal and thus
424        incorrectly block the caller forever. The root of the confusion is
425        that POSIX specifies that if the timeout is incorrect (e.g. in the
426        past, is now, or is numerically invalid), that it does not matter if
427        the call would succeed without blocking. This is in contrast to RTEMS
428        programming style where all errors are checked before any critical
429        sections are entered. This fix implemented a more uniform way of
430        handling POSIX absolute time timeouts.
431            + pthread_cond_timedwait - could block forever
432            + mq_timedreceive - used relative not absolute time
433            + mq_timedsend - used relative not absolute time
434            + pthread_mutex_timedlock - used relative not absolute time
435            + pthread_rwlock_timedrdlock- used relative not absolute time
436            + pthread_rwlock_timedwrlock- used relative not absolute time
437            + sem_timedwait - could block forever
438
4392008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
440
441        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
442        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
443        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
444        libmisc/shell/main_whoami.c: Add pthread command to monitor when
445        POSIX is enabled. Remove include of rtems/monitor.h from files not
446        related.
447
4482008-07-16      Till Straumann <strauman@slac.stanford.edu>
449
450        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
451        use ppc_interrupt_get_disable_mask() to determine
452        which bits to set/clear from _CPU_ISR_Set_level().
453
4542008-07-16      Till Straumann <strauman@slac.stanford.edu>
455
456        * score/cpu/powerpc/rtems/powerpc/registers.h:
457        added ppc_interrupt_get_disable_mask() inline function.
458
4592008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
460
461        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
462
4632008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
464
465        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
466        for rtems_shell_init(). This makes it possible to run the shell
467        forever or invoke it from a program as a subroutine, have a user
468        enter commands, and wait for it to exit.
469
4702008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
471
472        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
473        RTEMS version string.
474        * sapi/src/getversionstring.c: New file.
475
4762008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
477
478        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
479        cpukit/score/cpu/m68k/rtems/score/cpu.h,
480        score/cpu/m68k/rtems/score/m68k.h:
481
482        added support to save coldfire FPU/EMAC context
483
4842008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
485
486        * libi2c/libi2c.c, libi2c/libi2c.h:
487        make buffer passed to *write* functions a const pointer
488
489
4902008-07-10      Till Straumann <strauman@slac.stanford.edu>
491
492        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
493        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
494        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
495        Removed all macro definitions which depended on
496        the compiler defining a PPC CPU-model dependent
497        symbol.
498        Macros which were not used by cpukit have been
499        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
500       
5012008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
502
503        * include/rtems/status-checks.h: Fix style.
504
5052008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
506
507        * rtems/include/rtems/rtems/intr.h: Documentation.
508
509        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
510        Interrupt Manager (shared handler and handler with a handle).
511
512
5132008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
514
515        * cpukit/include/rtems/status-checks.h: Macros for status code and
516        return value checks.
517
518        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
519
520        * cpukit/libfs/src/dosfs/msdos_dir.c,
521        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
522        to file mode.
523
524        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
525        messages.  Driver operations table is now constant.  New entry in the
526        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
527        continuously transmitted in read only functions.
528
5292008-07-03      Chris Johns <chrisj@rtems.org>
530
531        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
532        interface that is supported.
533
534        * cpukit/libcsupport/Makefile.am,
535        cpukit/libcsupport/preinstall.am: Remove chain.h header
536        references.
537
538        * cpukit/sapi/include/rtems/chain.h,
539        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
540        interface.
541
542        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
543        include the new chains interface.
544
545        * cpukit/libfs/src/imfs/imfs.h,
546        cpukit/libfs/src/imfs/imfs_creat.c,
547        cpukit/libfs/src/imfs/imfs_debug.c,
548        cpukit/libfs/src/imfs/imfs_directory.c,
549        cpukit/libfs/src/imfs/imfs_fsunmount.c,
550        cpukit/libfs/src/imfs/imfs_getchild.c,
551        cpukit/libfs/src/imfs/imfs_load_tar.c,
552        cpukit/libfs/src/imfs/imfs_rmnod.c,
553        cpukit/libfs/src/imfs/memfile.c,
554        cpukit/libfs/src/nfsclient/src/nfs.c,
555        cpukit/libcsupport/include/rtems/libio.h,
556        cpukit/libcsupport/src/malloc_deferred.c,
557        cpukit/libcsupport/src/mount.c,
558        cpukit/libcsupport/src/privateenv.c,
559        cpukit/libcsupport/src/unmount.c: Change to the new chains
560        interface.
561
562        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
563
5642008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
565
566        * score/include/rtems/score/thread.h,
567        score/src/threaddispatch.c, score/src/threadinitialize.c:
568        Support rtems_ada_self iff __RTEMS_ADA__ is given.
569
5702008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
571
572        * libmisc/shell/shell_script.c: Remove unused function.
573
5742008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
575
576        * configure.ac: Add __RTEMS_ADA__.
577
5782008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
579
580        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
581        libnetworking/libc/getservbyname.c,
582        libnetworking/libc/getservbyport.c: Add initial versions of
583        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
584        point they are just simple weappers for the version without the _r in
585        the name.
586
5872008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
588
589        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
590        Review association tables in monitor.
591
5922008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
593
594        * configure.ac, rtems/src/semtranslatereturncode.c,
595        score/include/rtems/score/coremutex.h,
596        score/include/rtems/score/thread.h,
597        score/inline/rtems/score/coremutex.inl,
598        score/src/coremutex.c, score/src/coremutexsurrender.c,
599        score/src/threadinitialize.c:
600        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
601
6022008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
603
604        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
605        * libgnat/Makefile.am: Use LIBGNAT.
606        * wrapup/Makefile.am: Use LIBGNAT.
607
6082008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
609
610        * acinclude.m4: Add magic to update cpuopt.h.
611        * configure.ac: Remove magic to update cpuopt.h.
612
6132008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
614
615        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
616        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
617        Cleanup mal-formated RTEMS_CPUOPT's.
618
6192008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
620
621        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
622        AC_PREREQ(2.62).
623
6242008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
625
626        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
627        than a number.
628
6292008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
630
631        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
632        still reserved memory for the reentrancy structure. This is about 1K
633        per task. On psim, we now reserve only 1936 bytes and only 240 remain
634        after all allocations. Further analysis will be required to narrow
635        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
636        be defined and the structure named Configuration_Memory_Debug will be
637        instantiated. This structure contains many of the component values
638        that go into the memory reservation computation. This is helpful when
639        tracking down problems.
640
6412008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
642
643        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
644        was always adding heap overhead even when the number of objects
645        configured was zero and we would not do an allocation. This resulted
646        in an over estimation of the amount of Workspace required (~2K on
647        minimum.exe on PowerPC).
648
6492008-06-17      Chris Johns <chrisj@rtems.org>
650
651        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
652        remove warning.
653       
654        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
655        priority level for large memory Coldfires.
656
6572008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
658
659        * rtems/include/rtems/rtems/config.h,
660        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
661        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
662        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
663
6642008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
665
666        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
667        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
668        CONFIGURE_MAXIMUM_PRIORITY.
669
6702008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
671
672        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
673        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
674        sapi/include/confdefs.h, sapi/include/rtems/config.h,
675        score/inline/rtems/score/stack.inl, score/src/isr.c,
676        score/src/mpci.c, score/src/threadcreateidle.c,
677        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
678        ability for application to configure minimum stack size. Add
679        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
680        indicate they want the configured as opposed to the recommended
681        minimum stack size.
682
6832008-06-10      Chris Johns <chrisj@rtems.org>
684
685        * score/include/rtems/score/priority.h: Let the CPU define the
686        maximum and minimum priority levels to reduce the amount of memory
687        thread chains use.
688
6892008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
690
691        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
692        rtems/include/rtems/rtems/config.h,
693        rtems/include/rtems/rtems/dpmem.h,
694        rtems/include/rtems/rtems/eventset.h,
695        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
696        rtems/include/rtems/rtems/ratemon.h,
697        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
698        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
699        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
700        Classic API Doxygen.
701
7022008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
703
704        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
705        score/include/rtems/score/thread.h: Complete previous patch. Add
706        typedef for cpu usage statistics.
707
7082008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
709
710        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
711        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
712        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
713        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
714        score/src/threaddispatch.c, score/src/threadinitialize.c,
715        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
716        period timing statistics. Also renamed related variables and
717        structure members so they are the same whether you are using
718        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
719        granularity. This lays the groundwork for future cleanup.
720
7212008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
722
723        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
724        particular, there was a report from that Matthew Riek that memory was
725        being reserved twice for the IDLE task. This was covering up other
726        places that under allocated memory. Before I was done, I had reworked
727        the file to be easier to read, maintain and be more accurate.
728
7292008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
730
731        * score/include/rtems/score/isr.h, score/src/isr.c: Use
732        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
733        memory for vector table.
734
7352008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
736
737        * score/src/wkspace.c: Fix error in comment.
738
7392008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
740
741        * posix/src/psignal.c: Do not allocate any memory for queued signals if
742        the configuration parameter is 0. Before we would end up with an
743        allocation of 0 which rounded up and wasted some memory when POSIX
744        was configured.
745
7462008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
747
748        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
749        the target toolset uses init/fini sections.
750
7512008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
752
753        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
754        has no functional data in the user extension data area structure so
755        this disables the definition, allocation and deallocation of that
756        structure. If we ever have to add data to it, then it will be easy to
757        reenable.
758
7592008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
760
761        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
762        score/src/threadget.c: Make sure the pointer to the API object table
763        is valid before derefencing it.
764
7652008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
766
767        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
768        calls for leading underscore on private RTEMS variables.
769
7702008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
771
772        * score/include/rtems/score/object.h,
773        score/include/rtems/score/watchdog.h: Move #include's out of
774        extern "C" {}.
775
7762008-05-30      Till Straumann <strauman@slac.stanford.edu>
777
778        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
779        release node if rtems_filesystem_evaluate_path() fails
780        in nfs_eval_link() since pathloc contains no valid node.
781
7822008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
783
784        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
785        while at prompt results in shell logging out and connection still
786        being available.
787
7882008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
789
790        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
791        fini() as part of exit(). This avoids atexit() being a required
792        function.
793
7942008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
795
796        * libmisc/shell/shell.c: Minor change so dropping connection during
797        login prompt results in connection still being available.
798
799
8002008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
801
802        * score/include/rtems/score/object.h,
803        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
804        and RTEMS_ID_NONE.  No object can have this ID.
805
8062008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
807
808        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
809        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
810        libcsupport/src/base_fs.c, libcsupport/src/error.c,
811        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
812        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
813        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
814        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
815        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
816        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
817        libfs/src/imfs/imfs_handlers_device.c,
818        libfs/src/imfs/imfs_handlers_directory.c,
819        libfs/src/imfs/imfs_handlers_link.c,
820        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
821        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
822        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
823        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
824        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
825        sapi/include/confdefs.h, sapi/include/rtems/io.h,
826        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
827        Added const qualifier to various pointers and data tables to
828        reduce size of data area.
829        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
830        DOSFS: Use LibBlock instead of read() to read the boot record.
831       
8322008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
833
834        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
835
8362008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
837
838        * libcsupport/src/printk.c:
839        Bugfix: String output without width option.
840
8412008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
842
843        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
844        Bugfix: Moved definition of ppp_softc into source file.
845
8462008-05-23      Till Straumann <strauman@slac.stanford.edu>
847
848        * libnetworking/netinet/ip_output.c: when fragmenting
849        multicast packets M_MCAST must be set on all fragments.
850        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
851        (see my email to rtems-users from 2008/5/15).
852
8532008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
854
855        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
856        itron/src/exd_tsk.c, itron/src/task.c,
857        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
858        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
859        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
860        posix/src/testcancel.c, rtems/src/taskdelete.c,
861        score/inline/rtems/score/object.inl, score/src/objectclose.c,
862        score/src/threadclose.c: Make all task delete/exit/cancel routines
863        follow the same critical section pattern. Also ensure that POSIX
864        cancelation routines are run at thread exit.
865
8662008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
867
868        * libcsupport/src/termios_baud2index.c,
869        libcsupport/src/termios_baud2num.c,
870        libcsupport/src/termios_num2baud.c,
871        libcsupport/src/termios_setinitialbaud.c: New files.
872
8732008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
874
875        * libcsupport/Makefile.am, libcsupport/preinstall.am,
876        libcsupport/include/rtems/termiostypes.h: Move termios helper
877        routines from libchip to libcsupport. Add routine which makes it easy
878        for a termios device driver to inform termios of its default baud
879        rate. This avoids inconsistencies in later termios settings changes.
880
8812008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
882
883        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
884
8852008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
886
887        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
888        interface for Watchdog Driver.
889        * libcsupport/include/rtems/watchdogdrv.h: New file.
890
8912008-05-16      Till Straumann <strauman@slac.stanford.edu>
892
893        * score/src/threadchangepriority.c: Just in case the transient
894        state was set when we entered, ensure that it is still set when
895        we exit.
896        * score/src/threadclose.c: When a thread is being deleted, it should
897        go into the dormant state -- not the transient state.
898
8992008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
900
901        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
902        driver private data
903
9042008-05-13      Eric Norum: <norume@aps.anl.gov>
905
906        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
907        structure assignment.
908
9092008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
910
911        * libi2c/libi2c.h: Fix typo.
912
9132008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
914
915        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
916        CPUKIT.
917
9182008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
919
920        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
921        initialization routines to rtems_initialize_data_structures,
922        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
923        rtems_initialize_start_multitasking. This opened the sequence up so
924        that bootcard() could provide a more robust and flexible framework
925        which is easier to explain and understand. This also lays the
926        groundwork for sharing the division of available memory between the
927        RTEMS workspace and heap and the C library initialization across all
928        BSPs.
929
9302008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
931
932        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
933        comments.
934
9352008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
936
937        * score/src/objectget.c: Improve comments and readability.
938
9392008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
940
941        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
942        score/src/coresemseize.c, score/src/threadhandler.c: Comment
943        improvements from class.
944
9452008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
946
947        PR 1285/rtems
948        * sapi/include/rtems/config.h: Remove obsolete
949        rtems_configuration_get_maximum_devices().
950
9512008-05-01      Chris Johns <chrisj@rtems.org>
952
953        * libblock/include/rtems/nvdisk-sram.h,
954        libblock/include/rtems/nvdisk.h,
955        libblock/src/nvdisk-sram.c,
956        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
957        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
958        the NV disk driver.
959
9602008-05-01  Maarten Van Es <maarten@mind.be>
961
962        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
963        interface for rtems_dhcp_failsafe.
964        * libnetworking/rtems/rtems_dhcp.h: Added interface for
965        rtems_dhcp_failsafe.
966
9672008-05-01  Arnout Vandecappelle <arnout@mind.be>
968
969        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
970        return on timeout in bootpc_call().  Removed panic()s.
971        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
972        SIOCAIFADDR ioctl call.
973        * libnetworking/rtems/rtems_dhcp_failsafe.c,
974        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
975        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
976        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
977
9782008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
979
980        * rtems/include/rtems/rtems/timer.h: Fix typo.
981
9822008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
983
984        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
985        rtems/include/rtems/rtems/status.h,
986        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
987        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
988
9892008-04-28      Daron Chabot <daron.chabot@usask.ca>
990
991        * posix/src/keycreate.c, posix/src/pthreadequal.c,
992        rtems/src/semtranslatereturncode.c,
993        score/src/threadblockingoperationcancel.c: Fix compilation errors
994        when --enable-rtems-debug is used.
995
9962008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
997
998        * score/include/rtems/system.h: Fix typo in comment.
999
10002008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1001
1002        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
1003        typos added with recent changes.
1004
10052008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1006
1007        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
1008        rtems_termios_reserve_resources. It is obsolete.
1009        * libcsupport/src/termiosreserveresources.c: Removed.
1010
10112008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1012
1013        * rtems/mainpage.h: New file.
1014
10152008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1016
1017        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
1018        rtems/include/rtems/rtems/attr.h,
1019        rtems/include/rtems/rtems/barrier.h,
1020        rtems/include/rtems/rtems/barriermp.h,
1021        rtems/include/rtems/rtems/cache.h,
1022        rtems/include/rtems/rtems/config.h,
1023        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1024        rtems/include/rtems/rtems/eventmp.h,
1025        rtems/include/rtems/rtems/eventset.h,
1026        rtems/include/rtems/rtems/intr.h,
1027        rtems/include/rtems/rtems/message.h,
1028        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1029        rtems/include/rtems/rtems/msgmp.h,
1030        rtems/include/rtems/rtems/options.h,
1031        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1032        rtems/include/rtems/rtems/ratemon.h,
1033        rtems/include/rtems/rtems/region.h,
1034        rtems/include/rtems/rtems/regionmp.h,
1035        rtems/include/rtems/rtems/rtemsapi.h,
1036        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1037        rtems/include/rtems/rtems/signal.h,
1038        rtems/include/rtems/rtems/signalmp.h,
1039        rtems/include/rtems/rtems/status.h,
1040        rtems/include/rtems/rtems/support.h,
1041        rtems/include/rtems/rtems/taskmp.h,
1042        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1043        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1044        rtems/inline/rtems/rtems/attr.inl,
1045        rtems/inline/rtems/rtems/barrier.inl,
1046        rtems/inline/rtems/rtems/dpmem.inl,
1047        rtems/inline/rtems/rtems/event.inl,
1048        rtems/inline/rtems/rtems/message.inl,
1049        rtems/inline/rtems/rtems/modes.inl,
1050        rtems/inline/rtems/rtems/options.inl,
1051        rtems/inline/rtems/rtems/part.inl,
1052        rtems/inline/rtems/rtems/ratemon.inl,
1053        rtems/inline/rtems/rtems/region.inl,
1054        rtems/inline/rtems/rtems/sem.inl,
1055        rtems/inline/rtems/rtems/status.inl,
1056        rtems/inline/rtems/rtems/support.inl,
1057        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
1058
10592008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1060
1061        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
1062        rtems/include/rtems/rtems/attr.h,
1063        rtems/include/rtems/rtems/barrier.h,
1064        rtems/include/rtems/rtems/barriermp.h,
1065        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
1066        rtems/include/rtems/rtems/config.h,
1067        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1068        rtems/include/rtems/rtems/eventmp.h,
1069        rtems/include/rtems/rtems/eventset.h,
1070        rtems/include/rtems/rtems/intr.h,
1071        rtems/include/rtems/rtems/message.h,
1072        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
1073        rtems/include/rtems/rtems/msgmp.h,
1074        rtems/include/rtems/rtems/object.h,
1075        rtems/include/rtems/rtems/options.h,
1076        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
1077        rtems/include/rtems/rtems/ratemon.h,
1078        rtems/include/rtems/rtems/region.h,
1079        rtems/include/rtems/rtems/regionmp.h,
1080        rtems/include/rtems/rtems/rtemsapi.h,
1081        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
1082        rtems/include/rtems/rtems/signal.h,
1083        rtems/include/rtems/rtems/signalmp.h,
1084        rtems/include/rtems/rtems/status.h,
1085        rtems/include/rtems/rtems/support.h,
1086        rtems/include/rtems/rtems/taskmp.h,
1087        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
1088        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
1089        rtems/inline/rtems/rtems/attr.inl,
1090        rtems/inline/rtems/rtems/barrier.inl,
1091        rtems/inline/rtems/rtems/dpmem.inl,
1092        rtems/inline/rtems/rtems/event.inl,
1093        rtems/inline/rtems/rtems/eventset.inl,
1094        rtems/inline/rtems/rtems/message.inl,
1095        rtems/inline/rtems/rtems/modes.inl,
1096        rtems/inline/rtems/rtems/options.inl,
1097        rtems/inline/rtems/rtems/part.inl,
1098        rtems/inline/rtems/rtems/ratemon.inl,
1099        rtems/inline/rtems/rtems/region.inl,
1100        rtems/inline/rtems/rtems/sem.inl,
1101        rtems/inline/rtems/rtems/status.inl,
1102        rtems/inline/rtems/rtems/support.inl,
1103        rtems/inline/rtems/rtems/tasks.inl,
1104        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
1105        header files to Doxygen.
1106        * rtems/Doxyfile: New file.
1107
11082008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1109
1110        * posix/src/key.c: Include <limits.h>
1111        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
1112        a NULL extension block.
1113
11142008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1115
1116        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
1117        application configuration errors. If any POSIX objects or a POSIX
1118        init thread is configured without POSIX being configure, then error
1119        out. Similarly for ITRON. Add
1120        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
1121        parameter so the application has to explicitly configure the Clock
1122        driver in or out if the Timer driver is not configured. Also verify
1123        RTEMS was built for multiprocessing, if the user tries to configure a
1124        multiprocessing application.
1125
11262008-04-12      Chris Johns <chrisj@rtems.org>
1127
1128        * libmisc/shell/shell.c, libmisc/shell/shell.h,
1129        libmisc/shell/shell_script.c: Add support to echo the commands to
1130        stdout. This is useful with the -v script option to show commands
1131        as the run. Also added support to chdir to the directory the task
1132        invoking the script is in.
1133        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
1134        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
1135        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
1136        support.
1137
11382008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
1139
1140        * score/include/rtems/score/tod.h: Fix typo.
1141
11422008-04-08      Chris Johns <chrisj@rtems.org>
1143
1144        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
1145        into argv parts. Was using the command line history buffer so the
1146        history was being corrupted.
1147
11482008-04-03      Chris Johns <chrisj@rtems.org>
1149
1150        * libfs/src/nfsclient/src/librtemsNfs.h,
1151        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
1152        external to RTEMS and even if in the cpukit it should not cross
1153        reference in this way.
1154        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
1155        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
1156        in the shell area.
1157        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
1158        support.
1159
11602008-03-29      Chris Johns <chrisj@rtems.org>
1161
1162        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
1163        reported to the mailing list by Pierre Kestener
1164        (pierre.kestener@cea.fr).
1165
11662008-03-25      Till Straumann <strauman@slac.stanford.edu>
1167
1168        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
1169          coldfire.
1170
11712008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1172
1173        * libmisc/shell/cmds.c: Directly register the command structure to
1174        avoid unnecessary duplication of static strings. We know best this
1175        time.
1176
11772008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1178
1179        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
1180        for the ITRON initialization tasks ALL the time.
1181        Do not reserve memory for the object name table since it does not
1182        exist any longer.
1183        * sapi/include/rtems/sptables.h: Fix typo.
1184
11852008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1186
1187        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1188        rtems/src/clockget.c:
1189        * rtems/src/clockgetsecondssinceepoch.c,
1190        rtems/src/clockgettickspersecond.c,
1191        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
1192        rtems/src/clockgettodtimeval.c: New files.
1193        Refactored rtems_clock_get into 5 methods which are single purpose
1194        and more strongly typed.  They are:
1195            rtems_clock_get_tod - Get TOD in Classic API structure
1196            rtems_clock_get_tod_timeval - Get TOD in struct timeval
1197            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
1198            rtems_clock_get_ticks_since_boot - Get ticks since boot
1199            rtems_clock_get_ticks_per_second - Get ticks per second
1200
12012008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1202
1203        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
1204        libmisc/shell/shell_script.c: Add memset() of getopt_data to
1205        ensure it is zeroed out each time we use getopt_r().
1206        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
1207        This makes the scripts behave more like UNIX scripts.
1208
12092008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1210
1211        * posix/Makefile.am: Make clock_settime() available always just like
1212        clock_gettime().
1213
12142008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1215
1216        * score/include/rtems/score/copyrt.h: Update year.
1217
12182008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1219
1220        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
1221        by gcc newer than the 4.3 release series.
1222
12232008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1224
1225        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
1226        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1227        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
1228        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
1229        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
1230        libmisc/shell/shell.c, libmisc/shell/shell.h,
1231        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
1232        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
1233        capability to automatically execute a script from the filesystem. Add
1234        echo command from NetBSD and sleep command.
1235        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
1236        libmisc/shell/shell_script.c: New files.
1237
12382008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1239
1240        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
1241        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
1242        rtems/src/taskdelete.c, rtems/src/timerserver.c,
1243        score/src/threadclose.c, score/src/threadcreateidle.c,
1244        score/src/threadinitialize.c: Switch task create and delete
1245        operations to using API Allocator Mutex. This moves almost all uses
1246        of the RTEMS Workspace from dispatching disabled to mutex protected
1247        which should improve deterministic behavior. The implementation was
1248        carefully done to allow task create and delete extensions to invoke
1249        more services. In particular, a task delete extension should be able
1250        to do mutex and file operations.
1251
12522008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1253
1254        * libmisc/Makefile.am: Turn on NFS mount support when networking is
1255        enabled.
1256
12572008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1258
1259        * libcsupport/src/chroot.c: Formatting.
1260
12612008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1262
1263        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1264        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1265        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1266        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1267        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1268        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1269        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1270        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1271        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1272        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1273        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1274        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1275        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1276        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1277        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1278        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1279        libmisc/shell/shell.h: Clean up done while writing documentation.
1280        Some command improvements such as date now allows setting of the
1281        current TOD. Often commands did not use stdout/stderr per
1282        expectations and did not return -1 on an error.
1283
12842008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1285
1286        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1287        the use of RPC/XDR could be an issue, the code does build multilib
1288        across all targets. There are a few remaining warnings to deal with.
1289        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1290        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1291        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1292        libfs/src/nfsclient/rfc1094.txt,
1293        libfs/src/nfsclient/proto/mount_prot.h,
1294        libfs/src/nfsclient/proto/mount_prot.x,
1295        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1296        libfs/src/nfsclient/proto/nfs_prot.h,
1297        libfs/src/nfsclient/proto/nfs_prot.x,
1298        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1299        libfs/src/nfsclient/src/cexphelp.c,
1300        libfs/src/nfsclient/src/dirutils.c,
1301        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1302        libfs/src/nfsclient/src/nfs.modini.c,
1303        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1304        libfs/src/nfsclient/src/rpcio.h,
1305        libfs/src/nfsclient/src/rpcio.modini.c,
1306        libfs/src/nfsclient/src/sock_mbuf.c,
1307        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1308
13092008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1310
1311        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1312        missing field to default multiprocessing configuration table. Also
1313        document fields in Doxygen format.
1314
13152008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1316
1317        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1318        warnings.
1319
13202008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1321
1322        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1323        command to access statistics reporting functions in TCP/IP stack.
1324        * libmisc/shell/main_netstats.c: New file.
1325
13262008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1327
1328        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1329        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1330        ifconfig commands. The code for these was previously in the
1331        networking guide. Disable NFS filesystem mount until that code is in
1332        cpukit.
1333        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1334
13352008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1336
1337        * posix/preinstall.am,  libcsupport/preinstall.am:
1338        Revert Joel's  2008-01-31 screw up.
1339
13402008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1341
1342        * posix/include/rtems/posix/timer.h: Add c++ guards.
1343        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1344        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1345        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1346        MC68230_ to avoid preprocessor clashes.
1347
13482008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1349
1350        * posix/src/mqueueunlink.c, score/Makefile.am,
1351        score/include/rtems/score/object.h,
1352        score/inline/rtems/score/object.inl: Enhance
1353        _Objects_Namespace_remove() to handle freeing object names which are
1354        strings. All changed _Objects_Close() to call
1355        _Objects_Namespace_remove(). The resulting code was then moved from
1356        inline routines to function calls.
1357        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1358
13592008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1360
1361        * libcsupport/src/printk.c: Added width and padding for %s.
1362        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1363        strings longer than 4 chanracters.
1364
13652008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1366
1367        PR 1277/networking
1368        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1369        constraint for assembly language. This restricts the register choice
1370        to the a-d registers.
1371
13722008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1373
1374        * libnetworking/kern/uipc_socket2.c,
1375        libnetworking/netinet/tcp_usrreq.c,
1376        libnetworking/netinet/udp_usrreq.c,
1377        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1378        Add configuration parameters for network stack efficiency multiplier
1379        and default socket buffer sizes. Change default multiplier from 8 to
1380        2 to match GNU/Linux. This has no impact on performance on the BSPs
1381        tested.
1382
13832008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1384
1385        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1386        workspace manipulation routines for testing.
1387        * rtems/src/workspace.c: New file.
1388
13892008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1390
1391        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1392        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1393        Object Id of SELF.
1394
13952008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1396
1397        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1398        Minor modifications to improve testability.
1399        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1400
14012008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1402
1403        * posix/src/pthreadinitthreads.c: Clean up error paths.
1404
14052008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1406
1407        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1408        changes which aid in coverage testing.
1409
14102008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1411
1412        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1413        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1414        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1415        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1416        whether named or unnamed to have a string name.  If the API does
1417        not directly support having a name, then the user must explicitly
1418        assign it using rtems_object_set_name().
1419        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1420        * score/include/rtems/score/object.h,
1421        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1422        score/src/objectsetname.c: Modifications required to pass testing of
1423        recently modified object name operations.  Also eliminated
1424        multiprocessing related code that was not reachable.
1425
14262008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1427
1428        * posix/src/timersettime.c: Fix to remove warning.
1429
14302008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1431
1432        * libcsupport/src/posix_memalign.c: Remove warning.
1433
14342008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1435
1436        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1437        rtems/include/rtems/rtems/object.h,
1438        rtems/src/rtemsobjectgetapiclassname.c,
1439        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1440        cannot be used as a parameter.
1441
14422008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1443
1444        * score/Makefile.am, score/include/rtems/score/threadq.h,
1445        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1446        was really too complex to be inlined.
1447        * score/src/threadqprocesstimeout.c: New file.
1448
14492008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1450
1451        * score/Doxyfile: Revert Doxygen version changes.
1452
14532008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1454
1455        * score/Doxyfile: Update to latest Doxygen format.
1456        * score/include/rtems/score/apimutex.h,
1457        score/include/rtems/score/corebarrier.h,
1458        score/include/rtems/score/coremutex.h,
1459        score/include/rtems/score/corerwlock.h,
1460        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1461        score/include/rtems/score/protectedheap.h,
1462        score/include/rtems/score/thread.h,
1463        score/include/rtems/score/threadsync.h,
1464        score/include/rtems/score/tod.h,
1465        score/inline/rtems/score/corerwlock.inl,
1466        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1467        warnings.
1468
14692008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1470
1471        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1472        available when API is disabled. Do not attempt to use them.
1473
14742008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1475
1476        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1477
14782008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1479
1480        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1481        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1482        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1483        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1484        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1485        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1486        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1487        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1488        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1489        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1490        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1491        rtems/src/timerserver.c, score/Makefile.am,
1492        score/include/rtems/score/object.h,
1493        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1494        score/src/objectgetnameasstring.c,
1495        score/src/threadqextractwithproxy.c: Add new Object Services
1496        collection. This changed the name of a few previously public but
1497        undocumented services and added a some new services.
1498        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1499        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1500        rtems/src/rtemsobjectapiminimumclass.c,
1501        rtems/src/rtemsobjectgetapiclassname.c,
1502        rtems/src/rtemsobjectgetapiname.c,
1503        rtems/src/rtemsobjectgetclassicname.c,
1504        rtems/src/rtemsobjectgetclassinfo.c,
1505        rtems/src/rtemsobjectidapimaximum.c,
1506        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1507        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1508        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1509        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1510        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1511        * rtems/src/rtemsidtoname.c: Removed.
1512
15132008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1514
1515        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1516        switch statements to if statements.
1517
15182008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1519
1520        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1521        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1522        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1523        as helper and as exposed nmemalign variant with few restrictions.
1524        Also turn on compilation of _Heap_Walk but make forced calls to it
1525        conditionally compiled. This should allow more flexibility to the
1526        user as to run-time checking of the heap.
1527        * libcsupport/src/rtems_memalign.c: New file.
1528
15292008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1530
1531        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1532        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1533        Multiprocessing compiles again and survives initialization. The
1534        recent object name and confdefs.h changes had broken it.
1535
15362008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1537
1538        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1539        score/include/rtems/score/interr.h,
1540        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1541        Modifications to aid in full path testing.
1542
15432008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1544
1545        * posix/src/mqueuesendsupp.c: Remove warning.
1546
15472008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1548
1549        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1550        in public API.
1551
15522008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1553
1554        * score/include/rtems/score/object.h,
1555        score/src/objectextendinformation.c,
1556        score/src/objectinitializeinformation.c,
1557        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1558        not used.
1559
15602008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1561
1562        * score/src/objectnametoidstring.c: New file.
1563
15642008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1565
1566        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1567        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1568        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1569        libmisc/stackchk/check.c, posix/src/condinit.c,
1570        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1571        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1572        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1573        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1574        posix/src/prwlockinit.c, posix/src/pspininit.c,
1575        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1576        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1577        posix/src/timercreate.c, rtems/src/barrierident.c,
1578        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1579        rtems/src/ratemonident.c, rtems/src/regionident.c,
1580        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1581        sapi/src/extensionident.c, score/Makefile.am,
1582        score/include/rtems/score/object.h,
1583        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1584        score/src/objectextendinformation.c,
1585        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1586        score/src/objectnametoid.c: Convert the Objects_Name type from a
1587        simple type to a union of an unsigned 32 bit integer and a pointer.
1588        This should help eliminate weird casts between u32 and pointers in
1589        various places. The APIs now have to explicitly call _u32 or _string
1590        versions of helper routines. This should also simplify things and
1591        eliminate the need for ugly casts in some cases.
1592        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1593        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1594        score/src/objectcopynamestring.c: Removed.
1595
15962008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1597
1598        * score/src/threadblockingoperationcancel.c: Clean up.
1599        * score/src/threadqextract.c: Restructure to eliminate dead code.
1600
16012008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1602
1603        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1604        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1605        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1606        testing and clean up more code.
1607
16082008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1609
1610        * score/src/threadqfirst.c: Remove switch.
1611
16122008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1613
1614        * rtems/include/rtems/rtems/event.h,
1615        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1616        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1617        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1618        score/include/rtems/score/interr.h,
1619        score/include/rtems/score/thread.h,
1620        score/include/rtems/score/threadq.h,
1621        score/include/rtems/score/tqdata.h,
1622        score/inline/rtems/score/threadq.inl,
1623        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1624        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1625        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1626        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1627        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1628        score/src/threadqextractpriority.c,
1629        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1630        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1631        score/src/threadqflush.c, score/src/threadqrequeue.c,
1632        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1633        blocking synchronization critical sections. This resulted in three
1634        copies of essentially the same hard to test critical section code
1635        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1636        addition, the thread queue and event code now share a common
1637        synchronization enumerated type. Along the way, switches were
1638        reworked to eliminate dead code generated by gcc and comments and
1639        copyrights were updated.
1640        * score/include/rtems/score/threadsync.h,
1641        score/src/threadblockingoperationcancel.c: New files.
1642
16432008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1644
1645        * libi2c/README_libi2c: Correct spelling error.
1646        * score/src/threadclearstate.c: Improve comment.
1647
16482008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1649
1650        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1651        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1652        posix/src/timergettime.c, posix/src/timersettime.c,
1653        score/include/rtems/score/timespec.h:
1654
16552008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1656
1657        * libmisc/shell/Makefile.am: Don't use make variables.
1658
16592008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1660
1661        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1662        existing one.
1663
16642008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1665
1666        * score/include/rtems/score/wkspace.h,
1667        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1668        inline _Workspace_Free or _Workspace_Allocate since they are not
1669        always inlined and actually smaller overall as subroutines. They are
1670        not particularly time critical so inlining is not absolutely
1671        necessary.
1672
16732008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1674
1675        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1676        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1677        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1678        Condition Variable object get helpers because they are more
1679        complicated than the norm. They can implicitly perform a create. They
1680        cross the line as being too complex and large to inline since they
1681        negatively impact size and binary test coverage.
1682        * posix/src/condget.c, posix/src/mutexget.c: New files.
1683
16842008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1685
1686        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1687        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1688        * libcsupport/src/malloc_p.h: Correct prototype.
1689
16902008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1691
1692        * score/include/rtems/score/coremutex.h,
1693        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1694        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1695
16962008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1697
1698        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1699
17002008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1701
1702        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1703        libcsupport/src/free.c, libcsupport/src/malloc.c,
1704        libcsupport/src/malloc_deferred.c,
1705        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1706        libcsupport/src/malloc_sbrk_helpers.c,
1707        libcsupport/src/posix_memalign.c: Place all deferred free code and
1708        place it in subroutines. Add plugin for dirtying allocated memory to
1709        assist in debugging. Clean up comments and spacing as needed.
1710        * libcsupport/src/malloc_dirtier.c: New file.
1711
17122008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1713
1714        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1715        when there is an error.
1716
17172008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1718
1719        * posix/src/keycreate.c, rtems/src/eventseize.c,
1720        score/include/rtems/score/interr.h: Rearranged source to allow more
1721        test coverage.
1722
17232008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1724
1725        * libcsupport/src/__assert.c: Clean up and make __assert() call
1726        __assert_func().
1727
17282008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1729
1730        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1731        need to have it also.
1732
17332008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1734
1735        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1736        * libcsupport/include/rtems/malloc.h,
1737        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1738        libcsupport/src/malloc_p.h,
1739        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1740        support pluggable and optional.  This eliminates the need for
1741        heap extend and sbrk in the minimum footprint which is ~2.5K on
1742        the SPARC.
1743        * sapi/include/confdefs.h: Add the following configuration points:
1744          + CONFIGURE_MALLOC_STATISTICS
1745          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1746        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1747
17482008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1749
1750        * score/Makefile.am: Add missing file.
1751
17522008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1753
1754        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1755
17562008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1757
1758        * libmisc/Makefile.am: Add new files.
1759        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1760        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1761        * libmisc/shell/shellconfig.h: Add wkspace command.
1762        * libmisc/shell/main_wkspaceinfo.c,
1763        libmisc/shell/print_heapinfo.c: New files.
1764
17652008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1766
1767        * score/inline/rtems/score/isr.inl: Fix spacing.
1768        * score/src/apimutexallocate.c: Fix spacing.
1769        * score/src/coremsgseize.c: Check for message pending instead of
1770        message pending count to avoid dead code from inlined chain routine.
1771        It checks if the chain is empty so is redundant to count == 0.
1772
17732008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1774
1775        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1776        up.
1777
17782008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1779
1780        * posix/src/pthreadcreate.c: Add commit.
1781        * posix/src/pthreadinitthreads.c: Fix line length.
1782
17832008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1784
1785        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1786
17872008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1788
1789        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1790        coding it.
1791
17922008-01-05      Chris Johns <chrisj@rtems.org>
1793
1794        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1795        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1796        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1797        control fields. Add more control fields to handle the flash when
1798        full.
1799        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1800        detects a descriptor is erased. Add support for unavailable blocks
1801        the user can configure. Print the used list as a diag. Fix the bug
1802        when a page is detected as failed and present on more than one
1803        queue. Add a count to the queues so queue length can be used to
1804        manage compaction.
1805       
18062008-01-03      Till Straumann <strauman@slac.stanford.edu>
1807
1808        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1809        cannot call _fini via atexit() from rtems_shutdown_executive()
1810        because at the point where rtems_shutdown_executive is called
1811        the C-library is already dead.
1812        Instead, register an atexit(_fini) after calling _init().
1813
18142007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1815
1816        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1817        Hopefully this implementation is OK.
1818        * libcsupport/src/_rename_r.c: New file.
1819
18202007-12-22      Chris Johns <chrisj@rtems.org>
1821
1822        * configure.ac: fixed bug that always enabled strict order
1823        mutexes.
1824        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1825        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1826        list if the mutex is initialised locked.
1827        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1828        message to show the error is an rtems-net error.
1829        * libmisc/monitor/mon-network.c: Removed warnings.
1830        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1831        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1832        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1833        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1834        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1835        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1836        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1837        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1838        libmisc/shell/warnx.c: New. Ported from BSD.
1839        * libmisc/shell/shellconfig.h: Add the cp command.
1840        * libmisc/Makefile.am: Add the new files to the shell.
1841        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1842        support.
1843        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1844        bug.
1845       
18462007-12-21      Xi Yang <hiyangxi@gmail.com>
1847
1848        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1849        of priority inheritance on mutexes as well as enforce proper order of
1850        release.
1851
18522007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1853
1854        * configure.ac, score/include/rtems/score/coremutex.h,
1855        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1856        inlining coremutex seize. This reduces the code size and also
1857        improves the process of coverage analysis.
1858        * score/src/coremutexseizeintr.c: New file.
1859
18602007-12-21      Xi Yang <hiyangxi@gmail.com>
1861
1862        * configure.ac, score/include/rtems/score/coremutex.h,
1863        score/include/rtems/score/thread.h,
1864        score/inline/rtems/score/coremutex.inl,
1865        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1866        support for proper stacking of priority inheritance on mutexes as
1867        well as enforce proper order of release.
1868
18692007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1870
1871        PR 1268/cpukit
1872        * libcsupport/include/rtems/assoc.h: There is no
1873        rtems_assoc_ptr_by_value method.
1874
18752007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1876
1877        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1878        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1879
18802007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1881
1882        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1883
18842007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1885
1886        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1887
18882007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1889
1890        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1891        rtems_task_self() directive.
1892        * rtems/src/taskself.c: New file.
1893
18942007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1895
1896        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1897        and resolved copyright information.
1898        * posix/src/kill_r.c: New file.
1899
19002007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1901
1902        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1903
19042007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1905
1906        * sapi/include/confdefs.h: Revert. Requires info not available at
1907        preprocessing time.
1908
19092007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1910
1911        * sapi/include/confdefs.h: Catch the error when the user lowers the
1912        maximum number of drivers below the number of statically configured
1913        ones.
1914
19152007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1916
1917        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1918        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1919        Manager clean up. Update object id switches to new pattern. Catch
1920        some NULL parameter errors.
1921
19222007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1923
1924        * posix/src/psignalunblockthread.c: Remove source that
1925
19262007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1927
1928        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1929        only
1930
19312007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1932
1933        * posix/src/psignal.c: Move source around to enable path testing
1934
19352007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1936
1937        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1938        libcsupport/src/free.c, libcsupport/src/malloc.c,
1939        libcsupport/src/malloc_p.h,
1940        libcsupport/src/malloc_report_statistics_plugin.c,
1941        libmisc/shell/shell.c, libmisc/shell/shell.h,
1942        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1943        out management of deferred frees to subroutines.
1944        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1945
19462007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1947
1948        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1949        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1950        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1951        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1952        one function per file. Also split out statistics into a separate file
1953        which can be plugged in dynamically. Right now, it is always in. I
1954        suspect that splitting the file removed more code than leaving
1955        statistics in. I tinkered with malloc information command in the
1956        shell. I resurrected the malloc arena code as malloc boundary. This
1957        code is now compiled all the time even though it does not appear to
1958        work.
1959        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1960        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1961        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1962        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1963        libcsupport/src/malloc_get_statistics.c,
1964        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1965        libcsupport/src/malloc_report_statistics.c,
1966        libcsupport/src/malloc_report_statistics_plugin.c,
1967        libcsupport/src/malloc_statistics_helpers.c,
1968        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1969        libmisc/shell/main_perioduse.c: New files.
1970
19712007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1972
1973        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1974        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1975        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1976        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1977        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1978        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1979        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1980        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1981        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1982        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1983        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1984        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1985        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1986        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1987        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1988        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1989        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1990        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1991        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1992        rtems_Shell_ to rtems_shell_.
1993
19942007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1995
1996        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1997        with info and dump as replacement for older command. Fix what looked
1998        like a typo for mount sub-commands.
1999        * libmisc/shell/main_mallocinfo.c: New file.
2000        * libmisc/shell/main_mallocdump.c: Removed.
2001
20022007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2003
2004        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
2005        malloc_info() routine.
2006        * libcsupport/src/mallocinfo.c: New file.
2007
20082007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2009
2010        * libmisc/stackchk/check.c: Add print of current stack pointer and
2011        stack info even if stack checker is not initialized.
2012
20132007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2014
2015        * libcsupport/src/printk.c: Style.
2016
20172007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2018
2019        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
2020        required in multiprocessing configuration.
2021
20222007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2023
2024        * score/src/objectget.c: Revert.
2025
20262007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2027
2028        * posix/src/timergettime.c: Include rtems/score/timespec.h
2029
20302007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2031
2032        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
2033        posix/include/mqueue.h, posix/include/sched.h,
2034        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
2035        posix/include/rtems/posix/priority.h,
2036        posix/include/rtems/posix/psignal.h,
2037        posix/include/rtems/posix/threadsup.h,
2038        posix/include/rtems/posix/timer.h,
2039        posix/inline/rtems/posix/priority.inl,
2040        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
2041        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
2042        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
2043        posix/src/cleanuppush.c, posix/src/cond.c,
2044        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
2045        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
2046        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
2047        posix/src/conddestroy.c, posix/src/condinit.c,
2048        posix/src/condsignal.c, posix/src/condsignalsupp.c,
2049        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
2050        posix/src/keycreate.c, posix/src/keydelete.c,
2051        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
2052        posix/src/keysetspecific.c, posix/src/mqueue.c,
2053        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2054        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2055        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
2056        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
2057        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
2058        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2059        posix/src/mqueueunlink.c, posix/src/mutex.c,
2060        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
2061        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2062        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2063        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2064        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2065        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2066        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2067        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2068        posix/src/psignal.c, posix/src/psignalchecksignal.c,
2069        posix/src/psignalclearprocesssignals.c,
2070        posix/src/psignalclearsignals.c,
2071        posix/src/psignalsetprocesssignals.c,
2072        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2073        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
2074        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
2075        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
2076        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
2077        posix/src/semclose.c, posix/src/semdestroy.c,
2078        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
2079        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
2080        posix/src/semwait.c, posix/src/setcancelstate.c,
2081        posix/src/setcanceltype.c, posix/src/sysconf.c,
2082        posix/src/testcancel.c: Add missing copyright statements.
2083
20842007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2085
2086        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2087
20882007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
2089
2090        * posix/Makefile.am, posix/preinstall.am,
2091        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
2092        Timer implementation into multiple files. Add obvious error checks
2093        for NULL parameters. Attempt to reduce include files.
2094        * posix/src/timercreate.c, posix/src/timerdelete.c,
2095        posix/src/timergetoverrun.c, posix/src/timergettime.c,
2096        posix/src/timerinserthelper.c, posix/src/timersettime.c,
2097        posix/src/timertsr.c: New files.
2098        * posix/src/ptimer1.c: Removed.
2099
21002007-12-17      Chris Johns <chrisj@rtems.org>
2101
2102        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
2103        libmisc/shell/main_unmount.c: New.
2104        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
2105        blksync, msdosfmt, and unmount commands.
2106
21072007-12-17      Chris Johns <chrisj@rtems.org>
2108
2109        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
2110        system opts table.
2111        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
2112        system opts table.
2113        * libmisc/Makefile.am: Add the mount command and supporting files.
2114        * libmisc/preinstall.am: Rebuilt.
2115        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
2116        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2117        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2118        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2119        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2120        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2121        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2122        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2123        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2124        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2125        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2126        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2127        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2128        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2129        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
2130        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
2131        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
2132        libmisc/shell/write_file.c: Move all shell_* types, variables and
2133        functions to rtems_shell_* to avoid namespace clashes with
2134        applications. The is an RTEMS shell after all.
2135        * libmisc/shell/shell.h, libmisc/shell/internal.h,
2136        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
2137        functions to rtems_shell_* to avoid namespace clashes with
2138        applications. Add the mount command supporting types.
2139        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
2140        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
2141        libmisc/shell/main_mount_tftp.c: New.
2142       
21432007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2144
2145        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2146
21472007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2148
2149        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
2150        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
2151        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
2152        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
2153        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
2154        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
2155        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
2156        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
2157        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
2158        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
2159        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
2160        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
2161        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
2162        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
2163        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
2164        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
2165        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
2166        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
2167        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
2168        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
2169        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
2170        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
2171        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
2172        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
2173        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
2174        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
2175        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
2176        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
2177        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
2178        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
2179
21802007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2181
2182        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
2183        API.
2184
21852007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2186
2187        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
2188        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
2189        Minor cleanup to improve testability and eliminate dead code.
2190
21912007-12-12      Chris Johns <chrisj@rtems.org>
2192
2193        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2194        Add RTEMS license details.
2195
21962007-12-12      Chris Johns <chrisj@rtems.org>
2197
2198        * Makefile.am, preinstall.am: Added
2199        libblock/include/rtems/flashdisk.h to the installed header list.
2200        * libblock/Makefile.am: Add flashdisk.c to the files to build.
2201        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
2202        New.
2203
22042007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2205
2206        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
2207        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
2208        score/Makefile.am, score/preinstall.am: Revert testing patch.
2209
22102007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2211
2212        * posix/src/sched_rr_get_interval.c: Fix warning.
2213
22142007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2215
2216        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
2217        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
2218        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
2219        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
2220        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
2221        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
2222        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
2223        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
2224        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
2225        files into one function per file.
2226        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
2227        posix/src/aio_read.c, posix/src/aio_return.c,
2228        posix/src/aio_suspend.c, posix/src/aio_write.c,
2229        posix/src/lio_listio.c, posix/src/sched_getparam.c,
2230        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
2231        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
2232        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
2233        posix/src/sched_yield.c: New files.
2234        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2235
22362007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2237
2238        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
2239        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
2240        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2241        posix/src/clocksettime.c, posix/src/devctl.c,
2242        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
2243        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
2244        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
2245        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2246
22472007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2248
2249        * posix/src/adjtime.c: Clean up and verify against behavior documented
2250        in GNU/Linux man page provided with Fedora 7.
2251
22522007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2253
2254        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
2255        automake variables.
2256
22572007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2258
2259        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2260        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2261        rtems/src/taskvariabledelete.c: Add test code for task variables to
2262        improve coverage.
2263        * rtems/src/taskvariable_invoke_dtor.c: New file.
2264
22652007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2266
2267        * posix/preinstall.am: Revert debug patch.
2268
22692007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2270
2271        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2272        BSP.
2273
22742007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2275
2276        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2277
22782007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2279
2280        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2281        disabled.
2282
22832007-12-12      Chris Johns <chrisj@rtems.org>
2284
2285        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2286        header list.
2287        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2288        in any order rather than before any commands have been added. Also
2289        made the command's strings be copies rather than references.
2290        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2291
22922007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2293
2294        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2295        Move Ada support code that is untestable from the Standard RTEMS Test
2296        Suite into its own directory. All code in score, posix, rtems, and
2297        sapi should be testable by the Standard RTEMS Test Suites. It was
2298        buried under POSIX before so this should be a clearer location
2299        anyway.
2300        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2301        libgnat/adasupp.c: New files.
2302        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2303
23042007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2305
2306        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2307        Reverse file contents.
2308
23092007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2310
2311        * sapi/include/rtems/config.h: Correct idle task prototype.
2312
23132007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2314
2315        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2316        libmisc/shell/internal.h, libmisc/shell/shell.c,
2317        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2318        processing now separated from main command loop. Addition of user
2319        commands and aliases tested. Monitor registration now explicit.
2320        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2321        libmisc/shell/write_file.c: New files.
2322
23232007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2324
2325        * libmisc/Makefile.am: Fix typo.
2326
23272007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2328
2329        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2330        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2331        into multiple files and add initial stages of command configuration.
2332        This seems to work but the monitor commands need to be integrated
2333        this way and the ability to configure user commands needs to be
2334        tested.
2335        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2336        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2337        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2338        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2339        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2340        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2341        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2342        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2343        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2344        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2345        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2346        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2347        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2348        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2349        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2350        libmisc/shell/str2int.c: New files.
2351
23522007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2353
2354        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2355
23562007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2357
2358        * sapi/include/rtems/config.h: Fix idle thread prototype.
2359
23602007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2361
2362        * sapi/include/confdefs.h: Separate the concept of configuring the
2363        interrupt stack size from actually reserving memory for it in the
2364        RTEMS Workspace.
2365
23662007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2367
2368        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2369        installed. It is the initialization interface for both GoAhead and
2370        Simple HTTPD.
2371
23722007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2373
2374        * sapi/include/rtems/config.h: Correct previous commit.
2375
23762007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2377
2378        * sapi/include/rtems/config.h: Commit temporary fix so
2379        interrupt_stack_size is accessible before RTEMS is initialized.
2380
23812007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2382
2383        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2384        sapi/include/rtems/init.h, sapi/src/exinit.c,
2385        score/include/rtems/system.h, score/src/isr.c: Move
2386        interrupt_stack_size field from CPU Table to Configuration Table.
2387        Eliminate CPU Table from all ports. Delete references to CPU Table in
2388        all forms.
2389
23902007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2391
2392        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2393        Table fields merged from CPU Table.
2394
23952007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2396
2397        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2398        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2399        posix/include/rtems/posix/mqueue.h,
2400        posix/include/rtems/posix/mutex.h,
2401        posix/include/rtems/posix/pthread.h,
2402        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2403        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2404        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2405        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2406        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2407        sapi/src/exinit.c, score/include/rtems/system.h,
2408        score/include/rtems/score/mpci.h, score/src/mpci.c,
2409        score/src/thread.c, score/src/threadcreateidle.c,
2410        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2411        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2412        the Configuration Table. This included pretasking_hook,
2413        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2414        extra_mpci_receive_server_stack, stack_allocate_hook, and
2415        stack_free_hook. As a side-effect of this effort some multiprocessing
2416        code was made conditional and some style clean up occurred.
2417
24182007-12-03      Chris Johns <chrisj@rtems.org>
2419
2420        * libmisc/shell/shell.h: Added comments for the parameters to the
2421        shell_init function.
2422        * libmisc/shell/shell.c: Only set cflags if tcflags is
2423        non-zero. This means the shell can use the current cflags settings
2424        and the application does not need to know the baudrate etc.
2425        * libmisc/capture/capture.h: Fix the comment.
2426
24272007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2428
2429        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2430        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2431        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2432        rtems/src/dpmemexternal2internal.c,
2433        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2434        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2435        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2436        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2437        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2438        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2439        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2440        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2441        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2442        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2443        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2444        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2445        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2446        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2447        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2448        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2449        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2450        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2451        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2452        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2453        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2454        rtems/src/timerserverfirewhen.c: Restructured all code with
2455        the switch (location) pattern so that OBJECTS_LOCAL is first
2456        and we can fall into it and the OBJECTS_ERROR case breaks
2457        to a return RTEMS_INVALID_ID.  This eliminates the return
2458        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2459        was unreachable and untestable code.  This resulted in a code
2460        savings of approximately 20 bytes per file on the SPARC/ERC32.
2461
24622007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2463
2464        * posix/Makefile.am: Restructed to move the
2465        OBJECTS_LOCAL case to the top of the switch statement and
2466        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2467        changes produced simplier assembly code and allowed for complete
2468        test coverage.  Also applied some consistency to the functions
2469        that translate the core status codes to POSIX status codes.
2470
24712007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2472
2473        * posix/include/rtems/posix/mutex.h,
2474        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2475        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2476        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2477        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2478        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2479        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2480        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2481        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2482        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2483        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2484        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2485        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2486        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2487        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2488        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2489        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2490        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2491        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2492        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2493        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2494        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2495        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2496        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2497        posix/src/semclose.c, posix/src/semdestroy.c,
2498        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2499        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2500        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2501        score/include/rtems/score/corebarrier.h,
2502        score/include/rtems/score/coremsg.h,
2503        score/include/rtems/score/coremutex.h,
2504        score/include/rtems/score/coresem.h: Restructed to move the
2505        OBJECTS_LOCAL case to the top of the switch statement and
2506        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2507        changes produced simplier assembly code and allowed for complete
2508        test coverage.  Also applied some consistency to the functions
2509        that translate the core status codes to POSIX status codes.
2510        * posix/src/mutextranslatereturncode.c,
2511        posix/src/semaphoretranslatereturncode.c: New files.
2512        * posix/src/mutexfromcorestatus.c: Removed.
2513
25142007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2515
2516        * posix/inline/rtems/posix/priority.inl: Fix typo.
2517
25182007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2519
2520        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2521        score/include/rtems/score/thread.h, score/src/object.c,
2522        score/src/thread.c: Conditionally compile out more code that is
2523        specific to multiprocessor configurations.
2524
25252007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2526
2527        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2528        posix/src/conddestroy.c, posix/src/condinit.c,
2529        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2530        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2531        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2532        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2533        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2534        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2535        posix/src/mutexattrgetprioceiling.c,
2536        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2537        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2538        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2539        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2540        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2541        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2542        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2543        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2544        posix/src/semclose.c, posix/src/semdestroy.c,
2545        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2546        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2547        Remove all pretense of POSIX MP support. The support in place was
2548        only a shell. This should make maintenance easier.
2549        * posix/include/rtems/posix/condmp.h,
2550        posix/include/rtems/posix/mqueuemp.h,
2551        posix/include/rtems/posix/mutexmp.h,
2552        posix/include/rtems/posix/pthreadmp.h,
2553        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2554        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2555
25562007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2557
2558        * configure.ac, score/inline/rtems/score/thread.inl,
2559        score/src/threaddispatch.c: Add ability for user to disable inlining
2560        of _Thread_Enable_dispatch. This can save code space but more
2561        importantly it means the binary generated does not have code inlined
2562        that is difficult to test and very seldom executed.
2563
25642007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2565
2566        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2567        rtems/include/rtems/rtems/barrier.h,
2568        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2569        score/src/corerwlockrelease.c: Fixed several implementation errors.
2570
25712007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2572
2573        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2574        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2575        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2576        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2577        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2578        case to the top of the switch statement, have a single exit with one
2579        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2580        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2581        code and allowed for complete test coverage.
2582
25832007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2584
2585        * sapi/include/confdefs.h,
2586        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2587        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2588
25892007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2590
2591        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2592
25932007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2594
2595        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2596        support Thumb.
2597
25982007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2599
2600        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2601        Now works on gen5200/icecube.
2602
26032007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2604
2605        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2606
26072007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2608
2609        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2610
26112007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2612
2613        * score/include/rtems/score/thread.h: Fix spelling error.
2614
26152007-11-17      Till Straumann <strauman@slac.stanford.edu>
2616
2617        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2618        Added checks so that use of 'stdio' is avoided (falling
2619        back to 'printk') before the system is up.
2620        Publish driver entry points so that the libi2c driver could
2621        be added to the applications 'device driver table'.
2622        This is not fully implemented yet, though, since in addition to
2623        initializing libi2c the low-level i2c bus drivers as well
2624        as high-level i2c device drivers need to be registered
2625        with the library.
2626        Updated README_libi2c accordingly.
2627
26282007-11-17      Till Straumann <strauman@slac.stanford.edu>
2629
2630        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2631        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2632        so that it knows what PHY they want to look at.
2633
26342007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2635
2636        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2637        in opposite files. Whoops!
2638
26392007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2640
2641        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2642        of the focus was on the beginning stages of making the login checker
2643        pluggable just like the shell.
2644
26452007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2646
2647        * posix/src/mprotect.c: Update comments.
2648
26492007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2650
2651        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2652        will require gcc 4.3 or newer.
2653        * posix/src/ada_intrsupp.c: New file.
2654
26552007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2656
2657        * sapi/src/exinit.c, score/Makefile.am,
2658        score/include/rtems/score/apimutex.h: API Mutex calls should never
2659        have been inlined. Inlining them lead to many inlined copies of core
2660        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2661        minimum.exe.
2662        * score/src/apimutex.c, score/src/apimutexallocate.c,
2663        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2664
26652007-11-07      Till Straumann <strauman@slac.stanford.edu>
2666
2667        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2668        around _CPU_ISR_Set_level().
2669
26702007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2671
2672        * score/inline/rtems/score/object.inl: During test coverage analysis,
2673        we identified this sanity check which should have been conditional on
2674        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2675        operations. With all APIs enabled, this saved 352 bytes from the
2676        minimum executable on the SPARC/ERC32.
2677
26782007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2679
2680        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2681        compiler conditional attribute for methods that do not return. This
2682        avoids gcc generating unreachable code following calls to
2683        _Internal_error_Occurred.
2684
26852007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2686
2687        * configure.ac: Add ARM/Thumb Makefile.
2688
26892007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2690
2691        PR 1266/cpukit
2692        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2693        of class for key indexing.
2694
26952007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2696
2697        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2698        Fix headers and formatting.
2699
27002007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2701
2702        Miscellaneous changes made after a review against the POSIX spec.
2703        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2704        passes a NULL in the attributes parameter, default attributes are used.
2705        * posix/src/prwlockdestroy.c: If there is at least one thread
2706        waiting, do not allow deletion.
2707        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2708        operation used to obtain a RWLock for writing.
2709        * posix/src/pspinlocktranslatereturncode.c,
2710        score/include/rtems/score/corespinlock.h,
2711        score/src/corespinlockrelease.c: If the current thread is not the
2712        holder of the lock, do not allow an unlock and return EPERM.
2713        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2714        for queueing with a timeout handler.
2715
27162007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2717
2718        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2719        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2720        stack so gdb backtrace does not print corrupted frame message after
2721        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2722        SPARC implementation and I made it more general.
2723
27242007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2725
2726        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2727        Cleaned up reports and fixed a bug related the printf format which
2728        resulted in lack of leading zeroes and misleading magnitude.
2729        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2730
27312007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2732
2733        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2734        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2735        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2736        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2737        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2738        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2739        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2740        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2741        posix/src/condinit.c, posix/src/condsignalsupp.c,
2742        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2743        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2744        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2745        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2746        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2747        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2748        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2749        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2750        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2751        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2752        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2753        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2754        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2755        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2756        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2757        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2758        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2759        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2760        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2761        posix/src/semclose.c, posix/src/semdestroy.c,
2762        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2763        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2764        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2765        rtems/src/dpmemexternal2internal.c,
2766        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2767        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2768        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2769        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2770        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2771        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2772        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2773        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2774        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2775        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2776        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2777        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2778        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2779        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2780        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2781        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2782        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2783        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2784        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2785        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2786        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2787        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2788        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2789        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2790        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2791        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2792        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2793        score/src/mpci.c, score/src/objectgetnameasstring.c,
2794        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2795        multiprocessing is disabled, do not even allow the constant
2796        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2797        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2798        in the generation of binary code which can NOT be reached.
2799
28002007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2801
2802        * score/Makefile.am, score/include/rtems/score/thread.h,
2803        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2804        resulted in unnessary code explosion, many uncovered paths when
2805        looking at binary executable coverage, and only optimized getting
2806        self. Id translations were still getting pushed to a subroutine call
2807        to _Objects_Get. Later the non-inlined version can be further
2808        optimized to get Ids in range for the current API, then self, then
2809        look at other APIs.
2810        * score/src/threadget.c: New file.
2811
28122007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2813
2814        * libi2c/README-libi2c
2815        document structure of libi2c library
2816
28172007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2818
2819        * libi2c/libi2c.c, libi2c/libi2c.h:
2820        extend API to support SPI devices
2821        made libi2c.h C++-proof
2822
28232007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2824
2825        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2826        also in another file.  Mistake after splitting.
2827        * libcsupport/Makefile.am: Reflect file removal.
2828
28292007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2830
2831        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2832        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2833        Minor updates from FreeBSD.
2834
28352007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2836
2837        * score/include/rtems/score/copyrt.h: Update year.
2838
28392007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2840
2841        * score/include/rtems/score/copyrt.h: Update year.
2842
28432007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2844
2845        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2846        Fixed check of status when registering driver. Add use of strerror().
2847
28482007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2849        Ralf Corsépius <ralf.corsepius@rtems.org>
2850
2851        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2852        libnetworking/libc/if_indextoname.c,
2853        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2854        * Makefile.am: Add files above.
2855        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2856
28572007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2858
2859        * libmisc/stackchk/check.c: Eliminate output with little information.
2860        Always print a blown message using the same routine. Now works with
2861        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2862        support in your GCC version.
2863
28642007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2865
2866        * libcsupport/src/gxx_wrappers.c: Revert.
2867
28682007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2869
2870        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2871        PRId32 to fix warning.
2872
28732007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2874
2875        * telnetd/passwd.h: New file.
2876
28772007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2878
2879        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2880        telnetd/telnetd.h: telnetd rewrite.
2881        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2882
28832007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2884
2885        PR 1262/filesystem
2886        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2887        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2888        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2889        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2890        writev() including documentation and test case.
2891        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2892
28932007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2894
2895        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2896        document what is required to provide a fully functional
2897        implementation.
2898        * libnetworking/rtems/rtems_socketpair.c: New file.
2899
29002007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2901
2902        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2903        Bump RTEMS_VERSION to 4.8.99.0.
2904
29052007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2906
2907        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2908
29092007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2910
2911        * posix/src/semaphorecreatesupp.c: Fixed warning.
2912
29132007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2914
2915        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2916
29172007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2918
2919        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2920        Use uint32_t for ext_accm.
2921
29222007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2923
2924        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2925        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2926        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2927        fixed-size types instead of BSD fixed-size types.
2928
29292007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2930
2931        * libmisc/stackchk/check.c: Fix alignment of output.
2932
29332007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2934
2935        * libmisc/monitor/monitor.h: Add network commands that were in the
2936        network supplement but not in the code.
2937        * libmisc/monitor/mon-network.c: New file.
2938
29392007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2940
2941        PR 1261/cpukit
2942        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2943        semaphore creation.
2944
29452007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2946
2947        PR 1260/cpukit
2948        * posix/src/pthread.c: Get initial signals blocked from creating
2949        thread not from ourselves.
2950
29512007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2952
2953        * score/src/watchdogtickle.c: Remove tabs.
2954
29552007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2956
2957        PR 1259/rtems
2958        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2959        memory is not guaranteed to be zero.
2960
29612007-09-12  Sergei Organov  <osv@javad.com>
2962
2963        PR 1258/rtems
2964        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2965        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2966        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2967        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2968        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2969        to changed block split strategy in _Heap_Allocate_aligned().
2970
29712007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2972
2973        * libcsupport/src/printk.c: Remove unnecessary comments.
2974
29752007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2976
2977        * libmisc/monitor/mon-monitor.c:
2978        Corrected linked list of rtems_monitor_commands
2979
29802007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2981
2982        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2983        walk on init, malloc, and free. The ability to walk the heap appears
2984        to disappeared during the rework of the C Program heap to skip the
2985        Region.
2986
29872007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2988
2989        * score/src/heap.c: Style.
2990        * score/src/heapwalk.c: Add more information to prints.
2991        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2992        is disabled.
2993
29942007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2995
2996        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2997        * libcsupport/src/printk_plugin.c: New file.
2998        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2999        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
3000        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
3001        rtems/src/ratemonreportstatistics.c: Added capability to specify
3002        your own "printf" routine to various reporting functions.  This
3003        added an XXX_with_plugin as the underlying implementation for
3004          + rtems_rate_monotonic_report_statistics
3005          + rtems_stack_checker_report_usage
3006          + rtems_cpu_usage_report
3007        As demonstration, the http netdemo can now print out stack
3008        and cpu usage reports.
3009
30102007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3011
3012        * shttpd/compat_rtems.c: Style clean up.
3013
30142007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3015
3016        * rtems/src/ratemonperiod.c: Clean up.
3017        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
3018
30192007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3020
3021        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
3022
30232007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3024
3025        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
3026
30272007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
3028
3029        * libmisc/Makefile.am: Add new files.
3030
30312007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3032
3033        * libmisc/monitor/mon-object.c,
3034        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
3035        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
3036        * libmisc/monitor/mon-task, libmisc/Makefile.am:
3037        Added functionality for osmonweb support
3038
30392007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3040
3041        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
3042        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
3043        that are needed by osmonweb.
3044
30452007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
3046
3047        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
3048        Use printk.
3049
30502007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3051
3052        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
3053        spacing and spelling.
3054
30552007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3056
3057        PR 1256/networking
3058        * ftpd/ftpd.c: Fix unaligned access.
3059
30602007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3061
3062        * posix/Makefile.am: Always build nanosleep.
3063
30642007-08-17      Chris Johns <chrisj@rtems.org>
3065
3066        * libmisc/capture/README: Minor copyright change.
3067        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
3068        libmisc/capture/capture.h: Fixed the memory leak when lots of
3069        tasks are being created and deleted. Improved the trigger
3070        interface so all task type actions can be caught.
3071
30722007-08-13      Chris Johns <chrisj@rtems.org>
3073
3074        * score/include/rtems/score/object.h: Point the
3075        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
3076
30772007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
3078
3079        PR 1248/networking
3080        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
3081        reported that when no interfaces are successfully attached, the
3082        default route is broken and may result in a jump to an illegal
3083        address.
3084
30852007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3086
3087        * score/inline/rtems/score/priority.inl: Use size_t instead of
3088          uint32_t for array index.
3089
30902007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3091
3092        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
3093          identify coldfire cpus.
3094
30952007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3096
3097        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
3098          coldfire.
3099
31002007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3101
3102        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
3103          work-around bug m68k/coldfire -fomit-frame-pointer bug
3104          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
3105
31062007-07-27      Chris Johns <chrisj@rtems.org>
3107
3108        * wrapup/Makefile.am: Create archive from a file for hosts
3109        with a limited command line size.
3110
31112007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3112
3113        * include/rtems/bspIo.h, include/rtems/pci.h:
3114        Add extern "C" guards. Reported by
3115        Robert S. Grimes <rsg@alum.mit.edu>.
3116
31172007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
3118
3119        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
3120        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
3121        the time appears to be reported correctly and add up to what is
3122        expected.
3123
31242007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3125
3126        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
3127        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
3128        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
3129
31302007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
3131
3132        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
3133        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
3134        was always using uptime not time since last cpu usage reset when
3135        using nanoseconds granularity.
3136        * libmisc/cpuuse/cpuusagedata.c: New file.
3137
31382007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
3139
3140        * libcsupport/src/mount.c: Allow null for output parameter.
3141
31422007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
3143
3144        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
3145        to shttpd initialization.
3146
31472007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3148
3149        * libcsupport/src/malloc.c: Clean up Malloc debug code.
3150        * score/include/rtems/score/heap.h: Spacing.
3151        * score/inline/rtems/score/thread.inl:
3152        * score/src/heapfree.c. Clean up and add explicit check of the address
3153        being freed actually being in the heap.
3154        * score/src/heapwalk.c: Switch to printk and do not call abort.
3155
31562007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
3157
3158        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
3159        area contingent on the stack checker user extension having been
3160        initialized.
3161
31622007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3163
3164        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
3165        and recv(). We already had the BSD versions and these conflict
3166        sometimes when linking.
3167
31682007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
3169
3170        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
3171        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
3172
31732007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3174
3175        * sapi/include/confdefs.h: Do not instantiate initialization
3176        thas/thread pointer tables for an API that is not configured.
3177
31782007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
3179
3180        * libcsupport/Makefile.am:
3181        * libcsupport/src/open_dev_console.c: New file.
3182
31832007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3184
3185        * score/src/corerwlock.c: Make sure structure is fully initialized.
3186        When reused, some fields will not be zero like at initialization.
3187
31882007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
3189
3190        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
3191        size. Account for this.
3192
31932007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
3194
3195        * configure.ac: Add NDEBUG as a command line compilation option.
3196
31972007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
3198
3199        * libmd/.cvsignore: New file.
3200
32012007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3202
3203        * shttpd/defs.h: Eliminate my_strncasecmp.
3204        * shttpd/string.c: Eliminate my_strncasecmp.
3205
32062007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3207
3208        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
3209        * pppd/Makefile.am: Reflect moving out md*.
3210        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
3211          libmd).
3212        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
3213        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
3214        * configure.ac, Makefile.am: Add libmd.
3215
32162007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3217
3218        * shttpd/defs.h: Eliminate my_strlcpy.
3219        * shttpd/string.c: Eliminate my_strlcpy.
3220
32212007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3222
3223        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
3224        * shttpd/string.c: Eliminate my_strdup, my_strndup.
3225        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
3226          libmd.a.
3227
32282007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
3229
3230        * wrapup/Makefile.am: Add libmd.a.
3231
32322007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3233
3234        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
3235          Add pppd/libmd.a.
3236        * pppd/md4.c: Don't include pppd.h.
3237
32382007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3239
3240        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
3241
32422007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3243
3244        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
3245        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
3246        Add config.h support.
3247
32482007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3249
3250        * shttpd/compat_rtems.h: Define closesocket.
3251
32522007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3253
3254        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
3255
32562007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3257        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3258        Use size_t for stack sizes.
3259
32602007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3261
3262        * configure.ac, Makefile.am: Add shttpd.
3263        * shttpd/Makefile.am: New.
3264        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3265        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3266        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3267        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3268        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3269        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3270        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3271        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3272        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3273        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3274        Import from shttpd-1.37.tar.gz.
3275
32762007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3277
3278        * configure.ac: Remove "pad" from CPU_CONTEXT.
3279
32802007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3281
3282        * score/src/coremsg.c: Formatting.
3283
32842007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3285
3286        * score/include/rtems/score/copyrt.h: Update copyright notice.
3287
32882007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3289
3290        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3291        one function per file execpt io.c which contains required
3292        initialization methods.
3293        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3294        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3295        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3296        sapi/src/iowrite.c: New files.
3297
32982007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3299
3300        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3301        table into Workspace but now it is only done if the application needs
3302        extra slots for dynamic driver registration. Cleaned up
3303        rtems_io_register_driver and rtems_io_unregister_driver code and
3304        added numerous error cases to register.
3305
33062007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3307
3308        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3309        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3310        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3311        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3312        configuration parameter since it was used to configure a no longer
3313        used feature. Device names are now part of the filesystem not in a
3314        table. This also eliminated the variables _IO_Number_of_devices and
3315        _IO_Driver_name_table from RTEMS as well as the memory allocation
3316        used to populate _IO_Driver_name_table.
3317        * libmisc/monitor/mon-dname.c: Removed.
3318
33192007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3320
3321        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3322        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3323        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3324        unused Workspace. Round the workspace required size to an 8 byte
3325        boundary instead of a 0x400 byte one. We may end up needing to add 8
3326        bytes again to account for the alignment rounding.
3327
33282007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3329
3330        Yu Chen <chyyuu@gmail.com>
3331        * score/src/corespinlockwait.c: Per question posted as
3332        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3333        logical operator to <=.
3334
33352007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3336
3337        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3338        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3339        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3340        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3341        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3342        executive initialization.
3343
33442007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3345
3346        * score/src/corerwlockrelease.c: Do not dereference NULL.
3347
33482007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3349
3350        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3351        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3352        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3353        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3354        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3355        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3356        sapi/include/rtems/extension.h: Split Classic API data instantiation
3357        into individual files. This reduces the size of the BSS section when
3358        an optional manager stub is used. Some tests showed about a 600 byte
3359        reduction in BSS size.
3360        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3361        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3362        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3363        used in one place after initialized. It was a waste of space.
3364        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3365        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3366        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3367        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3368        sapi/src/extensiondata.c: New files.
3369
33702007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3371
3372        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3373        functionality into multiple files to eliminate unnecessary cohesion.
3374        Update README.
3375        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3376        New files.
3377        * libmisc/cpuuse/cpuuse.c: Removed.
3378
33792007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3380
3381        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3382        negative value in some circumstances. Also cleaned up to share uptime
3383        declaration.
3384
33852007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3386
3387        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3388        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3389        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3390        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3391        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3392        score/Makefile.am, score/include/rtems/score/thread.h,
3393        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3394        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3395        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3396        monotonic period statistics and CPU usage statistics. This capability
3397        is enabled by default although may be conditionally disabled by the
3398        user. It could be too much overhead on small targets but it does not
3399        appear to be bad in early testing. Its impact on code size has not
3400        been evaluated either. It is possible that both forms of statistics
3401        gathering could be disabled with further tweaking of the conditional
3402        compilation.
3403        * score/src/timespecdividebyinteger.c: New file.
3404
34052007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3406
3407        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3408        functionally similar code here. Also cleanup print formats.
3409
34102007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3411
3412        * score/src/objectgetnameasstring.c: Internal threads use string names
3413        so in the current RTEMS source string object name can NOT be
3414        disabled. It is probably worth considering converting the internal
3415        threads to uint32_t style names so all the support for string names
3416        can be conditionally disabled.
3417
34182007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3419
3420        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3421        and greater than operations for timespecs.
3422        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3423        New files.
3424
34252007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3426
3427        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3428        RTEMS_POSIX_API.
3429
34302007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3431
3432        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3433        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3434        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3435        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3436        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3437        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3438        score/Makefile.am, score/include/rtems/score/object.h,
3439        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3440        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3441        Added the following directives: rtems_rate_monotonic_get_statistics,
3442        rtems_rate_monotonic_reset_statistics,
3443        rtems_rate_monotonic_reset_all_statistics,
3444        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3445        Obsoleted the rtems/rtmonuse.h file as a public interface.
3446        * rtems/src/ratemongetstatistics.c,
3447        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3448        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3449        score/src/objectgetnameasstring.c: New files.
3450        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3451
34522007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3453
3454        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3455        rtems_io_register_name for use on unix.
3456        * libcsupport/src/unixlibc_io.c: New file.
3457
34582007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3459
3460        * score/src/coremsgseize.c: A blocking sender's message size was
3461        pulled out of the wrong field in the Wait information structure.
3462        * score/src/objectallocate.c: With the new optional manager support,
3463        we only stub out the initialization. This makes it possible to attempt
3464        to create an object with the information structure only initialized
3465        with all zeros.  This ensures we return an error cleanly in this case.
3466
34672007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3468
3469        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3470        an optional manager, we cannot depend on it do initialize the
3471        internal Allocator Mutex.  This was always a questionable place to
3472        do it, so this is a cleanup.
3473
34742007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3475
3476        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3477        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3478        suitable for inclusion in the Users Guide.
3479
34802007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3481
3482        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3483        ChangeLog-pre2007.
3484        * ChangeLog-pre2007: New file.
3485
34862007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3487
3488        PR 1241/rtems
3489        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3490        critical section window added with requeueing support.
3491
34922007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3493
3494        * libcsupport/include/rtems/cdefs.h,
3495          libcsupport/include/sys/cdefs.h: Remove.
3496        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3497        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3498        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3499        libnetworking/netdb.h, libnetworking/resolv.h,
3500        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3501        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3502        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3503        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3504        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3505        libnetworking/rtems/rtems_bsdnet_internal.h,
3506        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3507        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3508        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3509        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3510        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3511        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3512        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3513        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3514        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3515        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3516        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3517
35182007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3519
3520        * Makefile.am: Reflect introduction of
3521          include/rtems/bsd/sys/cdefs.h.
3522        * include/rtems/bsd/sys/cdefs.h: New.
3523
35242007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3525
3526        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3527        * libnetworking/sys/queue.h: Remove.
3528
35292007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3530
3531        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3532        <machine/endian.h>.
3533        * libnetworking/rtems/rtems_showroute.c,
3534        libnetworking/rtems/rtems_showipstat.c,
3535        libnetworking/rtems/rtems_showtcpstat.c,
3536        libnetworking/rtems/rtems_showicmpstat.c,
3537        libnetworking/rtems/rtems_showmbuf.c,
3538        libnetworking/rtems/rtems_showudpstat.c,
3539        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3540        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3541        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3542        libnetworking/netinet/tcp_usrreq.c,
3543        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3544        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3545        libnetworking/netinet/ip_output.c,
3546        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3547        libnetworking/netinet/udp_usrreq.c,
3548        libnetworking/netinet/tcp_output.c,
3549        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3550        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3551        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3552        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3553        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3554        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3555        instead of <sys/queue.h>.
3556        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3557        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3558        libnetworking/net/if.h, libnetworking/net/if_media.h,
3559        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3560        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3561        instead of <sys/queue.h>.
3562        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3563        * include/rtems/bsd/sys/queue.h: New (Copied from
3564          libnetworking/sys/queue.h).
3565
35662007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3567
3568        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3569        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3570        score/Makefile.am, score/preinstall.am,
3571        score/include/rtems/score/userext.h, score/src/chain.c,
3572        score/src/userext.c: Switch to newlib reentrancy extension being
3573        installed in the initial set instead of using rtems_extension_create.
3574        While implementing this, noticed that user extensions and chain code
3575        had multiple functions in a single file which is not desirable in the
3576        SuperCore and API portions of RTEMS, so split these into multiple
3577        files with one function per file. Also noticed that some of user
3578        extension code was inlined for no particular reason so moved that to
3579        C bodies.  Split executive shutdown from initialization since not
3580        every application shuts down.  Moved __fini call to executive shutdown
3581        to be more symmetrical with where it is called at startup.
3582        * sapi/src/exshutdown.c, score/src/chainappend.c,
3583        score/src/chainextract.c, score/src/chainget.c,
3584        score/src/chaininsert.c, score/src/userextaddapiset.c,
3585        score/src/userextaddset.c, score/src/userextremoveset.c,
3586        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3587        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3588        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3589        files.
3590        * score/inline/rtems/score/userext.inl: Removed.
3591
35922007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3593
3594        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3595        reference _Configuration_MP_table if multiprocessing is disabled.
3596
35972007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3598
3599        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3600        reference _Configuration_MP_table if multiprocessing is disabled.
3601
36022007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3603
3604        * libnetworking/machine/endian.h: Remove.
3605        * libnetworking/Makefile.am: Remove machine/endian.h.
3606        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3607        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3608        <rtems/endian.h> instead of <machine/endian.h>.
3609        * Makefile.am: Add include/rtems/endian.h.
3610        * include/rtems/endian.h: New (Copied from
3611          libnetworking/machine/endian.h).
3612
36132007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3614
3615        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3616        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3617        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3618        of <stdint.h>.
3619        * libnetworking/machine/endian.h: Remove
3620          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3621        * NEWS: new.
3622
36232007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3624
3625        PR 1243
3626        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3627
36282007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3629
3630        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3631        to inline functions, using uint[16,32]_t.
3632        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3633        with SUSv3.
3634        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3635        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3636        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3637        Add HAVE_CONFIG_H magic.
3638        * libnetworking/libc/gethostbydns.c,
3639        libnetworking/libc/inet_net_ntop.c,
3640        libnetworking/libc/inet_pton.c: Eliminate __P.
3641        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3642        return value of ntohl (POSIX requirement).
3643        Use UINT32_C macros to avoid overflows on 16bit targets.
3644        Eliminate __P.
3645        * configure.ac: Check for working PRIxPTR.
3646
36472007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3648
3649        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3650        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3651        Use size_t for stack sizes.
3652
36532007-05-03      Joel Sherrill <joel@OARcorp.com>
3654
3655        * ChangeLog, libcsupport/src/malloc.c,
3656        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3657        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3658        Region Manager is quite heavy for implementing this. This patch
3659        implements the C Program Heap directly in terms of the new Protected
3660        Heap handler. This handler is a direct use of a SuperCore Heap in
3661        conjunction with the Allocator Mutex used internally by RTEMS. This
3662        saves 3184 bytes on most SPARC test executables.
3663        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3664        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3665        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3666        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3667        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3668        score/src/pheapwalk.c: New files.
3669
36702007-05-03      Joel Sherrill <joel@OARcorp.com>
3671
3672        * libcsupport/src/rmdir.c: Fixed spacing.
3673        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3674        newlibc.c. It is not required for minimum executing and drops 624
3675        from SPARC minimum executable.
3676        * libcsupport/src/newlibc_exit.c: New file.
3677
36782007-04-17      Joel Sherrill <joel@OARcorp.com>
3679
3680        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3681        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3682        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3683        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3684        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3685        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3686        reduce executable size. Most were refactoring of files. Split ITRON
3687        API files. Implemented mechanism to avoid initialization task/thread
3688        loop being linked in when that style of task initialization was not
3689        being used.
3690        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3691        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3692        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3693        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3694        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3695        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3696        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3697        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3698        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3699        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3700        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3701        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3702        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3703        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3704        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3705        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3706        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3707        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3708        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3709        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3710        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3711
37122007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3713
3714        * score/include/rtems/score/thread.h:
3715          Use Context_Control_fp* instead of void* for fp_contexts.
3716
37172007-04-16      Joel Sherrill <joel@OARcorp.com>
3718
3719        PR 1240/filesystem
3720        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3721        for filename was not being freed.
3722
37232007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3724
3725        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3726
37272007-04-16      Joel Sherrill <joel@OARcorp.com>
3728
3729        * itron/src/rsm_tsk.c: Correct error returned.
3730
37312007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3732
3733        * configure.ac: Redefine LIBPOSIX to !UNIX.
3734        * posix/src/usleep.c, libcsupport/src/readlink.c:
3735        Update API to SUSv3.
3736
37372007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3738
3739        * posix/Makefile.am: Unconditionally build src/sleep.c,
3740          src/usleep.c.
3741        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3742          CLOCK_MONOTONIC case.
3743        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3744
37452007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3746
3747        * posix/Makefile.am: Cosmetics.
3748        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3749        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3750
37512007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3752
3753        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3754          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3755        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3756          rtems/posix/time.h.
3757        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3758          rtems/posix/time.h.
3759        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3760
37612007-04-12      Joel Sherrill <joel@OARcorp.com>
3762
3763        * itron/src/rsm_tsk.c: Correct error returned.
3764
37652007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3766
3767        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3768
37692007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3770
3771        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3772        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3773        _impure_ptr bug).
3774        Fix abuse of _REENT_INIT().
3775
37762007-04-05      Joel Sherrill <joel@OARcorp.com>
3777
3778        * itron/src/itrontime.c: Fix typo.
3779        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3780        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3781        * score/src/threaddispatch.c: Formatting.
3782
37832007-04-05      Joel Sherrill <joel@OARcorp.com>
3784
3785        * posix/Makefile.am: Fix formatting.
3786
37872007-04-05      Joel Sherrill <joel@OARcorp.com>
3788
3789        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3790        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3791        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3792        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3793        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3794        posix/src/pthread.c, posix/src/pthreadcreate.c,
3795        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3796        posix/src/sched.c, posix/src/semtimedwait.c,
3797        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3798        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3799        score/preinstall.am, score/include/rtems/score/tod.h,
3800        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3801        score/src/coretodget.c, score/src/coretodgetuptime.c,
3802        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3803        manipulation routines in the SuperCore. Use them everywhere possible.
3804        This lead to significant cleanup in the API routines and eliminated
3805        some of the same code from the POSIX API. At this point, the
3806        SuperCore keeps time in POSIX timespec format properly from 1970. You
3807        just cannot set it before 1988 in keeping with RTEMS traditional
3808        behavior.
3809        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3810        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3811        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3812        score/src/timespectoticks.c: New files.
3813        * posix/src/posixintervaltotimespec.c,
3814        posix/src/posixtimespecsubtract.c,
3815        posix/src/posixtimespectointerval.c: Removed.
3816
38172007-04-04      Joel Sherrill <joel@OARcorp.com>
3818
3819        * score/Makefile.am, score/include/rtems/score/tod.h,
3820        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3821        non-inlined routine. It should only be used once so there is little
3822        advantage to inlining it.
3823        * score/src/coretodtickle.c: New file.
3824
38252007-04-02      Joel Sherrill <joel@OARcorp.com>
3826
3827        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3828        dead code.
3829        * posix/src/time.c: Removed.
3830
38312007-04-02      Joel Sherrill <joel@OARcorp.com>
3832
3833        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3834        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3835        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3836        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3837        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3838        TOD_Ticks_per_second variable.
3839
38402007-04-02      Joel Sherrill <joel@OARcorp.com>
3841
3842        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3843        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3844        posix/src/clockgettime.c, posix/src/clocksettime.c,
3845        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3846        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3847        posix/src/sleep.c, rtems/Makefile.am,
3848        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3849        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3850        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3851        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3852        score/Makefile.am, score/include/rtems/score/tod.h,
3853        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3854        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3855        fundamental time structure to POSIX struct timespec. Add
3856        clock_get_uptime().
3857        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3858        score/src/coretodgetuptime.c: New files.
3859        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3860        score/src/coretodvalidate.c: Removed.
3861
38622007-04-02      Joel Sherrill <joel@OARcorp.com>
3863
3864        * libcsupport/src/printk.c: Add %p support.
3865
38662007-04-02      Joel Sherrill <joel@OARcorp.com>
3867
3868        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3869        in addition to the pattern area being overwritten. Also do some
3870        cleanup.
3871
38722007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3873
3874        * include/rtems/pci.h: Further stdint.h fixed-size types.
3875
38762007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3877
3878        * include/rtems/pci.h: Use stdint.h fixed size-types.
3879
38802007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3881
3882        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3883        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3884        * libnetworking/Makefile.am: Move libc/res_config.h to
3885          libc_a_SOURCES (File is being used).
3886        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3887        Remove (Unused).
3888        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3889        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3890        Remove (Unused).
3891        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3892
38932007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3894
3895        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3896        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3897        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3898        libnetworking/libc/gethostbynis.c,
3899        libnetworking/libc/gethostnamadr.c,
3900        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3901        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3902        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3903        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3904        libnetworking/libc/getservbyname.c,
3905        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3906        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3907        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3908        libnetworking/libc/inet_net_ntop.c,
3909        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3910        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3911        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3912        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3913        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3914        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3915        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3916        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3917        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3918        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3919        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3920        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3921        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3922        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3923        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3924        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3925        SCCS, LINT. Add HAVE_CONFIG_H.
3926        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3927
39282007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3929
3930        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3931          uintptr_t.
3932
39332007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3934
3935        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3936        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3937
39382007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3939
3940        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3941        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3942        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3943        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3944        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3945        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3946        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3947        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3948        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3949        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3950        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3951        (Abandoned in FreeBSD).
3952        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3953        (Abandoned in FreeBSD).
3954        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3955        (Abandoned in FreeBSD).
3956        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3957        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3958
39592007-03-28      Chris Johns <chrisj@rtems.org>
3960
3961        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3962        score/include/rtems/score/watchdog.h: Add support for a handler to
3963        obtain the number of nanoseconds since the last clock tick. The
3964        primary interface for this is rtems_clock_set_nanoseconds_extension.
3965        Subsequent commits from Joel will redo the TOD support to use this
3966        capability.
3967        * rtems/src/clocksetnsecshandler.c: New file.
3968
39692007-03-28      Joel Sherrill <joel@OARcorp.com>
3970
3971        PR 1234/cpukit
3972        * libcsupport/Makefile.am: Provide printk() based implementation of
3973        __assert() to reduce dependencies in executables.
3974        * libcsupport/src/__assert.c: New file.
3975
39762007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3977
3978        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3979        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3980        * libnetworking/net/ppp-comp.h: Remove (Unused).
3981        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3982        * libnetworking/sys/buf.h: Remove (Unused).
3983        * libnetworking/Makefile.am: Remove sys/buf.h.
3984        * libnetworking/kern/kern_sysctl.c,
3985        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3986        <sys/buf.h>.
3987        *  libcsupport/include/sys/sockio.h: Partial update from
3988          FreeBSD.
3989
39902007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3991
3992        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3993        * libnetworking/netinet/igmp.c: Eliminate __P().
3994        * libnetworking/netinet/in.c: Eliminate __P().
3995        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3996        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3997        * libnetworking/netinet/ip_output.c: Eliminate __P().
3998
39992007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4000
4001        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
4002        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
4003        Change int args to intptr_t because they are casted to pointers.
4004        * libnetworking/netinet/tcp_usrreq.c,
4005        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
4006
40072007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4008
4009        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
4010        "long", because long is not guaranteed to be castable to char*.
4011        * libnetworking/netinet/ip_input.c: Eliminate __P().
4012        Change "int next" to "int32_t next" for 16bit targets.
4013        * libnetworking/netinet/tcp_input.c: Eliminate __P().
4014        * libnetworking/netinet/in_rmx.c: Eliminate __P().
4015        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
4016        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
4017        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
4018        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
4019        * libnetworking/kern/uipc_domain.c: Eliminate __P().
4020
40212007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4022
4023        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
4024        Remove (Abandoned in FreeBSD).
4025        * libnetworking/Makefile.am: Remove net/pppcompress.c,
4026        net/pppcompress.h.
4027        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
4028        net/pppcompress.h.
4029        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
4030        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
4031        net/pppcompress.h.
4032
40332007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4034
4035        * libnetworking/net/pppcompress.h: Eliminate __P().
4036        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
4037        * libnetworking/net/if_llc.h: Update from FreeBSD.
4038
40392007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4040
4041        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
4042          <net/ppp-comp.h>.
4043        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
4044        Warn about using it.
4045        * libnetworking/Makefile.am: Add net/ppp_comp.h.
4046        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
4047        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
4048          FreeBSD.
4049        * libnetworking/machine/in_cksum.h: Eliminate __P().
4050        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
4051        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
4052        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
4053        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
4054        Eliminate __P().
4055        * libcsupport/src/scandir.c: Eliminate __P().
4056        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
4057        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
4058        Eliminate __P().
4059        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
4060        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
4061        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
4062
40632007-03-26      Joel Sherrill <joel@OARcorp.com>
4064
4065        PR 1231/cpukit
4066        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
4067        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
4068        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
4069        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
4070        posix/src/mutexattrgetprioceiling.c,
4071        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
4072        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
4073        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
4074        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
4075        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
4076        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
4077        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
4078        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
4079        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
4080        posix/src/posixtimespecsubtract.c,
4081        posix/src/posixtimespectointerval.c,
4082        posix/src/psignalclearprocesssignals.c,
4083        posix/src/psignalclearsignals.c,
4084        posix/src/psignalsetprocesssignals.c,
4085        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
4086        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
4087        unneeded includes of assert.h
4088
40892007-03-26      Joel Sherrill <joel@OARcorp.com>
4090
4091        * libcsupport/include/rtems/assoc.h: Pick up the include file
4092        changes associated with the file splitting.
4093
40942007-03-26      Joel Sherrill <joel@OARcorp.com>
4095
4096        * libcsupport/Makefile.am: Pick up the Makefile changes associated
4097        with the file splitting.
4098
40992007-03-26      Joel Sherrill <joel@OARcorp.com>
4100
4101        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
4102        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
4103        this will not be deemed necessary to commit to the 4.7 branch.
4104        * libcsupport/src/assoclocalbyname.c,
4105        libcsupport/src/assoclocalbyremote.c,
4106        libcsupport/src/assoclocalbyremotebitfield.c,
4107        libcsupport/src/assocnamebylocal.c,
4108        libcsupport/src/assocnamebylocalbitfield.c,
4109        libcsupport/src/assocnamebyremote.c,
4110        libcsupport/src/assocnamebyremotebitfield.c,
4111        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
4112        libcsupport/src/assocptrbyremote.c,
4113        libcsupport/src/assocremotebylocal.c,
4114        libcsupport/src/assocremotebylocalbitfield.c,
4115        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
4116        libcsupport/src/write_r.c: New files.
4117
41182007-03-26      Joel Sherrill <joel@OARcorp.com>
4119
4120        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
4121        support and remove deadcode. Replace with comment explaining that
4122        behavior is compatible with GNU/Linux per Eric Norum.
4123
41242007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4125
4126        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
4127        Partial update from FreeBSD.
4128        * libnetworking/netinet/if_ether.h: Eliminate __P().
4129        * libnetworking/netinet/ip_var.h: Eliminate __P().
4130        * libnetworking/netinet/in.h: Eliminate __P().
4131        * libnetworking/netinet/tcp_var.h: Eliminate __P().
4132
41332007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4134
4135        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
4136        Remove __P();
4137        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
4138
41392007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
4140
4141        * libnetworking/netinet/in_var.h: Remove __P().
4142        * libnetworking/netinet/in_systm.h: Remove __P().
4143        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
4144        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
4145        * libnetworking/netinet/if_ether.c: Remove __P().
4146        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
4147        More updates from FreeBSD.
4148        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
4149        libnetworking/net/route.h: Partial update from FreeBSD.
4150
41512007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
4152
4153        * libnetworking/Makefile.am: Remove nfs/krpc.h.
4154        * libnetworking/nfs/krpc.h: Remove (Unused).
4155        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
4156        * libnetworking/Makefile.am: Remove nfs/nfs.h.
4157        * libnetworking/nfs/nfs.h: Remove (Unused).
4158
41592007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4160
4161        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
4162          symbols.
4163        * libnetworking/sys/conf.h: Don't include machine/conf.h.
4164        Update copyright notice.
4165        Remove unused/non-implemented declarations.
4166        * libnetworking/Makefile.am: Remove machine/conf.h.
4167        * libnetworking/machine/conf.h: Remove.
4168
41692007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
4170
4171        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
4172        Remove many non-supported/unused declarations.
4173
41742007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4175
4176        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
4177          crhold (Unused/non-implemented).
4178
41792007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4180
4181        * libnetworking/sys/ucred.h: Remove __P().
4182        * libnetworking/sys/callout.h: Remove __P().
4183        * libnetworking/sys/domain.h: Remove __P().
4184        * libnetworking/sys/socketvar.h: Remove __P().
4185        * libnetworking/sys/socket.h: Remove __P().
4186        * libnetworking/sys/select.h: Remove __P().
4187        * libnetworking/sys/kernel.h: Remove __P().
4188        * libnetworking/sys/protosw.h: Remove __P().
4189        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
4190        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
4191        swdevt, nswdev, nswap (Unused).
4192
41932007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
4194
4195        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
4196        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
4197        instead of struct linesw (PR 1229)
4198        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
4199        around clash with defines from rtems_bsdnet_internal.h.
4200        * score/src/heapwalk.c: include stdlib.h.
4201
42022007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
4203
4204        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
4205        Remove __P().
4206        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
4207        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
4208        Remove __P().
4209        * libcsupport/include/rtems/termiostypes.h,
4210        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
4211        with rtems_termios_*.
4212        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
4213        (Clash with termiostypes.h - PR 1229).
4214
42152007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
4216
4217        * score/include/rtems/score/wkspace.h,
4218        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
4219        Change _Workspace_Handler_initialization and
4220        _Workspace_Allocate_or_fatal_error to using size_t.
4221        * libnetworking/sys/rtprio.h: Remove (Unused).
4222        * libnetworking/Makefile.am: Remove sys/rtprio.h.
4223
42242007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
4225
4226        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
4227        Remove __P().
4228
42292007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
4230
4231        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
4232          to fix warnings.
4233        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
4234        * score/include/rtems/score/chain.h, score/src/chain.c:
4235        Change _Chain_Initialize to using size_t.
4236
42372007-03-12      Joel Sherrill <joel@OARcorp.com>
4238
4239        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
4240        Dump_Buffer to rtems_print_buffer.
4241
42422007-03-12      Joel Sherrill <joel@OARcorp.com>
4243
4244        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
4245        license URL and/or fix mistake in copyright notice. Both of these
4246        mistakes appear to be from code submitted after these changes were
4247        made previously.
4248
42492007-03-10      Joel Sherrill <joel@OARcorp.com>
4250
4251        PR 1226/cpukit
4252        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
4253        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
4254
42552007-03-08      Joel Sherrill <joel@OARcorp.com>
4256
4257        * libfs/src/imfs/imfs.h: Fix comment.
4258
42592007-03-08      Joel Sherrill <joel@OARcorp.com>
4260
4261        * libfs/src/imfs/imfs.h: Fix comment.
4262
42632007-03-08      Joel Sherrill <joel@OARcorp.com>
4264
4265        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4266        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4267
42682007-03-08      Joel Sherrill <joel@OARcorp.com>
4269
4270        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4271        Remove wrapper for message queue send and urgent and implement them
4272        directly. There was an unnecessary function call layer in addition to
4273        conditions in the shared routine. Directly coding both directives is
4274        simpler and should result in smaller code.
4275        * rtems/src/msgqsubmit.c: Removed.
4276
42772007-03-05      Joel Sherrill <joel@OARcorp.com>
4278
4279        PR 1222/cpukit
4280        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4281        score/include/rtems/score/threadq.h,
4282        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4283        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4284        score/src/threadclearstate.c, score/src/threadhandler.c,
4285        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4286        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4287        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4288        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4289        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4290        thread that is blocked on a priority based thread queue is changed,
4291        that its placement in the queue is reevaluated based upon the new
4292        priority. This enhancement includes modifications to the SuperCore as
4293        well as new test cases.
4294        * score/src/threadqrequeue.c: New file.
4295
42962007-03-05      Joel Sherrill <joel@OARcorp.com>
4297
4298        * sapi/src/exinit.c: Fix spacing.
4299
43002007-03-05      Joel Sherrill <joel@OARcorp.com>
4301
4302        PR 1221/cpukit
4303        * posix/src/pthreadequal.c: Fix critical section nesting.
4304
43052007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4306
4307        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4308          compiled files.
4309
43102007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4311
4312        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4313
43142007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4315
4316        * score/Makefile.am: Remove macros/README.
4317
43182007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4319
4320        * score/include/rtems/score/heap.h, score/src/heap.c,
4321        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4322        More size_t for heap-sizes.
4323        * score/include/rtems/score/heap.h, score/src/heap.c,
4324        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4325        heap-sizes.
4326        * libnetworking/resolv.h: Typo fixes. Remove __P().
4327
43282007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4329
4330        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4331        Use size_t for stack-sizes.
4332
43332007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4334
4335        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4336          functions.
4337        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4338        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4339
43402007-02-06      Till Straumann <strauman@slac.stanford.edu>
4341
4342        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4343        taskvar dtor to plug memory leak. Applied patch attached
4344        to PR#690.
4345
43462007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4347
4348        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4349        * posix/src/getpagesize.c: Removed.
4350        * posix/Makefile.am: Remove references to getpagesize.c.
4351        * libcsupport/Makefile.am: Add getpagesize.c.
4352
43532007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4354
4355        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4356        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4357          visible.
4358        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4359
43602007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4361
4362        * rtems/src/msgqsend.c: Use size_t for sizes.
4363        * rtems/src/msgqurgent.c: Use size_t for sizes.
4364        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4365        * rtems/src/msgmp.c: Use size_t for sizes.
4366        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4367        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4368        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4369        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4370
43712007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4372
4373        * itron/src/trcv_mbf.c: Use size_t for sizes.
4374        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4375        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4376        * libmisc/monitor/monitor.h: Use size_t for sizes.
4377        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4378        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4379        * rtems/src/msgqreceive.c: Use size_t for sizes.
4380        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4381        * score/src/coremsgseize.c: Use size_t for sizes.
4382
43832007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4384
4385        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4386        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4387        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4388        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4389        * score/src/coremsgsubmit.c: Use size_t for sizes.
4390
43912007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4392
4393        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4394
43952007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4396
4397        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4398
43992007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4400
4401        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4402        Remove isblank (supposed to be provided by libc).
4403
44042007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4405
4406        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4407
44082007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4409
4410        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4411         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4412        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4413        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4414        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4415
44162007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4417
4418        * score/include/rtems/system.h:
4419        #define __RTEMS_MINOR__ 7 (BZ 1206).
4420
44212007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4422
4423        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4424        export some internal variables to make them available in
4425        "show_bdbuf" monitor add-on
4426
44272007-01-16      Till Straumann <strauman@slac.stanford.edu>
4428
4429        * libnetworking/rtems/rtems_mii_ioctl.c,
4430        libnetworking/rtems/rtems_mii_ioctl.h,
4431        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4432        libi2c/libi2c.c, libi2c/libi2c.h:
4433        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4434
44352007-01-09      Joel Sherrill <joel@OARcorp.com>
4436
4437        * libcsupport/src/error.c: rtems_progname is no longer defined in
4438        the BSP startup since it never held a meaningful value.
4439
44402007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4441
4442        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4443        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.