source: rtems/cpukit/ChangeLog @ c62cad97

4.104.114.95
Last change on this file since c62cad97 was c62cad97, checked in by Joel Sherrill <joel.sherrill@…>, on 12/11/07 at 15:06:40

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

  • libmisc/Makefile.am: Fix typo.
  • Property mode set to 100644
File size: 85.0 KB
Line 
12007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2
3        * libmisc/Makefile.am: Fix typo.
4
52007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
6
7        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
8        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
9        into multiple files and add initial stages of command configuration.
10        This seems to work but the monitor commands need to be integrated
11        this way and the ability to configure user commands needs to be
12        tested.
13        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
14        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
15        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
16        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
17        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
18        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
19        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
20        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
21        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
22        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
23        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
24        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
25        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
26        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
27        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
28        libmisc/shell/str2int.c: New files.
29
302007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
31
32        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
33
342007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
35
36        * sapi/include/rtems/config.h: Fix idle thread prototype.
37
382007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
39
40        * sapi/include/confdefs.h: Separate the concept of configuring the
41        interrupt stack size from actually reserving memory for it in the
42        RTEMS Workspace.
43
442007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
45
46        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
47        installed. It is the initialization interface for both GoAhead and
48        Simple HTTPD.
49
502007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
51
52        * sapi/include/rtems/config.h: Correct previous commit.
53
542007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
55
56        * sapi/include/rtems/config.h: Commit temporary fix so
57        interrupt_stack_size is accessible before RTEMS is initialized.
58
592007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
60
61        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
62        sapi/include/rtems/init.h, sapi/src/exinit.c,
63        score/include/rtems/system.h, score/src/isr.c: Move
64        interrupt_stack_size field from CPU Table to Configuration Table.
65        Eliminate CPU Table from all ports. Delete references to CPU Table in
66        all forms.
67
682007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
69
70        * sapi/include/rtems/config.h: Add accessory macros for Configuration
71        Table fields merged from CPU Table.
72
732007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
74
75        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
76        posix/preinstall.am, posix/include/rtems/posix/cond.h,
77        posix/include/rtems/posix/mqueue.h,
78        posix/include/rtems/posix/mutex.h,
79        posix/include/rtems/posix/pthread.h,
80        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
81        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
82        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
83        sapi/include/confdefs.h, sapi/include/rtems/config.h,
84        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
85        sapi/src/exinit.c, score/include/rtems/system.h,
86        score/include/rtems/score/mpci.h, score/src/mpci.c,
87        score/src/thread.c, score/src/threadcreateidle.c,
88        score/src/threadstackallocate.c, score/src/threadstackfree.c,
89        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
90        the Configuration Table. This included pretasking_hook,
91        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
92        extra_mpci_receive_server_stack, stack_allocate_hook, and
93        stack_free_hook. As a side-effect of this effort some multiprocessing
94        code was made conditional and some style clean up occurred.
95
962007-12-03      Chris Johns <chrisj@rtems.org>
97
98        * libmisc/shell/shell.h: Added comments for the parameters to the
99        shell_init function.
100        * libmisc/shell/shell.c: Only set cflags if tcflags is
101        non-zero. This means the shell can use the current cflags settings
102        and the application does not need to know the baudrate etc.
103        * libmisc/capture/capture.h: Fix the comment.
104
1052007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
106
107        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
108        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
109        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
110        rtems/src/dpmemexternal2internal.c,
111        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
112        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
113        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
114        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
115        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
116        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
117        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
118        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
119        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
120        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
121        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
122        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
123        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
124        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
125        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
126        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
127        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
128        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
129        rtems/src/timercancel.c, rtems/src/timerdelete.c,
130        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
131        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
132        rtems/src/timerserverfirewhen.c: Restructured all code with
133        the switch (location) pattern so that OBJECTS_LOCAL is first
134        and we can fall into it and the OBJECTS_ERROR case breaks
135        to a return RTEMS_INVALID_ID.  This eliminates the return
136        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
137        was unreachable and untestable code.  This resulted in a code
138        savings of approximately 20 bytes per file on the SPARC/ERC32.
139
1402007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
141
142        * posix/Makefile.am: Restructed to move the
143        OBJECTS_LOCAL case to the top of the switch statement and
144        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
145        changes produced simplier assembly code and allowed for complete
146        test coverage.  Also applied some consistency to the functions
147        that translate the core status codes to POSIX status codes.
148
1492007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
150
151        * posix/include/rtems/posix/mutex.h,
152        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
153        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
154        posix/src/condwaitsupp.c, posix/src/keydelete.c,
155        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
156        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
157        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
158        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
159        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
160        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
161        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
162        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
163        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
164        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
165        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
166        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
167        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
168        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
169        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
170        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
171        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
172        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
173        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
174        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
175        posix/src/semclose.c, posix/src/semdestroy.c,
176        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
177        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
178        rtems/src/timerfireafter.c, score/include/rtems/system.h,
179        score/include/rtems/score/corebarrier.h,
180        score/include/rtems/score/coremsg.h,
181        score/include/rtems/score/coremutex.h,
182        score/include/rtems/score/coresem.h: Restructed to move the
183        OBJECTS_LOCAL case to the top of the switch statement and
184        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
185        changes produced simplier assembly code and allowed for complete
186        test coverage.  Also applied some consistency to the functions
187        that translate the core status codes to POSIX status codes.
188        * posix/src/mutextranslatereturncode.c,
189        posix/src/semaphoretranslatereturncode.c: New files.
190        * posix/src/mutexfromcorestatus.c: Removed.
191
1922007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
193
194        * posix/inline/rtems/posix/priority.inl: Fix typo.
195
1962007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
197
198        * sapi/src/exinit.c, score/include/rtems/score/object.h,
199        score/include/rtems/score/thread.h, score/src/object.c,
200        score/src/thread.c: Conditionally compile out more code that is
201        specific to multiprocessor configurations.
202
2032007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
204
205        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
206        posix/src/conddestroy.c, posix/src/condinit.c,
207        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
208        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
209        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
210        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
211        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
212        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
213        posix/src/mutexattrgetprioceiling.c,
214        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
215        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
216        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
217        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
218        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
219        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
220        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
221        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
222        posix/src/semclose.c, posix/src/semdestroy.c,
223        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
224        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
225        Remove all pretense of POSIX MP support. The support in place was
226        only a shell. This should make maintenance easier.
227        * posix/include/rtems/posix/condmp.h,
228        posix/include/rtems/posix/mqueuemp.h,
229        posix/include/rtems/posix/mutexmp.h,
230        posix/include/rtems/posix/pthreadmp.h,
231        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
232        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
233
2342007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
235
236        * configure.ac, score/inline/rtems/score/thread.inl,
237        score/src/threaddispatch.c: Add ability for user to disable inlining
238        of _Thread_Enable_dispatch. This can save code space but more
239        importantly it means the binary generated does not have code inlined
240        that is difficult to test and very seldom executed.
241
2422007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
243
244        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
245        rtems/include/rtems/rtems/barrier.h,
246        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
247        score/src/corerwlockrelease.c: Fixed several implementation errors.
248
2492007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
250
251        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
252        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
253        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
254        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
255        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
256        case to the top of the switch statement, have a single exit with one
257        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
258        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
259        code and allowed for complete test coverage.
260
2612007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
262
263        * sapi/include/confdefs.h,
264        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
265        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
266
2672007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
268
269        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
270
2712007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
272
273        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
274        support Thumb.
275
2762007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
277
278        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
279        Now works on gen5200/icecube.
280
2812007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
282
283        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
284
2852007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
286
287        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
288
2892007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
290
291        * score/include/rtems/score/thread.h: Fix spelling error.
292
2932007-11-17      Till Straumann <strauman@slac.stanford.edu>
294
295        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
296        Added checks so that use of 'stdio' is avoided (falling
297        back to 'printk') before the system is up.
298        Publish driver entry points so that the libi2c driver could
299        be added to the applications 'device driver table'.
300        This is not fully implemented yet, though, since in addition to
301        initializing libi2c the low-level i2c bus drivers as well
302        as high-level i2c device drivers need to be registered
303        with the library.
304        Updated README_libi2c accordingly.
305
3062007-11-17      Till Straumann <strauman@slac.stanford.edu>
307
308        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
309        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
310        so that it knows what PHY they want to look at.
311
3122007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
313
314        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
315        in opposite files. Whoops!
316
3172007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
318
319        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
320        of the focus was on the beginning stages of making the login checker
321        pluggable just like the shell.
322
3232007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
324
325        * posix/src/mprotect.c: Update comments.
326
3272007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
328
329        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
330        will require gcc 4.3 or newer.
331        * posix/src/ada_intrsupp.c: New file.
332
3332007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
334
335        * sapi/src/exinit.c, score/Makefile.am,
336        score/include/rtems/score/apimutex.h: API Mutex calls should never
337        have been inlined. Inlining them lead to many inlined copies of core
338        mutex lock. This lead to over 2K savings in the SPARC/ERC32
339        minimum.exe.
340        * score/src/apimutex.c, score/src/apimutexallocate.c,
341        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
342
3432007-11-07      Till Straumann <strauman@slac.stanford.edu>
344
345        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
346        around _CPU_ISR_Set_level().
347
3482007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
349
350        * score/inline/rtems/score/object.inl: During test coverage analysis,
351        we identified this sanity check which should have been conditional on
352        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
353        operations. With all APIs enabled, this saved 352 bytes from the
354        minimum executable on the SPARC/ERC32.
355
3562007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
357
358        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
359        compiler conditional attribute for methods that do not return. This
360        avoids gcc generating unreachable code following calls to
361        _Internal_error_Occurred.
362
3632007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
364
365        * configure.ac: Add ARM/Thumb Makefile.
366
3672007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
368
369        PR 1266/cpukit
370        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
371        of class for key indexing.
372
3732007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
374
375        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
376        Fix headers and formatting.
377
3782007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
379
380        Miscellaneous changes made after a review against the POSIX spec.
381        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
382        passes a NULL in the attributes parameter, default attributes are used.
383        * posix/src/prwlockdestroy.c: If there is at least one thread
384        waiting, do not allow deletion.
385        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
386        operation used to obtain a RWLock for writing.
387        * posix/src/pspinlocktranslatereturncode.c,
388        score/include/rtems/score/corespinlock.h,
389        score/src/corespinlockrelease.c: If the current thread is not the
390        holder of the lock, do not allow an unlock and return EPERM.
391        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
392        for queueing with a timeout handler.
393
3942007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
395
396        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
397        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
398        stack so gdb backtrace does not print corrupted frame message after
399        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
400        SPARC implementation and I made it more general.
401
4022007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
403
404        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
405        Cleaned up reports and fixed a bug related the printf format which
406        resulted in lack of leading zeroes and misleading magnitude.
407        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
408
4092007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
410
411        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
412        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
413        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
414        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
415        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
416        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
417        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
418        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
419        posix/src/condinit.c, posix/src/condsignalsupp.c,
420        posix/src/condwaitsupp.c, posix/src/keydelete.c,
421        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
422        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
423        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
424        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
425        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
426        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
427        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
428        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
429        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
430        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
431        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
432        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
433        posix/src/pspindestroy.c, posix/src/pspinlock.c,
434        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
435        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
436        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
437        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
438        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
439        posix/src/semclose.c, posix/src/semdestroy.c,
440        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
441        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
442        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
443        rtems/src/dpmemexternal2internal.c,
444        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
445        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
446        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
447        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
448        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
449        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
450        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
451        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
452        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
453        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
454        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
455        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
456        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
457        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
458        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
459        rtems/src/signalsend.c, rtems/src/taskdelete.c,
460        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
461        rtems/src/taskrestart.c, rtems/src/taskresume.c,
462        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
463        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
464        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
465        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
466        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
467        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
468        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
469        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
470        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
471        score/src/mpci.c, score/src/objectgetnameasstring.c,
472        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
473        multiprocessing is disabled, do not even allow the constant
474        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
475        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
476        in the generation of binary code which can NOT be reached.
477
4782007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
479
480        * score/Makefile.am, score/include/rtems/score/thread.h,
481        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
482        resulted in unnessary code explosion, many uncovered paths when
483        looking at binary executable coverage, and only optimized getting
484        self. Id translations were still getting pushed to a subroutine call
485        to _Objects_Get. Later the non-inlined version can be further
486        optimized to get Ids in range for the current API, then self, then
487        look at other APIs.
488        * score/src/threadget.c: New file.
489
4902007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
491
492        * libi2c/README-libi2c
493        document structure of libi2c library
494
4952007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
496
497        * libi2c/libi2c.c, libi2c/libi2c.h:
498        extend API to support SPI devices
499        made libi2c.h C++-proof
500
5012007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
502
503        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
504        also in another file.  Mistake after splitting.
505        * libcsupport/Makefile.am: Reflect file removal.
506
5072007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
508
509        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
510        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
511        Minor updates from FreeBSD.
512
5132007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
514
515        * score/include/rtems/score/copyrt.h: Update year.
516
5172007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
518
519        * score/include/rtems/score/copyrt.h: Update year.
520
5212007-10-11      Daniel Hellstrom <daniel@gaisler.com>
522
523        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
524        Fixed check of status when registering driver. Add use of strerror().
525
5262007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
527        Ralf Corsépius <ralf.corsepius@rtems.org>
528
529        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
530        libnetworking/libc/if_indextoname.c,
531        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
532        * Makefile.am: Add files above.
533        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
534
5352007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
536
537        * libmisc/stackchk/check.c: Eliminate output with little information.
538        Always print a blown message using the same routine. Now works with
539        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
540        support in your GCC version.
541
5422007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
543
544        * libcsupport/src/gxx_wrappers.c: Revert.
545
5462007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
547
548        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
549        PRId32 to fix warning.
550
5512007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
552
553        * telnetd/passwd.h: New file.
554
5552007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
556
557        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
558        telnetd/telnetd.h: telnetd rewrite.
559        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
560
5612007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
562
563        PR 1262/filesystem
564        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
565        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
566        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
567        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
568        writev() including documentation and test case.
569        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
570
5712007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
572
573        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
574        document what is required to provide a fully functional
575        implementation.
576        * libnetworking/rtems/rtems_socketpair.c: New file.
577
5782007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
579
580        * aclocal/version.m4: Bump RTEMS_API to 4.9.
581        Bump RTEMS_VERSION to 4.8.99.0.
582
5832007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
584
585        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
586
5872007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
588
589        * posix/src/semaphorecreatesupp.c: Fixed warning.
590
5912007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
592
593        * libmisc/dumpbuf/dumpbuf.c: Use printk.
594
5952007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
596
597        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
598        Use uint32_t for ext_accm.
599
6002007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
601
602        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
603        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
604        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
605        fixed-size types instead of BSD fixed-size types.
606
6072007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
608
609        * libmisc/stackchk/check.c: Fix alignment of output.
610
6112007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
612
613        * libmisc/monitor/monitor.h: Add network commands that were in the
614        network supplement but not in the code.
615        * libmisc/monitor/mon-network.c: New file.
616
6172007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
618
619        PR 1261/cpukit
620        * posix/src/semaphorecreatesupp.c: Initialize all fields during
621        semaphore creation.
622
6232007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
624
625        PR 1260/cpukit
626        * posix/src/pthread.c: Get initial signals blocked from creating
627        thread not from ourselves.
628
6292007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
630
631        * score/src/watchdogtickle.c: Remove tabs.
632
6332007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
634
635        PR 1259/rtems
636        * rtems/src/taskcreate.c: Initialize is_global in all cases since
637        memory is not guaranteed to be zero.
638
6392007-09-12  Sergei Organov  <osv@javad.com>
640
641        PR 1258/rtems
642        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
643        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
644        Use block_allocate() instead of _Heap_Block_allocate(). Replace
645        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
646        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
647        to changed block split strategy in _Heap_Allocate_aligned().
648
6492007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
650
651        * libcsupport/src/printk.c: Remove unnecessary comments.
652
6532007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
654
655        * libmisc/monitor/mon-monitor.c:
656        Corrected linked list of rtems_monitor_commands
657
6582007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
659
660        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
661        walk on init, malloc, and free. The ability to walk the heap appears
662        to disappeared during the rework of the C Program heap to skip the
663        Region.
664
6652007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
666
667        * score/src/heap.c: Style.
668        * score/src/heapwalk.c: Add more information to prints.
669        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
670        is disabled.
671
6722007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
673
674        * libcsupport/Makefile.am, libcsupport/src/printk.c:
675        * libcsupport/src/printk_plugin.c: New file.
676        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
677        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
678        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
679        rtems/src/ratemonreportstatistics.c: Added capability to specify
680        your own "printf" routine to various reporting functions.  This
681        added an XXX_with_plugin as the underlying implementation for
682          + rtems_rate_monotonic_report_statistics
683          + rtems_stack_checker_report_usage
684          + rtems_cpu_usage_report
685        As demonstration, the http netdemo can now print out stack
686        and cpu usage reports.
687
6882007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
689
690        * shttpd/compat_rtems.c: Style clean up.
691
6922007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
693
694        * rtems/src/ratemonperiod.c: Clean up.
695        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
696
6972007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
698
699        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
700
7012007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
702
703        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
704
7052007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
706
707        * libmisc/Makefile.am: Add new files.
708
7092007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
710
711        * libmisc/monitor/mon-object.c,
712        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
713        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
714        * libmisc/monitor/mon-task, libmisc/Makefile.am:
715        Added functionality for osmonweb support
716
7172007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
718
719        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
720        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
721        that are needed by osmonweb.
722
7232007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
724
725        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
726        Use printk.
727
7282007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
729
730        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
731        spacing and spelling.
732
7332007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
734
735        PR 1256/networking
736        * ftpd/ftpd.c: Fix unaligned access.
737
7382007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
739
740        * posix/Makefile.am: Always build nanosleep.
741
7422007-08-17      Chris Johns <chrisj@rtems.org>
743
744        * libmisc/capture/README: Minor copyright change.
745        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
746        libmisc/capture/capture.h: Fixed the memory leak when lots of
747        tasks are being created and deleted. Improved the trigger
748        interface so all task type actions can be caught.
749
7502007-08-13      Chris Johns <chrisj@rtems.org>
751
752        * score/include/rtems/score/object.h: Point the
753        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
754
7552007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
756
757        PR 1248/networking
758        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
759        reported that when no interfaces are successfully attached, the
760        default route is broken and may result in a jump to an illegal
761        address.
762
7632007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
764
765        * score/inline/rtems/score/priority.inl: Use size_t instead of
766          uint32_t for array index.
767
7682007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
769
770        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
771          identify coldfire cpus.
772
7732007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
774
775        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
776          coldfire.
777
7782007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
779
780        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
781          work-around bug m68k/coldfire -fomit-frame-pointer bug
782          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
783
7842007-07-27      Chris Johns <chrisj@rtems.org>
785
786        * wrapup/Makefile.am: Create archive from a file for hosts
787        with a limited command line size.
788
7892007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
790
791        * include/rtems/bspIo.h, include/rtems/pci.h:
792        Add extern "C" guards. Reported by
793        Robert S. Grimes <rsg@alum.mit.edu>.
794
7952007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
796
797        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
798        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
799        the time appears to be reported correctly and add up to what is
800        expected.
801
8022007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
803
804        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
805        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
806        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
807
8082007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
809
810        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
811        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
812        was always using uptime not time since last cpu usage reset when
813        using nanoseconds granularity.
814        * libmisc/cpuuse/cpuusagedata.c: New file.
815
8162007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
817
818        * libcsupport/src/mount.c: Allow null for output parameter.
819
8202007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
821
822        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
823        to shttpd initialization.
824
8252007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
826
827        * libcsupport/src/malloc.c: Clean up Malloc debug code.
828        * score/include/rtems/score/heap.h: Spacing.
829        * score/inline/rtems/score/thread.inl:
830        * score/src/heapfree.c. Clean up and add explicit check of the address
831        being freed actually being in the heap.
832        * score/src/heapwalk.c: Switch to printk and do not call abort.
833
8342007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
835
836        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
837        area contingent on the stack checker user extension having been
838        initialized.
839
8402007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
841
842        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
843        and recv(). We already had the BSD versions and these conflict
844        sometimes when linking.
845
8462007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
847
848        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
849        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
850
8512007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
852
853        * sapi/include/confdefs.h: Do not instantiate initialization
854        thas/thread pointer tables for an API that is not configured.
855
8562007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
857
858        * libcsupport/Makefile.am:
859        * libcsupport/src/open_dev_console.c: New file.
860
8612007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
862
863        * score/src/corerwlock.c: Make sure structure is fully initialized.
864        When reused, some fields will not be zero like at initialization.
865
8662007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
867
868        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
869        size. Account for this.
870
8712007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
872
873        * configure.ac: Add NDEBUG as a command line compilation option.
874
8752007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
876
877        * libmd/.cvsignore: New file.
878
8792007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
880
881        * shttpd/defs.h: Eliminate my_strncasecmp.
882        * shttpd/string.c: Eliminate my_strncasecmp.
883
8842007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
885
886        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
887        * pppd/Makefile.am: Reflect moving out md*.
888        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
889          libmd).
890        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
891        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
892        * configure.ac, Makefile.am: Add libmd.
893
8942007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
895
896        * shttpd/defs.h: Eliminate my_strlcpy.
897        * shttpd/string.c: Eliminate my_strlcpy.
898
8992007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
900
901        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
902        * shttpd/string.c: Eliminate my_strdup, my_strndup.
903        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
904          libmd.a.
905
9062007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
907
908        * wrapup/Makefile.am: Add libmd.a.
909
9102007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
911
912        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
913          Add pppd/libmd.a.
914        * pppd/md4.c: Don't include pppd.h.
915
9162007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
917
918        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
919
9202007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
921
922        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
923        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
924        Add config.h support.
925
9262007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
927
928        * shttpd/compat_rtems.h: Define closesocket.
929
9302007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
931
932        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
933
9342007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
935        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
936        Use size_t for stack sizes.
937
9382007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
939
940        * configure.ac, Makefile.am: Add shttpd.
941        * shttpd/Makefile.am: New.
942        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
943        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
944        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
945        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
946        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
947        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
948        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
949        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
950        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
951        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
952        Import from shttpd-1.37.tar.gz.
953
9542007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
955
956        * configure.ac: Remove "pad" from CPU_CONTEXT.
957
9582007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
959
960        * score/src/coremsg.c: Formatting.
961
9622007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
963
964        * score/include/rtems/score/copyrt.h: Update copyright notice.
965
9662007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
967
968        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
969        one function per file execpt io.c which contains required
970        initialization methods.
971        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
972        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
973        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
974        sapi/src/iowrite.c: New files.
975
9762007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
977
978        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
979        table into Workspace but now it is only done if the application needs
980        extra slots for dynamic driver registration. Cleaned up
981        rtems_io_register_driver and rtems_io_unregister_driver code and
982        added numerous error cases to register.
983
9842007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
985
986        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
987        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
988        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
989        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
990        configuration parameter since it was used to configure a no longer
991        used feature. Device names are now part of the filesystem not in a
992        table. This also eliminated the variables _IO_Number_of_devices and
993        _IO_Driver_name_table from RTEMS as well as the memory allocation
994        used to populate _IO_Driver_name_table.
995        * libmisc/monitor/mon-dname.c: Removed.
996
9972007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
998
999        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
1000        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
1001        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
1002        unused Workspace. Round the workspace required size to an 8 byte
1003        boundary instead of a 0x400 byte one. We may end up needing to add 8
1004        bytes again to account for the alignment rounding.
1005
10062007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
1007
1008        Yu Chen <chyyuu@gmail.com>
1009        * score/src/corespinlockwait.c: Per question posted as
1010        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
1011        logical operator to <=.
1012
10132007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1014
1015        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
1016        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
1017        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
1018        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
1019        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
1020        executive initialization.
1021
10222007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1023
1024        * score/src/corerwlockrelease.c: Do not dereference NULL.
1025
10262007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1027
1028        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
1029        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
1030        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
1031        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
1032        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
1033        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
1034        sapi/include/rtems/extension.h: Split Classic API data instantiation
1035        into individual files. This reduces the size of the BSS section when
1036        an optional manager stub is used. Some tests showed about a 600 byte
1037        reduction in BSS size.
1038        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
1039        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
1040        _RTEMS_tasks_Number_of_initialization_tasks because they were only
1041        used in one place after initialized. It was a waste of space.
1042        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
1043        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
1044        rtems/src/ratemondata.c, rtems/src/regiondata.c,
1045        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
1046        sapi/src/extensiondata.c: New files.
1047
10482007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1049
1050        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
1051        functionality into multiple files to eliminate unnecessary cohesion.
1052        Update README.
1053        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
1054        New files.
1055        * libmisc/cpuuse/cpuuse.c: Removed.
1056
10572007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1058
1059        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
1060        negative value in some circumstances. Also cleaned up to share uptime
1061        declaration.
1062
10632007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1064
1065        * ChangeLog, configure.ac, libcsupport/src/__times.c,
1066        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
1067        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
1068        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
1069        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
1070        score/Makefile.am, score/include/rtems/score/thread.h,
1071        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
1072        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
1073        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
1074        monotonic period statistics and CPU usage statistics. This capability
1075        is enabled by default although may be conditionally disabled by the
1076        user. It could be too much overhead on small targets but it does not
1077        appear to be bad in early testing. Its impact on code size has not
1078        been evaluated either. It is possible that both forms of statistics
1079        gathering could be disabled with further tweaking of the conditional
1080        compilation.
1081        * score/src/timespecdividebyinteger.c: New file.
1082
10832007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1084
1085        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
1086        functionally similar code here. Also cleanup print formats.
1087
10882007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1089
1090        * score/src/objectgetnameasstring.c: Internal threads use string names
1091        so in the current RTEMS source string object name can NOT be
1092        disabled. It is probably worth considering converting the internal
1093        threads to uint32_t style names so all the support for string names
1094        can be conditionally disabled.
1095
10962007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
1097
1098        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
1099        and greater than operations for timespecs.
1100        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
1101        New files.
1102
11032007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1104
1105        * score/src/objectgetnameasstring.c: Remove bogus ifdef
1106        RTEMS_POSIX_API.
1107
11082007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
1109
1110        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
1111        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
1112        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
1113        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
1114        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
1115        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
1116        score/Makefile.am, score/include/rtems/score/object.h,
1117        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
1118        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
1119        Added the following directives: rtems_rate_monotonic_get_statistics,
1120        rtems_rate_monotonic_reset_statistics,
1121        rtems_rate_monotonic_reset_all_statistics,
1122        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
1123        Obsoleted the rtems/rtmonuse.h file as a public interface.
1124        * rtems/src/ratemongetstatistics.c,
1125        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
1126        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
1127        score/src/objectgetnameasstring.c: New files.
1128        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
1129
11302007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1131
1132        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
1133        rtems_io_register_name for use on unix.
1134        * libcsupport/src/unixlibc_io.c: New file.
1135
11362007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1137
1138        * score/src/coremsgseize.c: A blocking sender's message size was
1139        pulled out of the wrong field in the Wait information structure.
1140        * score/src/objectallocate.c: With the new optional manager support,
1141        we only stub out the initialization. This makes it possible to attempt
1142        to create an object with the information structure only initialized
1143        with all zeros.  This ensures we return an error cleanly in this case.
1144
11452007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1146
1147        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
1148        an optional manager, we cannot depend on it do initialize the
1149        internal Allocator Mutex.  This was always a questionable place to
1150        do it, so this is a cleanup.
1151
11522007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1153
1154        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
1155        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
1156        suitable for inclusion in the Users Guide.
1157
11582007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1159
1160        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
1161        ChangeLog-pre2007.
1162        * ChangeLog-pre2007: New file.
1163
11642007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
1165
1166        PR 1241/rtems
1167        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
1168        critical section window added with requeueing support.
1169
11702007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1171
1172        * libcsupport/include/rtems/cdefs.h,
1173          libcsupport/include/sys/cdefs.h: Remove.
1174        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
1175        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
1176        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
1177        libnetworking/netdb.h, libnetworking/resolv.h,
1178        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
1179        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
1180        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
1181        libnetworking/net/if.h, libnetworking/net/if_dl.h,
1182        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
1183        libnetworking/rtems/rtems_bsdnet_internal.h,
1184        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
1185        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
1186        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
1187        libnetworking/sys/uio.h, libnetworking/sys/un.h,
1188        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
1189        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
1190        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
1191        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
1192        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
1193        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
1194        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
1195
11962007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1197
1198        * Makefile.am: Reflect introduction of
1199          include/rtems/bsd/sys/cdefs.h.
1200        * include/rtems/bsd/sys/cdefs.h: New.
1201
12022007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1203
1204        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
1205        * libnetworking/sys/queue.h: Remove.
1206
12072007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
1208
1209        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
1210        <machine/endian.h>.
1211        * libnetworking/rtems/rtems_showroute.c,
1212        libnetworking/rtems/rtems_showipstat.c,
1213        libnetworking/rtems/rtems_showtcpstat.c,
1214        libnetworking/rtems/rtems_showicmpstat.c,
1215        libnetworking/rtems/rtems_showmbuf.c,
1216        libnetworking/rtems/rtems_showudpstat.c,
1217        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
1218        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
1219        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
1220        libnetworking/netinet/tcp_usrreq.c,
1221        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
1222        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
1223        libnetworking/netinet/ip_output.c,
1224        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
1225        libnetworking/netinet/udp_usrreq.c,
1226        libnetworking/netinet/tcp_output.c,
1227        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
1228        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
1229        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
1230        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
1231        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
1232        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
1233        instead of <sys/queue.h>.
1234        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
1235        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
1236        libnetworking/net/if.h, libnetworking/net/if_media.h,
1237        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
1238        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
1239        instead of <sys/queue.h>.
1240        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
1241        * include/rtems/bsd/sys/queue.h: New (Copied from
1242          libnetworking/sys/queue.h).
1243
12442007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1245
1246        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
1247        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
1248        score/Makefile.am, score/preinstall.am,
1249        score/include/rtems/score/userext.h, score/src/chain.c,
1250        score/src/userext.c: Switch to newlib reentrancy extension being
1251        installed in the initial set instead of using rtems_extension_create.
1252        While implementing this, noticed that user extensions and chain code
1253        had multiple functions in a single file which is not desirable in the
1254        SuperCore and API portions of RTEMS, so split these into multiple
1255        files with one function per file. Also noticed that some of user
1256        extension code was inlined for no particular reason so moved that to
1257        C bodies.  Split executive shutdown from initialization since not
1258        every application shuts down.  Moved __fini call to executive shutdown
1259        to be more symmetrical with where it is called at startup.
1260        * sapi/src/exshutdown.c, score/src/chainappend.c,
1261        score/src/chainextract.c, score/src/chainget.c,
1262        score/src/chaininsert.c, score/src/userextaddapiset.c,
1263        score/src/userextaddset.c, score/src/userextremoveset.c,
1264        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
1265        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
1266        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
1267        files.
1268        * score/inline/rtems/score/userext.inl: Removed.
1269
12702007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1271
1272        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
1273        reference _Configuration_MP_table if multiprocessing is disabled.
1274
12752007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1276
1277        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
1278        reference _Configuration_MP_table if multiprocessing is disabled.
1279
12802007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1281
1282        * libnetworking/machine/endian.h: Remove.
1283        * libnetworking/Makefile.am: Remove machine/endian.h.
1284        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
1285        libnetworking/rtems/rtems_bsdnet_internal.h: Include
1286        <rtems/endian.h> instead of <machine/endian.h>.
1287        * Makefile.am: Add include/rtems/endian.h.
1288        * include/rtems/endian.h: New (Copied from
1289          libnetworking/machine/endian.h).
1290
12912007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1292
1293        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
1294        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
1295        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
1296        of <stdint.h>.
1297        * libnetworking/machine/endian.h: Remove
1298          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
1299        * NEWS: new.
1300
13012007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1302
1303        PR 1243
1304        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
1305
13062007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
1307
1308        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
1309        to inline functions, using uint[16,32]_t.
1310        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
1311        with SUSv3.
1312        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
1313        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
1314        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
1315        Add HAVE_CONFIG_H magic.
1316        * libnetworking/libc/gethostbydns.c,
1317        libnetworking/libc/inet_net_ntop.c,
1318        libnetworking/libc/inet_pton.c: Eliminate __P.
1319        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
1320        return value of ntohl (POSIX requirement).
1321        Use UINT32_C macros to avoid overflows on 16bit targets.
1322        Eliminate __P.
1323        * configure.ac: Check for working PRIxPTR.
1324
13252007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
1326
1327        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
1328        score/src/threadinitialize.c, score/src/threadstackallocate.c:
1329        Use size_t for stack sizes.
1330
13312007-05-03      Joel Sherrill <joel@OARcorp.com>
1332
1333        * ChangeLog, libcsupport/src/malloc.c,
1334        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
1335        score/Makefile.am, score/preinstall.am: malloc never blocks so the
1336        Region Manager is quite heavy for implementing this. This patch
1337        implements the C Program Heap directly in terms of the new Protected
1338        Heap handler. This handler is a direct use of a SuperCore Heap in
1339        conjunction with the Allocator Mutex used internally by RTEMS. This
1340        saves 3184 bytes on most SPARC test executables.
1341        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
1342        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
1343        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
1344        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
1345        score/src/pheapinit.c, score/src/pheapresizeblock.c,
1346        score/src/pheapwalk.c: New files.
1347
13482007-05-03      Joel Sherrill <joel@OARcorp.com>
1349
1350        * libcsupport/src/rmdir.c: Fixed spacing.
1351        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
1352        newlibc.c. It is not required for minimum executing and drops 624
1353        from SPARC minimum executable.
1354        * libcsupport/src/newlibc_exit.c: New file.
1355
13562007-04-17      Joel Sherrill <joel@OARcorp.com>
1357
1358        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
1359        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
1360        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
1361        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
1362        rtems/src/taskinitusers.c, rtems/src/tasks.c,
1363        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
1364        reduce executable size. Most were refactoring of files. Split ITRON
1365        API files. Implemented mechanism to avoid initialization task/thread
1366        loop being linked in when that style of task initialization was not
1367        being used.
1368        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
1369        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
1370        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
1371        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
1372        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
1373        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
1374        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
1375        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
1376        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
1377        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
1378        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
1379        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
1380        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
1381        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
1382        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
1383        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
1384        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
1385        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
1386        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
1387        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
1388        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
1389
13902007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
1391
1392        * score/include/rtems/score/thread.h:
1393          Use Context_Control_fp* instead of void* for fp_contexts.
1394
13952007-04-16      Joel Sherrill <joel@OARcorp.com>
1396
1397        PR 1240/filesystem
1398        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
1399        for filename was not being freed.
1400
14012007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1402
1403        * pppd/utils.c: Use uintptr_t instead of unsigned long.
1404
14052007-04-16      Joel Sherrill <joel@OARcorp.com>
1406
1407        * itron/src/rsm_tsk.c: Correct error returned.
1408
14092007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
1410
1411        * configure.ac: Redefine LIBPOSIX to !UNIX.
1412        * posix/src/usleep.c, libcsupport/src/readlink.c:
1413        Update API to SUSv3.
1414
14152007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1416
1417        * posix/Makefile.am: Unconditionally build src/sleep.c,
1418          src/usleep.c.
1419        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
1420          CLOCK_MONOTONIC case.
1421        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
1422
14232007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1424
1425        * posix/Makefile.am: Cosmetics.
1426        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
1427        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
1428
14292007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1430
1431        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
1432          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
1433        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
1434          rtems/posix/time.h.
1435        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
1436          rtems/posix/time.h.
1437        * score/include/rtems/score/object.h: Use size_t for byte sizes.
1438
14392007-04-12      Joel Sherrill <joel@OARcorp.com>
1440
1441        * itron/src/rsm_tsk.c: Correct error returned.
1442
14432007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1444
1445        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
1446
14472007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1448
1449        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
1450        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
1451        _impure_ptr bug).
1452        Fix abuse of _REENT_INIT().
1453
14542007-04-05      Joel Sherrill <joel@OARcorp.com>
1455
1456        * itron/src/itrontime.c: Fix typo.
1457        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
1458        * score/src/iterateoverthreads.c: Safely take NULL as argument.
1459        * score/src/threaddispatch.c: Formatting.
1460
14612007-04-05      Joel Sherrill <joel@OARcorp.com>
1462
1463        * posix/Makefile.am: Fix formatting.
1464
14652007-04-05      Joel Sherrill <joel@OARcorp.com>
1466
1467        * posix/Makefile.am, posix/include/rtems/posix/time.h,
1468        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
1469        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
1470        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
1471        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
1472        posix/src/pthread.c, posix/src/pthreadcreate.c,
1473        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
1474        posix/src/sched.c, posix/src/semtimedwait.c,
1475        posix/src/sigtimedwait.c, posix/src/ualarm.c,
1476        rtems/src/clocktodtoseconds.c, score/Makefile.am,
1477        score/preinstall.am, score/include/rtems/score/tod.h,
1478        score/inline/rtems/score/tod.inl, score/src/coretod.c,
1479        score/src/coretodget.c, score/src/coretodgetuptime.c,
1480        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
1481        manipulation routines in the SuperCore. Use them everywhere possible.
1482        This lead to significant cleanup in the API routines and eliminated
1483        some of the same code from the POSIX API. At this point, the
1484        SuperCore keeps time in POSIX timespec format properly from 1970. You
1485        just cannot set it before 1988 in keeping with RTEMS traditional
1486        behavior.
1487        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
1488        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
1489        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
1490        score/src/timespectoticks.c: New files.
1491        * posix/src/posixintervaltotimespec.c,
1492        posix/src/posixtimespecsubtract.c,
1493        posix/src/posixtimespectointerval.c: Removed.
1494
14952007-04-04      Joel Sherrill <joel@OARcorp.com>
1496
1497        * score/Makefile.am, score/include/rtems/score/tod.h,
1498        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
1499        non-inlined routine. It should only be used once so there is little
1500        advantage to inlining it.
1501        * score/src/coretodtickle.c: New file.
1502
15032007-04-02      Joel Sherrill <joel@OARcorp.com>
1504
1505        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
1506        dead code.
1507        * posix/src/time.c: Removed.
1508
15092007-04-02      Joel Sherrill <joel@OARcorp.com>
1510
1511        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
1512        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
1513        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
1514        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
1515        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
1516        TOD_Ticks_per_second variable.
1517
15182007-04-02      Joel Sherrill <joel@OARcorp.com>
1519
1520        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
1521        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
1522        posix/src/clockgettime.c, posix/src/clocksettime.c,
1523        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
1524        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
1525        posix/src/sleep.c, rtems/Makefile.am,
1526        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
1527        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
1528        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
1529        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
1530        score/Makefile.am, score/include/rtems/score/tod.h,
1531        score/inline/rtems/score/tod.inl, score/src/coretod.c,
1532        score/src/coretodset.c: Convert from Classic API style TOD_Control as
1533        fundamental time structure to POSIX struct timespec. Add
1534        clock_get_uptime().
1535        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
1536        score/src/coretodgetuptime.c: New files.
1537        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
1538        score/src/coretodvalidate.c: Removed.
1539
15402007-04-02      Joel Sherrill <joel@OARcorp.com>
1541
1542        * libcsupport/src/printk.c: Add %p support.
1543
15442007-04-02      Joel Sherrill <joel@OARcorp.com>
1545
1546        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
1547        in addition to the pattern area being overwritten. Also do some
1548        cleanup.
1549
15502007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1551
1552        * include/rtems/pci.h: Further stdint.h fixed-size types.
1553
15542007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1555
1556        * include/rtems/pci.h: Use stdint.h fixed size-types.
1557
15582007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1559
1560        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
1561        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
1562        * libnetworking/Makefile.am: Move libc/res_config.h to
1563          libc_a_SOURCES (File is being used).
1564        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
1565        Remove (Unused).
1566        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
1567        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
1568        Remove (Unused).
1569        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
1570
15712007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1572
1573        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
1574        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
1575        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
1576        libnetworking/libc/gethostbynis.c,
1577        libnetworking/libc/gethostnamadr.c,
1578        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
1579        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
1580        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
1581        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
1582        libnetworking/libc/getservbyname.c,
1583        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
1584        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
1585        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
1586        libnetworking/libc/inet_net_ntop.c,
1587        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
1588        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
1589        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
1590        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
1591        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
1592        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
1593        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
1594        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
1595        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
1596        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
1597        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
1598        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
1599        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
1600        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
1601        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
1602        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
1603        SCCS, LINT. Add HAVE_CONFIG_H.
1604        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
1605
16062007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1607
1608        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
1609          uintptr_t.
1610
16112007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1612
1613        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
1614        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
1615
16162007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1617
1618        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
1619        * libnetworking/net/netisr.h: Partial update from FreeBSD.
1620        * libcsupport/src/getpwent.c: Remove bogus cast to long.
1621        * libnetworking/libc/strsep.c: Don't build if provided by libc.
1622        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
1623        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
1624        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
1625        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
1626        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
1627        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
1628        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
1629        (Abandoned in FreeBSD).
1630        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
1631        (Abandoned in FreeBSD).
1632        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
1633        (Abandoned in FreeBSD).
1634        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
1635        * libnetworking/netinet/ip_fw.c: Eliminate __P().
1636
16372007-03-28      Chris Johns <chrisj@rtems.org>
1638
1639        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1640        score/include/rtems/score/watchdog.h: Add support for a handler to
1641        obtain the number of nanoseconds since the last clock tick. The
1642        primary interface for this is rtems_clock_set_nanoseconds_extension.
1643        Subsequent commits from Joel will redo the TOD support to use this
1644        capability.
1645        * rtems/src/clocksetnsecshandler.c: New file.
1646
16472007-03-28      Joel Sherrill <joel@OARcorp.com>
1648
1649        PR 1234/cpukit
1650        * libcsupport/Makefile.am: Provide printk() based implementation of
1651        __assert() to reduce dependencies in executables.
1652        * libcsupport/src/__assert.c: New file.
1653
16542007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1655
1656        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
1657        Use uintptr_t for "disrupt". Remove bogus (long) cast.
1658        * libnetworking/net/ppp-comp.h: Remove (Unused).
1659        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
1660        * libnetworking/sys/buf.h: Remove (Unused).
1661        * libnetworking/Makefile.am: Remove sys/buf.h.
1662        * libnetworking/kern/kern_sysctl.c,
1663        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
1664        <sys/buf.h>.
1665        *  libcsupport/include/sys/sockio.h: Partial update from
1666          FreeBSD.
1667
16682007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1669
1670        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
1671        * libnetworking/netinet/igmp.c: Eliminate __P().
1672        * libnetworking/netinet/in.c: Eliminate __P().
1673        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
1674        * libnetworking/netinet/in_pcb.c: Eliminate __P().
1675        * libnetworking/netinet/ip_output.c: Eliminate __P().
1676
16772007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1678
1679        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
1680        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
1681        Change int args to intptr_t because they are casted to pointers.
1682        * libnetworking/netinet/tcp_usrreq.c,
1683        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
1684
16852007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1686
1687        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
1688        "long", because long is not guaranteed to be castable to char*.
1689        * libnetworking/netinet/ip_input.c: Eliminate __P().
1690        Change "int next" to "int32_t next" for 16bit targets.
1691        * libnetworking/netinet/tcp_input.c: Eliminate __P().
1692        * libnetworking/netinet/in_rmx.c: Eliminate __P().
1693        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
1694        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
1695        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
1696        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
1697        * libnetworking/kern/uipc_domain.c: Eliminate __P().
1698
16992007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1700
1701        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
1702        Remove (Abandoned in FreeBSD).
1703        * libnetworking/Makefile.am: Remove net/pppcompress.c,
1704        net/pppcompress.h.
1705        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
1706        net/pppcompress.h.
1707        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
1708        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
1709        net/pppcompress.h.
1710
17112007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1712
1713        * libnetworking/net/pppcompress.h: Eliminate __P().
1714        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
1715        * libnetworking/net/if_llc.h: Update from FreeBSD.
1716
17172007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
1718
1719        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
1720          <net/ppp-comp.h>.
1721        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
1722        Warn about using it.
1723        * libnetworking/Makefile.am: Add net/ppp_comp.h.
1724        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
1725        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
1726          FreeBSD.
1727        * libnetworking/machine/in_cksum.h: Eliminate __P().
1728        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
1729        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
1730        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
1731        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
1732        Eliminate __P().
1733        * libcsupport/src/scandir.c: Eliminate __P().
1734        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
1735        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
1736        Eliminate __P().
1737        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
1738        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
1739        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
1740
17412007-03-26      Joel Sherrill <joel@OARcorp.com>
1742
1743        PR 1231/cpukit
1744        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
1745        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
1746        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1747        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
1748        posix/src/mutexattrgetprioceiling.c,
1749        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1750        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1751        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1752        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1753        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1754        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
1755        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
1756        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1757        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
1758        posix/src/posixtimespecsubtract.c,
1759        posix/src/posixtimespectointerval.c,
1760        posix/src/psignalclearprocesssignals.c,
1761        posix/src/psignalclearsignals.c,
1762        posix/src/psignalsetprocesssignals.c,
1763        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1764        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
1765        unneeded includes of assert.h
1766
17672007-03-26      Joel Sherrill <joel@OARcorp.com>
1768
1769        * libcsupport/include/rtems/assoc.h: Pick up the include file
1770        changes associated with the file splitting.
1771
17722007-03-26      Joel Sherrill <joel@OARcorp.com>
1773
1774        * libcsupport/Makefile.am: Pick up the Makefile changes associated
1775        with the file splitting.
1776
17772007-03-26      Joel Sherrill <joel@OARcorp.com>
1778
1779        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
1780        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
1781        this will not be deemed necessary to commit to the 4.7 branch.
1782        * libcsupport/src/assoclocalbyname.c,
1783        libcsupport/src/assoclocalbyremote.c,
1784        libcsupport/src/assoclocalbyremotebitfield.c,
1785        libcsupport/src/assocnamebylocal.c,
1786        libcsupport/src/assocnamebylocalbitfield.c,
1787        libcsupport/src/assocnamebyremote.c,
1788        libcsupport/src/assocnamebyremotebitfield.c,
1789        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
1790        libcsupport/src/assocptrbyremote.c,
1791        libcsupport/src/assocremotebylocal.c,
1792        libcsupport/src/assocremotebylocalbitfield.c,
1793        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
1794        libcsupport/src/write_r.c: New files.
1795
17962007-03-26      Joel Sherrill <joel@OARcorp.com>
1797
1798        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
1799        support and remove deadcode. Replace with comment explaining that
1800        behavior is compatible with GNU/Linux per Eric Norum.
1801
18022007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1803
1804        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
1805        Partial update from FreeBSD.
1806        * libnetworking/netinet/if_ether.h: Eliminate __P().
1807        * libnetworking/netinet/ip_var.h: Eliminate __P().
1808        * libnetworking/netinet/in.h: Eliminate __P().
1809        * libnetworking/netinet/tcp_var.h: Eliminate __P().
1810
18112007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
1812
1813        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
1814        Remove __P();
1815        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
1816
18172007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
1818
1819        * libnetworking/netinet/in_var.h: Remove __P().
1820        * libnetworking/netinet/in_systm.h: Remove __P().
1821        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
1822        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
1823        * libnetworking/netinet/if_ether.c: Remove __P().
1824        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
1825        More updates from FreeBSD.
1826        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
1827        libnetworking/net/route.h: Partial update from FreeBSD.
1828
18292007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
1830
1831        * libnetworking/Makefile.am: Remove nfs/krpc.h.
1832        * libnetworking/nfs/krpc.h: Remove (Unused).
1833        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
1834        * libnetworking/Makefile.am: Remove nfs/nfs.h.
1835        * libnetworking/nfs/nfs.h: Remove (Unused).
1836
18372007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1838
1839        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
1840          symbols.
1841        * libnetworking/sys/conf.h: Don't include machine/conf.h.
1842        Update copyright notice.
1843        Remove unused/non-implemented declarations.
1844        * libnetworking/Makefile.am: Remove machine/conf.h.
1845        * libnetworking/machine/conf.h: Remove.
1846
18472007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1848
1849        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
1850        Remove many non-supported/unused declarations.
1851
18522007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1853
1854        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
1855          crhold (Unused/non-implemented).
1856
18572007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1858
1859        * libnetworking/sys/ucred.h: Remove __P().
1860        * libnetworking/sys/callout.h: Remove __P().
1861        * libnetworking/sys/domain.h: Remove __P().
1862        * libnetworking/sys/socketvar.h: Remove __P().
1863        * libnetworking/sys/socket.h: Remove __P().
1864        * libnetworking/sys/select.h: Remove __P().
1865        * libnetworking/sys/kernel.h: Remove __P().
1866        * libnetworking/sys/protosw.h: Remove __P().
1867        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
1868        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
1869        swdevt, nswdev, nswap (Unused).
1870
18712007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1872
1873        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
1874        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
1875        instead of struct linesw (PR 1229)
1876        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
1877        around clash with defines from rtems_bsdnet_internal.h.
1878        * score/src/heapwalk.c: include stdlib.h.
1879
18802007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
1881
1882        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
1883        Remove __P().
1884        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
1885        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
1886        Remove __P().
1887        * libcsupport/include/rtems/termiostypes.h,
1888        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
1889        with rtems_termios_*.
1890        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
1891        (Clash with termiostypes.h - PR 1229).
1892
18932007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1894
1895        * score/include/rtems/score/wkspace.h,
1896        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
1897        Change _Workspace_Handler_initialization and
1898        _Workspace_Allocate_or_fatal_error to using size_t.
1899        * libnetworking/sys/rtprio.h: Remove (Unused).
1900        * libnetworking/Makefile.am: Remove sys/rtprio.h.
1901
19022007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
1903
1904        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
1905        Remove __P().
1906
19072007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1908
1909        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
1910          to fix warnings.
1911        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
1912        * score/include/rtems/score/chain.h, score/src/chain.c:
1913        Change _Chain_Initialize to using size_t.
1914
19152007-03-12      Joel Sherrill <joel@OARcorp.com>
1916
1917        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
1918        Dump_Buffer to rtems_print_buffer.
1919
19202007-03-12      Joel Sherrill <joel@OARcorp.com>
1921
1922        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
1923        license URL and/or fix mistake in copyright notice. Both of these
1924        mistakes appear to be from code submitted after these changes were
1925        made previously.
1926
19272007-03-10      Joel Sherrill <joel@OARcorp.com>
1928
1929        PR 1226/cpukit
1930        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
1931        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
1932
19332007-03-08      Joel Sherrill <joel@OARcorp.com>
1934
1935        * libfs/src/imfs/imfs.h: Fix comment.
1936
19372007-03-08      Joel Sherrill <joel@OARcorp.com>
1938
1939        * libfs/src/imfs/imfs.h: Fix comment.
1940
19412007-03-08      Joel Sherrill <joel@OARcorp.com>
1942
1943        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
1944        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
1945
19462007-03-08      Joel Sherrill <joel@OARcorp.com>
1947
1948        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
1949        Remove wrapper for message queue send and urgent and implement them
1950        directly. There was an unnecessary function call layer in addition to
1951        conditions in the shared routine. Directly coding both directives is
1952        simpler and should result in smaller code.
1953        * rtems/src/msgqsubmit.c: Removed.
1954
19552007-03-05      Joel Sherrill <joel@OARcorp.com>
1956
1957        PR 1222/cpukit
1958        * score/Makefile.am, score/include/rtems/score/coremutex.h,
1959        score/include/rtems/score/threadq.h,
1960        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
1961        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
1962        score/src/threadclearstate.c, score/src/threadhandler.c,
1963        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
1964        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1965        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1966        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
1967        score/src/threadsetstate.c: Enhance so that when the prioirity of a
1968        thread that is blocked on a priority based thread queue is changed,
1969        that its placement in the queue is reevaluated based upon the new
1970        priority. This enhancement includes modifications to the SuperCore as
1971        well as new test cases.
1972        * score/src/threadqrequeue.c: New file.
1973
19742007-03-05      Joel Sherrill <joel@OARcorp.com>
1975
1976        * sapi/src/exinit.c: Fix spacing.
1977
19782007-03-05      Joel Sherrill <joel@OARcorp.com>
1979
1980        PR 1221/cpukit
1981        * posix/src/pthreadequal.c: Fix critical section nesting.
1982
19832007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
1984
1985        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
1986          compiled files.
1987
19882007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
1989
1990        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
1991
19922007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
1993
1994        * score/Makefile.am: Remove macros/README.
1995
19962007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
1997
1998        * score/include/rtems/score/heap.h, score/src/heap.c,
1999        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
2000        More size_t for heap-sizes.
2001        * score/include/rtems/score/heap.h, score/src/heap.c,
2002        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
2003        heap-sizes.
2004        * libnetworking/resolv.h: Typo fixes. Remove __P().
2005
20062007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
2007
2008        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
2009        Use size_t for stack-sizes.
2010
20112007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
2012
2013        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
2014          functions.
2015        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
2016        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
2017
20182007-02-06      Till Straumann <strauman@slac.stanford.edu>
2019
2020        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
2021        taskvar dtor to plug memory leak. Applied patch attached
2022        to PR#690.
2023
20242007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2025
2026        * libcsupport/src/getpagesize.c: New (moved from posix/src).
2027        * posix/src/getpagesize.c: Removed.
2028        * posix/Makefile.am: Remove references to getpagesize.c.
2029        * libcsupport/Makefile.am: Add getpagesize.c.
2030
20312007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2032
2033        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
2034        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
2035          visible.
2036        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
2037
20382007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2039
2040        * rtems/src/msgqsend.c: Use size_t for sizes.
2041        * rtems/src/msgqurgent.c: Use size_t for sizes.
2042        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
2043        * rtems/src/msgmp.c: Use size_t for sizes.
2044        * rtems/src/msgqsubmit.c: Use size_t for sizes.
2045        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
2046        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2047        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
2048
20492007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
2050
2051        * itron/src/trcv_mbf.c: Use size_t for sizes.
2052        * libmisc/monitor/mon-object.c: Use size_t for sizes.
2053        * libmisc/monitor/mon-server.c: Use size_t for sizes.
2054        * libmisc/monitor/monitor.h: Use size_t for sizes.
2055        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
2056        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2057        * rtems/src/msgqreceive.c: Use size_t for sizes.
2058        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
2059        * score/src/coremsgseize.c: Use size_t for sizes.
2060
20612007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
2062
2063        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
2064        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
2065        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
2066        * score/src/coremsgbroadcast.c: Use size_t for sizes.
2067        * score/src/coremsgsubmit.c: Use size_t for sizes.
2068
20692007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2070
2071        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
2072
20732007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2074
2075        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
2076
20772007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2078
2079        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
2080        Remove isblank (supposed to be provided by libc).
2081
20822007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2083
2084        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
2085
20862007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2087
2088        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
2089         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
2090        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
2091        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
2092        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
2093
20942007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2095
2096        * score/include/rtems/system.h:
2097        #define __RTEMS_MINOR__ 7 (BZ 1206).
2098
20992007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2100
2101        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
2102        export some internal variables to make them available in
2103        "show_bdbuf" monitor add-on
2104
21052007-01-16      Till Straumann <strauman@slac.stanford.edu>
2106
2107        * libnetworking/rtems/rtems_mii_ioctl.c,
2108        libnetworking/rtems/rtems_mii_ioctl.h,
2109        libnetworking/rtems/rtems_mii_ioctl_kern.c,
2110        libi2c/libi2c.c, libi2c/libi2c.h:
2111        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2112
21132007-01-09      Joel Sherrill <joel@OARcorp.com>
2114
2115        * libcsupport/src/error.c: rtems_progname is no longer defined in
2116        the BSP startup since it never held a meaningful value.
2117
21182007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
2119
2120        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
2121        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.