source: rtems/cpukit/ChangeLog @ ce19f1fa

4.104.114.95
Last change on this file since ce19f1fa was ce19f1fa, checked in by Joel Sherrill <joel.sherrill@…>, on 01/23/08 at 22:57:43

2008-01-23 Joel Sherrill <joel.sherrill@…>

  • itron/include/rtems/itron/object.h, itron/src/cre_tsk.c, libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/monitor/mon-manager.c, libmisc/stackchk/check.c, posix/src/condinit.c, posix/src/keycreate.c, posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c, posix/src/mqueueopen.c, posix/src/mqueueunlink.c, posix/src/mutexinit.c, posix/src/pbarrierinit.c, posix/src/prwlockinit.c, posix/src/pspininit.c, posix/src/pthreadcreate.c, posix/src/pthreadexit.c, posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c, posix/src/timercreate.c, rtems/src/barrierident.c, rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c, rtems/src/ratemonident.c, rtems/src/regionident.c, rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c, sapi/src/extensionident.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/apimutexallocate.c, score/src/objectextendinformation.c, score/src/objectgetnameasstring.c, score/src/objectmp.c, score/src/objectnametoid.c: Convert the Objects_Name type from a simple type to a union of an unsigned 32 bit integer and a pointer. This should help eliminate weird casts between u32 and pointers in various places. The APIs now have to explicitly call _u32 or _string versions of helper routines. This should also simplify things and eliminate the need for ugly casts in some cases.
  • score/src/objectclearname.c, score/src/objectcomparenameraw.c, score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c, score/src/objectcopynamestring.c: Removed.
  • Property mode set to 100644
