source: rtems/cpukit/ChangeLog @ 2f44708

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

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

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