source: rtems/cpukit/ChangeLog @ def9eef

4.104.114.95
Last change on this file since def9eef was def9eef, checked in by Joel Sherrill <joel.sherrill@…>, on 01/28/08 at 17:19:01

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

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