File size: 116.2 KB
Line 
12008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
2
3        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
4        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
5        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
6        libmisc/stackchk/check.c, posix/src/condinit.c,
7        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
8        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
9        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
10        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
11        posix/src/prwlockinit.c, posix/src/pspininit.c,
12        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
13        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
14        posix/src/timercreate.c, rtems/src/barrierident.c,
15        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
16        rtems/src/ratemonident.c, rtems/src/regionident.c,
17        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
18        sapi/src/extensionident.c, score/Makefile.am,
19        score/include/rtems/score/object.h,
20        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
21        score/src/objectextendinformation.c,
22        score/src/objectgetnameasstring.c, score/src/objectmp.c,
23        score/src/objectnametoid.c: Convert the Objects_Name type from a
24        simple type to a union of an unsigned 32 bit integer and a pointer.
25        This should help eliminate weird casts between u32 and pointers in
26        various places. The APIs now have to explicitly call _u32 or _string
27        versions of helper routines. This should also simplify things and
28        eliminate the need for ugly casts in some cases.
29        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
30        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
31        score/src/objectcopynamestring.c: Removed.
32
332008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
34
35        * score/src/threadblockingoperationcancel.c: Clean up.
36        * score/src/threadqextract.c: Restructure to eliminate dead code.
37
382008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
39
40        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
41        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
42        score/src/threadqdequeuepriority.c: Fix bugs encountered while
43        testing and clean up more code.
44
452008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
46
47        * score/src/threadqfirst.c: Remove switch.
48
492008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
50
51        * rtems/include/rtems/rtems/event.h,
52        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
53        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
54        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
55        score/include/rtems/score/interr.h,
56        score/include/rtems/score/thread.h,
57        score/include/rtems/score/threadq.h,
58        score/include/rtems/score/tqdata.h,
59        score/inline/rtems/score/threadq.inl,
60        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
61        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
62        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
63        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
64        score/src/threadqextract.c, score/src/threadqextractfifo.c,
65        score/src/threadqextractpriority.c,
66        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
67        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
68        score/src/threadqflush.c, score/src/threadqrequeue.c,
69        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
70        blocking synchronization critical sections. This resulted in three
71        copies of essentially the same hard to test critical section code
72        becoming the one shared routine _Thread_blocking_operation_Cancel. In
73        addition, the thread queue and event code now share a common
74        synchronization enumerated type. Along the way, switches were
75        reworked to eliminate dead code generated by gcc and comments and
76        copyrights were updated.
77        * score/include/rtems/score/threadsync.h,
78        score/src/threadblockingoperationcancel.c: New files.
79
802008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
81
82        * libi2c/README_libi2c: Correct spelling error.
83        * score/src/threadclearstate.c: Improve comment.
84
852008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
86
87        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
88        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
89        posix/src/timergettime.c, posix/src/timersettime.c,
90        score/include/rtems/score/timespec.h:
91
922008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
93
94        * libmisc/shell/Makefile.am: Don't use make variables.
95
962008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
97
98        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
99        existing one.
100
1012008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
102
103        * score/include/rtems/score/wkspace.h,
104        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
105        inline _Workspace_Free or _Workspace_Allocate since they are not
106        always inlined and actually smaller overall as subroutines. They are
107        not particularly time critical so inlining is not absolutely
108        necessary.
109
1102008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
111
112        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
113        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
114        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
115        Condition Variable object get helpers because they are more
116        complicated than the norm. They can implicitly perform a create. They
117        cross the line as being too complex and large to inline since they
118        negatively impact size and binary test coverage.
119        * posix/src/condget.c, posix/src/mutexget.c: New files.
120
1212008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
122
123        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
124        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
125        * libcsupport/src/malloc_p.h: Correct prototype.
126
1272008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
128
129        * score/include/rtems/score/coremutex.h,
130        score/src/coremutexseizeintr.c: Fix conditional code for inlining
131        _CORE_mutex_Seize_interrupt_trylock() and add comments.
132
1332008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
134
135        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
136
1372008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
138
139        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
140        libcsupport/src/free.c, libcsupport/src/malloc.c,
141        libcsupport/src/malloc_deferred.c,
142        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
143        libcsupport/src/malloc_sbrk_helpers.c,
144        libcsupport/src/posix_memalign.c: Place all deferred free code and
145        place it in subroutines. Add plugin for dirtying allocated memory to
146        assist in debugging. Clean up comments and spacing as needed.
147        * libcsupport/src/malloc_dirtier.c: New file.
148
1492008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
150
151        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
152        when there is an error.
153
1542008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
155
156        * posix/src/keycreate.c, rtems/src/eventseize.c,
157        score/include/rtems/score/interr.h: Rearranged source to allow more
158        test coverage.
159
1602008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
161
162        * libcsupport/src/__assert.c: Clean up and make __assert() call
163        __assert_func().
164
1652008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
166
167        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
168        need to have it also.
169
1702008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
171
172        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
173        * libcsupport/include/rtems/malloc.h,
174        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
175        libcsupport/src/malloc_p.h,
176        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
177        support pluggable and optional.  This eliminates the need for
178        heap extend and sbrk in the minimum footprint which is ~2.5K on
179        the SPARC.
180        * sapi/include/confdefs.h: Add the following configuration points:
181          + CONFIGURE_MALLOC_STATISTICS
182          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
183        * libcsupport/src/malloc_sbrk_helpers.c: New file.
184
1852008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
186
187        * score/Makefile.am: Add missing file.
188
1892008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
190
191        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
192
1932008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
194
195        * libmisc/Makefile.am: Add new files.
196        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
197        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
198        * libmisc/shell/shellconfig.h: Add wkspace command.
199        * libmisc/shell/main_wkspaceinfo.c,
200        libmisc/shell/print_heapinfo.c: New files.
201
2022008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
203
204        * score/inline/rtems/score/isr.inl: Fix spacing.
205        * score/src/apimutexallocate.c: Fix spacing.
206        * score/src/coremsgseize.c: Check for message pending instead of
207        message pending count to avoid dead code from inlined chain routine.
208        It checks if the chain is empty so is redundant to count == 0.
209
2102008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
211
212        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
213        up.
214
2152008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
216
217        * posix/src/pthreadcreate.c: Add commit.
218        * posix/src/pthreadinitthreads.c: Fix line length.
219
2202008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
221
222        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
223
2242008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
225
226        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
227        coding it.
228
2292008-01-05      Chris Johns <chrisj@rtems.org>
230
231        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
232        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
233        * libblock/include/rtems/flashdisk.h: Add docmentation about the
234        control fields. Add more control fields to handle the flash when
235        full.
236        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
237        detects a descriptor is erased. Add support for unavailable blocks
238        the user can configure. Print the used list as a diag. Fix the bug
239        when a page is detected as failed and present on more than one
240        queue. Add a count to the queues so queue length can be used to
241        manage compaction.
242       
2432008-01-03      Till Straumann <strauman@slac.stanford.edu>
244
245        * score/src/threadhandler.c, sapi/src/exshutdown.c:
246        cannot call _fini via atexit() from rtems_shutdown_executive()
247        because at the point where rtems_shutdown_executive is called
248        the C-library is already dead.
249        Instead, register an atexit(_fini) after calling _init().
250
2512007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
252
253        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
254        Hopefully this implementation is OK.
255        * libcsupport/src/_rename_r.c: New file.
256
2572007-12-22      Chris Johns <chrisj@rtems.org>
258
259        * configure.ac: fixed bug that always enabled strict order
260        mutexes.
261        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
262        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
263        list if the mutex is initialised locked.
264        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
265        message to show the error is an rtems-net error.
266        * libmisc/monitor/mon-network.c: Removed warnings.
267        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
268        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
269        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
270        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
271        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
272        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
273        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
274        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
275        libmisc/shell/warnx.c: New. Ported from BSD.
276        * libmisc/shell/shellconfig.h: Add the cp command.
277        * libmisc/Makefile.am: Add the new files to the shell.
278        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
279        support.
280        * libblock/src/flashdisk.c: Fixed disk drive count size setting
281        bug.
282       
2832007-12-21      Xi Yang <hiyangxi@gmail.com>
284
285        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
286        of priority inheritance on mutexes as well as enforce proper order of
287        release.
288
2892007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
290
291        * configure.ac, score/include/rtems/score/coremutex.h,
292        score/inline/rtems/score/coremutex.inl: Add the ability to disable
293        inlining coremutex seize. This reduces the code size and also
294        improves the process of coverage analysis.
295        * score/src/coremutexseizeintr.c: New file.
296
2972007-12-21      Xi Yang <hiyangxi@gmail.com>
298
299        * configure.ac, score/include/rtems/score/coremutex.h,
300        score/include/rtems/score/thread.h,
301        score/inline/rtems/score/coremutex.inl,
302        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
303        support for proper stacking of priority inheritance on mutexes as
304        well as enforce proper order of release.
305
3062007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
307
308        PR 1268/cpukit
309        * libcsupport/include/rtems/assoc.h: There is no
310        rtems_assoc_ptr_by_value method.
311
3122007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
313
314        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
315        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
316
3172007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
318
319        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
320
3212007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
322
323        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
324
3252007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
326
327        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
328        rtems_task_self() directive.
329        * rtems/src/taskself.c: New file.
330
3312007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
332
333        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
334        and resolved copyright information.
335        * posix/src/kill_r.c: New file.
336
3372007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
338
339        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
340
3412007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
342
343        * sapi/include/confdefs.h: Revert. Requires info not available at
344        preprocessing time.
345
3462007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
347
348        * sapi/include/confdefs.h: Catch the error when the user lowers the
349        maximum number of drivers below the number of statically configured
350        ones.
351
3522007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
353
354        * sapi/src/extension.c, sapi/src/extensioncreate.c,
355        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
356        Manager clean up. Update object id switches to new pattern. Catch
357        some NULL parameter errors.
358
3592007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
360
361        * posix/src/psignalunblockthread.c: Remove source that
362
3632007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
364
365        * posix/src/psignalchecksignal.c: Make assert active during debug mode
366        only
367
3682007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
369
370        * posix/src/psignal.c: Move source around to enable path testing
371
3722007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
373
374        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
375        libcsupport/src/free.c, libcsupport/src/malloc.c,
376        libcsupport/src/malloc_p.h,
377        libcsupport/src/malloc_report_statistics_plugin.c,
378        libmisc/shell/shell.c, libmisc/shell/shell.h,
379        score/src/objectinitializeinformation.c: Add posix_memalign. Split
380        out management of deferred frees to subroutines.
381        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
382
3832007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
384
385        * libcsupport/Makefile.am, libcsupport/preinstall.am,
386        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
387        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
388        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
389        one function per file. Also split out statistics into a separate file
390        which can be plugged in dynamically. Right now, it is always in. I
391        suspect that splitting the file removed more code than leaving
392        statistics in. I tinkered with malloc information command in the
393        shell. I resurrected the malloc arena code as malloc boundary. This
394        code is now compiled all the time even though it does not appear to
395        work.
396        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
397        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
398        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
399        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
400        libcsupport/src/malloc_get_statistics.c,
401        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
402        libcsupport/src/malloc_report_statistics.c,
403        libcsupport/src/malloc_report_statistics_plugin.c,
404        libcsupport/src/malloc_statistics_helpers.c,
405        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
406        libmisc/shell/main_perioduse.c: New files.
407
4082007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
409
410        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
411        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
412        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
413        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
414        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
415        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
416        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
417        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
418        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
419        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
420        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
421        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
422        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
423        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
424        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
425        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
426        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
427        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
428        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
429        rtems_Shell_ to rtems_shell_.
430
4312007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
432
433        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
434        with info and dump as replacement for older command. Fix what looked
435        like a typo for mount sub-commands.
436        * libmisc/shell/main_mallocinfo.c: New file.
437        * libmisc/shell/main_mallocdump.c: Removed.
438
4392007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
440
441        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
442        malloc_info() routine.
443        * libcsupport/src/mallocinfo.c: New file.
444
4452007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
446
447        * libmisc/stackchk/check.c: Add print of current stack pointer and
448        stack info even if stack checker is not initialized.
449
4502007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
451
452        * libcsupport/src/printk.c: Style.
453
4542007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
455
456        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
457        required in multiprocessing configuration.
458
4592007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
460
461        * score/src/objectget.c: Revert.
462
4632007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
464
465        * posix/src/timergettime.c: Include rtems/score/timespec.h
466
4672007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
468
469        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
470        posix/include/mqueue.h, posix/include/sched.h,
471        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
472        posix/include/rtems/posix/priority.h,
473        posix/include/rtems/posix/psignal.h,
474        posix/include/rtems/posix/threadsup.h,
475        posix/include/rtems/posix/timer.h,
476        posix/inline/rtems/posix/priority.inl,
477        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
478        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
479        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
480        posix/src/cleanuppush.c, posix/src/cond.c,
481        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
482        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
483        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
484        posix/src/conddestroy.c, posix/src/condinit.c,
485        posix/src/condsignal.c, posix/src/condsignalsupp.c,
486        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
487        posix/src/keycreate.c, posix/src/keydelete.c,
488        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
489        posix/src/keysetspecific.c, posix/src/mqueue.c,
490        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
491        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
492        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
493        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
494        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
495        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
496        posix/src/mqueueunlink.c, posix/src/mutex.c,
497        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
498        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
499        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
500        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
501        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
502        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
503        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
504        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
505        posix/src/psignal.c, posix/src/psignalchecksignal.c,
506        posix/src/psignalclearprocesssignals.c,
507        posix/src/psignalclearsignals.c,
508        posix/src/psignalsetprocesssignals.c,
509        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
510        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
511        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
512        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
513        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
514        posix/src/semclose.c, posix/src/semdestroy.c,
515        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
516        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
517        posix/src/semwait.c, posix/src/setcancelstate.c,
518        posix/src/setcanceltype.c, posix/src/sysconf.c,
519        posix/src/testcancel.c: Add missing copyright statements.
520
5212007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
522
523        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
524
5252007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
526
527        * posix/Makefile.am, posix/preinstall.am,
528        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
529        Timer implementation into multiple files. Add obvious error checks
530        for NULL parameters. Attempt to reduce include files.
531        * posix/src/timercreate.c, posix/src/timerdelete.c,
532        posix/src/timergetoverrun.c, posix/src/timergettime.c,
533        posix/src/timerinserthelper.c, posix/src/timersettime.c,
534        posix/src/timertsr.c: New files.
535        * posix/src/ptimer1.c: Removed.
536
5372007-12-17      Chris Johns <chrisj@rtems.org>
538
539        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
540        libmisc/shell/main_unmount.c: New.
541        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
542        blksync, msdosfmt, and unmount commands.
543
5442007-12-17      Chris Johns <chrisj@rtems.org>
545
546        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
547        system opts table.
548        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
549        system opts table.
550        * libmisc/Makefile.am: Add the mount command and supporting files.
551        * libmisc/preinstall.am: Rebuilt.
552        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
553        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
554        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
555        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
556        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
557        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
558        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
559        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
560        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
561        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
562        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
563        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
564        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
565        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
566        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
567        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
568        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
569        libmisc/shell/write_file.c: Move all shell_* types, variables and
570        functions to rtems_shell_* to avoid namespace clashes with
571        applications. The is an RTEMS shell after all.
572        * libmisc/shell/shell.h, libmisc/shell/internal.h,
573        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
574        functions to rtems_shell_* to avoid namespace clashes with
575        applications. Add the mount command supporting types.
576        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
577        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
578        libmisc/shell/main_mount_tftp.c: New.
579       
5802007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
581
582        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
583
5842007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
585
586        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
587        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
588        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
589        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
590        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
591        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
592        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
593        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
594        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
595        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
596        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
597        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
598        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
599        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
600        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
601        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
602        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
603        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
604        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
605        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
606        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
607        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
608        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
609        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
610        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
611        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
612        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
613        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
614        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
615        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
616
6172007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
618
619        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
620        API.
621
6222007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
623
624        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
625        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
626        Minor cleanup to improve testability and eliminate dead code.
627
6282007-12-12      Chris Johns <chrisj@rtems.org>
629
630        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
631        Add RTEMS license details.
632
6332007-12-12      Chris Johns <chrisj@rtems.org>
634
635        * Makefile.am, preinstall.am: Added
636        libblock/include/rtems/flashdisk.h to the installed header list.
637        * libblock/Makefile.am: Add flashdisk.c to the files to build.
638        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
639        New.
640
6412007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
642
643        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
644        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
645        score/Makefile.am, score/preinstall.am: Revert testing patch.
646
6472007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
648
649        * posix/src/sched_rr_get_interval.c: Fix warning.
650
6512007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
652
653        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
654        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
655        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
656        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
657        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
658        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
659        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
660        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
661        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
662        files into one function per file.
663        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
664        posix/src/aio_read.c, posix/src/aio_return.c,
665        posix/src/aio_suspend.c, posix/src/aio_write.c,
666        posix/src/lio_listio.c, posix/src/sched_getparam.c,
667        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
668        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
669        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
670        posix/src/sched_yield.c: New files.
671        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
672
6732007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
674
675        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
676        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
677        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
678        posix/src/clocksettime.c, posix/src/devctl.c,
679        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
680        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
681        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
682        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
683
6842007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
685
686        * posix/src/adjtime.c: Clean up and verify against behavior documented
687        in GNU/Linux man page provided with Fedora 7.
688
6892007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
690
691        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
692        automake variables.
693
6942007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
695
696        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
697        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
698        rtems/src/taskvariabledelete.c: Add test code for task variables to
699        improve coverage.
700        * rtems/src/taskvariable_invoke_dtor.c: New file.
701
7022007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
703
704        * posix/preinstall.am: Revert debug patch.
705
7062007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
707
708        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
709        BSP.
710
7112007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
712
713        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
714
7152007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
716
717        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
718        disabled.
719
7202007-12-12      Chris Johns <chrisj@rtems.org>
721
722        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
723        header list.
724        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
725        in any order rather than before any commands have been added. Also
726        made the command's strings be copies rather than references.
727        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
728
7292007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
730
731        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
732        Move Ada support code that is untestable from the Standard RTEMS Test
733        Suite into its own directory. All code in score, posix, rtems, and
734        sapi should be testable by the Standard RTEMS Test Suites. It was
735        buried under POSIX before so this should be a clearer location
736        anyway.
737        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
738        libgnat/adasupp.c: New files.
739        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
740
7412007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
742
743        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
744        Reverse file contents.
745
7462007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
747
748        * sapi/include/rtems/config.h: Correct idle task prototype.
749
7502007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
751
752        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
753        libmisc/shell/internal.h, libmisc/shell/shell.c,
754        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
755        processing now separated from main command loop. Addition of user
756        commands and aliases tested. Monitor registration now explicit.
757        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
758        libmisc/shell/write_file.c: New files.
759
7602007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
761
762        * libmisc/Makefile.am: Fix typo.
763
7642007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
765
766        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
767        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
768        into multiple files and add initial stages of command configuration.
769        This seems to work but the monitor commands need to be integrated
770        this way and the ability to configure user commands needs to be
771        tested.
772        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
773        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
774        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
775        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
776        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
777        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
778        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
779        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
780        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
781        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
782        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
783        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
784        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
785        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
786        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
787        libmisc/shell/str2int.c: New files.
788
7892007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
790
791        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
792
7932007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
794
795        * sapi/include/rtems/config.h: Fix idle thread prototype.
796
7972007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
798
799        * sapi/include/confdefs.h: Separate the concept of configuring the
800        interrupt stack size from actually reserving memory for it in the
801        RTEMS Workspace.
802
8032007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
804
805        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
806        installed. It is the initialization interface for both GoAhead and
807        Simple HTTPD.
808
8092007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
810
811        * sapi/include/rtems/config.h: Correct previous commit.
812
8132007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
814
815        * sapi/include/rtems/config.h: Commit temporary fix so
816        interrupt_stack_size is accessible before RTEMS is initialized.
817
8182007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
819
820        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
821        sapi/include/rtems/init.h, sapi/src/exinit.c,
822        score/include/rtems/system.h, score/src/isr.c: Move
823        interrupt_stack_size field from CPU Table to Configuration Table.
824        Eliminate CPU Table from all ports. Delete references to CPU Table in
825        all forms.
826
8272007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
828
829        * sapi/include/rtems/config.h: Add accessory macros for Configuration
830        Table fields merged from CPU Table.
831
8322007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
833
834        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
835        posix/preinstall.am, posix/include/rtems/posix/cond.h,
836        posix/include/rtems/posix/mqueue.h,
837        posix/include/rtems/posix/mutex.h,
838        posix/include/rtems/posix/pthread.h,
839        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
840        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
841        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
842        sapi/include/confdefs.h, sapi/include/rtems/config.h,
843        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
844        sapi/src/exinit.c, score/include/rtems/system.h,
845        score/include/rtems/score/mpci.h, score/src/mpci.c,
846        score/src/thread.c, score/src/threadcreateidle.c,
847        score/src/threadstackallocate.c, score/src/threadstackfree.c,
848        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
849        the Configuration Table. This included pretasking_hook,
850        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
851        extra_mpci_receive_server_stack, stack_allocate_hook, and
852        stack_free_hook. As a side-effect of this effort some multiprocessing
853        code was made conditional and some style clean up occurred.
854
8552007-12-03      Chris Johns <chrisj@rtems.org>
856
857        * libmisc/shell/shell.h: Added comments for the parameters to the
858        shell_init function.
859        * libmisc/shell/shell.c: Only set cflags if tcflags is
860        non-zero. This means the shell can use the current cflags settings
861        and the application does not need to know the baudrate etc.
862        * libmisc/capture/capture.h: Fix the comment.
863
8642007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
865
866        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
867        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
868        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
869        rtems/src/dpmemexternal2internal.c,
870        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
871        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
872        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
873        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
874        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
875        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
876        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
877        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
878        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
879        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
880        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
881        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
882        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
883        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
884        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
885        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
886        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
887        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
888        rtems/src/timercancel.c, rtems/src/timerdelete.c,
889        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
890        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
891        rtems/src/timerserverfirewhen.c: Restructured all code with
892        the switch (location) pattern so that OBJECTS_LOCAL is first
893        and we can fall into it and the OBJECTS_ERROR case breaks
894        to a return RTEMS_INVALID_ID.  This eliminates the return
895        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
896        was unreachable and untestable code.  This resulted in a code
897        savings of approximately 20 bytes per file on the SPARC/ERC32.
898
8992007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
900
901        * posix/Makefile.am: Restructed to move the
902        OBJECTS_LOCAL case to the top of the switch statement and
903        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
904        changes produced simplier assembly code and allowed for complete
905        test coverage.  Also applied some consistency to the functions
906        that translate the core status codes to POSIX status codes.
907
9082007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
909
910        * posix/include/rtems/posix/mutex.h,
911        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
912        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
913        posix/src/condwaitsupp.c, posix/src/keydelete.c,
914        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
915        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
916        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
917        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
918        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
919        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
920        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
921        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
922        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
923        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
924        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
925        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
926        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
927        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
928        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
929        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
930        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
931        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
932        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
933        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
934        posix/src/semclose.c, posix/src/semdestroy.c,
935        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
936        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
937        rtems/src/timerfireafter.c, score/include/rtems/system.h,
938        score/include/rtems/score/corebarrier.h,
939        score/include/rtems/score/coremsg.h,
940        score/include/rtems/score/coremutex.h,
941        score/include/rtems/score/coresem.h: Restructed to move the
942        OBJECTS_LOCAL case to the top of the switch statement and
943        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
944        changes produced simplier assembly code and allowed for complete
945        test coverage.  Also applied some consistency to the functions
946        that translate the core status codes to POSIX status codes.
947        * posix/src/mutextranslatereturncode.c,
948        posix/src/semaphoretranslatereturncode.c: New files.
949        * posix/src/mutexfromcorestatus.c: Removed.
950
9512007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
952
953        * posix/inline/rtems/posix/priority.inl: Fix typo.
954
9552007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
956
957        * sapi/src/exinit.c, score/include/rtems/score/object.h,
958        score/include/rtems/score/thread.h, score/src/object.c,
959        score/src/thread.c: Conditionally compile out more code that is
960        specific to multiprocessor configurations.
961
9622007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
963
964        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
965        posix/src/conddestroy.c, posix/src/condinit.c,
966        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
967        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
968        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
969        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
970        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
971        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
972        posix/src/mutexattrgetprioceiling.c,
973        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
974        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
975        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
976        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
977        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
978        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
979        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
980        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
981        posix/src/semclose.c, posix/src/semdestroy.c,
982        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
983        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
984        Remove all pretense of POSIX MP support. The support in place was
985        only a shell. This should make maintenance easier.
986        * posix/include/rtems/posix/condmp.h,
987        posix/include/rtems/posix/mqueuemp.h,
988        posix/include/rtems/posix/mutexmp.h,
989        posix/include/rtems/posix/pthreadmp.h,
990        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
991        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
992
9932007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
994
995        * configure.ac, score/inline/rtems/score/thread.inl,
996        score/src/threaddispatch.c: Add ability for user to disable inlining
997        of _Thread_Enable_dispatch. This can save code space but more
998        importantly it means the binary generated does not have code inlined
999        that is difficult to test and very seldom executed.
1000
10012007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1002
1003        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1004        rtems/include/rtems/rtems/barrier.h,
1005        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
1006        score/src/corerwlockrelease.c: Fixed several implementation errors.
1007
10082007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1009
1010        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
1011        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1012        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1013        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1014        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
1015        case to the top of the switch statement, have a single exit with one
1016        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
1017        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
1018        code and allowed for complete test coverage.
1019
10202007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1021
1022        * sapi/include/confdefs.h,
1023        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
1024        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1025
10262007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1027
1028        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1029
10302007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1031
1032        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
1033        support Thumb.
1034
10352007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1036
1037        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
1038        Now works on gen5200/icecube.
1039
10402007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1041
1042        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
1043
10442007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1045
1046        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
1047
10482007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1049
1050        * score/include/rtems/score/thread.h: Fix spelling error.
1051
10522007-11-17      Till Straumann <strauman@slac.stanford.edu>
1053
1054        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
1055        Added checks so that use of 'stdio' is avoided (falling
1056        back to 'printk') before the system is up.
1057        Publish driver entry points so that the libi2c driver could
1058        be added to the applications 'device driver table'.
1059        This is not fully implemented yet, though, since in addition to
1060        initializing libi2c the low-level i2c bus drivers as well
1061        as high-level i2c device drivers need to be registered
1062        with the library.
1063        Updated README_libi2c accordingly.
1064
10652007-11-17      Till Straumann <strauman@slac.stanford.edu>
1066
1067        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
1068        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
1069        so that it knows what PHY they want to look at.
1070
10712007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1072
1073        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
1074        in opposite files. Whoops!
1075
10762007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1077
1078        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
1079        of the focus was on the beginning stages of making the login checker
1080        pluggable just like the shell.
1081
10822007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1083
1084        * posix/src/mprotect.c: Update comments.
1085
10862007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1087
1088        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
1089        will require gcc 4.3 or newer.
1090        * posix/src/ada_intrsupp.c: New file.
1091
10922007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1093
1094        * sapi/src/exinit.c, score/Makefile.am,
1095        score/include/rtems/score/apimutex.h: API Mutex calls should never
1096        have been inlined. Inlining them lead to many inlined copies of core
1097        mutex lock. This lead to over 2K savings in the SPARC/ERC32
1098        minimum.exe.
1099        * score/src/apimutex.c, score/src/apimutexallocate.c,
1100        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
1101
11022007-11-07      Till Straumann <strauman@slac.stanford.edu>
1103
1104        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
1105        around _CPU_ISR_Set_level().
1106
11072007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1108
1109        * score/inline/rtems/score/object.inl: During test coverage analysis,
1110        we identified this sanity check which should have been conditional on
1111        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
1112        operations. With all APIs enabled, this saved 352 bytes from the
1113        minimum executable on the SPARC/ERC32.
1114
11152007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1116
1117        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
1118        compiler conditional attribute for methods that do not return. This
1119        avoids gcc generating unreachable code following calls to
1120        _Internal_error_Occurred.
1121
11222007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1123
1124        * configure.ac: Add ARM/Thumb Makefile.
1125
11262007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1127
1128        PR 1266/cpukit
1129        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
1130        of class for key indexing.
1131
11322007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1133
1134        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
1135        Fix headers and formatting.
1136
11372007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1138
1139        Miscellaneous changes made after a review against the POSIX spec.
1140        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
1141        passes a NULL in the attributes parameter, default attributes are used.
1142        * posix/src/prwlockdestroy.c: If there is at least one thread
1143        waiting, do not allow deletion.
1144        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
1145        operation used to obtain a RWLock for writing.
1146        * posix/src/pspinlocktranslatereturncode.c,
1147        score/include/rtems/score/corespinlock.h,
1148        score/src/corespinlockrelease.c: If the current thread is not the
1149        holder of the lock, do not allow an unlock and return EPERM.
1150        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
1151        for queueing with a timeout handler.
1152
11532007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
1154
1155        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
1156        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
1157        stack so gdb backtrace does not print corrupted frame message after
1158        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
1159        SPARC implementation and I made it more general.
1160
11612007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1162
1163        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
1164        Cleaned up reports and fixed a bug related the printf format which
1165        resulted in lack of leading zeroes and misleading magnitude.
1166        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
1167
11682007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1169
1170        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
1171        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
1172        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
1173        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
1174        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
1175        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
1176        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
1177        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
1178        posix/src/condinit.c, posix/src/condsignalsupp.c,
1179        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1180        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1181        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1182        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1183        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1184        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
1185        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
1186        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1187        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
1188        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1189        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1190        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
1191        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
1192        posix/src/pspindestroy.c, posix/src/pspinlock.c,
1193        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1194        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1195        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1196        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1197        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1198        posix/src/semclose.c, posix/src/semdestroy.c,
1199        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1200        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1201        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
1202        rtems/src/dpmemexternal2internal.c,
1203        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1204        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1205        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1206        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1207        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1208        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1209        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1210        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1211        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1212        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
1213        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1214        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1215        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1216        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
1217        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1218        rtems/src/signalsend.c, rtems/src/taskdelete.c,
1219        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
1220        rtems/src/taskrestart.c, rtems/src/taskresume.c,
1221        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
1222        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
1223        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
1224        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
1225        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
1226        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1227        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1228        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
1229        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
1230        score/src/mpci.c, score/src/objectgetnameasstring.c,
1231        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
1232        multiprocessing is disabled, do not even allow the constant
1233        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
1234        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
1235        in the generation of binary code which can NOT be reached.
1236
12372007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1238
1239        * score/Makefile.am, score/include/rtems/score/thread.h,
1240        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
1241        resulted in unnessary code explosion, many uncovered paths when
1242        looking at binary executable coverage, and only optimized getting
1243        self. Id translations were still getting pushed to a subroutine call
1244        to _Objects_Get. Later the non-inlined version can be further
1245        optimized to get Ids in range for the current API, then self, then
1246        look at other APIs.
1247        * score/src/threadget.c: New file.
1248
12492007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1250
1251        * libi2c/README-libi2c
1252        document structure of libi2c library
1253
12542007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1255
1256        * libi2c/libi2c.c, libi2c/libi2c.h:
1257        extend API to support SPI devices
1258        made libi2c.h C++-proof
1259
12602007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1261
1262        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
1263        also in another file.  Mistake after splitting.
1264        * libcsupport/Makefile.am: Reflect file removal.
1265
12662007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1267
1268        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
1269        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
1270        Minor updates from FreeBSD.
1271
12722007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1273
1274        * score/include/rtems/score/copyrt.h: Update year.
1275
12762007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1277
1278        * score/include/rtems/score/copyrt.h: Update year.
1279
12802007-10-11      Daniel Hellstrom <daniel@gaisler.com>
1281
1282        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
1283        Fixed check of status when registering driver. Add use of strerror().
1284
12852007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
1286        Ralf Corsépius <ralf.corsepius@rtems.org>
1287
1288        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
1289        libnetworking/libc/if_indextoname.c,
1290        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
1291        * Makefile.am: Add files above.
1292        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
1293
12942007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1295
1296        * libmisc/stackchk/check.c: Eliminate output with little information.
1297        Always print a blown message using the same routine. Now works with
1298        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
1299        support in your GCC version.
1300
13012007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1302
1303        * libcsupport/src/gxx_wrappers.c: Revert.
1304
13052007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1306
1307        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
1308        PRId32 to fix warning.
1309
13102007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1311
1312        * telnetd/passwd.h: New file.
1313
13142007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1315
1316        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
1317        telnetd/telnetd.h: telnetd rewrite.
1318        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
1319
13202007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1321
1322        PR 1262/filesystem
1323        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
1324        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
1325        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
1326        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
1327        writev() including documentation and test case.
1328        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
1329
13302007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1331
1332        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
1333        document what is required to provide a fully functional
1334        implementation.
1335        * libnetworking/rtems/rtems_socketpair.c: New file.
1336
13372007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1338
1339        * aclocal/version.m4: Bump RTEMS_API to 4.9.
1340        Bump RTEMS_VERSION to 4.8.99.0.
1341
13422007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1343
1344        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
1345
13462007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1347
1348        * posix/src/semaphorecreatesupp.c: Fixed warning.
1349
13502007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1351
1352        * libmisc/dumpbuf/dumpbuf.c: Use printk.
1353
13542007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1355
1356        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
1357        Use uint32_t for ext_accm.
1358
13592007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1360
1361        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
1362        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
1363        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
1364        fixed-size types instead of BSD fixed-size types.
1365
13662007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1367
1368        * libmisc/stackchk/check.c: Fix alignment of output.
1369
13702007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1371
1372        * libmisc/monitor/monitor.h: Add network commands that were in the
1373        network supplement but not in the code.
1374        * libmisc/monitor/mon-network.c: New file.
1375
13762007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1377
1378        PR 1261/cpukit
1379        * posix/src/semaphorecreatesupp.c: Initialize all fields during
1380        semaphore creation.
1381
13822007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1383
1384        PR 1260/cpukit
1385        * posix/src/pthread.c: Get initial signals blocked from creating
1386        thread not from ourselves.
1387
13882007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1389
1390        * score/src/watchdogtickle.c: Remove tabs.
1391
13922007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1393
1394        PR 1259/rtems
1395        * rtems/src/taskcreate.c: Initialize is_global in all cases since
1396        memory is not guaranteed to be zero.
1397
13982007-09-12  Sergei Organov  <osv@javad.com>
1399
1400        PR 1258/rtems
1401        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
1402        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
1403        Use block_allocate() instead of _Heap_Block_allocate(). Replace
1404        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
1405        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
1406        to changed block split strategy in _Heap_Allocate_aligned().
1407
14082007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
1409
1410        * libcsupport/src/printk.c: Remove unnecessary comments.
1411
14122007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1413
1414        * libmisc/monitor/mon-monitor.c:
1415        Corrected linked list of rtems_monitor_commands
1416
14172007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1418
1419        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
1420        walk on init, malloc, and free. The ability to walk the heap appears
1421        to disappeared during the rework of the C Program heap to skip the
1422        Region.
1423
14242007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1425
1426        * score/src/heap.c: Style.
1427        * score/src/heapwalk.c: Add more information to prints.
1428        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
1429        is disabled.
1430
14312007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1432
1433        * libcsupport/Makefile.am, libcsupport/src/printk.c:
1434        * libcsupport/src/printk_plugin.c: New file.
1435        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
1436        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
1437        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
1438        rtems/src/ratemonreportstatistics.c: Added capability to specify
1439        your own "printf" routine to various reporting functions.  This
1440        added an XXX_with_plugin as the underlying implementation for
1441          + rtems_rate_monotonic_report_statistics
1442          + rtems_stack_checker_report_usage
1443          + rtems_cpu_usage_report
1444        As demonstration, the http netdemo can now print out stack
1445        and cpu usage reports.
1446
14472007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1448
1449        * shttpd/compat_rtems.c: Style clean up.
1450
14512007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1452
1453        * rtems/src/ratemonperiod.c: Clean up.
1454        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
1455
14562007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1457
1458        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
1459
14602007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1461
1462        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
1463
14642007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1465
1466        * libmisc/Makefile.am: Add new files.
1467
14682007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1469
1470        * libmisc/monitor/mon-object.c,
1471        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
1472        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
1473        * libmisc/monitor/mon-task, libmisc/Makefile.am:
1474        Added functionality for osmonweb support
1475
14762007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1477
1478        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
1479        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
1480        that are needed by osmonweb.
1481
14822007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1483
1484        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
1485        Use printk.
1486
14872007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1488
1489        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
1490        spacing and spelling.
1491
14922007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1493
1494        PR 1256/networking
1495        * ftpd/ftpd.c: Fix unaligned access.
1496
14972007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1498
1499        * posix/Makefile.am: Always build nanosleep.
1500
15012007-08-17      Chris Johns <chrisj@rtems.org>
1502
1503        * libmisc/capture/README: Minor copyright change.
1504        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
1505        libmisc/capture/capture.h: Fixed the memory leak when lots of
1506        tasks are being created and deleted. Improved the trigger
1507        interface so all task type actions can be caught.
1508
15092007-08-13      Chris Johns <chrisj@rtems.org>
1510
1511        * score/include/rtems/score/object.h: Point the
1512        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
1513
15142007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1515
1516        PR 1248/networking
1517        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
1518        reported that when no interfaces are successfully attached, the
1519        default route is broken and may result in a jump to an illegal
1520        address.
1521
15222007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1523
1524        * score/inline/rtems/score/priority.inl: Use size_t instead of
1525          uint32_t for array index.
1526
15272007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1528
1529        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
1530          identify coldfire cpus.
1531
15322007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1533
1534        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
1535          coldfire.
1536
15372007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1538
1539        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
1540          work-around bug m68k/coldfire -fomit-frame-pointer bug
1541          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
1542
15432007-07-27      Chris Johns <chrisj@rtems.org>
1544
1545        * wrapup/Makefile.am: Create archive from a file for hosts
1546        with a limited command line size.
1547
15482007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1549
1550        * include/rtems/bspIo.h, include/rtems/pci.h:
1551        Add extern "C" guards. Reported by
1552        Robert S. Grimes <rsg@alum.mit.edu>.
1553
15542007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1555
1556        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
1557        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
1558        the time appears to be reported correctly and add up to what is
1559        expected.
1560
15612007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
1562
1563        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
1564        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
1565        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
1566
15672007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1568
1569        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
1570        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
1571        was always using uptime not time since last cpu usage reset when
1572        using nanoseconds granularity.
1573        * libmisc/cpuuse/cpuusagedata.c: New file.
1574
15752007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
1576
1577        * libcsupport/src/mount.c: Allow null for output parameter.
1578
15792007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1580
1581        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
1582        to shttpd initialization.
1583
15842007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1585
1586        * libcsupport/src/malloc.c: Clean up Malloc debug code.
1587        * score/include/rtems/score/heap.h: Spacing.
1588        * score/inline/rtems/score/thread.inl:
1589        * score/src/heapfree.c. Clean up and add explicit check of the address
1590        being freed actually being in the heap.
1591        * score/src/heapwalk.c: Switch to printk and do not call abort.
1592
15932007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1594
1595        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
1596        area contingent on the stack checker user extension having been
1597        initialized.
1598
15992007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1600
1601        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
1602        and recv(). We already had the BSD versions and these conflict
1603        sometimes when linking.
1604
16052007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1606
1607        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
1608        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
1609
16102007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1611
1612        * sapi/include/confdefs.h: Do not instantiate initialization
1613        thas/thread pointer tables for an API that is not configured.
1614
16152007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1616
1617        * libcsupport/Makefile.am:
1618        * libcsupport/src/open_dev_console.c: New file.
1619
16202007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1621
1622        * score/src/corerwlock.c: Make sure structure is fully initialized.
1623        When reused, some fields will not be zero like at initialization.
1624
16252007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1626
1627        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
1628        size. Account for this.
1629
16302007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1631
1632        * configure.ac: Add NDEBUG as a command line compilation option.
1633
16342007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1635
1636        * libmd/.cvsignore: New file.
1637
16382007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1639
1640        * shttpd/defs.h: Eliminate my_strncasecmp.
1641        * shttpd/string.c: Eliminate my_strncasecmp.
1642
16432007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1644
1645        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
1646        * pppd/Makefile.am: Reflect moving out md*.
1647        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
1648          libmd).
1649        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
1650        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
1651        * configure.ac, Makefile.am: Add libmd.
1652
16532007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1654
1655        * shttpd/defs.h: Eliminate my_strlcpy.
1656        * shttpd/string.c: Eliminate my_strlcpy.
1657
16582007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1659
1660        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
1661        * shttpd/string.c: Eliminate my_strdup, my_strndup.
1662        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
1663          libmd.a.
1664
16652007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1666
1667        * wrapup/Makefile.am: Add libmd.a.
1668
16692007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1670
1671        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
1672          Add pppd/libmd.a.
1673        * pppd/md4.c: Don't include pppd.h.
1674
16752007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1676
1677        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
1678
16792007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1680
1681        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
1682        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
1683        Add config.h support.
1684
16852007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1686
1687        * shttpd/compat_rtems.h: Define closesocket.
1688
16892007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1690
1691        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
1692
16932007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1694        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
1695        Use size_t for stack sizes.
1696
16972007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1698
1699        * configure.ac, Makefile.am: Add shttpd.
1700        * shttpd/Makefile.am: New.
1701        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
1702        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
1703        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
1704        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
1705        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
1706        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
1707        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
1708        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
1709        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
1710        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
1711        Import from shttpd-1.37.tar.gz.
1712
17132007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1714
1715        * configure.ac: Remove "pad" from CPU_CONTEXT.
1716
17172007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1718
1719        * score/src/coremsg.c: Formatting.
1720
17212007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1722
1723        * score/include/rtems/score/copyrt.h: Update copyright notice.
1724
17252007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1726
1727        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
1728        one function per file execpt io.c which contains required
1729        initialization methods.
1730        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
1731        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
1732        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
1733        sapi/src/iowrite.c: New files.
1734
17352007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1736
1737        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
1738        table into Workspace but now it is only done if the application needs
1739        extra slots for dynamic driver registration. Cleaned up
1740        rtems_io_register_driver and rtems_io_unregister_driver code and
1741        added numerous error cases to register.
1742
17432007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1744
1745        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
1746        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
1747        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
1748        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
1749        configuration parameter since it was used to configure a no longer
1750        used feature. Device names are now part of the filesystem not in a
1751        table. This also eliminated the variables _IO_Number_of_devices and
1752        _IO_Driver_name_table from RTEMS as well as the memory allocation
1753        used to populate _IO_Driver_name_table.
1754        * libmisc/monitor/mon-dname.c: Removed.
1755
17562007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1757
1758        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
1759        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
1760        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
1761        unused Workspace. Round the workspace required size to an 8 byte
1762        boundary instead of a 0x400 byte one. We may end up needing to add 8
1763        bytes again to account for the alignment rounding.
1764
17652007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1766
1767        Yu Chen <chyyuu@gmail.com>
1768        * score/src/corespinlockwait.c: Per question posted as
1769        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
1770        logical operator to <=.
1771
17722007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1773
1774        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
1775        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
1776        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
1777        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
1778        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
1779        executive initialization.
1780
17812007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1782
1783        * score/src/corerwlockrelease.c: Do not dereference NULL.
1784
17852007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1786
1787        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
1788        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1789        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
1790        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
1791        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
1792        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
1793        sapi/include/rtems/extension.h: Split Classic API data instantiation
1794        into individual files. This reduces the size of the BSS section when
1795        an optional manager stub is used. Some tests showed about a 600 byte
1796        reduction in BSS size.
1797        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
1798        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
1799        _RTEMS_tasks_Number_of_initialization_tasks because they were only
1800        used in one place after initialized. It was a waste of space.
1801        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
1802        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
1803        rtems/src/ratemondata.c, rtems/src/regiondata.c,
1804        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
1805        sapi/src/extensiondata.c: New files.
1806
18072007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1808
1809        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
1810        functionality into multiple files to eliminate unnecessary cohesion.
1811        Update README.
1812        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
1813        New files.
1814        * libmisc/cpuuse/cpuuse.c: Removed.
1815
18162007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1817
1818        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
1819        negative value in some circumstances. Also cleaned up to share uptime
1820        declaration.
1821
18222007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1823
1824        * ChangeLog, configure.ac, libcsupport/src/__times.c,
1825        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
1826        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
1827        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
1828        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
1829        score/Makefile.am, score/include/rtems/score/thread.h,
1830        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
1831        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
1832        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
1833        monotonic period statistics and CPU usage statistics. This capability
1834        is enabled by default although may be conditionally disabled by the
1835        user. It could be too much overhead on small targets but it does not
1836        appear to be bad in early testing. Its impact on code size has not
1837        been evaluated either. It is possible that both forms of statistics
1838        gathering could be disabled with further tweaking of the conditional
1839        compilation.
1840        * score/src/timespecdividebyinteger.c: New file.
1841
18422007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1843
1844        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
1845        functionally similar code here. Also cleanup print formats.
1846
18472007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1848
1849        * score/src/objectgetnameasstring.c: Internal threads use string names
1850        so in the current RTEMS source string object name can NOT be
1851        disabled. It is probably worth considering converting the internal
1852        threads to uint32_t style names so all the support for string names
1853        can be conditionally disabled.
1854
18552007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1856
1857        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
1858        and greater than operations for timespecs.
1859        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
1860        New files.
1861
18622007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1863
1864        * score/src/objectgetnameasstring.c: Remove bogus ifdef
1865        RTEMS_POSIX_API.
1866
18672007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
1868
1869        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
1870        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
1871        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
1872        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
1873        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
1874        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
1875        score/Makefile.am, score/include/rtems/score/object.h,
1876        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
1877        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
1878        Added the following directives: rtems_rate_monotonic_get_statistics,
1879        rtems_rate_monotonic_reset_statistics,
1880        rtems_rate_monotonic_reset_all_statistics,
1881        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
1882        Obsoleted the rtems/rtmonuse.h file as a public interface.
1883        * rtems/src/ratemongetstatistics.c,
1884        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
1885        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
1886        score/src/objectgetnameasstring.c: New files.
1887        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
1888
18892007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1890
1891        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
1892        rtems_io_register_name for use on unix.
1893        * libcsupport/src/unixlibc_io.c: New file.
1894
18952007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1896
1897        * score/src/coremsgseize.c: A blocking sender's message size was
1898        pulled out of the wrong field in the Wait information structure.
1899        * score/src/objectallocate.c: With the new optional manager support,
1900        we only stub out the initialization. This makes it possible to attempt
1901        to create an object with the information structure only initialized
1902        with all zeros.  This ensures we return an error cleanly in this case.
1903
19042007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1905
1906        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
1907        an optional manager, we cannot depend on it do initialize the
1908        internal Allocator Mutex.  This was always a questionable place to
1909        do it, so this is a cleanup.
1910
19112007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1912
1913        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
1914        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
1915        suitable for inclusion in the Users Guide.
1916
19172007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1918
1919        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
1920        ChangeLog-pre2007.
1921        * ChangeLog-pre2007: New file.
1922
19232007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
1924
1925        PR 1241/rtems
1926        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
1927        critical section window added with requeueing support.
1928
19292007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1930
1931        * libcsupport/include/rtems/cdefs.h,
1932          libcsupport/include/sys/cdefs.h: Remove.
1933        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
1934        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
1935        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
1936        libnetworking/netdb.h, libnetworking/resolv.h,
1937        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
1938        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
1939        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
1940        libnetworking/net/if.h, libnetworking/net/if_dl.h,
1941        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
1942        libnetworking/rtems/rtems_bsdnet_internal.h,
1943        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
1944        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
1945        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
1946        libnetworking/sys/uio.h, libnetworking/sys/un.h,
1947        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
1948        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
1949        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
1950        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
1951        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
1952        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
1953        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
1954
19552007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1956
1957        * Makefile.am: Reflect introduction of
1958          include/rtems/bsd/sys/cdefs.h.
1959        * include/rtems/bsd/sys/cdefs.h: New.
1960
19612007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1962
1963        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
1964        * libnetworking/sys/queue.h: Remove.
1965
19662007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1967
1968        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
1969        <machine/endian.h>.
1970        * libnetworking/rtems/rtems_showroute.c,
1971        libnetworking/rtems/rtems_showipstat.c,
1972        libnetworking/rtems/rtems_showtcpstat.c,
1973        libnetworking/rtems/rtems_showicmpstat.c,
1974        libnetworking/rtems/rtems_showmbuf.c,
1975        libnetworking/rtems/rtems_showudpstat.c,
1976        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
1977        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
1978        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
1979        libnetworking/netinet/tcp_usrreq.c,
1980        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
1981        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
1982        libnetworking/netinet/ip_output.c,
1983        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
1984        libnetworking/netinet/udp_usrreq.c,
1985        libnetworking/netinet/tcp_output.c,
1986        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
1987        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
1988        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
1989        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
1990        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
1991        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
1992        instead of <sys/queue.h>.
1993        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
1994        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
1995        libnetworking/net/if.h, libnetworking/net/if_media.h,
1996        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
1997        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
1998        instead of <sys/queue.h>.
1999        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
2000        * include/rtems/bsd/sys/queue.h: New (Copied from
2001          libnetworking/sys/queue.h).
2002
20032007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2004
2005        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
2006        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
2007        score/Makefile.am, score/preinstall.am,
2008        score/include/rtems/score/userext.h, score/src/chain.c,
2009        score/src/userext.c: Switch to newlib reentrancy extension being
2010        installed in the initial set instead of using rtems_extension_create.
2011        While implementing this, noticed that user extensions and chain code
2012        had multiple functions in a single file which is not desirable in the
2013        SuperCore and API portions of RTEMS, so split these into multiple
2014        files with one function per file. Also noticed that some of user
2015        extension code was inlined for no particular reason so moved that to
2016        C bodies.  Split executive shutdown from initialization since not
2017        every application shuts down.  Moved __fini call to executive shutdown
2018        to be more symmetrical with where it is called at startup.
2019        * sapi/src/exshutdown.c, score/src/chainappend.c,
2020        score/src/chainextract.c, score/src/chainget.c,
2021        score/src/chaininsert.c, score/src/userextaddapiset.c,
2022        score/src/userextaddset.c, score/src/userextremoveset.c,
2023        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
2024        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
2025        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
2026        files.
2027        * score/inline/rtems/score/userext.inl: Removed.
2028
20292007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2030
2031        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
2032        reference _Configuration_MP_table if multiprocessing is disabled.
2033
20342007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2035
2036        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
2037        reference _Configuration_MP_table if multiprocessing is disabled.
2038
20392007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2040
2041        * libnetworking/machine/endian.h: Remove.
2042        * libnetworking/Makefile.am: Remove machine/endian.h.
2043        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
2044        libnetworking/rtems/rtems_bsdnet_internal.h: Include
2045        <rtems/endian.h> instead of <machine/endian.h>.
2046        * Makefile.am: Add include/rtems/endian.h.
2047        * include/rtems/endian.h: New (Copied from
2048          libnetworking/machine/endian.h).
2049
20502007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2051
2052        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
2053        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
2054        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
2055        of <stdint.h>.
2056        * libnetworking/machine/endian.h: Remove
2057          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2058        * NEWS: new.
2059
20602007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2061
2062        PR 1243
2063        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
2064
20652007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2066
2067        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
2068        to inline functions, using uint[16,32]_t.
2069        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
2070        with SUSv3.
2071        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
2072        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
2073        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
2074        Add HAVE_CONFIG_H magic.
2075        * libnetworking/libc/gethostbydns.c,
2076        libnetworking/libc/inet_net_ntop.c,
2077        libnetworking/libc/inet_pton.c: Eliminate __P.
2078        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
2079        return value of ntohl (POSIX requirement).
2080        Use UINT32_C macros to avoid overflows on 16bit targets.
2081        Eliminate __P.
2082        * configure.ac: Check for working PRIxPTR.
2083
20842007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2085
2086        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
2087        score/src/threadinitialize.c, score/src/threadstackallocate.c:
2088        Use size_t for stack sizes.
2089
20902007-05-03      Joel Sherrill <joel@OARcorp.com>
2091
2092        * ChangeLog, libcsupport/src/malloc.c,
2093        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
2094        score/Makefile.am, score/preinstall.am: malloc never blocks so the
2095        Region Manager is quite heavy for implementing this. This patch
2096        implements the C Program Heap directly in terms of the new Protected
2097        Heap handler. This handler is a direct use of a SuperCore Heap in
2098        conjunction with the Allocator Mutex used internally by RTEMS. This
2099        saves 3184 bytes on most SPARC test executables.
2100        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
2101        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
2102        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
2103        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
2104        score/src/pheapinit.c, score/src/pheapresizeblock.c,
2105        score/src/pheapwalk.c: New files.
2106
21072007-05-03      Joel Sherrill <joel@OARcorp.com>
2108
2109        * libcsupport/src/rmdir.c: Fixed spacing.
2110        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
2111        newlibc.c. It is not required for minimum executing and drops 624
2112        from SPARC minimum executable.
2113        * libcsupport/src/newlibc_exit.c: New file.
2114
21152007-04-17      Joel Sherrill <joel@OARcorp.com>
2116
2117        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
2118        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
2119        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
2120        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
2121        rtems/src/taskinitusers.c, rtems/src/tasks.c,
2122        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
2123        reduce executable size. Most were refactoring of files. Split ITRON
2124        API files. Implemented mechanism to avoid initialization task/thread
2125        loop being linked in when that style of task initialization was not
2126        being used.
2127        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
2128        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
2129        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
2130        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
2131        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
2132        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
2133        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
2134        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
2135        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
2136        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
2137        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
2138        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
2139        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
2140        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
2141        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
2142        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
2143        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
2144        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
2145        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
2146        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
2147        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
2148
21492007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
2150
2151        * score/include/rtems/score/thread.h:
2152          Use Context_Control_fp* instead of void* for fp_contexts.
2153
21542007-04-16      Joel Sherrill <joel@OARcorp.com>
2155
2156        PR 1240/filesystem
2157        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
2158        for filename was not being freed.
2159
21602007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2161
2162        * pppd/utils.c: Use uintptr_t instead of unsigned long.
2163
21642007-04-16      Joel Sherrill <joel@OARcorp.com>
2165
2166        * itron/src/rsm_tsk.c: Correct error returned.
2167
21682007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
2169
2170        * configure.ac: Redefine LIBPOSIX to !UNIX.
2171        * posix/src/usleep.c, libcsupport/src/readlink.c:
2172        Update API to SUSv3.
2173
21742007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2175
2176        * posix/Makefile.am: Unconditionally build src/sleep.c,
2177          src/usleep.c.
2178        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
2179          CLOCK_MONOTONIC case.
2180        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
2181
21822007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2183
2184        * posix/Makefile.am: Cosmetics.
2185        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
2186        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
2187
21882007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2189
2190        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
2191          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
2192        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
2193          rtems/posix/time.h.
2194        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
2195          rtems/posix/time.h.
2196        * score/include/rtems/score/object.h: Use size_t for byte sizes.
2197
21982007-04-12      Joel Sherrill <joel@OARcorp.com>
2199
2200        * itron/src/rsm_tsk.c: Correct error returned.
2201
22022007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2203
2204        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
2205
22062007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2207
2208        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
2209        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
2210        _impure_ptr bug).
2211        Fix abuse of _REENT_INIT().
2212
22132007-04-05      Joel Sherrill <joel@OARcorp.com>
2214
2215        * itron/src/itrontime.c: Fix typo.
2216        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
2217        * score/src/iterateoverthreads.c: Safely take NULL as argument.
2218        * score/src/threaddispatch.c: Formatting.
2219
22202007-04-05      Joel Sherrill <joel@OARcorp.com>
2221
2222        * posix/Makefile.am: Fix formatting.
2223
22242007-04-05      Joel Sherrill <joel@OARcorp.com>
2225
2226        * posix/Makefile.am, posix/include/rtems/posix/time.h,
2227        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
2228        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
2229        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
2230        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
2231        posix/src/pthread.c, posix/src/pthreadcreate.c,
2232        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
2233        posix/src/sched.c, posix/src/semtimedwait.c,
2234        posix/src/sigtimedwait.c, posix/src/ualarm.c,
2235        rtems/src/clocktodtoseconds.c, score/Makefile.am,
2236        score/preinstall.am, score/include/rtems/score/tod.h,
2237        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2238        score/src/coretodget.c, score/src/coretodgetuptime.c,
2239        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
2240        manipulation routines in the SuperCore. Use them everywhere possible.
2241        This lead to significant cleanup in the API routines and eliminated
2242        some of the same code from the POSIX API. At this point, the
2243        SuperCore keeps time in POSIX timespec format properly from 1970. You
2244        just cannot set it before 1988 in keeping with RTEMS traditional
2245        behavior.
2246        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
2247        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
2248        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
2249        score/src/timespectoticks.c: New files.
2250        * posix/src/posixintervaltotimespec.c,
2251        posix/src/posixtimespecsubtract.c,
2252        posix/src/posixtimespectointerval.c: Removed.
2253
22542007-04-04      Joel Sherrill <joel@OARcorp.com>
2255
2256        * score/Makefile.am, score/include/rtems/score/tod.h,
2257        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
2258        non-inlined routine. It should only be used once so there is little
2259        advantage to inlining it.
2260        * score/src/coretodtickle.c: New file.
2261
22622007-04-02      Joel Sherrill <joel@OARcorp.com>
2263
2264        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
2265        dead code.
2266        * posix/src/time.c: Removed.
2267
22682007-04-02      Joel Sherrill <joel@OARcorp.com>
2269
2270        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
2271        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2272        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
2273        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
2274        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
2275        TOD_Ticks_per_second variable.
2276
22772007-04-02      Joel Sherrill <joel@OARcorp.com>
2278
2279        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
2280        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
2281        posix/src/clockgettime.c, posix/src/clocksettime.c,
2282        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
2283        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2284        posix/src/sleep.c, rtems/Makefile.am,
2285        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
2286        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
2287        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
2288        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
2289        score/Makefile.am, score/include/rtems/score/tod.h,
2290        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2291        score/src/coretodset.c: Convert from Classic API style TOD_Control as
2292        fundamental time structure to POSIX struct timespec. Add
2293        clock_get_uptime().
2294        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
2295        score/src/coretodgetuptime.c: New files.
2296        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
2297        score/src/coretodvalidate.c: Removed.
2298
22992007-04-02      Joel Sherrill <joel@OARcorp.com>
2300
2301        * libcsupport/src/printk.c: Add %p support.
2302
23032007-04-02      Joel Sherrill <joel@OARcorp.com>
2304
2305        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
2306        in addition to the pattern area being overwritten. Also do some
2307        cleanup.
2308
23092007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2310
2311        * include/rtems/pci.h: Further stdint.h fixed-size types.
2312
23132007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2314
2315        * include/rtems/pci.h: Use stdint.h fixed size-types.
2316
23172007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2318
2319        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
2320        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
2321        * libnetworking/Makefile.am: Move libc/res_config.h to
2322          libc_a_SOURCES (File is being used).
2323        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
2324        Remove (Unused).
2325        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
2326        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
2327        Remove (Unused).
2328        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
2329
23302007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2331
2332        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
2333        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
2334        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
2335        libnetworking/libc/gethostbynis.c,
2336        libnetworking/libc/gethostnamadr.c,
2337        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
2338        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
2339        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
2340        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
2341        libnetworking/libc/getservbyname.c,
2342        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
2343        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
2344        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
2345        libnetworking/libc/inet_net_ntop.c,
2346        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
2347        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
2348        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
2349        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
2350        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
2351        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
2352        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
2353        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
2354        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
2355        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
2356        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
2357        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
2358        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
2359        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
2360        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
2361        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
2362        SCCS, LINT. Add HAVE_CONFIG_H.
2363        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
2364
23652007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2366
2367        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
2368          uintptr_t.
2369
23702007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2371
2372        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
2373        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
2374
23752007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2376
2377        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
2378        * libnetworking/net/netisr.h: Partial update from FreeBSD.
2379        * libcsupport/src/getpwent.c: Remove bogus cast to long.
2380        * libnetworking/libc/strsep.c: Don't build if provided by libc.
2381        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
2382        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
2383        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
2384        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
2385        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
2386        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
2387        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
2388        (Abandoned in FreeBSD).
2389        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
2390        (Abandoned in FreeBSD).
2391        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
2392        (Abandoned in FreeBSD).
2393        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
2394        * libnetworking/netinet/ip_fw.c: Eliminate __P().
2395
23962007-03-28      Chris Johns <chrisj@rtems.org>
2397
2398        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
2399        score/include/rtems/score/watchdog.h: Add support for a handler to
2400        obtain the number of nanoseconds since the last clock tick. The
2401        primary interface for this is rtems_clock_set_nanoseconds_extension.
2402        Subsequent commits from Joel will redo the TOD support to use this
2403        capability.
2404        * rtems/src/clocksetnsecshandler.c: New file.
2405
24062007-03-28      Joel Sherrill <joel@OARcorp.com>
2407
2408        PR 1234/cpukit
2409        * libcsupport/Makefile.am: Provide printk() based implementation of
2410        __assert() to reduce dependencies in executables.
2411        * libcsupport/src/__assert.c: New file.
2412
24132007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2414
2415        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
2416        Use uintptr_t for "disrupt". Remove bogus (long) cast.
2417        * libnetworking/net/ppp-comp.h: Remove (Unused).
2418        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
2419        * libnetworking/sys/buf.h: Remove (Unused).
2420        * libnetworking/Makefile.am: Remove sys/buf.h.
2421        * libnetworking/kern/kern_sysctl.c,
2422        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
2423        <sys/buf.h>.
2424        *  libcsupport/include/sys/sockio.h: Partial update from
2425          FreeBSD.
2426
24272007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2428
2429        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
2430        * libnetworking/netinet/igmp.c: Eliminate __P().
2431        * libnetworking/netinet/in.c: Eliminate __P().
2432        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
2433        * libnetworking/netinet/in_pcb.c: Eliminate __P().
2434        * libnetworking/netinet/ip_output.c: Eliminate __P().
2435
24362007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2437
2438        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
2439        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
2440        Change int args to intptr_t because they are casted to pointers.
2441        * libnetworking/netinet/tcp_usrreq.c,
2442        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
2443
24442007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2445
2446        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
2447        "long", because long is not guaranteed to be castable to char*.
2448        * libnetworking/netinet/ip_input.c: Eliminate __P().
2449        Change "int next" to "int32_t next" for 16bit targets.
2450        * libnetworking/netinet/tcp_input.c: Eliminate __P().
2451        * libnetworking/netinet/in_rmx.c: Eliminate __P().
2452        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
2453        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
2454        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
2455        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
2456        * libnetworking/kern/uipc_domain.c: Eliminate __P().
2457
24582007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2459
2460        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
2461        Remove (Abandoned in FreeBSD).
2462        * libnetworking/Makefile.am: Remove net/pppcompress.c,
2463        net/pppcompress.h.
2464        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
2465        net/pppcompress.h.
2466        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
2467        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
2468        net/pppcompress.h.
2469
24702007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2471
2472        * libnetworking/net/pppcompress.h: Eliminate __P().
2473        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
2474        * libnetworking/net/if_llc.h: Update from FreeBSD.
2475
24762007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2477
2478        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
2479          <net/ppp-comp.h>.
2480        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
2481        Warn about using it.
2482        * libnetworking/Makefile.am: Add net/ppp_comp.h.
2483        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
2484        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
2485          FreeBSD.
2486        * libnetworking/machine/in_cksum.h: Eliminate __P().
2487        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
2488        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
2489        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
2490        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
2491        Eliminate __P().
2492        * libcsupport/src/scandir.c: Eliminate __P().
2493        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
2494        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
2495        Eliminate __P().
2496        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
2497        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
2498        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
2499
25002007-03-26      Joel Sherrill <joel@OARcorp.com>
2501
2502        PR 1231/cpukit
2503        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
2504        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
2505        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2506        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
2507        posix/src/mutexattrgetprioceiling.c,
2508        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2509        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2510        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2511        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2512        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2513        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
2514        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
2515        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2516        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
2517        posix/src/posixtimespecsubtract.c,
2518        posix/src/posixtimespectointerval.c,
2519        posix/src/psignalclearprocesssignals.c,
2520        posix/src/psignalclearsignals.c,
2521        posix/src/psignalsetprocesssignals.c,
2522        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2523        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
2524        unneeded includes of assert.h
2525
25262007-03-26      Joel Sherrill <joel@OARcorp.com>
2527
2528        * libcsupport/include/rtems/assoc.h: Pick up the include file
2529        changes associated with the file splitting.
2530
25312007-03-26      Joel Sherrill <joel@OARcorp.com>
2532
2533        * libcsupport/Makefile.am: Pick up the Makefile changes associated
2534        with the file splitting.
2535
25362007-03-26      Joel Sherrill <joel@OARcorp.com>
2537
2538        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
2539        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
2540        this will not be deemed necessary to commit to the 4.7 branch.
2541        * libcsupport/src/assoclocalbyname.c,
2542        libcsupport/src/assoclocalbyremote.c,
2543        libcsupport/src/assoclocalbyremotebitfield.c,
2544        libcsupport/src/assocnamebylocal.c,
2545        libcsupport/src/assocnamebylocalbitfield.c,
2546        libcsupport/src/assocnamebyremote.c,
2547        libcsupport/src/assocnamebyremotebitfield.c,
2548        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
2549        libcsupport/src/assocptrbyremote.c,
2550        libcsupport/src/assocremotebylocal.c,
2551        libcsupport/src/assocremotebylocalbitfield.c,
2552        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
2553        libcsupport/src/write_r.c: New files.
2554
25552007-03-26      Joel Sherrill <joel@OARcorp.com>
2556
2557        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
2558        support and remove deadcode. Replace with comment explaining that
2559        behavior is compatible with GNU/Linux per Eric Norum.
2560
25612007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2562
2563        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
2564        Partial update from FreeBSD.
2565        * libnetworking/netinet/if_ether.h: Eliminate __P().
2566        * libnetworking/netinet/ip_var.h: Eliminate __P().
2567        * libnetworking/netinet/in.h: Eliminate __P().
2568        * libnetworking/netinet/tcp_var.h: Eliminate __P().
2569
25702007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
2571
2572        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
2573        Remove __P();
2574        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
2575
25762007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
2577
2578        * libnetworking/netinet/in_var.h: Remove __P().
2579        * libnetworking/netinet/in_systm.h: Remove __P().
2580        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
2581        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
2582        * libnetworking/netinet/if_ether.c: Remove __P().
2583        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
2584        More updates from FreeBSD.
2585        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
2586        libnetworking/net/route.h: Partial update from FreeBSD.
2587
25882007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2589
2590        * libnetworking/Makefile.am: Remove nfs/krpc.h.
2591        * libnetworking/nfs/krpc.h: Remove (Unused).
2592        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
2593        * libnetworking/Makefile.am: Remove nfs/nfs.h.
2594        * libnetworking/nfs/nfs.h: Remove (Unused).
2595
25962007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
2597
2598        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
2599          symbols.
2600        * libnetworking/sys/conf.h: Don't include machine/conf.h.
2601        Update copyright notice.
2602        Remove unused/non-implemented declarations.
2603        * libnetworking/Makefile.am: Remove machine/conf.h.
2604        * libnetworking/machine/conf.h: Remove.
2605
26062007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
2607
2608        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
2609        Remove many non-supported/unused declarations.
2610
26112007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2612
2613        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
2614          crhold (Unused/non-implemented).
2615
26162007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2617
2618        * libnetworking/sys/ucred.h: Remove __P().
2619        * libnetworking/sys/callout.h: Remove __P().
2620        * libnetworking/sys/domain.h: Remove __P().
2621        * libnetworking/sys/socketvar.h: Remove __P().
2622        * libnetworking/sys/socket.h: Remove __P().
2623        * libnetworking/sys/select.h: Remove __P().
2624        * libnetworking/sys/kernel.h: Remove __P().
2625        * libnetworking/sys/protosw.h: Remove __P().
2626        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
2627        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
2628        swdevt, nswdev, nswap (Unused).
2629
26302007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2631
2632        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
2633        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
2634        instead of struct linesw (PR 1229)
2635        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
2636        around clash with defines from rtems_bsdnet_internal.h.
2637        * score/src/heapwalk.c: include stdlib.h.
2638
26392007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
2640
2641        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
2642        Remove __P().
2643        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
2644        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
2645        Remove __P().
2646        * libcsupport/include/rtems/termiostypes.h,
2647        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
2648        with rtems_termios_*.
2649        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
2650        (Clash with termiostypes.h - PR 1229).
2651
26522007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2653
2654        * score/include/rtems/score/wkspace.h,
2655        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
2656        Change _Workspace_Handler_initialization and
2657        _Workspace_Allocate_or_fatal_error to using size_t.
2658        * libnetworking/sys/rtprio.h: Remove (Unused).
2659        * libnetworking/Makefile.am: Remove sys/rtprio.h.
2660
26612007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
2662
2663        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
2664        Remove __P().
2665
26662007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2667
2668        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
2669          to fix warnings.
2670        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
2671        * score/include/rtems/score/chain.h, score/src/chain.c:
2672        Change _Chain_Initialize to using size_t.
2673
26742007-03-12      Joel Sherrill <joel@OARcorp.com>
2675
2676        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
2677        Dump_Buffer to rtems_print_buffer.
2678
26792007-03-12      Joel Sherrill <joel@OARcorp.com>
2680
2681        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
2682        license URL and/or fix mistake in copyright notice. Both of these
2683        mistakes appear to be from code submitted after these changes were
2684        made previously.
2685
26862007-03-10      Joel Sherrill <joel@OARcorp.com>
2687
2688        PR 1226/cpukit
2689        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
2690        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
2691
26922007-03-08      Joel Sherrill <joel@OARcorp.com>
2693
2694        * libfs/src/imfs/imfs.h: Fix comment.
2695
26962007-03-08      Joel Sherrill <joel@OARcorp.com>
2697
2698        * libfs/src/imfs/imfs.h: Fix comment.
2699
27002007-03-08      Joel Sherrill <joel@OARcorp.com>
2701
2702        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
2703        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
2704
27052007-03-08      Joel Sherrill <joel@OARcorp.com>
2706
2707        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
2708        Remove wrapper for message queue send and urgent and implement them
2709        directly. There was an unnecessary function call layer in addition to
2710        conditions in the shared routine. Directly coding both directives is
2711        simpler and should result in smaller code.
2712        * rtems/src/msgqsubmit.c: Removed.
2713
27142007-03-05      Joel Sherrill <joel@OARcorp.com>
2715
2716        PR 1222/cpukit
2717        * score/Makefile.am, score/include/rtems/score/coremutex.h,
2718        score/include/rtems/score/threadq.h,
2719        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
2720        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
2721        score/src/threadclearstate.c, score/src/threadhandler.c,
2722        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
2723        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
2724        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
2725        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
2726        score/src/threadsetstate.c: Enhance so that when the prioirity of a
2727        thread that is blocked on a priority based thread queue is changed,
2728        that its placement in the queue is reevaluated based upon the new
2729        priority. This enhancement includes modifications to the SuperCore as
2730        well as new test cases.
2731        * score/src/threadqrequeue.c: New file.
2732
27332007-03-05      Joel Sherrill <joel@OARcorp.com>
2734
2735        * sapi/src/exinit.c: Fix spacing.
2736
27372007-03-05      Joel Sherrill <joel@OARcorp.com>
2738
2739        PR 1221/cpukit
2740        * posix/src/pthreadequal.c: Fix critical section nesting.
2741
27422007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
2743
2744        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
2745          compiled files.
2746
27472007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
2748
2749        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
2750
27512007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
2752
2753        * score/Makefile.am: Remove macros/README.
2754
27552007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
2756
2757        * score/include/rtems/score/heap.h, score/src/heap.c,
2758        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
2759        More size_t for heap-sizes.
2760        * score/include/rtems/score/heap.h, score/src/heap.c,
2761        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
2762        heap-sizes.
2763        * libnetworking/resolv.h: Typo fixes. Remove __P().
2764
27652007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
2766
2767        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
2768        Use size_t for stack-sizes.
2769
27702007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
2771
2772        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
2773          functions.
2774        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
2775        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
2776
27772007-02-06      Till Straumann <strauman@slac.stanford.edu>
2778
2779        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
2780        taskvar dtor to plug memory leak. Applied patch attached
2781        to PR#690.
2782
27832007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2784
2785        * libcsupport/src/getpagesize.c: New (moved from posix/src).
2786        * posix/src/getpagesize.c: Removed.
2787        * posix/Makefile.am: Remove references to getpagesize.c.
2788        * libcsupport/Makefile.am: Add getpagesize.c.
2789
27902007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2791
2792        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
2793        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
2794          visible.
2795        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
2796
27972007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2798
2799        * rtems/src/msgqsend.c: Use size_t for sizes.
2800        * rtems/src/msgqurgent.c: Use size_t for sizes.
2801        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
2802        * rtems/src/msgmp.c: Use size_t for sizes.
2803        * rtems/src/msgqsubmit.c: Use size_t for sizes.
2804        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
2805        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2806        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
2807
28082007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2809
2810        * itron/src/trcv_mbf.c: Use size_t for sizes.
2811        * libmisc/monitor/mon-object.c: Use size_t for sizes.
2812        * libmisc/monitor/mon-server.c: Use size_t for sizes.
2813        * libmisc/monitor/monitor.h: Use size_t for sizes.
2814        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
2815        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2816        * rtems/src/msgqreceive.c: Use size_t for sizes.
2817        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
2818        * score/src/coremsgseize.c: Use size_t for sizes.
2819
28202007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
2821
2822        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
2823        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
2824        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
2825        * score/src/coremsgbroadcast.c: Use size_t for sizes.
2826        * score/src/coremsgsubmit.c: Use size_t for sizes.
2827
28282007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2829
2830        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
2831
28322007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2833
2834        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
2835
28362007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2837
2838        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
2839        Remove isblank (supposed to be provided by libc).
2840
28412007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2842
2843        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
2844
28452007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2846
2847        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
2848         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
2849        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
2850        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
2851        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
2852
28532007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2854
2855        * score/include/rtems/system.h:
2856        #define __RTEMS_MINOR__ 7 (BZ 1206).
2857
28582007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2859
2860        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
2861        export some internal variables to make them available in
2862        "show_bdbuf" monitor add-on
2863
28642007-01-16      Till Straumann <strauman@slac.stanford.edu>
2865
2866        * libnetworking/rtems/rtems_mii_ioctl.c,
2867        libnetworking/rtems/rtems_mii_ioctl.h,
2868        libnetworking/rtems/rtems_mii_ioctl_kern.c,
2869        libi2c/libi2c.c, libi2c/libi2c.h:
2870        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2871
28722007-01-09      Joel Sherrill <joel@OARcorp.com>
2873
2874        * libcsupport/src/error.c: rtems_progname is no longer defined in
2875        the BSP startup since it never held a meaningful value.
2876
28772007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
2878
2879        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
2880        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.