source: rtems/cpukit/ChangeLog @ e889a857

4.104.114.95
Last change on this file since e889a857 was e889a857, checked in by Joel Sherrill <joel.sherrill@…>, on 02/01/08 at 00:44:15

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

  • posix/src/clockgettime.c, posix/src/clocksettime.c, Minor modifications to improve testability.
  • posix/src/pthreadcreate.c: Add NULL check for thread entry.
  • Property mode set to 100644
File size: 122.9 KB
Line 
12008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2
3        * posix/src/clockgettime.c, posix/src/clocksettime.c,
4        Minor modifications to improve testability.
5        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
6
72008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
8
9        * posix/src/pthreadinitthreads.c: Clean up error paths.
10
112008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
12
13        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
14        changes which aid in coverage testing.
15
162008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
17
18        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
19        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
20        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
21        posix/src/semaphorenametoid.c: Add option for all POSIX objects
22        whether named or unnamed to have a string name.  If the API does
23        not directly support having a name, then the user must explicitly
24        assign it using rtems_object_set_name().
25        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
26        * score/include/rtems/score/object.h,
27        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
28        score/src/objectsetname.c: Modifications required to pass testing of
29        recently modified object name operations.  Also eliminated
30        multiprocessing related code that was not reachable.
31
322008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
33
34        * posix/src/timersettime.c: Fix to remove warning.
35
362008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
37
38        * libcsupport/src/posix_memalign.c: Remove warning.
39
402008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
41
42        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
43        rtems/include/rtems/rtems/object.h,
44        rtems/src/rtemsobjectgetapiclassname.c,
45        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
46        cannot be used as a parameter.
47
482008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
49
50        * score/Makefile.am, score/include/rtems/score/threadq.h,
51        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
52        was really too complex to be inlined.
53        * score/src/threadqprocesstimeout.c: New file.
54
552008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
56
57        * score/Doxyfile: Revert Doxygen version changes.
58
592008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
60
61        * score/Doxyfile: Update to latest Doxygen format.
62        * score/include/rtems/score/apimutex.h,
63        score/include/rtems/score/corebarrier.h,
64        score/include/rtems/score/coremutex.h,
65        score/include/rtems/score/corerwlock.h,
66        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
67        score/include/rtems/score/protectedheap.h,
68        score/include/rtems/score/thread.h,
69        score/include/rtems/score/threadsync.h,
70        score/include/rtems/score/tod.h,
71        score/inline/rtems/score/corerwlock.inl,
72        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
73        warnings.
74
752008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
76
77        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
78        available when API is disabled. Do not attempt to use them.
79
802008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
81
82        * score/include/rtems/system.h: First cut at Doxygen mainpage.
83
842008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
85
86        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
87        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
88        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
89        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
90        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
91        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
92        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
93        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
94        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
95        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
96        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
97        rtems/src/timerserver.c, score/Makefile.am,
98        score/include/rtems/score/object.h,
99        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
100        score/src/objectgetnameasstring.c,
101        score/src/threadqextractwithproxy.c: Add new Object Services
102        collection. This changed the name of a few previously public but
103        undocumented services and added a some new services.
104        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
105        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
106        rtems/src/rtemsobjectapiminimumclass.c,
107        rtems/src/rtemsobjectgetapiclassname.c,
108        rtems/src/rtemsobjectgetapiname.c,
109        rtems/src/rtemsobjectgetclassicname.c,
110        rtems/src/rtemsobjectgetclassinfo.c,
111        rtems/src/rtemsobjectidapimaximum.c,
112        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
113        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
114        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
115        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
116        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
117        * rtems/src/rtemsidtoname.c: Removed.
118
1192008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
120
121        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
122        switch statements to if statements.
123
1242008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
125
126        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
127        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
128        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
129        as helper and as exposed nmemalign variant with few restrictions.
130        Also turn on compilation of _Heap_Walk but make forced calls to it
131        conditionally compiled. This should allow more flexibility to the
132        user as to run-time checking of the heap.
133        * libcsupport/src/rtems_memalign.c: New file.
134
1352008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
136
137        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
138        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
139        Multiprocessing compiles again and survives initialization. The
140        recent object name and confdefs.h changes had broken it.
141
1422008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
143
144        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
145        score/include/rtems/score/interr.h,
146        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
147        Modifications to aid in full path testing.
148
1492008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
150
151        * posix/src/mqueuesendsupp.c: Remove warning.
152
1532008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
154
155        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
156        in public API.
157
1582008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
159
160        * score/include/rtems/score/object.h,
161        score/src/objectextendinformation.c,
162        score/src/objectinitializeinformation.c,
163        score/src/objectshrinkinformation.c: Eliminate name_table since it is
164        not used.
165
1662008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
167
168        * score/src/objectnametoidstring.c: New file.
169
1702008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
171
172        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
173        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
174        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
175        libmisc/stackchk/check.c, posix/src/condinit.c,
176        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
177        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
178        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
179        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
180        posix/src/prwlockinit.c, posix/src/pspininit.c,
181        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
182        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
183        posix/src/timercreate.c, rtems/src/barrierident.c,
184        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
185        rtems/src/ratemonident.c, rtems/src/regionident.c,
186        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
187        sapi/src/extensionident.c, score/Makefile.am,
188        score/include/rtems/score/object.h,
189        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
190        score/src/objectextendinformation.c,
191        score/src/objectgetnameasstring.c, score/src/objectmp.c,
192        score/src/objectnametoid.c: Convert the Objects_Name type from a
193        simple type to a union of an unsigned 32 bit integer and a pointer.
194        This should help eliminate weird casts between u32 and pointers in
195        various places. The APIs now have to explicitly call _u32 or _string
196        versions of helper routines. This should also simplify things and
197        eliminate the need for ugly casts in some cases.
198        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
199        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
200        score/src/objectcopynamestring.c: Removed.
201
2022008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
203
204        * score/src/threadblockingoperationcancel.c: Clean up.
205        * score/src/threadqextract.c: Restructure to eliminate dead code.
206
2072008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
208
209        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
210        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
211        score/src/threadqdequeuepriority.c: Fix bugs encountered while
212        testing and clean up more code.
213
2142008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
215
216        * score/src/threadqfirst.c: Remove switch.
217
2182008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
219
220        * rtems/include/rtems/rtems/event.h,
221        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
222        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
223        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
224        score/include/rtems/score/interr.h,
225        score/include/rtems/score/thread.h,
226        score/include/rtems/score/threadq.h,
227        score/include/rtems/score/tqdata.h,
228        score/inline/rtems/score/threadq.inl,
229        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
230        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
231        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
232        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
233        score/src/threadqextract.c, score/src/threadqextractfifo.c,
234        score/src/threadqextractpriority.c,
235        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
236        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
237        score/src/threadqflush.c, score/src/threadqrequeue.c,
238        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
239        blocking synchronization critical sections. This resulted in three
240        copies of essentially the same hard to test critical section code
241        becoming the one shared routine _Thread_blocking_operation_Cancel. In
242        addition, the thread queue and event code now share a common
243        synchronization enumerated type. Along the way, switches were
244        reworked to eliminate dead code generated by gcc and comments and
245        copyrights were updated.
246        * score/include/rtems/score/threadsync.h,
247        score/src/threadblockingoperationcancel.c: New files.
248
2492008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
250
251        * libi2c/README_libi2c: Correct spelling error.
252        * score/src/threadclearstate.c: Improve comment.
253
2542008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
255
256        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
257        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
258        posix/src/timergettime.c, posix/src/timersettime.c,
259        score/include/rtems/score/timespec.h:
260
2612008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
262
263        * libmisc/shell/Makefile.am: Don't use make variables.
264
2652008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
266
267        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
268        existing one.
269
2702008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
271
272        * score/include/rtems/score/wkspace.h,
273        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
274        inline _Workspace_Free or _Workspace_Allocate since they are not
275        always inlined and actually smaller overall as subroutines. They are
276        not particularly time critical so inlining is not absolutely
277        necessary.
278
2792008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
280
281        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
282        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
283        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
284        Condition Variable object get helpers because they are more
285        complicated than the norm. They can implicitly perform a create. They
286        cross the line as being too complex and large to inline since they
287        negatively impact size and binary test coverage.
288        * posix/src/condget.c, posix/src/mutexget.c: New files.
289
2902008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
291
292        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
293        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
294        * libcsupport/src/malloc_p.h: Correct prototype.
295
2962008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
297
298        * score/include/rtems/score/coremutex.h,
299        score/src/coremutexseizeintr.c: Fix conditional code for inlining
300        _CORE_mutex_Seize_interrupt_trylock() and add comments.
301
3022008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
303
304        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
305
3062008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
307
308        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
309        libcsupport/src/free.c, libcsupport/src/malloc.c,
310        libcsupport/src/malloc_deferred.c,
311        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
312        libcsupport/src/malloc_sbrk_helpers.c,
313        libcsupport/src/posix_memalign.c: Place all deferred free code and
314        place it in subroutines. Add plugin for dirtying allocated memory to
315        assist in debugging. Clean up comments and spacing as needed.
316        * libcsupport/src/malloc_dirtier.c: New file.
317
3182008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
319
320        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
321        when there is an error.
322
3232008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
324
325        * posix/src/keycreate.c, rtems/src/eventseize.c,
326        score/include/rtems/score/interr.h: Rearranged source to allow more
327        test coverage.
328
3292008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
330
331        * libcsupport/src/__assert.c: Clean up and make __assert() call
332        __assert_func().
333
3342008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
335
336        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
337        need to have it also.
338
3392008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
340
341        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
342        * libcsupport/include/rtems/malloc.h,
343        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
344        libcsupport/src/malloc_p.h,
345        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
346        support pluggable and optional.  This eliminates the need for
347        heap extend and sbrk in the minimum footprint which is ~2.5K on
348        the SPARC.
349        * sapi/include/confdefs.h: Add the following configuration points:
350          + CONFIGURE_MALLOC_STATISTICS
351          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
352        * libcsupport/src/malloc_sbrk_helpers.c: New file.
353
3542008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
355
356        * score/Makefile.am: Add missing file.
357
3582008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
359
360        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
361
3622008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
363
364        * libmisc/Makefile.am: Add new files.
365        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
366        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
367        * libmisc/shell/shellconfig.h: Add wkspace command.
368        * libmisc/shell/main_wkspaceinfo.c,
369        libmisc/shell/print_heapinfo.c: New files.
370
3712008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
372
373        * score/inline/rtems/score/isr.inl: Fix spacing.
374        * score/src/apimutexallocate.c: Fix spacing.
375        * score/src/coremsgseize.c: Check for message pending instead of
376        message pending count to avoid dead code from inlined chain routine.
377        It checks if the chain is empty so is redundant to count == 0.
378
3792008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
380
381        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
382        up.
383
3842008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
385
386        * posix/src/pthreadcreate.c: Add commit.
387        * posix/src/pthreadinitthreads.c: Fix line length.
388
3892008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
390
391        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
392
3932008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
394
395        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
396        coding it.
397
3982008-01-05      Chris Johns <chrisj@rtems.org>
399
400        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
401        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
402        * libblock/include/rtems/flashdisk.h: Add docmentation about the
403        control fields. Add more control fields to handle the flash when
404        full.
405        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
406        detects a descriptor is erased. Add support for unavailable blocks
407        the user can configure. Print the used list as a diag. Fix the bug
408        when a page is detected as failed and present on more than one
409        queue. Add a count to the queues so queue length can be used to
410        manage compaction.
411       
4122008-01-03      Till Straumann <strauman@slac.stanford.edu>
413
414        * score/src/threadhandler.c, sapi/src/exshutdown.c:
415        cannot call _fini via atexit() from rtems_shutdown_executive()
416        because at the point where rtems_shutdown_executive is called
417        the C-library is already dead.
418        Instead, register an atexit(_fini) after calling _init().
419
4202007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
421
422        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
423        Hopefully this implementation is OK.
424        * libcsupport/src/_rename_r.c: New file.
425
4262007-12-22      Chris Johns <chrisj@rtems.org>
427
428        * configure.ac: fixed bug that always enabled strict order
429        mutexes.
430        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
431        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
432        list if the mutex is initialised locked.
433        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
434        message to show the error is an rtems-net error.
435        * libmisc/monitor/mon-network.c: Removed warnings.
436        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
437        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
438        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
439        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
440        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
441        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
442        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
443        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
444        libmisc/shell/warnx.c: New. Ported from BSD.
445        * libmisc/shell/shellconfig.h: Add the cp command.
446        * libmisc/Makefile.am: Add the new files to the shell.
447        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
448        support.
449        * libblock/src/flashdisk.c: Fixed disk drive count size setting
450        bug.
451       
4522007-12-21      Xi Yang <hiyangxi@gmail.com>
453
454        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
455        of priority inheritance on mutexes as well as enforce proper order of
456        release.
457
4582007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
459
460        * configure.ac, score/include/rtems/score/coremutex.h,
461        score/inline/rtems/score/coremutex.inl: Add the ability to disable
462        inlining coremutex seize. This reduces the code size and also
463        improves the process of coverage analysis.
464        * score/src/coremutexseizeintr.c: New file.
465
4662007-12-21      Xi Yang <hiyangxi@gmail.com>
467
468        * configure.ac, score/include/rtems/score/coremutex.h,
469        score/include/rtems/score/thread.h,
470        score/inline/rtems/score/coremutex.inl,
471        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
472        support for proper stacking of priority inheritance on mutexes as
473        well as enforce proper order of release.
474
4752007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
476
477        PR 1268/cpukit
478        * libcsupport/include/rtems/assoc.h: There is no
479        rtems_assoc_ptr_by_value method.
480
4812007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
482
483        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
484        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
485
4862007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
487
488        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
489
4902007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
491
492        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
493
4942007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
495
496        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
497        rtems_task_self() directive.
498        * rtems/src/taskself.c: New file.
499
5002007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
501
502        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
503        and resolved copyright information.
504        * posix/src/kill_r.c: New file.
505
5062007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
507
508        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
509
5102007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
511
512        * sapi/include/confdefs.h: Revert. Requires info not available at
513        preprocessing time.
514
5152007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
516
517        * sapi/include/confdefs.h: Catch the error when the user lowers the
518        maximum number of drivers below the number of statically configured
519        ones.
520
5212007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
522
523        * sapi/src/extension.c, sapi/src/extensioncreate.c,
524        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
525        Manager clean up. Update object id switches to new pattern. Catch
526        some NULL parameter errors.
527
5282007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
529
530        * posix/src/psignalunblockthread.c: Remove source that
531
5322007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
533
534        * posix/src/psignalchecksignal.c: Make assert active during debug mode
535        only
536
5372007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
538
539        * posix/src/psignal.c: Move source around to enable path testing
540
5412007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
542
543        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
544        libcsupport/src/free.c, libcsupport/src/malloc.c,
545        libcsupport/src/malloc_p.h,
546        libcsupport/src/malloc_report_statistics_plugin.c,
547        libmisc/shell/shell.c, libmisc/shell/shell.h,
548        score/src/objectinitializeinformation.c: Add posix_memalign. Split
549        out management of deferred frees to subroutines.
550        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
551
5522007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
553
554        * libcsupport/Makefile.am, libcsupport/preinstall.am,
555        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
556        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
557        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
558        one function per file. Also split out statistics into a separate file
559        which can be plugged in dynamically. Right now, it is always in. I
560        suspect that splitting the file removed more code than leaving
561        statistics in. I tinkered with malloc information command in the
562        shell. I resurrected the malloc arena code as malloc boundary. This
563        code is now compiled all the time even though it does not appear to
564        work.
565        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
566        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
567        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
568        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
569        libcsupport/src/malloc_get_statistics.c,
570        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
571        libcsupport/src/malloc_report_statistics.c,
572        libcsupport/src/malloc_report_statistics_plugin.c,
573        libcsupport/src/malloc_statistics_helpers.c,
574        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
575        libmisc/shell/main_perioduse.c: New files.
576
5772007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
578
579        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
580        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
581        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
582        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
583        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
584        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
585        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
586        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
587        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
588        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
589        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
590        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
591        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
592        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
593        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
594        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
595        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
596        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
597        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
598        rtems_Shell_ to rtems_shell_.
599
6002007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
601
602        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
603        with info and dump as replacement for older command. Fix what looked
604        like a typo for mount sub-commands.
605        * libmisc/shell/main_mallocinfo.c: New file.
606        * libmisc/shell/main_mallocdump.c: Removed.
607
6082007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
609
610        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
611        malloc_info() routine.
612        * libcsupport/src/mallocinfo.c: New file.
613
6142007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
615
616        * libmisc/stackchk/check.c: Add print of current stack pointer and
617        stack info even if stack checker is not initialized.
618
6192007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
620
621        * libcsupport/src/printk.c: Style.
622
6232007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
624
625        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
626        required in multiprocessing configuration.
627
6282007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
629
630        * score/src/objectget.c: Revert.
631
6322007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
633
634        * posix/src/timergettime.c: Include rtems/score/timespec.h
635
6362007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
637
638        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
639        posix/include/mqueue.h, posix/include/sched.h,
640        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
641        posix/include/rtems/posix/priority.h,
642        posix/include/rtems/posix/psignal.h,
643        posix/include/rtems/posix/threadsup.h,
644        posix/include/rtems/posix/timer.h,
645        posix/inline/rtems/posix/priority.inl,
646        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
647        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
648        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
649        posix/src/cleanuppush.c, posix/src/cond.c,
650        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
651        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
652        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
653        posix/src/conddestroy.c, posix/src/condinit.c,
654        posix/src/condsignal.c, posix/src/condsignalsupp.c,
655        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
656        posix/src/keycreate.c, posix/src/keydelete.c,
657        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
658        posix/src/keysetspecific.c, posix/src/mqueue.c,
659        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
660        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
661        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
662        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
663        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
664        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
665        posix/src/mqueueunlink.c, posix/src/mutex.c,
666        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
667        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
668        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
669        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
670        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
671        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
672        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
673        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
674        posix/src/psignal.c, posix/src/psignalchecksignal.c,
675        posix/src/psignalclearprocesssignals.c,
676        posix/src/psignalclearsignals.c,
677        posix/src/psignalsetprocesssignals.c,
678        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
679        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
680        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
681        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
682        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
683        posix/src/semclose.c, posix/src/semdestroy.c,
684        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
685        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
686        posix/src/semwait.c, posix/src/setcancelstate.c,
687        posix/src/setcanceltype.c, posix/src/sysconf.c,
688        posix/src/testcancel.c: Add missing copyright statements.
689
6902007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
691
692        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
693
6942007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
695
696        * posix/Makefile.am, posix/preinstall.am,
697        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
698        Timer implementation into multiple files. Add obvious error checks
699        for NULL parameters. Attempt to reduce include files.
700        * posix/src/timercreate.c, posix/src/timerdelete.c,
701        posix/src/timergetoverrun.c, posix/src/timergettime.c,
702        posix/src/timerinserthelper.c, posix/src/timersettime.c,
703        posix/src/timertsr.c: New files.
704        * posix/src/ptimer1.c: Removed.
705
7062007-12-17      Chris Johns <chrisj@rtems.org>
707
708        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
709        libmisc/shell/main_unmount.c: New.
710        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
711        blksync, msdosfmt, and unmount commands.
712
7132007-12-17      Chris Johns <chrisj@rtems.org>
714
715        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
716        system opts table.
717        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
718        system opts table.
719        * libmisc/Makefile.am: Add the mount command and supporting files.
720        * libmisc/preinstall.am: Rebuilt.
721        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
722        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
723        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
724        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
725        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
726        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
727        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
728        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
729        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
730        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
731        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
732        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
733        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
734        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
735        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
736        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
737        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
738        libmisc/shell/write_file.c: Move all shell_* types, variables and
739        functions to rtems_shell_* to avoid namespace clashes with
740        applications. The is an RTEMS shell after all.
741        * libmisc/shell/shell.h, libmisc/shell/internal.h,
742        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
743        functions to rtems_shell_* to avoid namespace clashes with
744        applications. Add the mount command supporting types.
745        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
746        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
747        libmisc/shell/main_mount_tftp.c: New.
748       
7492007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
750
751        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
752
7532007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
754
755        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
756        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
757        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
758        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
759        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
760        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
761        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
762        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
763        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
764        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
765        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
766        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
767        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
768        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
769        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
770        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
771        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
772        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
773        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
774        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
775        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
776        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
777        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
778        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
779        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
780        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
781        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
782        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
783        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
784        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
785
7862007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
787
788        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
789        API.
790
7912007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
792
793        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
794        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
795        Minor cleanup to improve testability and eliminate dead code.
796
7972007-12-12      Chris Johns <chrisj@rtems.org>
798
799        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
800        Add RTEMS license details.
801
8022007-12-12      Chris Johns <chrisj@rtems.org>
803
804        * Makefile.am, preinstall.am: Added
805        libblock/include/rtems/flashdisk.h to the installed header list.
806        * libblock/Makefile.am: Add flashdisk.c to the files to build.
807        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
808        New.
809
8102007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
811
812        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
813        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
814        score/Makefile.am, score/preinstall.am: Revert testing patch.
815
8162007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
817
818        * posix/src/sched_rr_get_interval.c: Fix warning.
819
8202007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
821
822        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
823        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
824        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
825        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
826        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
827        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
828        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
829        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
830        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
831        files into one function per file.
832        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
833        posix/src/aio_read.c, posix/src/aio_return.c,
834        posix/src/aio_suspend.c, posix/src/aio_write.c,
835        posix/src/lio_listio.c, posix/src/sched_getparam.c,
836        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
837        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
838        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
839        posix/src/sched_yield.c: New files.
840        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
841
8422007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
843
844        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
845        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
846        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
847        posix/src/clocksettime.c, posix/src/devctl.c,
848        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
849        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
850        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
851        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
852
8532007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
854
855        * posix/src/adjtime.c: Clean up and verify against behavior documented
856        in GNU/Linux man page provided with Fedora 7.
857
8582007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
859
860        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
861        automake variables.
862
8632007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
864
865        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
866        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
867        rtems/src/taskvariabledelete.c: Add test code for task variables to
868        improve coverage.
869        * rtems/src/taskvariable_invoke_dtor.c: New file.
870
8712007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
872
873        * posix/preinstall.am: Revert debug patch.
874
8752007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
876
877        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
878        BSP.
879
8802007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
881
882        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
883
8842007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
885
886        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
887        disabled.
888
8892007-12-12      Chris Johns <chrisj@rtems.org>
890
891        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
892        header list.
893        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
894        in any order rather than before any commands have been added. Also
895        made the command's strings be copies rather than references.
896        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
897
8982007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
899
900        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
901        Move Ada support code that is untestable from the Standard RTEMS Test
902        Suite into its own directory. All code in score, posix, rtems, and
903        sapi should be testable by the Standard RTEMS Test Suites. It was
904        buried under POSIX before so this should be a clearer location
905        anyway.
906        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
907        libgnat/adasupp.c: New files.
908        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
909
9102007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
911
912        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
913        Reverse file contents.
914
9152007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
916
917        * sapi/include/rtems/config.h: Correct idle task prototype.
918
9192007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
920
921        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
922        libmisc/shell/internal.h, libmisc/shell/shell.c,
923        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
924        processing now separated from main command loop. Addition of user
925        commands and aliases tested. Monitor registration now explicit.
926        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
927        libmisc/shell/write_file.c: New files.
928
9292007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
930
931        * libmisc/Makefile.am: Fix typo.
932
9332007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
934
935        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
936        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
937        into multiple files and add initial stages of command configuration.
938        This seems to work but the monitor commands need to be integrated
939        this way and the ability to configure user commands needs to be
940        tested.
941        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
942        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
943        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
944        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
945        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
946        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
947        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
948        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
949        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
950        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
951        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
952        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
953        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
954        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
955        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
956        libmisc/shell/str2int.c: New files.
957
9582007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
959
960        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
961
9622007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
963
964        * sapi/include/rtems/config.h: Fix idle thread prototype.
965
9662007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
967
968        * sapi/include/confdefs.h: Separate the concept of configuring the
969        interrupt stack size from actually reserving memory for it in the
970        RTEMS Workspace.
971
9722007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
973
974        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
975        installed. It is the initialization interface for both GoAhead and
976        Simple HTTPD.
977
9782007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
979
980        * sapi/include/rtems/config.h: Correct previous commit.
981
9822007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
983
984        * sapi/include/rtems/config.h: Commit temporary fix so
985        interrupt_stack_size is accessible before RTEMS is initialized.
986
9872007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
988
989        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
990        sapi/include/rtems/init.h, sapi/src/exinit.c,
991        score/include/rtems/system.h, score/src/isr.c: Move
992        interrupt_stack_size field from CPU Table to Configuration Table.
993        Eliminate CPU Table from all ports. Delete references to CPU Table in
994        all forms.
995
9962007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
997
998        * sapi/include/rtems/config.h: Add accessory macros for Configuration
999        Table fields merged from CPU Table.
1000
10012007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
1002
1003        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
1004        posix/preinstall.am, posix/include/rtems/posix/cond.h,
1005        posix/include/rtems/posix/mqueue.h,
1006        posix/include/rtems/posix/mutex.h,
1007        posix/include/rtems/posix/pthread.h,
1008        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
1009        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
1010        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1011        sapi/include/confdefs.h, sapi/include/rtems/config.h,
1012        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
1013        sapi/src/exinit.c, score/include/rtems/system.h,
1014        score/include/rtems/score/mpci.h, score/src/mpci.c,
1015        score/src/thread.c, score/src/threadcreateidle.c,
1016        score/src/threadstackallocate.c, score/src/threadstackfree.c,
1017        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
1018        the Configuration Table. This included pretasking_hook,
1019        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
1020        extra_mpci_receive_server_stack, stack_allocate_hook, and
1021        stack_free_hook. As a side-effect of this effort some multiprocessing
1022        code was made conditional and some style clean up occurred.
1023
10242007-12-03      Chris Johns <chrisj@rtems.org>
1025
1026        * libmisc/shell/shell.h: Added comments for the parameters to the
1027        shell_init function.
1028        * libmisc/shell/shell.c: Only set cflags if tcflags is
1029        non-zero. This means the shell can use the current cflags settings
1030        and the application does not need to know the baudrate etc.
1031        * libmisc/capture/capture.h: Fix the comment.
1032
10332007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1034
1035        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1036        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
1037        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
1038        rtems/src/dpmemexternal2internal.c,
1039        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1040        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1041        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1042        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1043        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1044        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1045        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1046        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1047        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1048        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
1049        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1050        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
1051        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
1052        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
1053        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
1054        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
1055        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
1056        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
1057        rtems/src/timercancel.c, rtems/src/timerdelete.c,
1058        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1059        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1060        rtems/src/timerserverfirewhen.c: Restructured all code with
1061        the switch (location) pattern so that OBJECTS_LOCAL is first
1062        and we can fall into it and the OBJECTS_ERROR case breaks
1063        to a return RTEMS_INVALID_ID.  This eliminates the return
1064        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
1065        was unreachable and untestable code.  This resulted in a code
1066        savings of approximately 20 bytes per file on the SPARC/ERC32.
1067
10682007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1069
1070        * posix/Makefile.am: Restructed to move the
1071        OBJECTS_LOCAL case to the top of the switch statement and
1072        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1073        changes produced simplier assembly code and allowed for complete
1074        test coverage.  Also applied some consistency to the functions
1075        that translate the core status codes to POSIX status codes.
1076
10772007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1078
1079        * posix/include/rtems/posix/mutex.h,
1080        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
1081        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
1082        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1083        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1084        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1085        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1086        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1087        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
1088        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1089        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1090        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
1091        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
1092        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1093        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1094        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
1095        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
1096        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
1097        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
1098        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1099        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1100        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1101        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1102        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1103        posix/src/semclose.c, posix/src/semdestroy.c,
1104        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1105        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
1106        rtems/src/timerfireafter.c, score/include/rtems/system.h,
1107        score/include/rtems/score/corebarrier.h,
1108        score/include/rtems/score/coremsg.h,
1109        score/include/rtems/score/coremutex.h,
1110        score/include/rtems/score/coresem.h: Restructed to move the
1111        OBJECTS_LOCAL case to the top of the switch statement and
1112        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1113        changes produced simplier assembly code and allowed for complete
1114        test coverage.  Also applied some consistency to the functions
1115        that translate the core status codes to POSIX status codes.
1116        * posix/src/mutextranslatereturncode.c,
1117        posix/src/semaphoretranslatereturncode.c: New files.
1118        * posix/src/mutexfromcorestatus.c: Removed.
1119
11202007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
1121
1122        * posix/inline/rtems/posix/priority.inl: Fix typo.
1123
11242007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1125
1126        * sapi/src/exinit.c, score/include/rtems/score/object.h,
1127        score/include/rtems/score/thread.h, score/src/object.c,
1128        score/src/thread.c: Conditionally compile out more code that is
1129        specific to multiprocessor configurations.
1130
11312007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1132
1133        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
1134        posix/src/conddestroy.c, posix/src/condinit.c,
1135        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
1136        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1137        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1138        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1139        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1140        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
1141        posix/src/mutexattrgetprioceiling.c,
1142        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1143        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1144        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1145        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1146        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1147        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1148        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
1149        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
1150        posix/src/semclose.c, posix/src/semdestroy.c,
1151        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
1152        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
1153        Remove all pretense of POSIX MP support. The support in place was
1154        only a shell. This should make maintenance easier.
1155        * posix/include/rtems/posix/condmp.h,
1156        posix/include/rtems/posix/mqueuemp.h,
1157        posix/include/rtems/posix/mutexmp.h,
1158        posix/include/rtems/posix/pthreadmp.h,
1159        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
1160        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
1161
11622007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1163
1164        * configure.ac, score/inline/rtems/score/thread.inl,
1165        score/src/threaddispatch.c: Add ability for user to disable inlining
1166        of _Thread_Enable_dispatch. This can save code space but more
1167        importantly it means the binary generated does not have code inlined
1168        that is difficult to test and very seldom executed.
1169
11702007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1171
1172        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1173        rtems/include/rtems/rtems/barrier.h,
1174        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
1175        score/src/corerwlockrelease.c: Fixed several implementation errors.
1176
11772007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1178
1179        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
1180        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1181        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1182        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1183        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
1184        case to the top of the switch statement, have a single exit with one
1185        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
1186        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
1187        code and allowed for complete test coverage.
1188
11892007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1190
1191        * sapi/include/confdefs.h,
1192        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
1193        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1194
11952007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1196
1197        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1198
11992007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1200
1201        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
1202        support Thumb.
1203
12042007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1205
1206        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
1207        Now works on gen5200/icecube.
1208
12092007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1210
1211        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
1212
12132007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1214
1215        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
1216
12172007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1218
1219        * score/include/rtems/score/thread.h: Fix spelling error.
1220
12212007-11-17      Till Straumann <strauman@slac.stanford.edu>
1222
1223        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
1224        Added checks so that use of 'stdio' is avoided (falling
1225        back to 'printk') before the system is up.
1226        Publish driver entry points so that the libi2c driver could
1227        be added to the applications 'device driver table'.
1228        This is not fully implemented yet, though, since in addition to
1229        initializing libi2c the low-level i2c bus drivers as well
1230        as high-level i2c device drivers need to be registered
1231        with the library.
1232        Updated README_libi2c accordingly.
1233
12342007-11-17      Till Straumann <strauman@slac.stanford.edu>
1235
1236        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
1237        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
1238        so that it knows what PHY they want to look at.
1239
12402007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1241
1242        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
1243        in opposite files. Whoops!
1244
12452007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1246
1247        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
1248        of the focus was on the beginning stages of making the login checker
1249        pluggable just like the shell.
1250
12512007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1252
1253        * posix/src/mprotect.c: Update comments.
1254
12552007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1256
1257        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
1258        will require gcc 4.3 or newer.
1259        * posix/src/ada_intrsupp.c: New file.
1260
12612007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1262
1263        * sapi/src/exinit.c, score/Makefile.am,
1264        score/include/rtems/score/apimutex.h: API Mutex calls should never
1265        have been inlined. Inlining them lead to many inlined copies of core
1266        mutex lock. This lead to over 2K savings in the SPARC/ERC32
1267        minimum.exe.
1268        * score/src/apimutex.c, score/src/apimutexallocate.c,
1269        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
1270
12712007-11-07      Till Straumann <strauman@slac.stanford.edu>
1272
1273        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
1274        around _CPU_ISR_Set_level().
1275
12762007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1277
1278        * score/inline/rtems/score/object.inl: During test coverage analysis,
1279        we identified this sanity check which should have been conditional on
1280        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
1281        operations. With all APIs enabled, this saved 352 bytes from the
1282        minimum executable on the SPARC/ERC32.
1283
12842007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1285
1286        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
1287        compiler conditional attribute for methods that do not return. This
1288        avoids gcc generating unreachable code following calls to
1289        _Internal_error_Occurred.
1290
12912007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1292
1293        * configure.ac: Add ARM/Thumb Makefile.
1294
12952007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1296
1297        PR 1266/cpukit
1298        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
1299        of class for key indexing.
1300
13012007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1302
1303        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
1304        Fix headers and formatting.
1305
13062007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1307
1308        Miscellaneous changes made after a review against the POSIX spec.
1309        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
1310        passes a NULL in the attributes parameter, default attributes are used.
1311        * posix/src/prwlockdestroy.c: If there is at least one thread
1312        waiting, do not allow deletion.
1313        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
1314        operation used to obtain a RWLock for writing.
1315        * posix/src/pspinlocktranslatereturncode.c,
1316        score/include/rtems/score/corespinlock.h,
1317        score/src/corespinlockrelease.c: If the current thread is not the
1318        holder of the lock, do not allow an unlock and return EPERM.
1319        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
1320        for queueing with a timeout handler.
1321
13222007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
1323
1324        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
1325        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
1326        stack so gdb backtrace does not print corrupted frame message after
1327        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
1328        SPARC implementation and I made it more general.
1329
13302007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1331
1332        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
1333        Cleaned up reports and fixed a bug related the printf format which
1334        resulted in lack of leading zeroes and misleading magnitude.
1335        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
1336
13372007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1338
1339        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
1340        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
1341        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
1342        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
1343        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
1344        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
1345        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
1346        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
1347        posix/src/condinit.c, posix/src/condsignalsupp.c,
1348        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1349        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1350        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1351        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1352        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1353        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
1354        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
1355        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1356        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
1357        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1358        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1359        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
1360        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
1361        posix/src/pspindestroy.c, posix/src/pspinlock.c,
1362        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1363        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1364        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1365        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1366        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1367        posix/src/semclose.c, posix/src/semdestroy.c,
1368        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1369        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1370        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
1371        rtems/src/dpmemexternal2internal.c,
1372        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1373        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1374        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1375        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1376        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1377        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1378        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1379        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1380        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1381        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
1382        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1383        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1384        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1385        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
1386        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1387        rtems/src/signalsend.c, rtems/src/taskdelete.c,
1388        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
1389        rtems/src/taskrestart.c, rtems/src/taskresume.c,
1390        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
1391        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
1392        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
1393        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
1394        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
1395        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1396        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1397        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
1398        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
1399        score/src/mpci.c, score/src/objectgetnameasstring.c,
1400        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
1401        multiprocessing is disabled, do not even allow the constant
1402        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
1403        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
1404        in the generation of binary code which can NOT be reached.
1405
14062007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1407
1408        * score/Makefile.am, score/include/rtems/score/thread.h,
1409        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
1410        resulted in unnessary code explosion, many uncovered paths when
1411        looking at binary executable coverage, and only optimized getting
1412        self. Id translations were still getting pushed to a subroutine call
1413        to _Objects_Get. Later the non-inlined version can be further
1414        optimized to get Ids in range for the current API, then self, then
1415        look at other APIs.
1416        * score/src/threadget.c: New file.
1417
14182007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1419
1420        * libi2c/README-libi2c
1421        document structure of libi2c library
1422
14232007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1424
1425        * libi2c/libi2c.c, libi2c/libi2c.h:
1426        extend API to support SPI devices
1427        made libi2c.h C++-proof
1428
14292007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1430
1431        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
1432        also in another file.  Mistake after splitting.
1433        * libcsupport/Makefile.am: Reflect file removal.
1434
14352007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1436
1437        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
1438        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
1439        Minor updates from FreeBSD.
1440
14412007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1442
1443        * score/include/rtems/score/copyrt.h: Update year.
1444
14452007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1446
1447        * score/include/rtems/score/copyrt.h: Update year.
1448
14492007-10-11      Daniel Hellstrom <daniel@gaisler.com>
1450
1451        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
1452        Fixed check of status when registering driver. Add use of strerror().
1453
14542007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
1455        Ralf Corsépius <ralf.corsepius@rtems.org>
1456
1457        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
1458        libnetworking/libc/if_indextoname.c,
1459        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
1460        * Makefile.am: Add files above.
1461        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
1462
14632007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1464
1465        * libmisc/stackchk/check.c: Eliminate output with little information.
1466        Always print a blown message using the same routine. Now works with
1467        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
1468        support in your GCC version.
1469
14702007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1471
1472        * libcsupport/src/gxx_wrappers.c: Revert.
1473
14742007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1475
1476        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
1477        PRId32 to fix warning.
1478
14792007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1480
1481        * telnetd/passwd.h: New file.
1482
14832007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1484
1485        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
1486        telnetd/telnetd.h: telnetd rewrite.
1487        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
1488
14892007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1490
1491        PR 1262/filesystem
1492        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
1493        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
1494        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
1495        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
1496        writev() including documentation and test case.
1497        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
1498
14992007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1500
1501        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
1502        document what is required to provide a fully functional
1503        implementation.
1504        * libnetworking/rtems/rtems_socketpair.c: New file.
1505
15062007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1507
1508        * aclocal/version.m4: Bump RTEMS_API to 4.9.
1509        Bump RTEMS_VERSION to 4.8.99.0.
1510
15112007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1512
1513        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
1514
15152007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1516
1517        * posix/src/semaphorecreatesupp.c: Fixed warning.
1518
15192007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1520
1521        * libmisc/dumpbuf/dumpbuf.c: Use printk.
1522
15232007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1524
1525        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
1526        Use uint32_t for ext_accm.
1527
15282007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1529
1530        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
1531        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
1532        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
1533        fixed-size types instead of BSD fixed-size types.
1534
15352007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1536
1537        * libmisc/stackchk/check.c: Fix alignment of output.
1538
15392007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1540
1541        * libmisc/monitor/monitor.h: Add network commands that were in the
1542        network supplement but not in the code.
1543        * libmisc/monitor/mon-network.c: New file.
1544
15452007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1546
1547        PR 1261/cpukit
1548        * posix/src/semaphorecreatesupp.c: Initialize all fields during
1549        semaphore creation.
1550
15512007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1552
1553        PR 1260/cpukit
1554        * posix/src/pthread.c: Get initial signals blocked from creating
1555        thread not from ourselves.
1556
15572007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1558
1559        * score/src/watchdogtickle.c: Remove tabs.
1560
15612007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1562
1563        PR 1259/rtems
1564        * rtems/src/taskcreate.c: Initialize is_global in all cases since
1565        memory is not guaranteed to be zero.
1566
15672007-09-12  Sergei Organov  <osv@javad.com>
1568
1569        PR 1258/rtems
1570        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
1571        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
1572        Use block_allocate() instead of _Heap_Block_allocate(). Replace
1573        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
1574        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
1575        to changed block split strategy in _Heap_Allocate_aligned().
1576
15772007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
1578
1579        * libcsupport/src/printk.c: Remove unnecessary comments.
1580
15812007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1582
1583        * libmisc/monitor/mon-monitor.c:
1584        Corrected linked list of rtems_monitor_commands
1585
15862007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1587
1588        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
1589        walk on init, malloc, and free. The ability to walk the heap appears
1590        to disappeared during the rework of the C Program heap to skip the
1591        Region.
1592
15932007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1594
1595        * score/src/heap.c: Style.
1596        * score/src/heapwalk.c: Add more information to prints.
1597        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
1598        is disabled.
1599
16002007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1601
1602        * libcsupport/Makefile.am, libcsupport/src/printk.c:
1603        * libcsupport/src/printk_plugin.c: New file.
1604        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
1605        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
1606        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
1607        rtems/src/ratemonreportstatistics.c: Added capability to specify
1608        your own "printf" routine to various reporting functions.  This
1609        added an XXX_with_plugin as the underlying implementation for
1610          + rtems_rate_monotonic_report_statistics
1611          + rtems_stack_checker_report_usage
1612          + rtems_cpu_usage_report
1613        As demonstration, the http netdemo can now print out stack
1614        and cpu usage reports.
1615
16162007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1617
1618        * shttpd/compat_rtems.c: Style clean up.
1619
16202007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1621
1622        * rtems/src/ratemonperiod.c: Clean up.
1623        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
1624
16252007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1626
1627        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
1628
16292007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1630
1631        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
1632
16332007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1634
1635        * libmisc/Makefile.am: Add new files.
1636
16372007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1638
1639        * libmisc/monitor/mon-object.c,
1640        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
1641        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
1642        * libmisc/monitor/mon-task, libmisc/Makefile.am:
1643        Added functionality for osmonweb support
1644
16452007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1646
1647        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
1648        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
1649        that are needed by osmonweb.
1650
16512007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1652
1653        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
1654        Use printk.
1655
16562007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1657
1658        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
1659        spacing and spelling.
1660
16612007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1662
1663        PR 1256/networking
1664        * ftpd/ftpd.c: Fix unaligned access.
1665
16662007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1667
1668        * posix/Makefile.am: Always build nanosleep.
1669
16702007-08-17      Chris Johns <chrisj@rtems.org>
1671
1672        * libmisc/capture/README: Minor copyright change.
1673        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
1674        libmisc/capture/capture.h: Fixed the memory leak when lots of
1675        tasks are being created and deleted. Improved the trigger
1676        interface so all task type actions can be caught.
1677
16782007-08-13      Chris Johns <chrisj@rtems.org>
1679
1680        * score/include/rtems/score/object.h: Point the
1681        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
1682
16832007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1684
1685        PR 1248/networking
1686        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
1687        reported that when no interfaces are successfully attached, the
1688        default route is broken and may result in a jump to an illegal
1689        address.
1690
16912007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1692
1693        * score/inline/rtems/score/priority.inl: Use size_t instead of
1694          uint32_t for array index.
1695
16962007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1697
1698        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
1699          identify coldfire cpus.
1700
17012007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1702
1703        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
1704          coldfire.
1705
17062007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1707
1708        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
1709          work-around bug m68k/coldfire -fomit-frame-pointer bug
1710          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
1711
17122007-07-27      Chris Johns <chrisj@rtems.org>
1713
1714        * wrapup/Makefile.am: Create archive from a file for hosts
1715        with a limited command line size.
1716
17172007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1718
1719        * include/rtems/bspIo.h, include/rtems/pci.h:
1720        Add extern "C" guards. Reported by
1721        Robert S. Grimes <rsg@alum.mit.edu>.
1722
17232007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1724
1725        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
1726        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
1727        the time appears to be reported correctly and add up to what is
1728        expected.
1729
17302007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
1731
1732        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
1733        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
1734        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
1735
17362007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1737
1738        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
1739        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
1740        was always using uptime not time since last cpu usage reset when
1741        using nanoseconds granularity.
1742        * libmisc/cpuuse/cpuusagedata.c: New file.
1743
17442007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
1745
1746        * libcsupport/src/mount.c: Allow null for output parameter.
1747
17482007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1749
1750        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
1751        to shttpd initialization.
1752
17532007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1754
1755        * libcsupport/src/malloc.c: Clean up Malloc debug code.
1756        * score/include/rtems/score/heap.h: Spacing.
1757        * score/inline/rtems/score/thread.inl:
1758        * score/src/heapfree.c. Clean up and add explicit check of the address
1759        being freed actually being in the heap.
1760        * score/src/heapwalk.c: Switch to printk and do not call abort.
1761
17622007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1763
1764        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
1765        area contingent on the stack checker user extension having been
1766        initialized.
1767
17682007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1769
1770        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
1771        and recv(). We already had the BSD versions and these conflict
1772        sometimes when linking.
1773
17742007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1775
1776        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
1777        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
1778
17792007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1780
1781        * sapi/include/confdefs.h: Do not instantiate initialization
1782        thas/thread pointer tables for an API that is not configured.
1783
17842007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1785
1786        * libcsupport/Makefile.am:
1787        * libcsupport/src/open_dev_console.c: New file.
1788
17892007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1790
1791        * score/src/corerwlock.c: Make sure structure is fully initialized.
1792        When reused, some fields will not be zero like at initialization.
1793
17942007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1795
1796        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
1797        size. Account for this.
1798
17992007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1800
1801        * configure.ac: Add NDEBUG as a command line compilation option.
1802
18032007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1804
1805        * libmd/.cvsignore: New file.
1806
18072007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1808
1809        * shttpd/defs.h: Eliminate my_strncasecmp.
1810        * shttpd/string.c: Eliminate my_strncasecmp.
1811
18122007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1813
1814        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
1815        * pppd/Makefile.am: Reflect moving out md*.
1816        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
1817          libmd).
1818        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
1819        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
1820        * configure.ac, Makefile.am: Add libmd.
1821
18222007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1823
1824        * shttpd/defs.h: Eliminate my_strlcpy.
1825        * shttpd/string.c: Eliminate my_strlcpy.
1826
18272007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1828
1829        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
1830        * shttpd/string.c: Eliminate my_strdup, my_strndup.
1831        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
1832          libmd.a.
1833
18342007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
1835
1836        * wrapup/Makefile.am: Add libmd.a.
1837
18382007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1839
1840        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
1841          Add pppd/libmd.a.
1842        * pppd/md4.c: Don't include pppd.h.
1843
18442007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1845
1846        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
1847
18482007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1849
1850        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
1851        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
1852        Add config.h support.
1853
18542007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1855
1856        * shttpd/compat_rtems.h: Define closesocket.
1857
18582007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1859
1860        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
1861
18622007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1863        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
1864        Use size_t for stack sizes.
1865
18662007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1867
1868        * configure.ac, Makefile.am: Add shttpd.
1869        * shttpd/Makefile.am: New.
1870        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
1871        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
1872        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
1873        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
1874        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
1875        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
1876        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
1877        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
1878        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
1879        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
1880        Import from shttpd-1.37.tar.gz.
1881
18822007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1883
1884        * configure.ac: Remove "pad" from CPU_CONTEXT.
1885
18862007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1887
1888        * score/src/coremsg.c: Formatting.
1889
18902007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1891
1892        * score/include/rtems/score/copyrt.h: Update copyright notice.
1893
18942007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1895
1896        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
1897        one function per file execpt io.c which contains required
1898        initialization methods.
1899        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
1900        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
1901        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
1902        sapi/src/iowrite.c: New files.
1903
19042007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1905
1906        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
1907        table into Workspace but now it is only done if the application needs
1908        extra slots for dynamic driver registration. Cleaned up
1909        rtems_io_register_driver and rtems_io_unregister_driver code and
1910        added numerous error cases to register.
1911
19122007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1913
1914        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
1915        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
1916        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
1917        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
1918        configuration parameter since it was used to configure a no longer
1919        used feature. Device names are now part of the filesystem not in a
1920        table. This also eliminated the variables _IO_Number_of_devices and
1921        _IO_Driver_name_table from RTEMS as well as the memory allocation
1922        used to populate _IO_Driver_name_table.
1923        * libmisc/monitor/mon-dname.c: Removed.
1924
19252007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1926
1927        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
1928        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
1929        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
1930        unused Workspace. Round the workspace required size to an 8 byte
1931        boundary instead of a 0x400 byte one. We may end up needing to add 8
1932        bytes again to account for the alignment rounding.
1933
19342007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1935
1936        Yu Chen <chyyuu@gmail.com>
1937        * score/src/corespinlockwait.c: Per question posted as
1938        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
1939        logical operator to <=.
1940
19412007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1942
1943        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
1944        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
1945        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
1946        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
1947        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
1948        executive initialization.
1949
19502007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1951
1952        * score/src/corerwlockrelease.c: Do not dereference NULL.
1953
19542007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1955
1956        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
1957        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1958        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
1959        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
1960        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
1961        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
1962        sapi/include/rtems/extension.h: Split Classic API data instantiation
1963        into individual files. This reduces the size of the BSS section when
1964        an optional manager stub is used. Some tests showed about a 600 byte
1965        reduction in BSS size.
1966        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
1967        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
1968        _RTEMS_tasks_Number_of_initialization_tasks because they were only
1969        used in one place after initialized. It was a waste of space.
1970        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
1971        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
1972        rtems/src/ratemondata.c, rtems/src/regiondata.c,
1973        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
1974        sapi/src/extensiondata.c: New files.
1975
19762007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1977
1978        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
1979        functionality into multiple files to eliminate unnecessary cohesion.
1980        Update README.
1981        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
1982        New files.
1983        * libmisc/cpuuse/cpuuse.c: Removed.
1984
19852007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1986
1987        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
1988        negative value in some circumstances. Also cleaned up to share uptime
1989        declaration.
1990
19912007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1992
1993        * ChangeLog, configure.ac, libcsupport/src/__times.c,
1994        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
1995        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
1996        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
1997        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
1998        score/Makefile.am, score/include/rtems/score/thread.h,
1999        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
2000        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
2001        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
2002        monotonic period statistics and CPU usage statistics. This capability
2003        is enabled by default although may be conditionally disabled by the
2004        user. It could be too much overhead on small targets but it does not
2005        appear to be bad in early testing. Its impact on code size has not
2006        been evaluated either. It is possible that both forms of statistics
2007        gathering could be disabled with further tweaking of the conditional
2008        compilation.
2009        * score/src/timespecdividebyinteger.c: New file.
2010
20112007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2012
2013        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
2014        functionally similar code here. Also cleanup print formats.
2015
20162007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2017
2018        * score/src/objectgetnameasstring.c: Internal threads use string names
2019        so in the current RTEMS source string object name can NOT be
2020        disabled. It is probably worth considering converting the internal
2021        threads to uint32_t style names so all the support for string names
2022        can be conditionally disabled.
2023
20242007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2025
2026        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
2027        and greater than operations for timespecs.
2028        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
2029        New files.
2030
20312007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2032
2033        * score/src/objectgetnameasstring.c: Remove bogus ifdef
2034        RTEMS_POSIX_API.
2035
20362007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
2037
2038        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
2039        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
2040        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
2041        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
2042        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
2043        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
2044        score/Makefile.am, score/include/rtems/score/object.h,
2045        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
2046        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
2047        Added the following directives: rtems_rate_monotonic_get_statistics,
2048        rtems_rate_monotonic_reset_statistics,
2049        rtems_rate_monotonic_reset_all_statistics,
2050        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
2051        Obsoleted the rtems/rtmonuse.h file as a public interface.
2052        * rtems/src/ratemongetstatistics.c,
2053        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
2054        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
2055        score/src/objectgetnameasstring.c: New files.
2056        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2057
20582007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2059
2060        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
2061        rtems_io_register_name for use on unix.
2062        * libcsupport/src/unixlibc_io.c: New file.
2063
20642007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2065
2066        * score/src/coremsgseize.c: A blocking sender's message size was
2067        pulled out of the wrong field in the Wait information structure.
2068        * score/src/objectallocate.c: With the new optional manager support,
2069        we only stub out the initialization. This makes it possible to attempt
2070        to create an object with the information structure only initialized
2071        with all zeros.  This ensures we return an error cleanly in this case.
2072
20732007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2074
2075        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
2076        an optional manager, we cannot depend on it do initialize the
2077        internal Allocator Mutex.  This was always a questionable place to
2078        do it, so this is a cleanup.
2079
20802007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2081
2082        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2083        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
2084        suitable for inclusion in the Users Guide.
2085
20862007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2087
2088        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
2089        ChangeLog-pre2007.
2090        * ChangeLog-pre2007: New file.
2091
20922007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2093
2094        PR 1241/rtems
2095        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
2096        critical section window added with requeueing support.
2097
20982007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2099
2100        * libcsupport/include/rtems/cdefs.h,
2101          libcsupport/include/sys/cdefs.h: Remove.
2102        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
2103        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
2104        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
2105        libnetworking/netdb.h, libnetworking/resolv.h,
2106        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
2107        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
2108        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
2109        libnetworking/net/if.h, libnetworking/net/if_dl.h,
2110        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
2111        libnetworking/rtems/rtems_bsdnet_internal.h,
2112        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
2113        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
2114        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
2115        libnetworking/sys/uio.h, libnetworking/sys/un.h,
2116        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
2117        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
2118        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
2119        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
2120        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
2121        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
2122        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
2123
21242007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2125
2126        * Makefile.am: Reflect introduction of
2127          include/rtems/bsd/sys/cdefs.h.
2128        * include/rtems/bsd/sys/cdefs.h: New.
2129
21302007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2131
2132        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
2133        * libnetworking/sys/queue.h: Remove.
2134
21352007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2136
2137        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
2138        <machine/endian.h>.
2139        * libnetworking/rtems/rtems_showroute.c,
2140        libnetworking/rtems/rtems_showipstat.c,
2141        libnetworking/rtems/rtems_showtcpstat.c,
2142        libnetworking/rtems/rtems_showicmpstat.c,
2143        libnetworking/rtems/rtems_showmbuf.c,
2144        libnetworking/rtems/rtems_showudpstat.c,
2145        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
2146        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
2147        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
2148        libnetworking/netinet/tcp_usrreq.c,
2149        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
2150        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
2151        libnetworking/netinet/ip_output.c,
2152        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
2153        libnetworking/netinet/udp_usrreq.c,
2154        libnetworking/netinet/tcp_output.c,
2155        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
2156        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
2157        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
2158        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
2159        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
2160        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
2161        instead of <sys/queue.h>.
2162        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
2163        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
2164        libnetworking/net/if.h, libnetworking/net/if_media.h,
2165        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
2166        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
2167        instead of <sys/queue.h>.
2168        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
2169        * include/rtems/bsd/sys/queue.h: New (Copied from
2170          libnetworking/sys/queue.h).
2171
21722007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2173
2174        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
2175        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
2176        score/Makefile.am, score/preinstall.am,
2177        score/include/rtems/score/userext.h, score/src/chain.c,
2178        score/src/userext.c: Switch to newlib reentrancy extension being
2179        installed in the initial set instead of using rtems_extension_create.
2180        While implementing this, noticed that user extensions and chain code
2181        had multiple functions in a single file which is not desirable in the
2182        SuperCore and API portions of RTEMS, so split these into multiple
2183        files with one function per file. Also noticed that some of user
2184        extension code was inlined for no particular reason so moved that to
2185        C bodies.  Split executive shutdown from initialization since not
2186        every application shuts down.  Moved __fini call to executive shutdown
2187        to be more symmetrical with where it is called at startup.
2188        * sapi/src/exshutdown.c, score/src/chainappend.c,
2189        score/src/chainextract.c, score/src/chainget.c,
2190        score/src/chaininsert.c, score/src/userextaddapiset.c,
2191        score/src/userextaddset.c, score/src/userextremoveset.c,
2192        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
2193        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
2194        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
2195        files.
2196        * score/inline/rtems/score/userext.inl: Removed.
2197
21982007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2199
2200        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
2201        reference _Configuration_MP_table if multiprocessing is disabled.
2202
22032007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2204
2205        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
2206        reference _Configuration_MP_table if multiprocessing is disabled.
2207
22082007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2209
2210        * libnetworking/machine/endian.h: Remove.
2211        * libnetworking/Makefile.am: Remove machine/endian.h.
2212        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
2213        libnetworking/rtems/rtems_bsdnet_internal.h: Include
2214        <rtems/endian.h> instead of <machine/endian.h>.
2215        * Makefile.am: Add include/rtems/endian.h.
2216        * include/rtems/endian.h: New (Copied from
2217          libnetworking/machine/endian.h).
2218
22192007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2220
2221        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
2222        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
2223        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
2224        of <stdint.h>.
2225        * libnetworking/machine/endian.h: Remove
2226          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2227        * NEWS: new.
2228
22292007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2230
2231        PR 1243
2232        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
2233
22342007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2235
2236        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
2237        to inline functions, using uint[16,32]_t.
2238        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
2239        with SUSv3.
2240        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
2241        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
2242        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
2243        Add HAVE_CONFIG_H magic.
2244        * libnetworking/libc/gethostbydns.c,
2245        libnetworking/libc/inet_net_ntop.c,
2246        libnetworking/libc/inet_pton.c: Eliminate __P.
2247        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
2248        return value of ntohl (POSIX requirement).
2249        Use UINT32_C macros to avoid overflows on 16bit targets.
2250        Eliminate __P.
2251        * configure.ac: Check for working PRIxPTR.
2252
22532007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2254
2255        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
2256        score/src/threadinitialize.c, score/src/threadstackallocate.c:
2257        Use size_t for stack sizes.
2258
22592007-05-03      Joel Sherrill <joel@OARcorp.com>
2260
2261        * ChangeLog, libcsupport/src/malloc.c,
2262        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
2263        score/Makefile.am, score/preinstall.am: malloc never blocks so the
2264        Region Manager is quite heavy for implementing this. This patch
2265        implements the C Program Heap directly in terms of the new Protected
2266        Heap handler. This handler is a direct use of a SuperCore Heap in
2267        conjunction with the Allocator Mutex used internally by RTEMS. This
2268        saves 3184 bytes on most SPARC test executables.
2269        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
2270        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
2271        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
2272        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
2273        score/src/pheapinit.c, score/src/pheapresizeblock.c,
2274        score/src/pheapwalk.c: New files.
2275
22762007-05-03      Joel Sherrill <joel@OARcorp.com>
2277
2278        * libcsupport/src/rmdir.c: Fixed spacing.
2279        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
2280        newlibc.c. It is not required for minimum executing and drops 624
2281        from SPARC minimum executable.
2282        * libcsupport/src/newlibc_exit.c: New file.
2283
22842007-04-17      Joel Sherrill <joel@OARcorp.com>
2285
2286        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
2287        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
2288        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
2289        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
2290        rtems/src/taskinitusers.c, rtems/src/tasks.c,
2291        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
2292        reduce executable size. Most were refactoring of files. Split ITRON
2293        API files. Implemented mechanism to avoid initialization task/thread
2294        loop being linked in when that style of task initialization was not
2295        being used.
2296        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
2297        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
2298        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
2299        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
2300        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
2301        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
2302        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
2303        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
2304        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
2305        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
2306        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
2307        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
2308        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
2309        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
2310        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
2311        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
2312        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
2313        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
2314        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
2315        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
2316        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
2317
23182007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
2319
2320        * score/include/rtems/score/thread.h:
2321          Use Context_Control_fp* instead of void* for fp_contexts.
2322
23232007-04-16      Joel Sherrill <joel@OARcorp.com>
2324
2325        PR 1240/filesystem
2326        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
2327        for filename was not being freed.
2328
23292007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2330
2331        * pppd/utils.c: Use uintptr_t instead of unsigned long.
2332
23332007-04-16      Joel Sherrill <joel@OARcorp.com>
2334
2335        * itron/src/rsm_tsk.c: Correct error returned.
2336
23372007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
2338
2339        * configure.ac: Redefine LIBPOSIX to !UNIX.
2340        * posix/src/usleep.c, libcsupport/src/readlink.c:
2341        Update API to SUSv3.
2342
23432007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2344
2345        * posix/Makefile.am: Unconditionally build src/sleep.c,
2346          src/usleep.c.
2347        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
2348          CLOCK_MONOTONIC case.
2349        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
2350
23512007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2352
2353        * posix/Makefile.am: Cosmetics.
2354        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
2355        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
2356
23572007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2358
2359        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
2360          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
2361        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
2362          rtems/posix/time.h.
2363        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
2364          rtems/posix/time.h.
2365        * score/include/rtems/score/object.h: Use size_t for byte sizes.
2366
23672007-04-12      Joel Sherrill <joel@OARcorp.com>
2368
2369        * itron/src/rsm_tsk.c: Correct error returned.
2370
23712007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2372
2373        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
2374
23752007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2376
2377        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
2378        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
2379        _impure_ptr bug).
2380        Fix abuse of _REENT_INIT().
2381
23822007-04-05      Joel Sherrill <joel@OARcorp.com>
2383
2384        * itron/src/itrontime.c: Fix typo.
2385        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
2386        * score/src/iterateoverthreads.c: Safely take NULL as argument.
2387        * score/src/threaddispatch.c: Formatting.
2388
23892007-04-05      Joel Sherrill <joel@OARcorp.com>
2390
2391        * posix/Makefile.am: Fix formatting.
2392
23932007-04-05      Joel Sherrill <joel@OARcorp.com>
2394
2395        * posix/Makefile.am, posix/include/rtems/posix/time.h,
2396        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
2397        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
2398        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
2399        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
2400        posix/src/pthread.c, posix/src/pthreadcreate.c,
2401        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
2402        posix/src/sched.c, posix/src/semtimedwait.c,
2403        posix/src/sigtimedwait.c, posix/src/ualarm.c,
2404        rtems/src/clocktodtoseconds.c, score/Makefile.am,
2405        score/preinstall.am, score/include/rtems/score/tod.h,
2406        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2407        score/src/coretodget.c, score/src/coretodgetuptime.c,
2408        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
2409        manipulation routines in the SuperCore. Use them everywhere possible.
2410        This lead to significant cleanup in the API routines and eliminated
2411        some of the same code from the POSIX API. At this point, the
2412        SuperCore keeps time in POSIX timespec format properly from 1970. You
2413        just cannot set it before 1988 in keeping with RTEMS traditional
2414        behavior.
2415        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
2416        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
2417        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
2418        score/src/timespectoticks.c: New files.
2419        * posix/src/posixintervaltotimespec.c,
2420        posix/src/posixtimespecsubtract.c,
2421        posix/src/posixtimespectointerval.c: Removed.
2422
24232007-04-04      Joel Sherrill <joel@OARcorp.com>
2424
2425        * score/Makefile.am, score/include/rtems/score/tod.h,
2426        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
2427        non-inlined routine. It should only be used once so there is little
2428        advantage to inlining it.
2429        * score/src/coretodtickle.c: New file.
2430
24312007-04-02      Joel Sherrill <joel@OARcorp.com>
2432
2433        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
2434        dead code.
2435        * posix/src/time.c: Removed.
2436
24372007-04-02      Joel Sherrill <joel@OARcorp.com>
2438
2439        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
2440        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2441        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
2442        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
2443        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
2444        TOD_Ticks_per_second variable.
2445
24462007-04-02      Joel Sherrill <joel@OARcorp.com>
2447
2448        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
2449        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
2450        posix/src/clockgettime.c, posix/src/clocksettime.c,
2451        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
2452        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2453        posix/src/sleep.c, rtems/Makefile.am,
2454        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
2455        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
2456        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
2457        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
2458        score/Makefile.am, score/include/rtems/score/tod.h,
2459        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2460        score/src/coretodset.c: Convert from Classic API style TOD_Control as
2461        fundamental time structure to POSIX struct timespec. Add
2462        clock_get_uptime().
2463        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
2464        score/src/coretodgetuptime.c: New files.
2465        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
2466        score/src/coretodvalidate.c: Removed.
2467
24682007-04-02      Joel Sherrill <joel@OARcorp.com>
2469
2470        * libcsupport/src/printk.c: Add %p support.
2471
24722007-04-02      Joel Sherrill <joel@OARcorp.com>
2473
2474        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
2475        in addition to the pattern area being overwritten. Also do some
2476        cleanup.
2477
24782007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2479
2480        * include/rtems/pci.h: Further stdint.h fixed-size types.
2481
24822007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2483
2484        * include/rtems/pci.h: Use stdint.h fixed size-types.
2485
24862007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2487
2488        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
2489        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
2490        * libnetworking/Makefile.am: Move libc/res_config.h to
2491          libc_a_SOURCES (File is being used).
2492        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
2493        Remove (Unused).
2494        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
2495        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
2496        Remove (Unused).
2497        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
2498
24992007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2500
2501        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
2502        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
2503        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
2504        libnetworking/libc/gethostbynis.c,
2505        libnetworking/libc/gethostnamadr.c,
2506        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
2507        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
2508        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
2509        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
2510        libnetworking/libc/getservbyname.c,
2511        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
2512        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
2513        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
2514        libnetworking/libc/inet_net_ntop.c,
2515        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
2516        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
2517        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
2518        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
2519        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
2520        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
2521        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
2522        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
2523        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
2524        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
2525        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
2526        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
2527        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
2528        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
2529        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
2530        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
2531        SCCS, LINT. Add HAVE_CONFIG_H.
2532        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
2533
25342007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2535
2536        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
2537          uintptr_t.
2538
25392007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2540
2541        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
2542        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
2543
25442007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2545
2546        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
2547        * libnetworking/net/netisr.h: Partial update from FreeBSD.
2548        * libcsupport/src/getpwent.c: Remove bogus cast to long.
2549        * libnetworking/libc/strsep.c: Don't build if provided by libc.
2550        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
2551        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
2552        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
2553        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
2554        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
2555        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
2556        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
2557        (Abandoned in FreeBSD).
2558        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
2559        (Abandoned in FreeBSD).
2560        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
2561        (Abandoned in FreeBSD).
2562        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
2563        * libnetworking/netinet/ip_fw.c: Eliminate __P().
2564
25652007-03-28      Chris Johns <chrisj@rtems.org>
2566
2567        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
2568        score/include/rtems/score/watchdog.h: Add support for a handler to
2569        obtain the number of nanoseconds since the last clock tick. The
2570        primary interface for this is rtems_clock_set_nanoseconds_extension.
2571        Subsequent commits from Joel will redo the TOD support to use this
2572        capability.
2573        * rtems/src/clocksetnsecshandler.c: New file.
2574
25752007-03-28      Joel Sherrill <joel@OARcorp.com>
2576
2577        PR 1234/cpukit
2578        * libcsupport/Makefile.am: Provide printk() based implementation of
2579        __assert() to reduce dependencies in executables.
2580        * libcsupport/src/__assert.c: New file.
2581
25822007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2583
2584        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
2585        Use uintptr_t for "disrupt". Remove bogus (long) cast.
2586        * libnetworking/net/ppp-comp.h: Remove (Unused).
2587        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
2588        * libnetworking/sys/buf.h: Remove (Unused).
2589        * libnetworking/Makefile.am: Remove sys/buf.h.
2590        * libnetworking/kern/kern_sysctl.c,
2591        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
2592        <sys/buf.h>.
2593        *  libcsupport/include/sys/sockio.h: Partial update from
2594          FreeBSD.
2595
25962007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2597
2598        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
2599        * libnetworking/netinet/igmp.c: Eliminate __P().
2600        * libnetworking/netinet/in.c: Eliminate __P().
2601        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
2602        * libnetworking/netinet/in_pcb.c: Eliminate __P().
2603        * libnetworking/netinet/ip_output.c: Eliminate __P().
2604
26052007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2606
2607        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
2608        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
2609        Change int args to intptr_t because they are casted to pointers.
2610        * libnetworking/netinet/tcp_usrreq.c,
2611        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
2612
26132007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2614
2615        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
2616        "long", because long is not guaranteed to be castable to char*.
2617        * libnetworking/netinet/ip_input.c: Eliminate __P().
2618        Change "int next" to "int32_t next" for 16bit targets.
2619        * libnetworking/netinet/tcp_input.c: Eliminate __P().
2620        * libnetworking/netinet/in_rmx.c: Eliminate __P().
2621        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
2622        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
2623        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
2624        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
2625        * libnetworking/kern/uipc_domain.c: Eliminate __P().
2626
26272007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2628
2629        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
2630        Remove (Abandoned in FreeBSD).
2631        * libnetworking/Makefile.am: Remove net/pppcompress.c,
2632        net/pppcompress.h.
2633        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
2634        net/pppcompress.h.
2635        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
2636        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
2637        net/pppcompress.h.
2638
26392007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2640
2641        * libnetworking/net/pppcompress.h: Eliminate __P().
2642        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
2643        * libnetworking/net/if_llc.h: Update from FreeBSD.
2644
26452007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2646
2647        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
2648          <net/ppp-comp.h>.
2649        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
2650        Warn about using it.
2651        * libnetworking/Makefile.am: Add net/ppp_comp.h.
2652        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
2653        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
2654          FreeBSD.
2655        * libnetworking/machine/in_cksum.h: Eliminate __P().
2656        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
2657        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
2658        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
2659        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
2660        Eliminate __P().
2661        * libcsupport/src/scandir.c: Eliminate __P().
2662        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
2663        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
2664        Eliminate __P().
2665        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
2666        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
2667        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
2668
26692007-03-26      Joel Sherrill <joel@OARcorp.com>
2670
2671        PR 1231/cpukit
2672        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
2673        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
2674        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2675        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
2676        posix/src/mutexattrgetprioceiling.c,
2677        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2678        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2679        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2680        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2681        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2682        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
2683        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
2684        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2685        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
2686        posix/src/posixtimespecsubtract.c,
2687        posix/src/posixtimespectointerval.c,
2688        posix/src/psignalclearprocesssignals.c,
2689        posix/src/psignalclearsignals.c,
2690        posix/src/psignalsetprocesssignals.c,
2691        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2692        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
2693        unneeded includes of assert.h
2694
26952007-03-26      Joel Sherrill <joel@OARcorp.com>
2696
2697        * libcsupport/include/rtems/assoc.h: Pick up the include file
2698        changes associated with the file splitting.
2699
27002007-03-26      Joel Sherrill <joel@OARcorp.com>
2701
2702        * libcsupport/Makefile.am: Pick up the Makefile changes associated
2703        with the file splitting.
2704
27052007-03-26      Joel Sherrill <joel@OARcorp.com>
2706
2707        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
2708        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
2709        this will not be deemed necessary to commit to the 4.7 branch.
2710        * libcsupport/src/assoclocalbyname.c,
2711        libcsupport/src/assoclocalbyremote.c,
2712        libcsupport/src/assoclocalbyremotebitfield.c,
2713        libcsupport/src/assocnamebylocal.c,
2714        libcsupport/src/assocnamebylocalbitfield.c,
2715        libcsupport/src/assocnamebyremote.c,
2716        libcsupport/src/assocnamebyremotebitfield.c,
2717        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
2718        libcsupport/src/assocptrbyremote.c,
2719        libcsupport/src/assocremotebylocal.c,
2720        libcsupport/src/assocremotebylocalbitfield.c,
2721        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
2722        libcsupport/src/write_r.c: New files.
2723
27242007-03-26      Joel Sherrill <joel@OARcorp.com>
2725
2726        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
2727        support and remove deadcode. Replace with comment explaining that
2728        behavior is compatible with GNU/Linux per Eric Norum.
2729
27302007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2731
2732        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
2733        Partial update from FreeBSD.
2734        * libnetworking/netinet/if_ether.h: Eliminate __P().
2735        * libnetworking/netinet/ip_var.h: Eliminate __P().
2736        * libnetworking/netinet/in.h: Eliminate __P().
2737        * libnetworking/netinet/tcp_var.h: Eliminate __P().
2738
27392007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
2740
2741        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
2742        Remove __P();
2743        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
2744
27452007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
2746
2747        * libnetworking/netinet/in_var.h: Remove __P().
2748        * libnetworking/netinet/in_systm.h: Remove __P().
2749        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
2750        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
2751        * libnetworking/netinet/if_ether.c: Remove __P().
2752        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
2753        More updates from FreeBSD.
2754        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
2755        libnetworking/net/route.h: Partial update from FreeBSD.
2756
27572007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2758
2759        * libnetworking/Makefile.am: Remove nfs/krpc.h.
2760        * libnetworking/nfs/krpc.h: Remove (Unused).
2761        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
2762        * libnetworking/Makefile.am: Remove nfs/nfs.h.
2763        * libnetworking/nfs/nfs.h: Remove (Unused).
2764
27652007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
2766
2767        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
2768          symbols.
2769        * libnetworking/sys/conf.h: Don't include machine/conf.h.
2770        Update copyright notice.
2771        Remove unused/non-implemented declarations.
2772        * libnetworking/Makefile.am: Remove machine/conf.h.
2773        * libnetworking/machine/conf.h: Remove.
2774
27752007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
2776
2777        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
2778        Remove many non-supported/unused declarations.
2779
27802007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2781
2782        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
2783          crhold (Unused/non-implemented).
2784
27852007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2786
2787        * libnetworking/sys/ucred.h: Remove __P().
2788        * libnetworking/sys/callout.h: Remove __P().
2789        * libnetworking/sys/domain.h: Remove __P().
2790        * libnetworking/sys/socketvar.h: Remove __P().
2791        * libnetworking/sys/socket.h: Remove __P().
2792        * libnetworking/sys/select.h: Remove __P().
2793        * libnetworking/sys/kernel.h: Remove __P().
2794        * libnetworking/sys/protosw.h: Remove __P().
2795        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
2796        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
2797        swdevt, nswdev, nswap (Unused).
2798
27992007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2800
2801        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
2802        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
2803        instead of struct linesw (PR 1229)
2804        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
2805        around clash with defines from rtems_bsdnet_internal.h.
2806        * score/src/heapwalk.c: include stdlib.h.
2807
28082007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
2809
2810        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
2811        Remove __P().
2812        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
2813        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
2814        Remove __P().
2815        * libcsupport/include/rtems/termiostypes.h,
2816        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
2817        with rtems_termios_*.
2818        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
2819        (Clash with termiostypes.h - PR 1229).
2820
28212007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2822
2823        * score/include/rtems/score/wkspace.h,
2824        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
2825        Change _Workspace_Handler_initialization and
2826        _Workspace_Allocate_or_fatal_error to using size_t.
2827        * libnetworking/sys/rtprio.h: Remove (Unused).
2828        * libnetworking/Makefile.am: Remove sys/rtprio.h.
2829
28302007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
2831
2832        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
2833        Remove __P().
2834
28352007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2836
2837        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
2838          to fix warnings.
2839        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
2840        * score/include/rtems/score/chain.h, score/src/chain.c:
2841        Change _Chain_Initialize to using size_t.
2842
28432007-03-12      Joel Sherrill <joel@OARcorp.com>
2844
2845        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
2846        Dump_Buffer to rtems_print_buffer.
2847
28482007-03-12      Joel Sherrill <joel@OARcorp.com>
2849
2850        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
2851        license URL and/or fix mistake in copyright notice. Both of these
2852        mistakes appear to be from code submitted after these changes were
2853        made previously.
2854
28552007-03-10      Joel Sherrill <joel@OARcorp.com>
2856
2857        PR 1226/cpukit
2858        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
2859        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
2860
28612007-03-08      Joel Sherrill <joel@OARcorp.com>
2862
2863        * libfs/src/imfs/imfs.h: Fix comment.
2864
28652007-03-08      Joel Sherrill <joel@OARcorp.com>
2866
2867        * libfs/src/imfs/imfs.h: Fix comment.
2868
28692007-03-08      Joel Sherrill <joel@OARcorp.com>
2870
2871        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
2872        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
2873
28742007-03-08      Joel Sherrill <joel@OARcorp.com>
2875
2876        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
2877        Remove wrapper for message queue send and urgent and implement them
2878        directly. There was an unnecessary function call layer in addition to
2879        conditions in the shared routine. Directly coding both directives is
2880        simpler and should result in smaller code.
2881        * rtems/src/msgqsubmit.c: Removed.
2882
28832007-03-05      Joel Sherrill <joel@OARcorp.com>
2884
2885        PR 1222/cpukit
2886        * score/Makefile.am, score/include/rtems/score/coremutex.h,
2887        score/include/rtems/score/threadq.h,
2888        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
2889        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
2890        score/src/threadclearstate.c, score/src/threadhandler.c,
2891        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
2892        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
2893        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
2894        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
2895        score/src/threadsetstate.c: Enhance so that when the prioirity of a
2896        thread that is blocked on a priority based thread queue is changed,
2897        that its placement in the queue is reevaluated based upon the new
2898        priority. This enhancement includes modifications to the SuperCore as
2899        well as new test cases.
2900        * score/src/threadqrequeue.c: New file.
2901
29022007-03-05      Joel Sherrill <joel@OARcorp.com>
2903
2904        * sapi/src/exinit.c: Fix spacing.
2905
29062007-03-05      Joel Sherrill <joel@OARcorp.com>
2907
2908        PR 1221/cpukit
2909        * posix/src/pthreadequal.c: Fix critical section nesting.
2910
29112007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
2912
2913        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
2914          compiled files.
2915
29162007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
2917
2918        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
2919
29202007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
2921
2922        * score/Makefile.am: Remove macros/README.
2923
29242007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
2925
2926        * score/include/rtems/score/heap.h, score/src/heap.c,
2927        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
2928        More size_t for heap-sizes.
2929        * score/include/rtems/score/heap.h, score/src/heap.c,
2930        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
2931        heap-sizes.
2932        * libnetworking/resolv.h: Typo fixes. Remove __P().
2933
29342007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
2935
2936        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
2937        Use size_t for stack-sizes.
2938
29392007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
2940
2941        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
2942          functions.
2943        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
2944        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
2945
29462007-02-06      Till Straumann <strauman@slac.stanford.edu>
2947
2948        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
2949        taskvar dtor to plug memory leak. Applied patch attached
2950        to PR#690.
2951
29522007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2953
2954        * libcsupport/src/getpagesize.c: New (moved from posix/src).
2955        * posix/src/getpagesize.c: Removed.
2956        * posix/Makefile.am: Remove references to getpagesize.c.
2957        * libcsupport/Makefile.am: Add getpagesize.c.
2958
29592007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2960
2961        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
2962        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
2963          visible.
2964        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
2965
29662007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2967
2968        * rtems/src/msgqsend.c: Use size_t for sizes.
2969        * rtems/src/msgqurgent.c: Use size_t for sizes.
2970        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
2971        * rtems/src/msgmp.c: Use size_t for sizes.
2972        * rtems/src/msgqsubmit.c: Use size_t for sizes.
2973        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
2974        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2975        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
2976
29772007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2978
2979        * itron/src/trcv_mbf.c: Use size_t for sizes.
2980        * libmisc/monitor/mon-object.c: Use size_t for sizes.
2981        * libmisc/monitor/mon-server.c: Use size_t for sizes.
2982        * libmisc/monitor/monitor.h: Use size_t for sizes.
2983        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
2984        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2985        * rtems/src/msgqreceive.c: Use size_t for sizes.
2986        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
2987        * score/src/coremsgseize.c: Use size_t for sizes.
2988
29892007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
2990
2991        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
2992        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
2993        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
2994        * score/src/coremsgbroadcast.c: Use size_t for sizes.
2995        * score/src/coremsgsubmit.c: Use size_t for sizes.
2996
29972007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2998
2999        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
3000
30012007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3002
3003        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
3004
30052007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3006
3007        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
3008        Remove isblank (supposed to be provided by libc).
3009
30102007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3011
3012        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
3013
30142007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3015
3016        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
3017         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
3018        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
3019        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
3020        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
3021
30222007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3023
3024        * score/include/rtems/system.h:
3025        #define __RTEMS_MINOR__ 7 (BZ 1206).
3026
30272007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3028
3029        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
3030        export some internal variables to make them available in
3031        "show_bdbuf" monitor add-on
3032
30332007-01-16      Till Straumann <strauman@slac.stanford.edu>
3034
3035        * libnetworking/rtems/rtems_mii_ioctl.c,
3036        libnetworking/rtems/rtems_mii_ioctl.h,
3037        libnetworking/rtems/rtems_mii_ioctl_kern.c,
3038        libi2c/libi2c.c, libi2c/libi2c.h:
3039        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
3040
30412007-01-09      Joel Sherrill <joel@OARcorp.com>
3042
3043        * libcsupport/src/error.c: rtems_progname is no longer defined in
3044        the BSP startup since it never held a meaningful value.
3045
30462007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
3047
3048        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
3049        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.