source: rtems/cpukit/ChangeLog @ 5f73d07

4.104.114.95
Last change on this file since 5f73d07 was 5f73d07, checked in by Joel Sherrill <joel.sherrill@…>, on 12/13/07 at 14:39:27

2007-12-13 Joel Sherrill <joel.sherrill@…>

  • posix/src/adjtime.c: Clean up and verify against behavior documented in GNU/Linux man page provided with Fedora 7.
  • Property mode set to 100644
File size: 87.8 KB
Line 
12007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2
3        * posix/src/adjtime.c: Clean up and verify against behavior documented
4        in GNU/Linux man page provided with Fedora 7.
5
62007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
7
8        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
9        automake variables.
10
112007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
12
13        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
14        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
15        rtems/src/taskvariabledelete.c: Add test code for task variables to
16        improve coverage.
17        * rtems/src/taskvariable_invoke_dtor.c: New file.
18
192007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
20
21        * posix/preinstall.am: Revert debug patch.
22
232007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
24
25        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
26        BSP.
27
282007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
29
30        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
31
322007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
33
34        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
35        disabled.
36
372007-12-12      Chris Johns <chrisj@rtems.org>
38
39        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
40        header list.
41        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
42        in any order rather than before any commands have been added. Also
43        made the command's strings be copies rather than references.
44        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
45
462007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
47
48        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
49        Move Ada support code that is untestable from the Standard RTEMS Test
50        Suite into its own directory. All code in score, posix, rtems, and
51        sapi should be testable by the Standard RTEMS Test Suites. It was
52        buried under POSIX before so this should be a clearer location
53        anyway.
54        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
55        libgnat/adasupp.c: New files.
56        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
57
582007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
59
60        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
61        Reverse file contents.
62
632007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
64
65        * sapi/include/rtems/config.h: Correct idle task prototype.
66
672007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
68
69        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
70        libmisc/shell/internal.h, libmisc/shell/shell.c,
71        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
72        processing now separated from main command loop. Addition of user
73        commands and aliases tested. Monitor registration now explicit.
74        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
75        libmisc/shell/write_file.c: New files.
76
772007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
78
79        * libmisc/Makefile.am: Fix typo.
80
812007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
82
83        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
84        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
85        into multiple files and add initial stages of command configuration.
86        This seems to work but the monitor commands need to be integrated
87        this way and the ability to configure user commands needs to be
88        tested.
89        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
90        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
91        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
92        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
93        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
94        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
95        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
96        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
97        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
98        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
99        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
100        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
101        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
102        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
103        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
104        libmisc/shell/str2int.c: New files.
105
1062007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
107
108        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
109
1102007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
111
112        * sapi/include/rtems/config.h: Fix idle thread prototype.
113
1142007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
115
116        * sapi/include/confdefs.h: Separate the concept of configuring the
117        interrupt stack size from actually reserving memory for it in the
118        RTEMS Workspace.
119
1202007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
121
122        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
123        installed. It is the initialization interface for both GoAhead and
124        Simple HTTPD.
125
1262007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
127
128        * sapi/include/rtems/config.h: Correct previous commit.
129
1302007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
131
132        * sapi/include/rtems/config.h: Commit temporary fix so
133        interrupt_stack_size is accessible before RTEMS is initialized.
134
1352007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
136
137        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
138        sapi/include/rtems/init.h, sapi/src/exinit.c,
139        score/include/rtems/system.h, score/src/isr.c: Move
140        interrupt_stack_size field from CPU Table to Configuration Table.
141        Eliminate CPU Table from all ports. Delete references to CPU Table in
142        all forms.
143
1442007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
145
146        * sapi/include/rtems/config.h: Add accessory macros for Configuration
147        Table fields merged from CPU Table.
148
1492007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
150
151        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
152        posix/preinstall.am, posix/include/rtems/posix/cond.h,
153        posix/include/rtems/posix/mqueue.h,
154        posix/include/rtems/posix/mutex.h,
155        posix/include/rtems/posix/pthread.h,
156        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
157        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
158        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
159        sapi/include/confdefs.h, sapi/include/rtems/config.h,
160        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
161        sapi/src/exinit.c, score/include/rtems/system.h,
162        score/include/rtems/score/mpci.h, score/src/mpci.c,
163        score/src/thread.c, score/src/threadcreateidle.c,
164        score/src/threadstackallocate.c, score/src/threadstackfree.c,
165        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
166        the Configuration Table. This included pretasking_hook,
167        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
168        extra_mpci_receive_server_stack, stack_allocate_hook, and
169        stack_free_hook. As a side-effect of this effort some multiprocessing
170        code was made conditional and some style clean up occurred.
171
1722007-12-03      Chris Johns <chrisj@rtems.org>
173
174        * libmisc/shell/shell.h: Added comments for the parameters to the
175        shell_init function.
176        * libmisc/shell/shell.c: Only set cflags if tcflags is
177        non-zero. This means the shell can use the current cflags settings
178        and the application does not need to know the baudrate etc.
179        * libmisc/capture/capture.h: Fix the comment.
180
1812007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
182
183        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
184        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
185        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
186        rtems/src/dpmemexternal2internal.c,
187        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
188        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
189        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
190        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
191        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
192        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
193        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
194        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
195        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
196        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
197        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
198        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
199        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
200        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
201        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
202        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
203        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
204        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
205        rtems/src/timercancel.c, rtems/src/timerdelete.c,
206        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
207        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
208        rtems/src/timerserverfirewhen.c: Restructured all code with
209        the switch (location) pattern so that OBJECTS_LOCAL is first
210        and we can fall into it and the OBJECTS_ERROR case breaks
211        to a return RTEMS_INVALID_ID.  This eliminates the return
212        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
213        was unreachable and untestable code.  This resulted in a code
214        savings of approximately 20 bytes per file on the SPARC/ERC32.
215
2162007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
217
218        * posix/Makefile.am: Restructed to move the
219        OBJECTS_LOCAL case to the top of the switch statement and
220        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
221        changes produced simplier assembly code and allowed for complete
222        test coverage.  Also applied some consistency to the functions
223        that translate the core status codes to POSIX status codes.
224
2252007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
226
227        * posix/include/rtems/posix/mutex.h,
228        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
229        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
230        posix/src/condwaitsupp.c, posix/src/keydelete.c,
231        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
232        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
233        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
234        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
235        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
236        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
237        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
238        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
239        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
240        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
241        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
242        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
243        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
244        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
245        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
246        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
247        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
248        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
249        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
250        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
251        posix/src/semclose.c, posix/src/semdestroy.c,
252        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
253        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
254        rtems/src/timerfireafter.c, score/include/rtems/system.h,
255        score/include/rtems/score/corebarrier.h,
256        score/include/rtems/score/coremsg.h,
257        score/include/rtems/score/coremutex.h,
258        score/include/rtems/score/coresem.h: Restructed to move the
259        OBJECTS_LOCAL case to the top of the switch statement and
260        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
261        changes produced simplier assembly code and allowed for complete
262        test coverage.  Also applied some consistency to the functions
263        that translate the core status codes to POSIX status codes.
264        * posix/src/mutextranslatereturncode.c,
265        posix/src/semaphoretranslatereturncode.c: New files.
266        * posix/src/mutexfromcorestatus.c: Removed.
267
2682007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
269
270        * posix/inline/rtems/posix/priority.inl: Fix typo.
271
2722007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
273
274        * sapi/src/exinit.c, score/include/rtems/score/object.h,
275        score/include/rtems/score/thread.h, score/src/object.c,
276        score/src/thread.c: Conditionally compile out more code that is
277        specific to multiprocessor configurations.
278
2792007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
280
281        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
282        posix/src/conddestroy.c, posix/src/condinit.c,
283        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
284        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
285        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
286        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
287        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
288        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
289        posix/src/mutexattrgetprioceiling.c,
290        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
291        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
292        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
293        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
294        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
295        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
296        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
297        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
298        posix/src/semclose.c, posix/src/semdestroy.c,
299        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
300        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
301        Remove all pretense of POSIX MP support. The support in place was
302        only a shell. This should make maintenance easier.
303        * posix/include/rtems/posix/condmp.h,
304        posix/include/rtems/posix/mqueuemp.h,
305        posix/include/rtems/posix/mutexmp.h,
306        posix/include/rtems/posix/pthreadmp.h,
307        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
308        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
309
3102007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
311
312        * configure.ac, score/inline/rtems/score/thread.inl,
313        score/src/threaddispatch.c: Add ability for user to disable inlining
314        of _Thread_Enable_dispatch. This can save code space but more
315        importantly it means the binary generated does not have code inlined
316        that is difficult to test and very seldom executed.
317
3182007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
319
320        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
321        rtems/include/rtems/rtems/barrier.h,
322        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
323        score/src/corerwlockrelease.c: Fixed several implementation errors.
324
3252007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
326
327        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
328        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
329        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
330        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
331        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
332        case to the top of the switch statement, have a single exit with one
333        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
334        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
335        code and allowed for complete test coverage.
336
3372007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
338
339        * sapi/include/confdefs.h,
340        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
341        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
342
3432007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
344
345        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
346
3472007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
348
349        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
350        support Thumb.
351
3522007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
353
354        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
355        Now works on gen5200/icecube.
356
3572007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
358
359        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
360
3612007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
362
363        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
364
3652007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
366
367        * score/include/rtems/score/thread.h: Fix spelling error.
368
3692007-11-17      Till Straumann <strauman@slac.stanford.edu>
370
371        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
372        Added checks so that use of 'stdio' is avoided (falling
373        back to 'printk') before the system is up.
374        Publish driver entry points so that the libi2c driver could
375        be added to the applications 'device driver table'.
376        This is not fully implemented yet, though, since in addition to
377        initializing libi2c the low-level i2c bus drivers as well
378        as high-level i2c device drivers need to be registered
379        with the library.
380        Updated README_libi2c accordingly.
381
3822007-11-17      Till Straumann <strauman@slac.stanford.edu>
383
384        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
385        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
386        so that it knows what PHY they want to look at.
387
3882007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
389
390        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
391        in opposite files. Whoops!
392
3932007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
394
395        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
396        of the focus was on the beginning stages of making the login checker
397        pluggable just like the shell.
398
3992007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
400
401        * posix/src/mprotect.c: Update comments.
402
4032007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
404
405        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
406        will require gcc 4.3 or newer.
407        * posix/src/ada_intrsupp.c: New file.
408
4092007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
410
411        * sapi/src/exinit.c, score/Makefile.am,
412        score/include/rtems/score/apimutex.h: API Mutex calls should never
413        have been inlined. Inlining them lead to many inlined copies of core
414        mutex lock. This lead to over 2K savings in the SPARC/ERC32
415        minimum.exe.
416        * score/src/apimutex.c, score/src/apimutexallocate.c,
417        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
418
4192007-11-07      Till Straumann <strauman@slac.stanford.edu>
420
421        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
422        around _CPU_ISR_Set_level().
423
4242007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
425
426        * score/inline/rtems/score/object.inl: During test coverage analysis,
427        we identified this sanity check which should have been conditional on
428        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
429        operations. With all APIs enabled, this saved 352 bytes from the
430        minimum executable on the SPARC/ERC32.
431
4322007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
433
434        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
435        compiler conditional attribute for methods that do not return. This
436        avoids gcc generating unreachable code following calls to
437        _Internal_error_Occurred.
438
4392007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
440
441        * configure.ac: Add ARM/Thumb Makefile.
442
4432007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
444
445        PR 1266/cpukit
446        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
447        of class for key indexing.
448
4492007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
450
451        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
452        Fix headers and formatting.
453
4542007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
455
456        Miscellaneous changes made after a review against the POSIX spec.
457        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
458        passes a NULL in the attributes parameter, default attributes are used.
459        * posix/src/prwlockdestroy.c: If there is at least one thread
460        waiting, do not allow deletion.
461        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
462        operation used to obtain a RWLock for writing.
463        * posix/src/pspinlocktranslatereturncode.c,
464        score/include/rtems/score/corespinlock.h,
465        score/src/corespinlockrelease.c: If the current thread is not the
466        holder of the lock, do not allow an unlock and return EPERM.
467        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
468        for queueing with a timeout handler.
469
4702007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
471
472        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
473        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
474        stack so gdb backtrace does not print corrupted frame message after
475        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
476        SPARC implementation and I made it more general.
477
4782007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
479
480        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
481        Cleaned up reports and fixed a bug related the printf format which
482        resulted in lack of leading zeroes and misleading magnitude.
483        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
484
4852007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
486
487        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
488        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
489        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
490        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
491        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
492        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
493        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
494        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
495        posix/src/condinit.c, posix/src/condsignalsupp.c,
496        posix/src/condwaitsupp.c, posix/src/keydelete.c,
497        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
498        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
499        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
500        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
501        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
502        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
503        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
504        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
505        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
506        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
507        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
508        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
509        posix/src/pspindestroy.c, posix/src/pspinlock.c,
510        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
511        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
512        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
513        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
514        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
515        posix/src/semclose.c, posix/src/semdestroy.c,
516        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
517        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
518        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
519        rtems/src/dpmemexternal2internal.c,
520        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
521        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
522        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
523        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
524        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
525        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
526        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
527        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
528        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
529        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
530        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
531        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
532        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
533        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
534        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
535        rtems/src/signalsend.c, rtems/src/taskdelete.c,
536        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
537        rtems/src/taskrestart.c, rtems/src/taskresume.c,
538        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
539        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
540        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
541        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
542        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
543        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
544        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
545        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
546        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
547        score/src/mpci.c, score/src/objectgetnameasstring.c,
548        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
549        multiprocessing is disabled, do not even allow the constant
550        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
551        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
552        in the generation of binary code which can NOT be reached.
553
5542007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
555
556        * score/Makefile.am, score/include/rtems/score/thread.h,
557        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
558        resulted in unnessary code explosion, many uncovered paths when
559        looking at binary executable coverage, and only optimized getting
560        self. Id translations were still getting pushed to a subroutine call
561        to _Objects_Get. Later the non-inlined version can be further
562        optimized to get Ids in range for the current API, then self, then
563        look at other APIs.
564        * score/src/threadget.c: New file.
565
5662007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
567
568        * libi2c/README-libi2c
569        document structure of libi2c library
570
5712007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
572
573        * libi2c/libi2c.c, libi2c/libi2c.h:
574        extend API to support SPI devices
575        made libi2c.h C++-proof
576
5772007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
578
579        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
580        also in another file.  Mistake after splitting.
581        * libcsupport/Makefile.am: Reflect file removal.
582
5832007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
584
585        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
586        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
587        Minor updates from FreeBSD.
588
5892007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
590
591        * score/include/rtems/score/copyrt.h: Update year.
592
5932007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
594
595        * score/include/rtems/score/copyrt.h: Update year.
596
5972007-10-11      Daniel Hellstrom <daniel@gaisler.com>
598
599        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
600        Fixed check of status when registering driver. Add use of strerror().
601
6022007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
603        Ralf Corsépius <ralf.corsepius@rtems.org>
604
605        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
606        libnetworking/libc/if_indextoname.c,
607        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
608        * Makefile.am: Add files above.
609        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
610
6112007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
612
613        * libmisc/stackchk/check.c: Eliminate output with little information.
614        Always print a blown message using the same routine. Now works with
615        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
616        support in your GCC version.
617
6182007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
619
620        * libcsupport/src/gxx_wrappers.c: Revert.
621
6222007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
623
624        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
625        PRId32 to fix warning.
626
6272007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
628
629        * telnetd/passwd.h: New file.
630
6312007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
632
633        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
634        telnetd/telnetd.h: telnetd rewrite.
635        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
636
6372007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
638
639        PR 1262/filesystem
640        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
641        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
642        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
643        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
644        writev() including documentation and test case.
645        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
646
6472007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
648
649        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
650        document what is required to provide a fully functional
651        implementation.
652        * libnetworking/rtems/rtems_socketpair.c: New file.
653
6542007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
655
656        * aclocal/version.m4: Bump RTEMS_API to 4.9.
657        Bump RTEMS_VERSION to 4.8.99.0.
658
6592007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
660
661        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
662
6632007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
664
665        * posix/src/semaphorecreatesupp.c: Fixed warning.
666
6672007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
668
669        * libmisc/dumpbuf/dumpbuf.c: Use printk.
670
6712007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
672
673        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
674        Use uint32_t for ext_accm.
675
6762007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
677
678        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
679        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
680        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
681        fixed-size types instead of BSD fixed-size types.
682
6832007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
684
685        * libmisc/stackchk/check.c: Fix alignment of output.
686
6872007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
688
689        * libmisc/monitor/monitor.h: Add network commands that were in the
690        network supplement but not in the code.
691        * libmisc/monitor/mon-network.c: New file.
692
6932007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
694
695        PR 1261/cpukit
696        * posix/src/semaphorecreatesupp.c: Initialize all fields during
697        semaphore creation.
698
6992007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
700
701        PR 1260/cpukit
702        * posix/src/pthread.c: Get initial signals blocked from creating
703        thread not from ourselves.
704
7052007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
706
707        * score/src/watchdogtickle.c: Remove tabs.
708
7092007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
710
711        PR 1259/rtems
712        * rtems/src/taskcreate.c: Initialize is_global in all cases since
713        memory is not guaranteed to be zero.
714
7152007-09-12  Sergei Organov  <osv@javad.com>
716
717        PR 1258/rtems
718        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
719        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
720        Use block_allocate() instead of _Heap_Block_allocate(). Replace
721        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
722        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
723        to changed block split strategy in _Heap_Allocate_aligned().
724
7252007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
726
727        * libcsupport/src/printk.c: Remove unnecessary comments.
728
7292007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
730
731        * libmisc/monitor/mon-monitor.c:
732        Corrected linked list of rtems_monitor_commands
733
7342007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
735
736        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
737        walk on init, malloc, and free. The ability to walk the heap appears
738        to disappeared during the rework of the C Program heap to skip the
739        Region.
740
7412007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
742
743        * score/src/heap.c: Style.
744        * score/src/heapwalk.c: Add more information to prints.
745        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
746        is disabled.
747
7482007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
749
750        * libcsupport/Makefile.am, libcsupport/src/printk.c:
751        * libcsupport/src/printk_plugin.c: New file.
752        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
753        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
754        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
755        rtems/src/ratemonreportstatistics.c: Added capability to specify
756        your own "printf" routine to various reporting functions.  This
757        added an XXX_with_plugin as the underlying implementation for
758          + rtems_rate_monotonic_report_statistics
759          + rtems_stack_checker_report_usage
760          + rtems_cpu_usage_report
761        As demonstration, the http netdemo can now print out stack
762        and cpu usage reports.
763
7642007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
765
766        * shttpd/compat_rtems.c: Style clean up.
767
7682007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
769
770        * rtems/src/ratemonperiod.c: Clean up.
771        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
772
7732007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
774
775        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
776
7772007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
778
779        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
780
7812007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
782
783        * libmisc/Makefile.am: Add new files.
784
7852007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
786
787        * libmisc/monitor/mon-object.c,
788        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
789        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
790        * libmisc/monitor/mon-task, libmisc/Makefile.am:
791        Added functionality for osmonweb support
792
7932007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
794
795        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
796        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
797        that are needed by osmonweb.
798
7992007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
800
801        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
802        Use printk.
803
8042007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
805
806        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
807        spacing and spelling.
808
8092007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
810
811        PR 1256/networking
812        * ftpd/ftpd.c: Fix unaligned access.
813
8142007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
815
816        * posix/Makefile.am: Always build nanosleep.
817
8182007-08-17      Chris Johns <chrisj@rtems.org>
819
820        * libmisc/capture/README: Minor copyright change.
821        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
822        libmisc/capture/capture.h: Fixed the memory leak when lots of
823        tasks are being created and deleted. Improved the trigger
824        interface so all task type actions can be caught.
825
8262007-08-13      Chris Johns <chrisj@rtems.org>
827
828        * score/include/rtems/score/object.h: Point the
829        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
830
8312007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
832
833        PR 1248/networking
834        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
835        reported that when no interfaces are successfully attached, the
836        default route is broken and may result in a jump to an illegal
837        address.
838
8392007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
840
841        * score/inline/rtems/score/priority.inl: Use size_t instead of
842          uint32_t for array index.
843
8442007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
845
846        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
847          identify coldfire cpus.
848
8492007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
850
851        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
852          coldfire.
853
8542007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
855
856        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
857          work-around bug m68k/coldfire -fomit-frame-pointer bug
858          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
859
8602007-07-27      Chris Johns <chrisj@rtems.org>
861
862        * wrapup/Makefile.am: Create archive from a file for hosts
863        with a limited command line size.
864
8652007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
866
867        * include/rtems/bspIo.h, include/rtems/pci.h:
868        Add extern "C" guards. Reported by
869        Robert S. Grimes <rsg@alum.mit.edu>.
870
8712007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
872
873        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
874        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
875        the time appears to be reported correctly and add up to what is
876        expected.
877
8782007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
879
880        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
881        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
882        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
883
8842007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
885
886        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
887        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
888        was always using uptime not time since last cpu usage reset when
889        using nanoseconds granularity.
890        * libmisc/cpuuse/cpuusagedata.c: New file.
891
8922007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
893
894        * libcsupport/src/mount.c: Allow null for output parameter.
895
8962007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
897
898        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
899        to shttpd initialization.
900
9012007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
902
903        * libcsupport/src/malloc.c: Clean up Malloc debug code.
904        * score/include/rtems/score/heap.h: Spacing.
905        * score/inline/rtems/score/thread.inl:
906        * score/src/heapfree.c. Clean up and add explicit check of the address
907        being freed actually being in the heap.
908        * score/src/heapwalk.c: Switch to printk and do not call abort.
909
9102007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
911
912        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
913        area contingent on the stack checker user extension having been
914        initialized.
915
9162007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
917
918        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
919        and recv(). We already had the BSD versions and these conflict
920        sometimes when linking.
921
9222007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
923
924        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
925        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
926
9272007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
928
929        * sapi/include/confdefs.h: Do not instantiate initialization
930        thas/thread pointer tables for an API that is not configured.
931
9322007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
933
934        * libcsupport/Makefile.am:
935        * libcsupport/src/open_dev_console.c: New file.
936
9372007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
938
939        * score/src/corerwlock.c: Make sure structure is fully initialized.
940        When reused, some fields will not be zero like at initialization.
941
9422007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
943
944        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
945        size. Account for this.
946
9472007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
948
949        * configure.ac: Add NDEBUG as a command line compilation option.
950
9512007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
952
953        * libmd/.cvsignore: New file.
954
9552007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
956
957        * shttpd/defs.h: Eliminate my_strncasecmp.
958        * shttpd/string.c: Eliminate my_strncasecmp.
959
9602007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
961
962        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
963        * pppd/Makefile.am: Reflect moving out md*.
964        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
965          libmd).
966        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
967        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
968        * configure.ac, Makefile.am: Add libmd.
969
9702007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
971
972        * shttpd/defs.h: Eliminate my_strlcpy.
973        * shttpd/string.c: Eliminate my_strlcpy.
974
9752007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
976
977        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
978        * shttpd/string.c: Eliminate my_strdup, my_strndup.
979        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
980          libmd.a.
981
9822007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
983
984        * wrapup/Makefile.am: Add libmd.a.
985
9862007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
987
988        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
989          Add pppd/libmd.a.
990        * pppd/md4.c: Don't include pppd.h.
991
9922007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
993
994        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
995
9962007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
997
998        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
999        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
1000        Add config.h support.
1001
10022007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1003
1004        * shttpd/compat_rtems.h: Define closesocket.
1005
10062007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1007
1008        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
1009
10102007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1011        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
1012        Use size_t for stack sizes.
1013
10142007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1015
1016        * configure.ac, Makefile.am: Add shttpd.
1017        * shttpd/Makefile.am: New.
1018        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
1019        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
1020        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
1021        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
1022        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
1023        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
1024        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
1025        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
1026        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
1027        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
1028        Import from shttpd-1.37.tar.gz.
1029
10302007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
1031
1032        * configure.ac: Remove "pad" from CPU_CONTEXT.
1033
10342007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1035
1036        * score/src/coremsg.c: Formatting.
1037
10382007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1039
1040        * score/include/rtems/score/copyrt.h: Update copyright notice.
1041
10422007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1043
1044        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
1045        one function per file execpt io.c which contains required
1046        initialization methods.
1047        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
1048        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
1049        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
1050        sapi/src/iowrite.c: New files.
1051
10522007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1053
1054        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
1055        table into Workspace but now it is only done if the application needs
1056        extra slots for dynamic driver registration. Cleaned up
1057        rtems_io_register_driver and rtems_io_unregister_driver code and
1058        added numerous error cases to register.
1059
10602007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1061
1062        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
1063        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
1064        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
1065        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
1066        configuration parameter since it was used to configure a no longer
1067        used feature. Device names are now part of the filesystem not in a
1068        table. This also eliminated the variables _IO_Number_of_devices and
1069        _IO_Driver_name_table from RTEMS as well as the memory allocation
1070        used to populate _IO_Driver_name_table.
1071        * libmisc/monitor/mon-dname.c: Removed.
1072
10732007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1074
1075        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
1076        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
1077        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
1078        unused Workspace. Round the workspace required size to an 8 byte
1079        boundary instead of a 0x400 byte one. We may end up needing to add 8
1080        bytes again to account for the alignment rounding.
1081
10822007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1083
1084        Yu Chen <chyyuu@gmail.com>
1085        * score/src/corespinlockwait.c: Per question posted as
1086        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
1087        logical operator to <=.
1088
10892007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1090
1091        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
1092        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
1093        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
1094        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
1095        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
1096        executive initialization.
1097
10982007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1099
1100        * score/src/corerwlockrelease.c: Do not dereference NULL.
1101
11022007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1103
1104        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
1105        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1106        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
1107        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
1108        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
1109        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
1110        sapi/include/rtems/extension.h: Split Classic API data instantiation
1111        into individual files. This reduces the size of the BSS section when
1112        an optional manager stub is used. Some tests showed about a 600 byte
1113        reduction in BSS size.
1114        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
1115        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
1116        _RTEMS_tasks_Number_of_initialization_tasks because they were only
1117        used in one place after initialized. It was a waste of space.
1118        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
1119        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
1120        rtems/src/ratemondata.c, rtems/src/regiondata.c,
1121        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
1122        sapi/src/extensiondata.c: New files.
1123
11242007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1125
1126        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
1127        functionality into multiple files to eliminate unnecessary cohesion.
1128        Update README.
1129        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
1130        New files.
1131        * libmisc/cpuuse/cpuuse.c: Removed.
1132
11332007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1134
1135        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
1136        negative value in some circumstances. Also cleaned up to share uptime
1137        declaration.
1138
11392007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1140
1141        * ChangeLog, configure.ac, libcsupport/src/__times.c,
1142        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
1143        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
1144        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
1145        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
1146        score/Makefile.am, score/include/rtems/score/thread.h,
1147        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
1148        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
1149        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
1150        monotonic period statistics and CPU usage statistics. This capability
1151        is enabled by default although may be conditionally disabled by the
1152        user. It could be too much overhead on small targets but it does not
1153        appear to be bad in early testing. Its impact on code size has not
1154        been evaluated either. It is possible that both forms of statistics
1155        gathering could be disabled with further tweaking of the conditional
1156        compilation.
1157        * score/src/timespecdividebyinteger.c: New file.
1158
11592007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1160
1161        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
1162        functionally similar code here. Also cleanup print formats.
1163
11642007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1165
1166        * score/src/objectgetnameasstring.c: Internal threads use string names
1167        so in the current RTEMS source string object name can NOT be
1168        disabled. It is probably worth considering converting the internal
1169        threads to uint32_t style names so all the support for string names
1170        can be conditionally disabled.
1171
11722007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1173
1174        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
1175        and greater than operations for timespecs.
1176        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
1177        New files.
1178
11792007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1180
1181        * score/src/objectgetnameasstring.c: Remove bogus ifdef
1182        RTEMS_POSIX_API.
1183
11842007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
1185
1186        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
1187        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
1188        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
1189        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
1190        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
1191        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
1192        score/Makefile.am, score/include/rtems/score/object.h,
1193        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
1194        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
1195        Added the following directives: rtems_rate_monotonic_get_statistics,
1196        rtems_rate_monotonic_reset_statistics,
1197        rtems_rate_monotonic_reset_all_statistics,
1198        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
1199        Obsoleted the rtems/rtmonuse.h file as a public interface.
1200        * rtems/src/ratemongetstatistics.c,
1201        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
1202        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
1203        score/src/objectgetnameasstring.c: New files.
1204        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
1205
12062007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1207
1208        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
1209        rtems_io_register_name for use on unix.
1210        * libcsupport/src/unixlibc_io.c: New file.
1211
12122007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1213
1214        * score/src/coremsgseize.c: A blocking sender's message size was
1215        pulled out of the wrong field in the Wait information structure.
1216        * score/src/objectallocate.c: With the new optional manager support,
1217        we only stub out the initialization. This makes it possible to attempt
1218        to create an object with the information structure only initialized
1219        with all zeros.  This ensures we return an error cleanly in this case.
1220
12212007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1222
1223        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
1224        an optional manager, we cannot depend on it do initialize the
1225        internal Allocator Mutex.  This was always a questionable place to
1226        do it, so this is a cleanup.
1227
12282007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1229
1230        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
1231        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
1232        suitable for inclusion in the Users Guide.
1233
12342007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1235
1236        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
1237        ChangeLog-pre2007.
1238        * ChangeLog-pre2007: New file.
1239
12402007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
1241
1242        PR 1241/rtems
1243        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
1244        critical section window added with requeueing support.
1245
12462007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1247
1248        * libcsupport/include/rtems/cdefs.h,
1249          libcsupport/include/sys/cdefs.h: Remove.
1250        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
1251        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
1252        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
1253        libnetworking/netdb.h, libnetworking/resolv.h,
1254        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
1255        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
1256        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
1257        libnetworking/net/if.h, libnetworking/net/if_dl.h,
1258        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
1259        libnetworking/rtems/rtems_bsdnet_internal.h,
1260        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
1261        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
1262        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
1263        libnetworking/sys/uio.h, libnetworking/sys/un.h,
1264        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
1265        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
1266        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
1267        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
1268        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
1269        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
1270        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
1271
12722007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1273
1274        * Makefile.am: Reflect introduction of
1275          include/rtems/bsd/sys/cdefs.h.
1276        * include/rtems/bsd/sys/cdefs.h: New.
1277
12782007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1279
1280        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
1281        * libnetworking/sys/queue.h: Remove.
1282
12832007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1284
1285        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
1286        <machine/endian.h>.
1287        * libnetworking/rtems/rtems_showroute.c,
1288        libnetworking/rtems/rtems_showipstat.c,
1289        libnetworking/rtems/rtems_showtcpstat.c,
1290        libnetworking/rtems/rtems_showicmpstat.c,
1291        libnetworking/rtems/rtems_showmbuf.c,
1292        libnetworking/rtems/rtems_showudpstat.c,
1293        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
1294        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
1295        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
1296        libnetworking/netinet/tcp_usrreq.c,
1297        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
1298        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
1299        libnetworking/netinet/ip_output.c,
1300        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
1301        libnetworking/netinet/udp_usrreq.c,
1302        libnetworking/netinet/tcp_output.c,
1303        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
1304        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
1305        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
1306        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
1307        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
1308        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
1309        instead of <sys/queue.h>.
1310        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
1311        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
1312        libnetworking/net/if.h, libnetworking/net/if_media.h,
1313        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
1314        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
1315        instead of <sys/queue.h>.
1316        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
1317        * include/rtems/bsd/sys/queue.h: New (Copied from
1318          libnetworking/sys/queue.h).
1319
13202007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1321
1322        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
1323        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
1324        score/Makefile.am, score/preinstall.am,
1325        score/include/rtems/score/userext.h, score/src/chain.c,
1326        score/src/userext.c: Switch to newlib reentrancy extension being
1327        installed in the initial set instead of using rtems_extension_create.
1328        While implementing this, noticed that user extensions and chain code
1329        had multiple functions in a single file which is not desirable in the
1330        SuperCore and API portions of RTEMS, so split these into multiple
1331        files with one function per file. Also noticed that some of user
1332        extension code was inlined for no particular reason so moved that to
1333        C bodies.  Split executive shutdown from initialization since not
1334        every application shuts down.  Moved __fini call to executive shutdown
1335        to be more symmetrical with where it is called at startup.
1336        * sapi/src/exshutdown.c, score/src/chainappend.c,
1337        score/src/chainextract.c, score/src/chainget.c,
1338        score/src/chaininsert.c, score/src/userextaddapiset.c,
1339        score/src/userextaddset.c, score/src/userextremoveset.c,
1340        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
1341        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
1342        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
1343        files.
1344        * score/inline/rtems/score/userext.inl: Removed.
1345
13462007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1347
1348        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
1349        reference _Configuration_MP_table if multiprocessing is disabled.
1350
13512007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1352
1353        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
1354        reference _Configuration_MP_table if multiprocessing is disabled.
1355
13562007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1357
1358        * libnetworking/machine/endian.h: Remove.
1359        * libnetworking/Makefile.am: Remove machine/endian.h.
1360        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
1361        libnetworking/rtems/rtems_bsdnet_internal.h: Include
1362        <rtems/endian.h> instead of <machine/endian.h>.
1363        * Makefile.am: Add include/rtems/endian.h.
1364        * include/rtems/endian.h: New (Copied from
1365          libnetworking/machine/endian.h).
1366
13672007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1368
1369        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
1370        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
1371        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
1372        of <stdint.h>.
1373        * libnetworking/machine/endian.h: Remove
1374          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
1375        * NEWS: new.
1376
13772007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1378
1379        PR 1243
1380        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
1381
13822007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
1383
1384        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
1385        to inline functions, using uint[16,32]_t.
1386        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
1387        with SUSv3.
1388        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
1389        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
1390        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
1391        Add HAVE_CONFIG_H magic.
1392        * libnetworking/libc/gethostbydns.c,
1393        libnetworking/libc/inet_net_ntop.c,
1394        libnetworking/libc/inet_pton.c: Eliminate __P.
1395        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
1396        return value of ntohl (POSIX requirement).
1397        Use UINT32_C macros to avoid overflows on 16bit targets.
1398        Eliminate __P.
1399        * configure.ac: Check for working PRIxPTR.
1400
14012007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
1402
1403        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
1404        score/src/threadinitialize.c, score/src/threadstackallocate.c:
1405        Use size_t for stack sizes.
1406
14072007-05-03      Joel Sherrill <joel@OARcorp.com>
1408
1409        * ChangeLog, libcsupport/src/malloc.c,
1410        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
1411        score/Makefile.am, score/preinstall.am: malloc never blocks so the
1412        Region Manager is quite heavy for implementing this. This patch
1413        implements the C Program Heap directly in terms of the new Protected
1414        Heap handler. This handler is a direct use of a SuperCore Heap in
1415        conjunction with the Allocator Mutex used internally by RTEMS. This
1416        saves 3184 bytes on most SPARC test executables.
1417        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
1418        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
1419        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
1420        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
1421        score/src/pheapinit.c, score/src/pheapresizeblock.c,
1422        score/src/pheapwalk.c: New files.
1423
14242007-05-03      Joel Sherrill <joel@OARcorp.com>
1425
1426        * libcsupport/src/rmdir.c: Fixed spacing.
1427        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
1428        newlibc.c. It is not required for minimum executing and drops 624
1429        from SPARC minimum executable.
1430        * libcsupport/src/newlibc_exit.c: New file.
1431
14322007-04-17      Joel Sherrill <joel@OARcorp.com>
1433
1434        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
1435        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
1436        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
1437        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
1438        rtems/src/taskinitusers.c, rtems/src/tasks.c,
1439        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
1440        reduce executable size. Most were refactoring of files. Split ITRON
1441        API files. Implemented mechanism to avoid initialization task/thread
1442        loop being linked in when that style of task initialization was not
1443        being used.
1444        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
1445        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
1446        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
1447        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
1448        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
1449        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
1450        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
1451        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
1452        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
1453        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
1454        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
1455        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
1456        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
1457        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
1458        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
1459        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
1460        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
1461        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
1462        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
1463        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
1464        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
1465
14662007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
1467
1468        * score/include/rtems/score/thread.h:
1469          Use Context_Control_fp* instead of void* for fp_contexts.
1470
14712007-04-16      Joel Sherrill <joel@OARcorp.com>
1472
1473        PR 1240/filesystem
1474        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
1475        for filename was not being freed.
1476
14772007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1478
1479        * pppd/utils.c: Use uintptr_t instead of unsigned long.
1480
14812007-04-16      Joel Sherrill <joel@OARcorp.com>
1482
1483        * itron/src/rsm_tsk.c: Correct error returned.
1484
14852007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
1486
1487        * configure.ac: Redefine LIBPOSIX to !UNIX.
1488        * posix/src/usleep.c, libcsupport/src/readlink.c:
1489        Update API to SUSv3.
1490
14912007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1492
1493        * posix/Makefile.am: Unconditionally build src/sleep.c,
1494          src/usleep.c.
1495        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
1496          CLOCK_MONOTONIC case.
1497        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
1498
14992007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1500
1501        * posix/Makefile.am: Cosmetics.
1502        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
1503        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
1504
15052007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1506
1507        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
1508          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
1509        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
1510          rtems/posix/time.h.
1511        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
1512          rtems/posix/time.h.
1513        * score/include/rtems/score/object.h: Use size_t for byte sizes.
1514
15152007-04-12      Joel Sherrill <joel@OARcorp.com>
1516
1517        * itron/src/rsm_tsk.c: Correct error returned.
1518
15192007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1520
1521        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
1522
15232007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1524
1525        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
1526        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
1527        _impure_ptr bug).
1528        Fix abuse of _REENT_INIT().
1529
15302007-04-05      Joel Sherrill <joel@OARcorp.com>
1531
1532        * itron/src/itrontime.c: Fix typo.
1533        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
1534        * score/src/iterateoverthreads.c: Safely take NULL as argument.
1535        * score/src/threaddispatch.c: Formatting.
1536
15372007-04-05      Joel Sherrill <joel@OARcorp.com>
1538
1539        * posix/Makefile.am: Fix formatting.
1540
15412007-04-05      Joel Sherrill <joel@OARcorp.com>
1542
1543        * posix/Makefile.am, posix/include/rtems/posix/time.h,
1544        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
1545        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
1546        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
1547        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
1548        posix/src/pthread.c, posix/src/pthreadcreate.c,
1549        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
1550        posix/src/sched.c, posix/src/semtimedwait.c,
1551        posix/src/sigtimedwait.c, posix/src/ualarm.c,
1552        rtems/src/clocktodtoseconds.c, score/Makefile.am,
1553        score/preinstall.am, score/include/rtems/score/tod.h,
1554        score/inline/rtems/score/tod.inl, score/src/coretod.c,
1555        score/src/coretodget.c, score/src/coretodgetuptime.c,
1556        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
1557        manipulation routines in the SuperCore. Use them everywhere possible.
1558        This lead to significant cleanup in the API routines and eliminated
1559        some of the same code from the POSIX API. At this point, the
1560        SuperCore keeps time in POSIX timespec format properly from 1970. You
1561        just cannot set it before 1988 in keeping with RTEMS traditional
1562        behavior.
1563        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
1564        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
1565        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
1566        score/src/timespectoticks.c: New files.
1567        * posix/src/posixintervaltotimespec.c,
1568        posix/src/posixtimespecsubtract.c,
1569        posix/src/posixtimespectointerval.c: Removed.
1570
15712007-04-04      Joel Sherrill <joel@OARcorp.com>
1572
1573        * score/Makefile.am, score/include/rtems/score/tod.h,
1574        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
1575        non-inlined routine. It should only be used once so there is little
1576        advantage to inlining it.
1577        * score/src/coretodtickle.c: New file.
1578
15792007-04-02      Joel Sherrill <joel@OARcorp.com>
1580
1581        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
1582        dead code.
1583        * posix/src/time.c: Removed.
1584
15852007-04-02      Joel Sherrill <joel@OARcorp.com>
1586
1587        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
1588        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
1589        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
1590        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
1591        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
1592        TOD_Ticks_per_second variable.
1593
15942007-04-02      Joel Sherrill <joel@OARcorp.com>
1595
1596        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
1597        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
1598        posix/src/clockgettime.c, posix/src/clocksettime.c,
1599        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
1600        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
1601        posix/src/sleep.c, rtems/Makefile.am,
1602        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
1603        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
1604        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
1605        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
1606        score/Makefile.am, score/include/rtems/score/tod.h,
1607        score/inline/rtems/score/tod.inl, score/src/coretod.c,
1608        score/src/coretodset.c: Convert from Classic API style TOD_Control as
1609        fundamental time structure to POSIX struct timespec. Add
1610        clock_get_uptime().
1611        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
1612        score/src/coretodgetuptime.c: New files.
1613        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
1614        score/src/coretodvalidate.c: Removed.
1615
16162007-04-02      Joel Sherrill <joel@OARcorp.com>
1617
1618        * libcsupport/src/printk.c: Add %p support.
1619
16202007-04-02      Joel Sherrill <joel@OARcorp.com>
1621
1622        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
1623        in addition to the pattern area being overwritten. Also do some
1624        cleanup.
1625
16262007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1627
1628        * include/rtems/pci.h: Further stdint.h fixed-size types.
1629
16302007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1631
1632        * include/rtems/pci.h: Use stdint.h fixed size-types.
1633
16342007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1635
1636        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
1637        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
1638        * libnetworking/Makefile.am: Move libc/res_config.h to
1639          libc_a_SOURCES (File is being used).
1640        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
1641        Remove (Unused).
1642        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
1643        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
1644        Remove (Unused).
1645        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
1646
16472007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1648
1649        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
1650        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
1651        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
1652        libnetworking/libc/gethostbynis.c,
1653        libnetworking/libc/gethostnamadr.c,
1654        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
1655        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
1656        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
1657        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
1658        libnetworking/libc/getservbyname.c,
1659        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
1660        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
1661        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
1662        libnetworking/libc/inet_net_ntop.c,
1663        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
1664        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
1665        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
1666        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
1667        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
1668        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
1669        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
1670        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
1671        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
1672        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
1673        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
1674        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
1675        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
1676        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
1677        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
1678        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
1679        SCCS, LINT. Add HAVE_CONFIG_H.
1680        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
1681
16822007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1683
1684        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
1685          uintptr_t.
1686
16872007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1688
1689        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
1690        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
1691
16922007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1693
1694        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
1695        * libnetworking/net/netisr.h: Partial update from FreeBSD.
1696        * libcsupport/src/getpwent.c: Remove bogus cast to long.
1697        * libnetworking/libc/strsep.c: Don't build if provided by libc.
1698        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
1699        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
1700        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
1701        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
1702        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
1703        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
1704        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
1705        (Abandoned in FreeBSD).
1706        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
1707        (Abandoned in FreeBSD).
1708        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
1709        (Abandoned in FreeBSD).
1710        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
1711        * libnetworking/netinet/ip_fw.c: Eliminate __P().
1712
17132007-03-28      Chris Johns <chrisj@rtems.org>
1714
1715        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1716        score/include/rtems/score/watchdog.h: Add support for a handler to
1717        obtain the number of nanoseconds since the last clock tick. The
1718        primary interface for this is rtems_clock_set_nanoseconds_extension.
1719        Subsequent commits from Joel will redo the TOD support to use this
1720        capability.
1721        * rtems/src/clocksetnsecshandler.c: New file.
1722
17232007-03-28      Joel Sherrill <joel@OARcorp.com>
1724
1725        PR 1234/cpukit
1726        * libcsupport/Makefile.am: Provide printk() based implementation of
1727        __assert() to reduce dependencies in executables.
1728        * libcsupport/src/__assert.c: New file.
1729
17302007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1731
1732        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
1733        Use uintptr_t for "disrupt". Remove bogus (long) cast.
1734        * libnetworking/net/ppp-comp.h: Remove (Unused).
1735        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
1736        * libnetworking/sys/buf.h: Remove (Unused).
1737        * libnetworking/Makefile.am: Remove sys/buf.h.
1738        * libnetworking/kern/kern_sysctl.c,
1739        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
1740        <sys/buf.h>.
1741        *  libcsupport/include/sys/sockio.h: Partial update from
1742          FreeBSD.
1743
17442007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1745
1746        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
1747        * libnetworking/netinet/igmp.c: Eliminate __P().
1748        * libnetworking/netinet/in.c: Eliminate __P().
1749        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
1750        * libnetworking/netinet/in_pcb.c: Eliminate __P().
1751        * libnetworking/netinet/ip_output.c: Eliminate __P().
1752
17532007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1754
1755        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
1756        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
1757        Change int args to intptr_t because they are casted to pointers.
1758        * libnetworking/netinet/tcp_usrreq.c,
1759        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
1760
17612007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1762
1763        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
1764        "long", because long is not guaranteed to be castable to char*.
1765        * libnetworking/netinet/ip_input.c: Eliminate __P().
1766        Change "int next" to "int32_t next" for 16bit targets.
1767        * libnetworking/netinet/tcp_input.c: Eliminate __P().
1768        * libnetworking/netinet/in_rmx.c: Eliminate __P().
1769        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
1770        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
1771        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
1772        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
1773        * libnetworking/kern/uipc_domain.c: Eliminate __P().
1774
17752007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1776
1777        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
1778        Remove (Abandoned in FreeBSD).
1779        * libnetworking/Makefile.am: Remove net/pppcompress.c,
1780        net/pppcompress.h.
1781        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
1782        net/pppcompress.h.
1783        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
1784        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
1785        net/pppcompress.h.
1786
17872007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1788
1789        * libnetworking/net/pppcompress.h: Eliminate __P().
1790        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
1791        * libnetworking/net/if_llc.h: Update from FreeBSD.
1792
17932007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
1794
1795        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
1796          <net/ppp-comp.h>.
1797        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
1798        Warn about using it.
1799        * libnetworking/Makefile.am: Add net/ppp_comp.h.
1800        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
1801        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
1802          FreeBSD.
1803        * libnetworking/machine/in_cksum.h: Eliminate __P().
1804        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
1805        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
1806        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
1807        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
1808        Eliminate __P().
1809        * libcsupport/src/scandir.c: Eliminate __P().
1810        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
1811        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
1812        Eliminate __P().
1813        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
1814        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
1815        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
1816
18172007-03-26      Joel Sherrill <joel@OARcorp.com>
1818
1819        PR 1231/cpukit
1820        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
1821        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
1822        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1823        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
1824        posix/src/mutexattrgetprioceiling.c,
1825        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1826        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1827        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1828        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1829        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1830        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
1831        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
1832        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1833        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
1834        posix/src/posixtimespecsubtract.c,
1835        posix/src/posixtimespectointerval.c,
1836        posix/src/psignalclearprocesssignals.c,
1837        posix/src/psignalclearsignals.c,
1838        posix/src/psignalsetprocesssignals.c,
1839        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1840        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
1841        unneeded includes of assert.h
1842
18432007-03-26      Joel Sherrill <joel@OARcorp.com>
1844
1845        * libcsupport/include/rtems/assoc.h: Pick up the include file
1846        changes associated with the file splitting.
1847
18482007-03-26      Joel Sherrill <joel@OARcorp.com>
1849
1850        * libcsupport/Makefile.am: Pick up the Makefile changes associated
1851        with the file splitting.
1852
18532007-03-26      Joel Sherrill <joel@OARcorp.com>
1854
1855        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
1856        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
1857        this will not be deemed necessary to commit to the 4.7 branch.
1858        * libcsupport/src/assoclocalbyname.c,
1859        libcsupport/src/assoclocalbyremote.c,
1860        libcsupport/src/assoclocalbyremotebitfield.c,
1861        libcsupport/src/assocnamebylocal.c,
1862        libcsupport/src/assocnamebylocalbitfield.c,
1863        libcsupport/src/assocnamebyremote.c,
1864        libcsupport/src/assocnamebyremotebitfield.c,
1865        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
1866        libcsupport/src/assocptrbyremote.c,
1867        libcsupport/src/assocremotebylocal.c,
1868        libcsupport/src/assocremotebylocalbitfield.c,
1869        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
1870        libcsupport/src/write_r.c: New files.
1871
18722007-03-26      Joel Sherrill <joel@OARcorp.com>
1873
1874        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
1875        support and remove deadcode. Replace with comment explaining that
1876        behavior is compatible with GNU/Linux per Eric Norum.
1877
18782007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1879
1880        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
1881        Partial update from FreeBSD.
1882        * libnetworking/netinet/if_ether.h: Eliminate __P().
1883        * libnetworking/netinet/ip_var.h: Eliminate __P().
1884        * libnetworking/netinet/in.h: Eliminate __P().
1885        * libnetworking/netinet/tcp_var.h: Eliminate __P().
1886
18872007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
1888
1889        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
1890        Remove __P();
1891        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
1892
18932007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
1894
1895        * libnetworking/netinet/in_var.h: Remove __P().
1896        * libnetworking/netinet/in_systm.h: Remove __P().
1897        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
1898        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
1899        * libnetworking/netinet/if_ether.c: Remove __P().
1900        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
1901        More updates from FreeBSD.
1902        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
1903        libnetworking/net/route.h: Partial update from FreeBSD.
1904
19052007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
1906
1907        * libnetworking/Makefile.am: Remove nfs/krpc.h.
1908        * libnetworking/nfs/krpc.h: Remove (Unused).
1909        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
1910        * libnetworking/Makefile.am: Remove nfs/nfs.h.
1911        * libnetworking/nfs/nfs.h: Remove (Unused).
1912
19132007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1914
1915        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
1916          symbols.
1917        * libnetworking/sys/conf.h: Don't include machine/conf.h.
1918        Update copyright notice.
1919        Remove unused/non-implemented declarations.
1920        * libnetworking/Makefile.am: Remove machine/conf.h.
1921        * libnetworking/machine/conf.h: Remove.
1922
19232007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1924
1925        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
1926        Remove many non-supported/unused declarations.
1927
19282007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1929
1930        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
1931          crhold (Unused/non-implemented).
1932
19332007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1934
1935        * libnetworking/sys/ucred.h: Remove __P().
1936        * libnetworking/sys/callout.h: Remove __P().
1937        * libnetworking/sys/domain.h: Remove __P().
1938        * libnetworking/sys/socketvar.h: Remove __P().
1939        * libnetworking/sys/socket.h: Remove __P().
1940        * libnetworking/sys/select.h: Remove __P().
1941        * libnetworking/sys/kernel.h: Remove __P().
1942        * libnetworking/sys/protosw.h: Remove __P().
1943        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
1944        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
1945        swdevt, nswdev, nswap (Unused).
1946
19472007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1948
1949        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
1950        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
1951        instead of struct linesw (PR 1229)
1952        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
1953        around clash with defines from rtems_bsdnet_internal.h.
1954        * score/src/heapwalk.c: include stdlib.h.
1955
19562007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
1957
1958        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
1959        Remove __P().
1960        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
1961        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
1962        Remove __P().
1963        * libcsupport/include/rtems/termiostypes.h,
1964        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
1965        with rtems_termios_*.
1966        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
1967        (Clash with termiostypes.h - PR 1229).
1968
19692007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1970
1971        * score/include/rtems/score/wkspace.h,
1972        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
1973        Change _Workspace_Handler_initialization and
1974        _Workspace_Allocate_or_fatal_error to using size_t.
1975        * libnetworking/sys/rtprio.h: Remove (Unused).
1976        * libnetworking/Makefile.am: Remove sys/rtprio.h.
1977
19782007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
1979
1980        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
1981        Remove __P().
1982
19832007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1984
1985        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
1986          to fix warnings.
1987        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
1988        * score/include/rtems/score/chain.h, score/src/chain.c:
1989        Change _Chain_Initialize to using size_t.
1990
19912007-03-12      Joel Sherrill <joel@OARcorp.com>
1992
1993        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
1994        Dump_Buffer to rtems_print_buffer.
1995
19962007-03-12      Joel Sherrill <joel@OARcorp.com>
1997
1998        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
1999        license URL and/or fix mistake in copyright notice. Both of these
2000        mistakes appear to be from code submitted after these changes were
2001        made previously.
2002
20032007-03-10      Joel Sherrill <joel@OARcorp.com>
2004
2005        PR 1226/cpukit
2006        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
2007        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
2008
20092007-03-08      Joel Sherrill <joel@OARcorp.com>
2010
2011        * libfs/src/imfs/imfs.h: Fix comment.
2012
20132007-03-08      Joel Sherrill <joel@OARcorp.com>
2014
2015        * libfs/src/imfs/imfs.h: Fix comment.
2016
20172007-03-08      Joel Sherrill <joel@OARcorp.com>
2018
2019        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
2020        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
2021
20222007-03-08      Joel Sherrill <joel@OARcorp.com>
2023
2024        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
2025        Remove wrapper for message queue send and urgent and implement them
2026        directly. There was an unnecessary function call layer in addition to
2027        conditions in the shared routine. Directly coding both directives is
2028        simpler and should result in smaller code.
2029        * rtems/src/msgqsubmit.c: Removed.
2030
20312007-03-05      Joel Sherrill <joel@OARcorp.com>
2032
2033        PR 1222/cpukit
2034        * score/Makefile.am, score/include/rtems/score/coremutex.h,
2035        score/include/rtems/score/threadq.h,
2036        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
2037        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
2038        score/src/threadclearstate.c, score/src/threadhandler.c,
2039        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
2040        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
2041        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
2042        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
2043        score/src/threadsetstate.c: Enhance so that when the prioirity of a
2044        thread that is blocked on a priority based thread queue is changed,
2045        that its placement in the queue is reevaluated based upon the new
2046        priority. This enhancement includes modifications to the SuperCore as
2047        well as new test cases.
2048        * score/src/threadqrequeue.c: New file.
2049
20502007-03-05      Joel Sherrill <joel@OARcorp.com>
2051
2052        * sapi/src/exinit.c: Fix spacing.
2053
20542007-03-05      Joel Sherrill <joel@OARcorp.com>
2055
2056        PR 1221/cpukit
2057        * posix/src/pthreadequal.c: Fix critical section nesting.
2058
20592007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
2060
2061        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
2062          compiled files.
2063
20642007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
2065
2066        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
2067
20682007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
2069
2070        * score/Makefile.am: Remove macros/README.
2071
20722007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
2073
2074        * score/include/rtems/score/heap.h, score/src/heap.c,
2075        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
2076        More size_t for heap-sizes.
2077        * score/include/rtems/score/heap.h, score/src/heap.c,
2078        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
2079        heap-sizes.
2080        * libnetworking/resolv.h: Typo fixes. Remove __P().
2081
20822007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
2083
2084        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
2085        Use size_t for stack-sizes.
2086
20872007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
2088
2089        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
2090          functions.
2091        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
2092        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
2093
20942007-02-06      Till Straumann <strauman@slac.stanford.edu>
2095
2096        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
2097        taskvar dtor to plug memory leak. Applied patch attached
2098        to PR#690.
2099
21002007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2101
2102        * libcsupport/src/getpagesize.c: New (moved from posix/src).
2103        * posix/src/getpagesize.c: Removed.
2104        * posix/Makefile.am: Remove references to getpagesize.c.
2105        * libcsupport/Makefile.am: Add getpagesize.c.
2106
21072007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2108
2109        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
2110        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
2111          visible.
2112        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
2113
21142007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2115
2116        * rtems/src/msgqsend.c: Use size_t for sizes.
2117        * rtems/src/msgqurgent.c: Use size_t for sizes.
2118        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
2119        * rtems/src/msgmp.c: Use size_t for sizes.
2120        * rtems/src/msgqsubmit.c: Use size_t for sizes.
2121        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
2122        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2123        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
2124
21252007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2126
2127        * itron/src/trcv_mbf.c: Use size_t for sizes.
2128        * libmisc/monitor/mon-object.c: Use size_t for sizes.
2129        * libmisc/monitor/mon-server.c: Use size_t for sizes.
2130        * libmisc/monitor/monitor.h: Use size_t for sizes.
2131        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
2132        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2133        * rtems/src/msgqreceive.c: Use size_t for sizes.
2134        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
2135        * score/src/coremsgseize.c: Use size_t for sizes.
2136
21372007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
2138
2139        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
2140        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
2141        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
2142        * score/src/coremsgbroadcast.c: Use size_t for sizes.
2143        * score/src/coremsgsubmit.c: Use size_t for sizes.
2144
21452007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2146
2147        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
2148
21492007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2150
2151        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
2152
21532007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2154
2155        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
2156        Remove isblank (supposed to be provided by libc).
2157
21582007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2159
2160        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
2161
21622007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2163
2164        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
2165         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
2166        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
2167        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
2168        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
2169
21702007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2171
2172        * score/include/rtems/system.h:
2173        #define __RTEMS_MINOR__ 7 (BZ 1206).
2174
21752007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2176
2177        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
2178        export some internal variables to make them available in
2179        "show_bdbuf" monitor add-on
2180
21812007-01-16      Till Straumann <strauman@slac.stanford.edu>
2182
2183        * libnetworking/rtems/rtems_mii_ioctl.c,
2184        libnetworking/rtems/rtems_mii_ioctl.h,
2185        libnetworking/rtems/rtems_mii_ioctl_kern.c,
2186        libi2c/libi2c.c, libi2c/libi2c.h:
2187        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2188
21892007-01-09      Joel Sherrill <joel@OARcorp.com>
2190
2191        * libcsupport/src/error.c: rtems_progname is no longer defined in
2192        the BSP startup since it never held a meaningful value.
2193
21942007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
2195
2196        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
2197        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.