source: rtems/cpukit/ChangeLog @ 85659ee

4.104.114.95
Last change on this file since 85659ee was 85659ee, checked in by Joel Sherrill <joel.sherrill@…>, on 03/07/08 at 20:09:36

2008-03-07 Joel Sherrill <joel.sherrill@…>

  • libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c, libmisc/shell/shell_script.c: Add memset() of getopt_data to ensure it is zeroed out each time we use getopt_r().
  • libmisc/shell/shell.c: Do not echo commands if input is not a tty. This makes the scripts behave more like UNIX scripts.
  • Property mode set to 100644
File size: 130.9 KB
Line 
12008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2
3        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
4        libmisc/shell/shell_script.c: Add memset() of getopt_data to
5        ensure it is zeroed out each time we use getopt_r().
6        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
7        This makes the scripts behave more like UNIX scripts.
8
92008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
10
11        * posix/Makefile.am: Make clock_settime() available always just like
12        clock_gettime().
13
142008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
15
16        * score/include/rtems/score/copyrt.h: Update year.
17
182008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
19
20        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
21        by gcc newer than the 4.3 release series.
22
232008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
24
25        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
26        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
27        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
28        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
29        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
30        libmisc/shell/shell.c, libmisc/shell/shell.h,
31        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
32        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
33        capability to automatically execute a script from the filesystem. Add
34        echo command from NetBSD and sleep command.
35        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
36        libmisc/shell/shell_script.c: New files.
37
382008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
39
40        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
41        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
42        rtems/src/taskdelete.c, rtems/src/timerserver.c,
43        score/src/threadclose.c, score/src/threadcreateidle.c,
44        score/src/threadinitialize.c: Switch task create and delete
45        operations to using API Allocator Mutex. This moves almost all uses
46        of the RTEMS Workspace from dispatching disabled to mutex protected
47        which should improve deterministic behavior. The implementation was
48        carefully done to allow task create and delete extensions to invoke
49        more services. In particular, a task delete extension should be able
50        to do mutex and file operations.
51
522008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
53
54        * libmisc/Makefile.am: Turn on NFS mount support when networking is
55        enabled.
56
572008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
58
59        * libcsupport/src/chroot.c: Formatting.
60
612008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
62
63        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
64        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
65        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
66        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
67        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
68        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
69        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
70        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
71        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
72        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
73        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
74        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
75        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
76        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
77        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
78        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
79        libmisc/shell/shell.h: Clean up done while writing documentation.
80        Some command improvements such as date now allows setting of the
81        current TOD. Often commands did not use stdout/stderr per
82        expectations and did not return -1 on an error.
83
842008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
85
86        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
87        the use of RPC/XDR could be an issue, the code does build multilib
88        across all targets. There are a few remaining warnings to deal with.
89        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
90        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
91        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
92        libfs/src/nfsclient/rfc1094.txt,
93        libfs/src/nfsclient/proto/mount_prot.h,
94        libfs/src/nfsclient/proto/mount_prot.x,
95        libfs/src/nfsclient/proto/mount_prot_xdr.c,
96        libfs/src/nfsclient/proto/nfs_prot.h,
97        libfs/src/nfsclient/proto/nfs_prot.x,
98        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
99        libfs/src/nfsclient/src/cexphelp.c,
100        libfs/src/nfsclient/src/dirutils.c,
101        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
102        libfs/src/nfsclient/src/nfs.modini.c,
103        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
104        libfs/src/nfsclient/src/rpcio.h,
105        libfs/src/nfsclient/src/rpcio.modini.c,
106        libfs/src/nfsclient/src/sock_mbuf.c,
107        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
108
1092008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
110
111        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
112        missing field to default multiprocessing configuration table. Also
113        document fields in Doxygen format.
114
1152008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
116
117        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
118        warnings.
119
1202008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
121
122        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
123        command to access statistics reporting functions in TCP/IP stack.
124        * libmisc/shell/main_netstats.c: New file.
125
1262008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
127
128        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
129        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
130        ifconfig commands. The code for these was previously in the
131        networking guide. Disable NFS filesystem mount until that code is in
132        cpukit.
133        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
134
1352008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
136
137        * posix/preinstall.am,  libcsupport/preinstall.am:
138        Revert Joel's  2008-01-31 screw up.
139
1402008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
141
142        * posix/include/rtems/posix/timer.h: Add c++ guards.
143        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
144        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
145        * libcsupport/include/motorola/mc68230.h: Prefix defines with
146        MC68230_ to avoid preprocessor clashes.
147
1482008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
149
150        * posix/src/mqueueunlink.c, score/Makefile.am,
151        score/include/rtems/score/object.h,
152        score/inline/rtems/score/object.inl: Enhance
153        _Objects_Namespace_remove() to handle freeing object names which are
154        strings. All changed _Objects_Close() to call
155        _Objects_Namespace_remove(). The resulting code was then moved from
156        inline routines to function calls.
157        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
158
1592008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
160
161        * libcsupport/src/printk.c: Added width and padding for %s.
162        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
163        strings longer than 4 chanracters.
164
1652008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
166
167        PR 1277/networking
168        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
169        constraint for assembly language. This restricts the register choice
170        to the a-d registers.
171
1722008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
173
174        * libnetworking/kern/uipc_socket2.c,
175        libnetworking/netinet/tcp_usrreq.c,
176        libnetworking/netinet/udp_usrreq.c,
177        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
178        Add configuration parameters for network stack efficiency multiplier
179        and default socket buffer sizes. Change default multiplier from 8 to
180        2 to match GNU/Linux. This has no impact on performance on the BSPs
181        tested.
182
1832008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
184
185        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
186        workspace manipulation routines for testing.
187        * rtems/src/workspace.c: New file.
188
1892008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
190
191        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
192        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
193        Object Id of SELF.
194
1952008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
196
197        * posix/src/clockgettime.c, posix/src/clocksettime.c,
198        Minor modifications to improve testability.
199        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
200
2012008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
202
203        * posix/src/pthreadinitthreads.c: Clean up error paths.
204
2052008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
206
207        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
208        changes which aid in coverage testing.
209
2102008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
211
212        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
213        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
214        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
215        posix/src/semaphorenametoid.c: Add option for all POSIX objects
216        whether named or unnamed to have a string name.  If the API does
217        not directly support having a name, then the user must explicitly
218        assign it using rtems_object_set_name().
219        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
220        * score/include/rtems/score/object.h,
221        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
222        score/src/objectsetname.c: Modifications required to pass testing of
223        recently modified object name operations.  Also eliminated
224        multiprocessing related code that was not reachable.
225
2262008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
227
228        * posix/src/timersettime.c: Fix to remove warning.
229
2302008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
231
232        * libcsupport/src/posix_memalign.c: Remove warning.
233
2342008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
235
236        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
237        rtems/include/rtems/rtems/object.h,
238        rtems/src/rtemsobjectgetapiclassname.c,
239        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
240        cannot be used as a parameter.
241
2422008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
243
244        * score/Makefile.am, score/include/rtems/score/threadq.h,
245        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
246        was really too complex to be inlined.
247        * score/src/threadqprocesstimeout.c: New file.
248
2492008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
250
251        * score/Doxyfile: Revert Doxygen version changes.
252
2532008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
254
255        * score/Doxyfile: Update to latest Doxygen format.
256        * score/include/rtems/score/apimutex.h,
257        score/include/rtems/score/corebarrier.h,
258        score/include/rtems/score/coremutex.h,
259        score/include/rtems/score/corerwlock.h,
260        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
261        score/include/rtems/score/protectedheap.h,
262        score/include/rtems/score/thread.h,
263        score/include/rtems/score/threadsync.h,
264        score/include/rtems/score/tod.h,
265        score/inline/rtems/score/corerwlock.inl,
266        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
267        warnings.
268
2692008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
270
271        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
272        available when API is disabled. Do not attempt to use them.
273
2742008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
275
276        * score/include/rtems/system.h: First cut at Doxygen mainpage.
277
2782008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
279
280        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
281        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
282        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
283        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
284        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
285        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
286        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
287        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
288        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
289        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
290        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
291        rtems/src/timerserver.c, score/Makefile.am,
292        score/include/rtems/score/object.h,
293        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
294        score/src/objectgetnameasstring.c,
295        score/src/threadqextractwithproxy.c: Add new Object Services
296        collection. This changed the name of a few previously public but
297        undocumented services and added a some new services.
298        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
299        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
300        rtems/src/rtemsobjectapiminimumclass.c,
301        rtems/src/rtemsobjectgetapiclassname.c,
302        rtems/src/rtemsobjectgetapiname.c,
303        rtems/src/rtemsobjectgetclassicname.c,
304        rtems/src/rtemsobjectgetclassinfo.c,
305        rtems/src/rtemsobjectidapimaximum.c,
306        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
307        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
308        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
309        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
310        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
311        * rtems/src/rtemsidtoname.c: Removed.
312
3132008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
314
315        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
316        switch statements to if statements.
317
3182008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
319
320        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
321        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
322        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
323        as helper and as exposed nmemalign variant with few restrictions.
324        Also turn on compilation of _Heap_Walk but make forced calls to it
325        conditionally compiled. This should allow more flexibility to the
326        user as to run-time checking of the heap.
327        * libcsupport/src/rtems_memalign.c: New file.
328
3292008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
330
331        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
332        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
333        Multiprocessing compiles again and survives initialization. The
334        recent object name and confdefs.h changes had broken it.
335
3362008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
337
338        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
339        score/include/rtems/score/interr.h,
340        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
341        Modifications to aid in full path testing.
342
3432008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
344
345        * posix/src/mqueuesendsupp.c: Remove warning.
346
3472008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
348
349        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
350        in public API.
351
3522008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
353
354        * score/include/rtems/score/object.h,
355        score/src/objectextendinformation.c,
356        score/src/objectinitializeinformation.c,
357        score/src/objectshrinkinformation.c: Eliminate name_table since it is
358        not used.
359
3602008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
361
362        * score/src/objectnametoidstring.c: New file.
363
3642008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
365
366        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
367        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
368        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
369        libmisc/stackchk/check.c, posix/src/condinit.c,
370        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
371        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
372        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
373        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
374        posix/src/prwlockinit.c, posix/src/pspininit.c,
375        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
376        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
377        posix/src/timercreate.c, rtems/src/barrierident.c,
378        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
379        rtems/src/ratemonident.c, rtems/src/regionident.c,
380        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
381        sapi/src/extensionident.c, score/Makefile.am,
382        score/include/rtems/score/object.h,
383        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
384        score/src/objectextendinformation.c,
385        score/src/objectgetnameasstring.c, score/src/objectmp.c,
386        score/src/objectnametoid.c: Convert the Objects_Name type from a
387        simple type to a union of an unsigned 32 bit integer and a pointer.
388        This should help eliminate weird casts between u32 and pointers in
389        various places. The APIs now have to explicitly call _u32 or _string
390        versions of helper routines. This should also simplify things and
391        eliminate the need for ugly casts in some cases.
392        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
393        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
394        score/src/objectcopynamestring.c: Removed.
395
3962008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
397
398        * score/src/threadblockingoperationcancel.c: Clean up.
399        * score/src/threadqextract.c: Restructure to eliminate dead code.
400
4012008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
402
403        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
404        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
405        score/src/threadqdequeuepriority.c: Fix bugs encountered while
406        testing and clean up more code.
407
4082008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
409
410        * score/src/threadqfirst.c: Remove switch.
411
4122008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
413
414        * rtems/include/rtems/rtems/event.h,
415        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
416        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
417        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
418        score/include/rtems/score/interr.h,
419        score/include/rtems/score/thread.h,
420        score/include/rtems/score/threadq.h,
421        score/include/rtems/score/tqdata.h,
422        score/inline/rtems/score/threadq.inl,
423        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
424        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
425        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
426        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
427        score/src/threadqextract.c, score/src/threadqextractfifo.c,
428        score/src/threadqextractpriority.c,
429        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
430        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
431        score/src/threadqflush.c, score/src/threadqrequeue.c,
432        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
433        blocking synchronization critical sections. This resulted in three
434        copies of essentially the same hard to test critical section code
435        becoming the one shared routine _Thread_blocking_operation_Cancel. In
436        addition, the thread queue and event code now share a common
437        synchronization enumerated type. Along the way, switches were
438        reworked to eliminate dead code generated by gcc and comments and
439        copyrights were updated.
440        * score/include/rtems/score/threadsync.h,
441        score/src/threadblockingoperationcancel.c: New files.
442
4432008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
444
445        * libi2c/README_libi2c: Correct spelling error.
446        * score/src/threadclearstate.c: Improve comment.
447
4482008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
449
450        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
451        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
452        posix/src/timergettime.c, posix/src/timersettime.c,
453        score/include/rtems/score/timespec.h:
454
4552008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
456
457        * libmisc/shell/Makefile.am: Don't use make variables.
458
4592008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
460
461        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
462        existing one.
463
4642008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
465
466        * score/include/rtems/score/wkspace.h,
467        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
468        inline _Workspace_Free or _Workspace_Allocate since they are not
469        always inlined and actually smaller overall as subroutines. They are
470        not particularly time critical so inlining is not absolutely
471        necessary.
472
4732008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
474
475        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
476        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
477        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
478        Condition Variable object get helpers because they are more
479        complicated than the norm. They can implicitly perform a create. They
480        cross the line as being too complex and large to inline since they
481        negatively impact size and binary test coverage.
482        * posix/src/condget.c, posix/src/mutexget.c: New files.
483
4842008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
485
486        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
487        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
488        * libcsupport/src/malloc_p.h: Correct prototype.
489
4902008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
491
492        * score/include/rtems/score/coremutex.h,
493        score/src/coremutexseizeintr.c: Fix conditional code for inlining
494        _CORE_mutex_Seize_interrupt_trylock() and add comments.
495
4962008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
497
498        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
499
5002008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
501
502        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
503        libcsupport/src/free.c, libcsupport/src/malloc.c,
504        libcsupport/src/malloc_deferred.c,
505        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
506        libcsupport/src/malloc_sbrk_helpers.c,
507        libcsupport/src/posix_memalign.c: Place all deferred free code and
508        place it in subroutines. Add plugin for dirtying allocated memory to
509        assist in debugging. Clean up comments and spacing as needed.
510        * libcsupport/src/malloc_dirtier.c: New file.
511
5122008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
513
514        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
515        when there is an error.
516
5172008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
518
519        * posix/src/keycreate.c, rtems/src/eventseize.c,
520        score/include/rtems/score/interr.h: Rearranged source to allow more
521        test coverage.
522
5232008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
524
525        * libcsupport/src/__assert.c: Clean up and make __assert() call
526        __assert_func().
527
5282008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
529
530        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
531        need to have it also.
532
5332008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
534
535        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
536        * libcsupport/include/rtems/malloc.h,
537        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
538        libcsupport/src/malloc_p.h,
539        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
540        support pluggable and optional.  This eliminates the need for
541        heap extend and sbrk in the minimum footprint which is ~2.5K on
542        the SPARC.
543        * sapi/include/confdefs.h: Add the following configuration points:
544          + CONFIGURE_MALLOC_STATISTICS
545          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
546        * libcsupport/src/malloc_sbrk_helpers.c: New file.
547
5482008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
549
550        * score/Makefile.am: Add missing file.
551
5522008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
553
554        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
555
5562008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
557
558        * libmisc/Makefile.am: Add new files.
559        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
560        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
561        * libmisc/shell/shellconfig.h: Add wkspace command.
562        * libmisc/shell/main_wkspaceinfo.c,
563        libmisc/shell/print_heapinfo.c: New files.
564
5652008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
566
567        * score/inline/rtems/score/isr.inl: Fix spacing.
568        * score/src/apimutexallocate.c: Fix spacing.
569        * score/src/coremsgseize.c: Check for message pending instead of
570        message pending count to avoid dead code from inlined chain routine.
571        It checks if the chain is empty so is redundant to count == 0.
572
5732008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
574
575        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
576        up.
577
5782008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
579
580        * posix/src/pthreadcreate.c: Add commit.
581        * posix/src/pthreadinitthreads.c: Fix line length.
582
5832008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
584
585        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
586
5872008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
588
589        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
590        coding it.
591
5922008-01-05      Chris Johns <chrisj@rtems.org>
593
594        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
595        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
596        * libblock/include/rtems/flashdisk.h: Add docmentation about the
597        control fields. Add more control fields to handle the flash when
598        full.
599        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
600        detects a descriptor is erased. Add support for unavailable blocks
601        the user can configure. Print the used list as a diag. Fix the bug
602        when a page is detected as failed and present on more than one
603        queue. Add a count to the queues so queue length can be used to
604        manage compaction.
605       
6062008-01-03      Till Straumann <strauman@slac.stanford.edu>
607
608        * score/src/threadhandler.c, sapi/src/exshutdown.c:
609        cannot call _fini via atexit() from rtems_shutdown_executive()
610        because at the point where rtems_shutdown_executive is called
611        the C-library is already dead.
612        Instead, register an atexit(_fini) after calling _init().
613
6142007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
615
616        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
617        Hopefully this implementation is OK.
618        * libcsupport/src/_rename_r.c: New file.
619
6202007-12-22      Chris Johns <chrisj@rtems.org>
621
622        * configure.ac: fixed bug that always enabled strict order
623        mutexes.
624        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
625        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
626        list if the mutex is initialised locked.
627        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
628        message to show the error is an rtems-net error.
629        * libmisc/monitor/mon-network.c: Removed warnings.
630        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
631        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
632        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
633        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
634        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
635        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
636        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
637        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
638        libmisc/shell/warnx.c: New. Ported from BSD.
639        * libmisc/shell/shellconfig.h: Add the cp command.
640        * libmisc/Makefile.am: Add the new files to the shell.
641        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
642        support.
643        * libblock/src/flashdisk.c: Fixed disk drive count size setting
644        bug.
645       
6462007-12-21      Xi Yang <hiyangxi@gmail.com>
647
648        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
649        of priority inheritance on mutexes as well as enforce proper order of
650        release.
651
6522007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
653
654        * configure.ac, score/include/rtems/score/coremutex.h,
655        score/inline/rtems/score/coremutex.inl: Add the ability to disable
656        inlining coremutex seize. This reduces the code size and also
657        improves the process of coverage analysis.
658        * score/src/coremutexseizeintr.c: New file.
659
6602007-12-21      Xi Yang <hiyangxi@gmail.com>
661
662        * configure.ac, score/include/rtems/score/coremutex.h,
663        score/include/rtems/score/thread.h,
664        score/inline/rtems/score/coremutex.inl,
665        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
666        support for proper stacking of priority inheritance on mutexes as
667        well as enforce proper order of release.
668
6692007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
670
671        PR 1268/cpukit
672        * libcsupport/include/rtems/assoc.h: There is no
673        rtems_assoc_ptr_by_value method.
674
6752007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
676
677        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
678        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
679
6802007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
681
682        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
683
6842007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
685
686        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
687
6882007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
689
690        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
691        rtems_task_self() directive.
692        * rtems/src/taskself.c: New file.
693
6942007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
695
696        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
697        and resolved copyright information.
698        * posix/src/kill_r.c: New file.
699
7002007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
701
702        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
703
7042007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
705
706        * sapi/include/confdefs.h: Revert. Requires info not available at
707        preprocessing time.
708
7092007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
710
711        * sapi/include/confdefs.h: Catch the error when the user lowers the
712        maximum number of drivers below the number of statically configured
713        ones.
714
7152007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
716
717        * sapi/src/extension.c, sapi/src/extensioncreate.c,
718        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
719        Manager clean up. Update object id switches to new pattern. Catch
720        some NULL parameter errors.
721
7222007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
723
724        * posix/src/psignalunblockthread.c: Remove source that
725
7262007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
727
728        * posix/src/psignalchecksignal.c: Make assert active during debug mode
729        only
730
7312007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
732
733        * posix/src/psignal.c: Move source around to enable path testing
734
7352007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
736
737        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
738        libcsupport/src/free.c, libcsupport/src/malloc.c,
739        libcsupport/src/malloc_p.h,
740        libcsupport/src/malloc_report_statistics_plugin.c,
741        libmisc/shell/shell.c, libmisc/shell/shell.h,
742        score/src/objectinitializeinformation.c: Add posix_memalign. Split
743        out management of deferred frees to subroutines.
744        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
745
7462007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
747
748        * libcsupport/Makefile.am, libcsupport/preinstall.am,
749        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
750        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
751        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
752        one function per file. Also split out statistics into a separate file
753        which can be plugged in dynamically. Right now, it is always in. I
754        suspect that splitting the file removed more code than leaving
755        statistics in. I tinkered with malloc information command in the
756        shell. I resurrected the malloc arena code as malloc boundary. This
757        code is now compiled all the time even though it does not appear to
758        work.
759        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
760        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
761        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
762        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
763        libcsupport/src/malloc_get_statistics.c,
764        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
765        libcsupport/src/malloc_report_statistics.c,
766        libcsupport/src/malloc_report_statistics_plugin.c,
767        libcsupport/src/malloc_statistics_helpers.c,
768        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
769        libmisc/shell/main_perioduse.c: New files.
770
7712007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
772
773        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
774        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
775        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
776        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
777        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
778        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
779        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
780        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
781        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
782        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
783        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
784        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
785        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
786        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
787        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
788        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
789        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
790        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
791        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
792        rtems_Shell_ to rtems_shell_.
793
7942007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
795
796        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
797        with info and dump as replacement for older command. Fix what looked
798        like a typo for mount sub-commands.
799        * libmisc/shell/main_mallocinfo.c: New file.
800        * libmisc/shell/main_mallocdump.c: Removed.
801
8022007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
803
804        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
805        malloc_info() routine.
806        * libcsupport/src/mallocinfo.c: New file.
807
8082007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
809
810        * libmisc/stackchk/check.c: Add print of current stack pointer and
811        stack info even if stack checker is not initialized.
812
8132007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
814
815        * libcsupport/src/printk.c: Style.
816
8172007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
818
819        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
820        required in multiprocessing configuration.
821
8222007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
823
824        * score/src/objectget.c: Revert.
825
8262007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
827
828        * posix/src/timergettime.c: Include rtems/score/timespec.h
829
8302007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
831
832        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
833        posix/include/mqueue.h, posix/include/sched.h,
834        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
835        posix/include/rtems/posix/priority.h,
836        posix/include/rtems/posix/psignal.h,
837        posix/include/rtems/posix/threadsup.h,
838        posix/include/rtems/posix/timer.h,
839        posix/inline/rtems/posix/priority.inl,
840        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
841        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
842        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
843        posix/src/cleanuppush.c, posix/src/cond.c,
844        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
845        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
846        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
847        posix/src/conddestroy.c, posix/src/condinit.c,
848        posix/src/condsignal.c, posix/src/condsignalsupp.c,
849        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
850        posix/src/keycreate.c, posix/src/keydelete.c,
851        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
852        posix/src/keysetspecific.c, posix/src/mqueue.c,
853        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
854        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
855        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
856        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
857        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
858        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
859        posix/src/mqueueunlink.c, posix/src/mutex.c,
860        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
861        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
862        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
863        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
864        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
865        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
866        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
867        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
868        posix/src/psignal.c, posix/src/psignalchecksignal.c,
869        posix/src/psignalclearprocesssignals.c,
870        posix/src/psignalclearsignals.c,
871        posix/src/psignalsetprocesssignals.c,
872        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
873        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
874        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
875        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
876        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
877        posix/src/semclose.c, posix/src/semdestroy.c,
878        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
879        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
880        posix/src/semwait.c, posix/src/setcancelstate.c,
881        posix/src/setcanceltype.c, posix/src/sysconf.c,
882        posix/src/testcancel.c: Add missing copyright statements.
883
8842007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
885
886        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
887
8882007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
889
890        * posix/Makefile.am, posix/preinstall.am,
891        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
892        Timer implementation into multiple files. Add obvious error checks
893        for NULL parameters. Attempt to reduce include files.
894        * posix/src/timercreate.c, posix/src/timerdelete.c,
895        posix/src/timergetoverrun.c, posix/src/timergettime.c,
896        posix/src/timerinserthelper.c, posix/src/timersettime.c,
897        posix/src/timertsr.c: New files.
898        * posix/src/ptimer1.c: Removed.
899
9002007-12-17      Chris Johns <chrisj@rtems.org>
901
902        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
903        libmisc/shell/main_unmount.c: New.
904        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
905        blksync, msdosfmt, and unmount commands.
906
9072007-12-17      Chris Johns <chrisj@rtems.org>
908
909        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
910        system opts table.
911        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
912        system opts table.
913        * libmisc/Makefile.am: Add the mount command and supporting files.
914        * libmisc/preinstall.am: Rebuilt.
915        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
916        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
917        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
918        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
919        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
920        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
921        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
922        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
923        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
924        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
925        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
926        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
927        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
928        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
929        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
930        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
931        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
932        libmisc/shell/write_file.c: Move all shell_* types, variables and
933        functions to rtems_shell_* to avoid namespace clashes with
934        applications. The is an RTEMS shell after all.
935        * libmisc/shell/shell.h, libmisc/shell/internal.h,
936        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
937        functions to rtems_shell_* to avoid namespace clashes with
938        applications. Add the mount command supporting types.
939        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
940        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
941        libmisc/shell/main_mount_tftp.c: New.
942       
9432007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
944
945        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
946
9472007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
948
949        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
950        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
951        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
952        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
953        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
954        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
955        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
956        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
957        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
958        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
959        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
960        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
961        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
962        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
963        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
964        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
965        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
966        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
967        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
968        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
969        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
970        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
971        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
972        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
973        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
974        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
975        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
976        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
977        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
978        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
979
9802007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
981
982        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
983        API.
984
9852007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
986
987        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
988        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
989        Minor cleanup to improve testability and eliminate dead code.
990
9912007-12-12      Chris Johns <chrisj@rtems.org>
992
993        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
994        Add RTEMS license details.
995
9962007-12-12      Chris Johns <chrisj@rtems.org>
997
998        * Makefile.am, preinstall.am: Added
999        libblock/include/rtems/flashdisk.h to the installed header list.
1000        * libblock/Makefile.am: Add flashdisk.c to the files to build.
1001        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1002        New.
1003
10042007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1005
1006        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
1007        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
1008        score/Makefile.am, score/preinstall.am: Revert testing patch.
1009
10102007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1011
1012        * posix/src/sched_rr_get_interval.c: Fix warning.
1013
10142007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1015
1016        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
1017        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
1018        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
1019        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
1020        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
1021        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
1022        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
1023        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
1024        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
1025        files into one function per file.
1026        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
1027        posix/src/aio_read.c, posix/src/aio_return.c,
1028        posix/src/aio_suspend.c, posix/src/aio_write.c,
1029        posix/src/lio_listio.c, posix/src/sched_getparam.c,
1030        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
1031        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
1032        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
1033        posix/src/sched_yield.c: New files.
1034        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
1035
10362007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1037
1038        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
1039        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
1040        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1041        posix/src/clocksettime.c, posix/src/devctl.c,
1042        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
1043        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
1044        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
1045        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
1046
10472007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1048
1049        * posix/src/adjtime.c: Clean up and verify against behavior documented
1050        in GNU/Linux man page provided with Fedora 7.
1051
10522007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1053
1054        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
1055        automake variables.
1056
10572007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1058
1059        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
1060        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
1061        rtems/src/taskvariabledelete.c: Add test code for task variables to
1062        improve coverage.
1063        * rtems/src/taskvariable_invoke_dtor.c: New file.
1064
10652007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1066
1067        * posix/preinstall.am: Revert debug patch.
1068
10692007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1070
1071        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
1072        BSP.
1073
10742007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1075
1076        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
1077
10782007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1079
1080        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
1081        disabled.
1082
10832007-12-12      Chris Johns <chrisj@rtems.org>
1084
1085        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
1086        header list.
1087        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
1088        in any order rather than before any commands have been added. Also
1089        made the command's strings be copies rather than references.
1090        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
1091
10922007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1093
1094        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
1095        Move Ada support code that is untestable from the Standard RTEMS Test
1096        Suite into its own directory. All code in score, posix, rtems, and
1097        sapi should be testable by the Standard RTEMS Test Suites. It was
1098        buried under POSIX before so this should be a clearer location
1099        anyway.
1100        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
1101        libgnat/adasupp.c: New files.
1102        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
1103
11042007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1105
1106        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
1107        Reverse file contents.
1108
11092007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1110
1111        * sapi/include/rtems/config.h: Correct idle task prototype.
1112
11132007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1114
1115        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
1116        libmisc/shell/internal.h, libmisc/shell/shell.c,
1117        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
1118        processing now separated from main command loop. Addition of user
1119        commands and aliases tested. Monitor registration now explicit.
1120        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
1121        libmisc/shell/write_file.c: New files.
1122
11232007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1124
1125        * libmisc/Makefile.am: Fix typo.
1126
11272007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1128
1129        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
1130        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
1131        into multiple files and add initial stages of command configuration.
1132        This seems to work but the monitor commands need to be integrated
1133        this way and the ability to configure user commands needs to be
1134        tested.
1135        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
1136        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
1137        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
1138        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
1139        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
1140        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
1141        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
1142        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
1143        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
1144        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
1145        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
1146        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
1147        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
1148        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
1149        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
1150        libmisc/shell/str2int.c: New files.
1151
11522007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1153
1154        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
1155
11562007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1157
1158        * sapi/include/rtems/config.h: Fix idle thread prototype.
1159
11602007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1161
1162        * sapi/include/confdefs.h: Separate the concept of configuring the
1163        interrupt stack size from actually reserving memory for it in the
1164        RTEMS Workspace.
1165
11662007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1167
1168        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
1169        installed. It is the initialization interface for both GoAhead and
1170        Simple HTTPD.
1171
11722007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1173
1174        * sapi/include/rtems/config.h: Correct previous commit.
1175
11762007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1177
1178        * sapi/include/rtems/config.h: Commit temporary fix so
1179        interrupt_stack_size is accessible before RTEMS is initialized.
1180
11812007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
1182
1183        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
1184        sapi/include/rtems/init.h, sapi/src/exinit.c,
1185        score/include/rtems/system.h, score/src/isr.c: Move
1186        interrupt_stack_size field from CPU Table to Configuration Table.
1187        Eliminate CPU Table from all ports. Delete references to CPU Table in
1188        all forms.
1189
11902007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1191
1192        * sapi/include/rtems/config.h: Add accessory macros for Configuration
1193        Table fields merged from CPU Table.
1194
11952007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
1196
1197        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
1198        posix/preinstall.am, posix/include/rtems/posix/cond.h,
1199        posix/include/rtems/posix/mqueue.h,
1200        posix/include/rtems/posix/mutex.h,
1201        posix/include/rtems/posix/pthread.h,
1202        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
1203        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
1204        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1205        sapi/include/confdefs.h, sapi/include/rtems/config.h,
1206        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
1207        sapi/src/exinit.c, score/include/rtems/system.h,
1208        score/include/rtems/score/mpci.h, score/src/mpci.c,
1209        score/src/thread.c, score/src/threadcreateidle.c,
1210        score/src/threadstackallocate.c, score/src/threadstackfree.c,
1211        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
1212        the Configuration Table. This included pretasking_hook,
1213        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
1214        extra_mpci_receive_server_stack, stack_allocate_hook, and
1215        stack_free_hook. As a side-effect of this effort some multiprocessing
1216        code was made conditional and some style clean up occurred.
1217
12182007-12-03      Chris Johns <chrisj@rtems.org>
1219
1220        * libmisc/shell/shell.h: Added comments for the parameters to the
1221        shell_init function.
1222        * libmisc/shell/shell.c: Only set cflags if tcflags is
1223        non-zero. This means the shell can use the current cflags settings
1224        and the application does not need to know the baudrate etc.
1225        * libmisc/capture/capture.h: Fix the comment.
1226
12272007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1228
1229        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1230        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
1231        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
1232        rtems/src/dpmemexternal2internal.c,
1233        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1234        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1235        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1236        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1237        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1238        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1239        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1240        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1241        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1242        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
1243        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1244        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
1245        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
1246        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
1247        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
1248        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
1249        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
1250        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
1251        rtems/src/timercancel.c, rtems/src/timerdelete.c,
1252        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1253        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1254        rtems/src/timerserverfirewhen.c: Restructured all code with
1255        the switch (location) pattern so that OBJECTS_LOCAL is first
1256        and we can fall into it and the OBJECTS_ERROR case breaks
1257        to a return RTEMS_INVALID_ID.  This eliminates the return
1258        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
1259        was unreachable and untestable code.  This resulted in a code
1260        savings of approximately 20 bytes per file on the SPARC/ERC32.
1261
12622007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1263
1264        * posix/Makefile.am: Restructed to move the
1265        OBJECTS_LOCAL case to the top of the switch statement and
1266        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1267        changes produced simplier assembly code and allowed for complete
1268        test coverage.  Also applied some consistency to the functions
1269        that translate the core status codes to POSIX status codes.
1270
12712007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1272
1273        * posix/include/rtems/posix/mutex.h,
1274        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
1275        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
1276        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1277        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1278        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1279        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1280        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1281        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
1282        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1283        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1284        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
1285        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
1286        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1287        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1288        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
1289        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
1290        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
1291        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
1292        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1293        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1294        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1295        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1296        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1297        posix/src/semclose.c, posix/src/semdestroy.c,
1298        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1299        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
1300        rtems/src/timerfireafter.c, score/include/rtems/system.h,
1301        score/include/rtems/score/corebarrier.h,
1302        score/include/rtems/score/coremsg.h,
1303        score/include/rtems/score/coremutex.h,
1304        score/include/rtems/score/coresem.h: Restructed to move the
1305        OBJECTS_LOCAL case to the top of the switch statement and
1306        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1307        changes produced simplier assembly code and allowed for complete
1308        test coverage.  Also applied some consistency to the functions
1309        that translate the core status codes to POSIX status codes.
1310        * posix/src/mutextranslatereturncode.c,
1311        posix/src/semaphoretranslatereturncode.c: New files.
1312        * posix/src/mutexfromcorestatus.c: Removed.
1313
13142007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
1315
1316        * posix/inline/rtems/posix/priority.inl: Fix typo.
1317
13182007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1319
1320        * sapi/src/exinit.c, score/include/rtems/score/object.h,
1321        score/include/rtems/score/thread.h, score/src/object.c,
1322        score/src/thread.c: Conditionally compile out more code that is
1323        specific to multiprocessor configurations.
1324
13252007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1326
1327        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
1328        posix/src/conddestroy.c, posix/src/condinit.c,
1329        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
1330        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1331        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1332        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1333        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1334        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
1335        posix/src/mutexattrgetprioceiling.c,
1336        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1337        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1338        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1339        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1340        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1341        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1342        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
1343        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
1344        posix/src/semclose.c, posix/src/semdestroy.c,
1345        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
1346        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
1347        Remove all pretense of POSIX MP support. The support in place was
1348        only a shell. This should make maintenance easier.
1349        * posix/include/rtems/posix/condmp.h,
1350        posix/include/rtems/posix/mqueuemp.h,
1351        posix/include/rtems/posix/mutexmp.h,
1352        posix/include/rtems/posix/pthreadmp.h,
1353        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
1354        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
1355
13562007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1357
1358        * configure.ac, score/inline/rtems/score/thread.inl,
1359        score/src/threaddispatch.c: Add ability for user to disable inlining
1360        of _Thread_Enable_dispatch. This can save code space but more
1361        importantly it means the binary generated does not have code inlined
1362        that is difficult to test and very seldom executed.
1363
13642007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1365
1366        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1367        rtems/include/rtems/rtems/barrier.h,
1368        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
1369        score/src/corerwlockrelease.c: Fixed several implementation errors.
1370
13712007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1372
1373        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
1374        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1375        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1376        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1377        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
1378        case to the top of the switch statement, have a single exit with one
1379        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
1380        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
1381        code and allowed for complete test coverage.
1382
13832007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1384
1385        * sapi/include/confdefs.h,
1386        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
1387        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1388
13892007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1390
1391        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1392
13932007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1394
1395        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
1396        support Thumb.
1397
13982007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1399
1400        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
1401        Now works on gen5200/icecube.
1402
14032007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1404
1405        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
1406
14072007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1408
1409        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
1410
14112007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1412
1413        * score/include/rtems/score/thread.h: Fix spelling error.
1414
14152007-11-17      Till Straumann <strauman@slac.stanford.edu>
1416
1417        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
1418        Added checks so that use of 'stdio' is avoided (falling
1419        back to 'printk') before the system is up.
1420        Publish driver entry points so that the libi2c driver could
1421        be added to the applications 'device driver table'.
1422        This is not fully implemented yet, though, since in addition to
1423        initializing libi2c the low-level i2c bus drivers as well
1424        as high-level i2c device drivers need to be registered
1425        with the library.
1426        Updated README_libi2c accordingly.
1427
14282007-11-17      Till Straumann <strauman@slac.stanford.edu>
1429
1430        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
1431        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
1432        so that it knows what PHY they want to look at.
1433
14342007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1435
1436        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
1437        in opposite files. Whoops!
1438
14392007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1440
1441        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
1442        of the focus was on the beginning stages of making the login checker
1443        pluggable just like the shell.
1444
14452007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1446
1447        * posix/src/mprotect.c: Update comments.
1448
14492007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1450
1451        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
1452        will require gcc 4.3 or newer.
1453        * posix/src/ada_intrsupp.c: New file.
1454
14552007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1456
1457        * sapi/src/exinit.c, score/Makefile.am,
1458        score/include/rtems/score/apimutex.h: API Mutex calls should never
1459        have been inlined. Inlining them lead to many inlined copies of core
1460        mutex lock. This lead to over 2K savings in the SPARC/ERC32
1461        minimum.exe.
1462        * score/src/apimutex.c, score/src/apimutexallocate.c,
1463        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
1464
14652007-11-07      Till Straumann <strauman@slac.stanford.edu>
1466
1467        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
1468        around _CPU_ISR_Set_level().
1469
14702007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1471
1472        * score/inline/rtems/score/object.inl: During test coverage analysis,
1473        we identified this sanity check which should have been conditional on
1474        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
1475        operations. With all APIs enabled, this saved 352 bytes from the
1476        minimum executable on the SPARC/ERC32.
1477
14782007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1479
1480        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
1481        compiler conditional attribute for methods that do not return. This
1482        avoids gcc generating unreachable code following calls to
1483        _Internal_error_Occurred.
1484
14852007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1486
1487        * configure.ac: Add ARM/Thumb Makefile.
1488
14892007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1490
1491        PR 1266/cpukit
1492        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
1493        of class for key indexing.
1494
14952007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1496
1497        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
1498        Fix headers and formatting.
1499
15002007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1501
1502        Miscellaneous changes made after a review against the POSIX spec.
1503        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
1504        passes a NULL in the attributes parameter, default attributes are used.
1505        * posix/src/prwlockdestroy.c: If there is at least one thread
1506        waiting, do not allow deletion.
1507        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
1508        operation used to obtain a RWLock for writing.
1509        * posix/src/pspinlocktranslatereturncode.c,
1510        score/include/rtems/score/corespinlock.h,
1511        score/src/corespinlockrelease.c: If the current thread is not the
1512        holder of the lock, do not allow an unlock and return EPERM.
1513        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
1514        for queueing with a timeout handler.
1515
15162007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
1517
1518        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
1519        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
1520        stack so gdb backtrace does not print corrupted frame message after
1521        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
1522        SPARC implementation and I made it more general.
1523
15242007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1525
1526        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
1527        Cleaned up reports and fixed a bug related the printf format which
1528        resulted in lack of leading zeroes and misleading magnitude.
1529        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
1530
15312007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1532
1533        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
1534        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
1535        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
1536        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
1537        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
1538        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
1539        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
1540        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
1541        posix/src/condinit.c, posix/src/condsignalsupp.c,
1542        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1543        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1544        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1545        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1546        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1547        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
1548        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
1549        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1550        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
1551        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1552        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1553        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
1554        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
1555        posix/src/pspindestroy.c, posix/src/pspinlock.c,
1556        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1557        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1558        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1559        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1560        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1561        posix/src/semclose.c, posix/src/semdestroy.c,
1562        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1563        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1564        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
1565        rtems/src/dpmemexternal2internal.c,
1566        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1567        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1568        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1569        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1570        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1571        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1572        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1573        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1574        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1575        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
1576        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1577        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1578        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1579        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
1580        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1581        rtems/src/signalsend.c, rtems/src/taskdelete.c,
1582        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
1583        rtems/src/taskrestart.c, rtems/src/taskresume.c,
1584        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
1585        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
1586        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
1587        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
1588        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
1589        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1590        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1591        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
1592        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
1593        score/src/mpci.c, score/src/objectgetnameasstring.c,
1594        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
1595        multiprocessing is disabled, do not even allow the constant
1596        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
1597        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
1598        in the generation of binary code which can NOT be reached.
1599
16002007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1601
1602        * score/Makefile.am, score/include/rtems/score/thread.h,
1603        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
1604        resulted in unnessary code explosion, many uncovered paths when
1605        looking at binary executable coverage, and only optimized getting
1606        self. Id translations were still getting pushed to a subroutine call
1607        to _Objects_Get. Later the non-inlined version can be further
1608        optimized to get Ids in range for the current API, then self, then
1609        look at other APIs.
1610        * score/src/threadget.c: New file.
1611
16122007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1613
1614        * libi2c/README-libi2c
1615        document structure of libi2c library
1616
16172007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1618
1619        * libi2c/libi2c.c, libi2c/libi2c.h:
1620        extend API to support SPI devices
1621        made libi2c.h C++-proof
1622
16232007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1624
1625        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
1626        also in another file.  Mistake after splitting.
1627        * libcsupport/Makefile.am: Reflect file removal.
1628
16292007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1630
1631        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
1632        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
1633        Minor updates from FreeBSD.
1634
16352007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1636
1637        * score/include/rtems/score/copyrt.h: Update year.
1638
16392007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1640
1641        * score/include/rtems/score/copyrt.h: Update year.
1642
16432007-10-11      Daniel Hellstrom <daniel@gaisler.com>
1644
1645        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
1646        Fixed check of status when registering driver. Add use of strerror().
1647
16482007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
1649        Ralf Corsépius <ralf.corsepius@rtems.org>
1650
1651        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
1652        libnetworking/libc/if_indextoname.c,
1653        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
1654        * Makefile.am: Add files above.
1655        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
1656
16572007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1658
1659        * libmisc/stackchk/check.c: Eliminate output with little information.
1660        Always print a blown message using the same routine. Now works with
1661        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
1662        support in your GCC version.
1663
16642007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1665
1666        * libcsupport/src/gxx_wrappers.c: Revert.
1667
16682007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
1669
1670        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
1671        PRId32 to fix warning.
1672
16732007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1674
1675        * telnetd/passwd.h: New file.
1676
16772007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1678
1679        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
1680        telnetd/telnetd.h: telnetd rewrite.
1681        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
1682
16832007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1684
1685        PR 1262/filesystem
1686        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
1687        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
1688        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
1689        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
1690        writev() including documentation and test case.
1691        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
1692
16932007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
1694
1695        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
1696        document what is required to provide a fully functional
1697        implementation.
1698        * libnetworking/rtems/rtems_socketpair.c: New file.
1699
17002007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1701
1702        * aclocal/version.m4: Bump RTEMS_API to 4.9.
1703        Bump RTEMS_VERSION to 4.8.99.0.
1704
17052007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1706
1707        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
1708
17092007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1710
1711        * posix/src/semaphorecreatesupp.c: Fixed warning.
1712
17132007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1714
1715        * libmisc/dumpbuf/dumpbuf.c: Use printk.
1716
17172007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1718
1719        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
1720        Use uint32_t for ext_accm.
1721
17222007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1723
1724        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
1725        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
1726        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
1727        fixed-size types instead of BSD fixed-size types.
1728
17292007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1730
1731        * libmisc/stackchk/check.c: Fix alignment of output.
1732
17332007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1734
1735        * libmisc/monitor/monitor.h: Add network commands that were in the
1736        network supplement but not in the code.
1737        * libmisc/monitor/mon-network.c: New file.
1738
17392007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1740
1741        PR 1261/cpukit
1742        * posix/src/semaphorecreatesupp.c: Initialize all fields during
1743        semaphore creation.
1744
17452007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1746
1747        PR 1260/cpukit
1748        * posix/src/pthread.c: Get initial signals blocked from creating
1749        thread not from ourselves.
1750
17512007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1752
1753        * score/src/watchdogtickle.c: Remove tabs.
1754
17552007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1756
1757        PR 1259/rtems
1758        * rtems/src/taskcreate.c: Initialize is_global in all cases since
1759        memory is not guaranteed to be zero.
1760
17612007-09-12  Sergei Organov  <osv@javad.com>
1762
1763        PR 1258/rtems
1764        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
1765        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
1766        Use block_allocate() instead of _Heap_Block_allocate(). Replace
1767        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
1768        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
1769        to changed block split strategy in _Heap_Allocate_aligned().
1770
17712007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
1772
1773        * libcsupport/src/printk.c: Remove unnecessary comments.
1774
17752007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1776
1777        * libmisc/monitor/mon-monitor.c:
1778        Corrected linked list of rtems_monitor_commands
1779
17802007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1781
1782        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
1783        walk on init, malloc, and free. The ability to walk the heap appears
1784        to disappeared during the rework of the C Program heap to skip the
1785        Region.
1786
17872007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1788
1789        * score/src/heap.c: Style.
1790        * score/src/heapwalk.c: Add more information to prints.
1791        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
1792        is disabled.
1793
17942007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1795
1796        * libcsupport/Makefile.am, libcsupport/src/printk.c:
1797        * libcsupport/src/printk_plugin.c: New file.
1798        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
1799        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
1800        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
1801        rtems/src/ratemonreportstatistics.c: Added capability to specify
1802        your own "printf" routine to various reporting functions.  This
1803        added an XXX_with_plugin as the underlying implementation for
1804          + rtems_rate_monotonic_report_statistics
1805          + rtems_stack_checker_report_usage
1806          + rtems_cpu_usage_report
1807        As demonstration, the http netdemo can now print out stack
1808        and cpu usage reports.
1809
18102007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1811
1812        * shttpd/compat_rtems.c: Style clean up.
1813
18142007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1815
1816        * rtems/src/ratemonperiod.c: Clean up.
1817        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
1818
18192007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1820
1821        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
1822
18232007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1824
1825        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
1826
18272007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1828
1829        * libmisc/Makefile.am: Add new files.
1830
18312007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1832
1833        * libmisc/monitor/mon-object.c,
1834        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
1835        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
1836        * libmisc/monitor/mon-task, libmisc/Makefile.am:
1837        Added functionality for osmonweb support
1838
18392007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1840
1841        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
1842        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
1843        that are needed by osmonweb.
1844
18452007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1846
1847        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
1848        Use printk.
1849
18502007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1851
1852        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
1853        spacing and spelling.
1854
18552007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1856
1857        PR 1256/networking
1858        * ftpd/ftpd.c: Fix unaligned access.
1859
18602007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1861
1862        * posix/Makefile.am: Always build nanosleep.
1863
18642007-08-17      Chris Johns <chrisj@rtems.org>
1865
1866        * libmisc/capture/README: Minor copyright change.
1867        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
1868        libmisc/capture/capture.h: Fixed the memory leak when lots of
1869        tasks are being created and deleted. Improved the trigger
1870        interface so all task type actions can be caught.
1871
18722007-08-13      Chris Johns <chrisj@rtems.org>
1873
1874        * score/include/rtems/score/object.h: Point the
1875        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
1876
18772007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1878
1879        PR 1248/networking
1880        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
1881        reported that when no interfaces are successfully attached, the
1882        default route is broken and may result in a jump to an illegal
1883        address.
1884
18852007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1886
1887        * score/inline/rtems/score/priority.inl: Use size_t instead of
1888          uint32_t for array index.
1889
18902007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1891
1892        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
1893          identify coldfire cpus.
1894
18952007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1896
1897        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
1898          coldfire.
1899
19002007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1901
1902        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
1903          work-around bug m68k/coldfire -fomit-frame-pointer bug
1904          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
1905
19062007-07-27      Chris Johns <chrisj@rtems.org>
1907
1908        * wrapup/Makefile.am: Create archive from a file for hosts
1909        with a limited command line size.
1910
19112007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1912
1913        * include/rtems/bspIo.h, include/rtems/pci.h:
1914        Add extern "C" guards. Reported by
1915        Robert S. Grimes <rsg@alum.mit.edu>.
1916
19172007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1918
1919        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
1920        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
1921        the time appears to be reported correctly and add up to what is
1922        expected.
1923
19242007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
1925
1926        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
1927        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
1928        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
1929
19302007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1931
1932        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
1933        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
1934        was always using uptime not time since last cpu usage reset when
1935        using nanoseconds granularity.
1936        * libmisc/cpuuse/cpuusagedata.c: New file.
1937
19382007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
1939
1940        * libcsupport/src/mount.c: Allow null for output parameter.
1941
19422007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1943
1944        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
1945        to shttpd initialization.
1946
19472007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1948
1949        * libcsupport/src/malloc.c: Clean up Malloc debug code.
1950        * score/include/rtems/score/heap.h: Spacing.
1951        * score/inline/rtems/score/thread.inl:
1952        * score/src/heapfree.c. Clean up and add explicit check of the address
1953        being freed actually being in the heap.
1954        * score/src/heapwalk.c: Switch to printk and do not call abort.
1955
19562007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1957
1958        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
1959        area contingent on the stack checker user extension having been
1960        initialized.
1961
19622007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1963
1964        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
1965        and recv(). We already had the BSD versions and these conflict
1966        sometimes when linking.
1967
19682007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1969
1970        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
1971        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
1972
19732007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1974
1975        * sapi/include/confdefs.h: Do not instantiate initialization
1976        thas/thread pointer tables for an API that is not configured.
1977
19782007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1979
1980        * libcsupport/Makefile.am:
1981        * libcsupport/src/open_dev_console.c: New file.
1982
19832007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1984
1985        * score/src/corerwlock.c: Make sure structure is fully initialized.
1986        When reused, some fields will not be zero like at initialization.
1987
19882007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1989
1990        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
1991        size. Account for this.
1992
19932007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1994
1995        * configure.ac: Add NDEBUG as a command line compilation option.
1996
19972007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1998
1999        * libmd/.cvsignore: New file.
2000
20012007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2002
2003        * shttpd/defs.h: Eliminate my_strncasecmp.
2004        * shttpd/string.c: Eliminate my_strncasecmp.
2005
20062007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2007
2008        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
2009        * pppd/Makefile.am: Reflect moving out md*.
2010        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
2011          libmd).
2012        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
2013        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
2014        * configure.ac, Makefile.am: Add libmd.
2015
20162007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2017
2018        * shttpd/defs.h: Eliminate my_strlcpy.
2019        * shttpd/string.c: Eliminate my_strlcpy.
2020
20212007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2022
2023        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
2024        * shttpd/string.c: Eliminate my_strdup, my_strndup.
2025        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
2026          libmd.a.
2027
20282007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2029
2030        * wrapup/Makefile.am: Add libmd.a.
2031
20322007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2033
2034        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
2035          Add pppd/libmd.a.
2036        * pppd/md4.c: Don't include pppd.h.
2037
20382007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2039
2040        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
2041
20422007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2043
2044        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
2045        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
2046        Add config.h support.
2047
20482007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2049
2050        * shttpd/compat_rtems.h: Define closesocket.
2051
20522007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2053
2054        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
2055
20562007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2057        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
2058        Use size_t for stack sizes.
2059
20602007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2061
2062        * configure.ac, Makefile.am: Add shttpd.
2063        * shttpd/Makefile.am: New.
2064        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
2065        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
2066        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
2067        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
2068        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
2069        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
2070        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
2071        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
2072        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
2073        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
2074        Import from shttpd-1.37.tar.gz.
2075
20762007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2077
2078        * configure.ac: Remove "pad" from CPU_CONTEXT.
2079
20802007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2081
2082        * score/src/coremsg.c: Formatting.
2083
20842007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2085
2086        * score/include/rtems/score/copyrt.h: Update copyright notice.
2087
20882007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2089
2090        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
2091        one function per file execpt io.c which contains required
2092        initialization methods.
2093        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
2094        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
2095        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
2096        sapi/src/iowrite.c: New files.
2097
20982007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2099
2100        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
2101        table into Workspace but now it is only done if the application needs
2102        extra slots for dynamic driver registration. Cleaned up
2103        rtems_io_register_driver and rtems_io_unregister_driver code and
2104        added numerous error cases to register.
2105
21062007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2107
2108        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
2109        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
2110        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
2111        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
2112        configuration parameter since it was used to configure a no longer
2113        used feature. Device names are now part of the filesystem not in a
2114        table. This also eliminated the variables _IO_Number_of_devices and
2115        _IO_Driver_name_table from RTEMS as well as the memory allocation
2116        used to populate _IO_Driver_name_table.
2117        * libmisc/monitor/mon-dname.c: Removed.
2118
21192007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2120
2121        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
2122        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
2123        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
2124        unused Workspace. Round the workspace required size to an 8 byte
2125        boundary instead of a 0x400 byte one. We may end up needing to add 8
2126        bytes again to account for the alignment rounding.
2127
21282007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2129
2130        Yu Chen <chyyuu@gmail.com>
2131        * score/src/corespinlockwait.c: Per question posted as
2132        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
2133        logical operator to <=.
2134
21352007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2136
2137        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
2138        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
2139        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
2140        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
2141        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
2142        executive initialization.
2143
21442007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2145
2146        * score/src/corerwlockrelease.c: Do not dereference NULL.
2147
21482007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2149
2150        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
2151        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
2152        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
2153        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
2154        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
2155        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
2156        sapi/include/rtems/extension.h: Split Classic API data instantiation
2157        into individual files. This reduces the size of the BSS section when
2158        an optional manager stub is used. Some tests showed about a 600 byte
2159        reduction in BSS size.
2160        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
2161        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
2162        _RTEMS_tasks_Number_of_initialization_tasks because they were only
2163        used in one place after initialized. It was a waste of space.
2164        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
2165        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
2166        rtems/src/ratemondata.c, rtems/src/regiondata.c,
2167        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
2168        sapi/src/extensiondata.c: New files.
2169
21702007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2171
2172        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
2173        functionality into multiple files to eliminate unnecessary cohesion.
2174        Update README.
2175        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
2176        New files.
2177        * libmisc/cpuuse/cpuuse.c: Removed.
2178
21792007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2180
2181        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
2182        negative value in some circumstances. Also cleaned up to share uptime
2183        declaration.
2184
21852007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2186
2187        * ChangeLog, configure.ac, libcsupport/src/__times.c,
2188        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2189        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
2190        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
2191        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
2192        score/Makefile.am, score/include/rtems/score/thread.h,
2193        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
2194        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
2195        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
2196        monotonic period statistics and CPU usage statistics. This capability
2197        is enabled by default although may be conditionally disabled by the
2198        user. It could be too much overhead on small targets but it does not
2199        appear to be bad in early testing. Its impact on code size has not
2200        been evaluated either. It is possible that both forms of statistics
2201        gathering could be disabled with further tweaking of the conditional
2202        compilation.
2203        * score/src/timespecdividebyinteger.c: New file.
2204
22052007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2206
2207        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
2208        functionally similar code here. Also cleanup print formats.
2209
22102007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2211
2212        * score/src/objectgetnameasstring.c: Internal threads use string names
2213        so in the current RTEMS source string object name can NOT be
2214        disabled. It is probably worth considering converting the internal
2215        threads to uint32_t style names so all the support for string names
2216        can be conditionally disabled.
2217
22182007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2219
2220        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
2221        and greater than operations for timespecs.
2222        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
2223        New files.
2224
22252007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2226
2227        * score/src/objectgetnameasstring.c: Remove bogus ifdef
2228        RTEMS_POSIX_API.
2229
22302007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
2231
2232        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
2233        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
2234        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
2235        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
2236        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
2237        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
2238        score/Makefile.am, score/include/rtems/score/object.h,
2239        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
2240        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
2241        Added the following directives: rtems_rate_monotonic_get_statistics,
2242        rtems_rate_monotonic_reset_statistics,
2243        rtems_rate_monotonic_reset_all_statistics,
2244        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
2245        Obsoleted the rtems/rtmonuse.h file as a public interface.
2246        * rtems/src/ratemongetstatistics.c,
2247        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
2248        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
2249        score/src/objectgetnameasstring.c: New files.
2250        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2251
22522007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2253
2254        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
2255        rtems_io_register_name for use on unix.
2256        * libcsupport/src/unixlibc_io.c: New file.
2257
22582007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2259
2260        * score/src/coremsgseize.c: A blocking sender's message size was
2261        pulled out of the wrong field in the Wait information structure.
2262        * score/src/objectallocate.c: With the new optional manager support,
2263        we only stub out the initialization. This makes it possible to attempt
2264        to create an object with the information structure only initialized
2265        with all zeros.  This ensures we return an error cleanly in this case.
2266
22672007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2268
2269        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
2270        an optional manager, we cannot depend on it do initialize the
2271        internal Allocator Mutex.  This was always a questionable place to
2272        do it, so this is a cleanup.
2273
22742007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2275
2276        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2277        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
2278        suitable for inclusion in the Users Guide.
2279
22802007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2281
2282        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
2283        ChangeLog-pre2007.
2284        * ChangeLog-pre2007: New file.
2285
22862007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2287
2288        PR 1241/rtems
2289        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
2290        critical section window added with requeueing support.
2291
22922007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2293
2294        * libcsupport/include/rtems/cdefs.h,
2295          libcsupport/include/sys/cdefs.h: Remove.
2296        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
2297        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
2298        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
2299        libnetworking/netdb.h, libnetworking/resolv.h,
2300        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
2301        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
2302        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
2303        libnetworking/net/if.h, libnetworking/net/if_dl.h,
2304        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
2305        libnetworking/rtems/rtems_bsdnet_internal.h,
2306        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
2307        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
2308        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
2309        libnetworking/sys/uio.h, libnetworking/sys/un.h,
2310        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
2311        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
2312        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
2313        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
2314        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
2315        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
2316        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
2317
23182007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2319
2320        * Makefile.am: Reflect introduction of
2321          include/rtems/bsd/sys/cdefs.h.
2322        * include/rtems/bsd/sys/cdefs.h: New.
2323
23242007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2325
2326        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
2327        * libnetworking/sys/queue.h: Remove.
2328
23292007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2330
2331        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
2332        <machine/endian.h>.
2333        * libnetworking/rtems/rtems_showroute.c,
2334        libnetworking/rtems/rtems_showipstat.c,
2335        libnetworking/rtems/rtems_showtcpstat.c,
2336        libnetworking/rtems/rtems_showicmpstat.c,
2337        libnetworking/rtems/rtems_showmbuf.c,
2338        libnetworking/rtems/rtems_showudpstat.c,
2339        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
2340        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
2341        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
2342        libnetworking/netinet/tcp_usrreq.c,
2343        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
2344        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
2345        libnetworking/netinet/ip_output.c,
2346        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
2347        libnetworking/netinet/udp_usrreq.c,
2348        libnetworking/netinet/tcp_output.c,
2349        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
2350        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
2351        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
2352        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
2353        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
2354        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
2355        instead of <sys/queue.h>.
2356        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
2357        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
2358        libnetworking/net/if.h, libnetworking/net/if_media.h,
2359        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
2360        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
2361        instead of <sys/queue.h>.
2362        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
2363        * include/rtems/bsd/sys/queue.h: New (Copied from
2364          libnetworking/sys/queue.h).
2365
23662007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2367
2368        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
2369        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
2370        score/Makefile.am, score/preinstall.am,
2371        score/include/rtems/score/userext.h, score/src/chain.c,
2372        score/src/userext.c: Switch to newlib reentrancy extension being
2373        installed in the initial set instead of using rtems_extension_create.
2374        While implementing this, noticed that user extensions and chain code
2375        had multiple functions in a single file which is not desirable in the
2376        SuperCore and API portions of RTEMS, so split these into multiple
2377        files with one function per file. Also noticed that some of user
2378        extension code was inlined for no particular reason so moved that to
2379        C bodies.  Split executive shutdown from initialization since not
2380        every application shuts down.  Moved __fini call to executive shutdown
2381        to be more symmetrical with where it is called at startup.
2382        * sapi/src/exshutdown.c, score/src/chainappend.c,
2383        score/src/chainextract.c, score/src/chainget.c,
2384        score/src/chaininsert.c, score/src/userextaddapiset.c,
2385        score/src/userextaddset.c, score/src/userextremoveset.c,
2386        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
2387        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
2388        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
2389        files.
2390        * score/inline/rtems/score/userext.inl: Removed.
2391
23922007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2393
2394        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
2395        reference _Configuration_MP_table if multiprocessing is disabled.
2396
23972007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2398
2399        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
2400        reference _Configuration_MP_table if multiprocessing is disabled.
2401
24022007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2403
2404        * libnetworking/machine/endian.h: Remove.
2405        * libnetworking/Makefile.am: Remove machine/endian.h.
2406        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
2407        libnetworking/rtems/rtems_bsdnet_internal.h: Include
2408        <rtems/endian.h> instead of <machine/endian.h>.
2409        * Makefile.am: Add include/rtems/endian.h.
2410        * include/rtems/endian.h: New (Copied from
2411          libnetworking/machine/endian.h).
2412
24132007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2414
2415        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
2416        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
2417        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
2418        of <stdint.h>.
2419        * libnetworking/machine/endian.h: Remove
2420          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2421        * NEWS: new.
2422
24232007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2424
2425        PR 1243
2426        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
2427
24282007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2429
2430        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
2431        to inline functions, using uint[16,32]_t.
2432        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
2433        with SUSv3.
2434        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
2435        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
2436        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
2437        Add HAVE_CONFIG_H magic.
2438        * libnetworking/libc/gethostbydns.c,
2439        libnetworking/libc/inet_net_ntop.c,
2440        libnetworking/libc/inet_pton.c: Eliminate __P.
2441        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
2442        return value of ntohl (POSIX requirement).
2443        Use UINT32_C macros to avoid overflows on 16bit targets.
2444        Eliminate __P.
2445        * configure.ac: Check for working PRIxPTR.
2446
24472007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2448
2449        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
2450        score/src/threadinitialize.c, score/src/threadstackallocate.c:
2451        Use size_t for stack sizes.
2452
24532007-05-03      Joel Sherrill <joel@OARcorp.com>
2454
2455        * ChangeLog, libcsupport/src/malloc.c,
2456        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
2457        score/Makefile.am, score/preinstall.am: malloc never blocks so the
2458        Region Manager is quite heavy for implementing this. This patch
2459        implements the C Program Heap directly in terms of the new Protected
2460        Heap handler. This handler is a direct use of a SuperCore Heap in
2461        conjunction with the Allocator Mutex used internally by RTEMS. This
2462        saves 3184 bytes on most SPARC test executables.
2463        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
2464        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
2465        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
2466        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
2467        score/src/pheapinit.c, score/src/pheapresizeblock.c,
2468        score/src/pheapwalk.c: New files.
2469
24702007-05-03      Joel Sherrill <joel@OARcorp.com>
2471
2472        * libcsupport/src/rmdir.c: Fixed spacing.
2473        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
2474        newlibc.c. It is not required for minimum executing and drops 624
2475        from SPARC minimum executable.
2476        * libcsupport/src/newlibc_exit.c: New file.
2477
24782007-04-17      Joel Sherrill <joel@OARcorp.com>
2479
2480        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
2481        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
2482        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
2483        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
2484        rtems/src/taskinitusers.c, rtems/src/tasks.c,
2485        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
2486        reduce executable size. Most were refactoring of files. Split ITRON
2487        API files. Implemented mechanism to avoid initialization task/thread
2488        loop being linked in when that style of task initialization was not
2489        being used.
2490        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
2491        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
2492        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
2493        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
2494        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
2495        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
2496        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
2497        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
2498        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
2499        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
2500        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
2501        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
2502        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
2503        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
2504        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
2505        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
2506        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
2507        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
2508        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
2509        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
2510        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
2511
25122007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
2513
2514        * score/include/rtems/score/thread.h:
2515          Use Context_Control_fp* instead of void* for fp_contexts.
2516
25172007-04-16      Joel Sherrill <joel@OARcorp.com>
2518
2519        PR 1240/filesystem
2520        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
2521        for filename was not being freed.
2522
25232007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2524
2525        * pppd/utils.c: Use uintptr_t instead of unsigned long.
2526
25272007-04-16      Joel Sherrill <joel@OARcorp.com>
2528
2529        * itron/src/rsm_tsk.c: Correct error returned.
2530
25312007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
2532
2533        * configure.ac: Redefine LIBPOSIX to !UNIX.
2534        * posix/src/usleep.c, libcsupport/src/readlink.c:
2535        Update API to SUSv3.
2536
25372007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2538
2539        * posix/Makefile.am: Unconditionally build src/sleep.c,
2540          src/usleep.c.
2541        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
2542          CLOCK_MONOTONIC case.
2543        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
2544
25452007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2546
2547        * posix/Makefile.am: Cosmetics.
2548        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
2549        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
2550
25512007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
2552
2553        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
2554          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
2555        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
2556          rtems/posix/time.h.
2557        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
2558          rtems/posix/time.h.
2559        * score/include/rtems/score/object.h: Use size_t for byte sizes.
2560
25612007-04-12      Joel Sherrill <joel@OARcorp.com>
2562
2563        * itron/src/rsm_tsk.c: Correct error returned.
2564
25652007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2566
2567        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
2568
25692007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2570
2571        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
2572        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
2573        _impure_ptr bug).
2574        Fix abuse of _REENT_INIT().
2575
25762007-04-05      Joel Sherrill <joel@OARcorp.com>
2577
2578        * itron/src/itrontime.c: Fix typo.
2579        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
2580        * score/src/iterateoverthreads.c: Safely take NULL as argument.
2581        * score/src/threaddispatch.c: Formatting.
2582
25832007-04-05      Joel Sherrill <joel@OARcorp.com>
2584
2585        * posix/Makefile.am: Fix formatting.
2586
25872007-04-05      Joel Sherrill <joel@OARcorp.com>
2588
2589        * posix/Makefile.am, posix/include/rtems/posix/time.h,
2590        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
2591        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
2592        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
2593        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
2594        posix/src/pthread.c, posix/src/pthreadcreate.c,
2595        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
2596        posix/src/sched.c, posix/src/semtimedwait.c,
2597        posix/src/sigtimedwait.c, posix/src/ualarm.c,
2598        rtems/src/clocktodtoseconds.c, score/Makefile.am,
2599        score/preinstall.am, score/include/rtems/score/tod.h,
2600        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2601        score/src/coretodget.c, score/src/coretodgetuptime.c,
2602        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
2603        manipulation routines in the SuperCore. Use them everywhere possible.
2604        This lead to significant cleanup in the API routines and eliminated
2605        some of the same code from the POSIX API. At this point, the
2606        SuperCore keeps time in POSIX timespec format properly from 1970. You
2607        just cannot set it before 1988 in keeping with RTEMS traditional
2608        behavior.
2609        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
2610        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
2611        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
2612        score/src/timespectoticks.c: New files.
2613        * posix/src/posixintervaltotimespec.c,
2614        posix/src/posixtimespecsubtract.c,
2615        posix/src/posixtimespectointerval.c: Removed.
2616
26172007-04-04      Joel Sherrill <joel@OARcorp.com>
2618
2619        * score/Makefile.am, score/include/rtems/score/tod.h,
2620        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
2621        non-inlined routine. It should only be used once so there is little
2622        advantage to inlining it.
2623        * score/src/coretodtickle.c: New file.
2624
26252007-04-02      Joel Sherrill <joel@OARcorp.com>
2626
2627        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
2628        dead code.
2629        * posix/src/time.c: Removed.
2630
26312007-04-02      Joel Sherrill <joel@OARcorp.com>
2632
2633        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
2634        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2635        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
2636        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
2637        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
2638        TOD_Ticks_per_second variable.
2639
26402007-04-02      Joel Sherrill <joel@OARcorp.com>
2641
2642        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
2643        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
2644        posix/src/clockgettime.c, posix/src/clocksettime.c,
2645        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
2646        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
2647        posix/src/sleep.c, rtems/Makefile.am,
2648        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
2649        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
2650        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
2651        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
2652        score/Makefile.am, score/include/rtems/score/tod.h,
2653        score/inline/rtems/score/tod.inl, score/src/coretod.c,
2654        score/src/coretodset.c: Convert from Classic API style TOD_Control as
2655        fundamental time structure to POSIX struct timespec. Add
2656        clock_get_uptime().
2657        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
2658        score/src/coretodgetuptime.c: New files.
2659        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
2660        score/src/coretodvalidate.c: Removed.
2661
26622007-04-02      Joel Sherrill <joel@OARcorp.com>
2663
2664        * libcsupport/src/printk.c: Add %p support.
2665
26662007-04-02      Joel Sherrill <joel@OARcorp.com>
2667
2668        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
2669        in addition to the pattern area being overwritten. Also do some
2670        cleanup.
2671
26722007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2673
2674        * include/rtems/pci.h: Further stdint.h fixed-size types.
2675
26762007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2677
2678        * include/rtems/pci.h: Use stdint.h fixed size-types.
2679
26802007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2681
2682        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
2683        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
2684        * libnetworking/Makefile.am: Move libc/res_config.h to
2685          libc_a_SOURCES (File is being used).
2686        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
2687        Remove (Unused).
2688        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
2689        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
2690        Remove (Unused).
2691        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
2692
26932007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2694
2695        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
2696        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
2697        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
2698        libnetworking/libc/gethostbynis.c,
2699        libnetworking/libc/gethostnamadr.c,
2700        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
2701        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
2702        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
2703        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
2704        libnetworking/libc/getservbyname.c,
2705        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
2706        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
2707        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
2708        libnetworking/libc/inet_net_ntop.c,
2709        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
2710        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
2711        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
2712        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
2713        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
2714        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
2715        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
2716        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
2717        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
2718        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
2719        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
2720        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
2721        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
2722        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
2723        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
2724        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
2725        SCCS, LINT. Add HAVE_CONFIG_H.
2726        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
2727
27282007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2729
2730        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
2731          uintptr_t.
2732
27332007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2734
2735        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
2736        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
2737
27382007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2739
2740        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
2741        * libnetworking/net/netisr.h: Partial update from FreeBSD.
2742        * libcsupport/src/getpwent.c: Remove bogus cast to long.
2743        * libnetworking/libc/strsep.c: Don't build if provided by libc.
2744        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
2745        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
2746        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
2747        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
2748        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
2749        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
2750        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
2751        (Abandoned in FreeBSD).
2752        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
2753        (Abandoned in FreeBSD).
2754        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
2755        (Abandoned in FreeBSD).
2756        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
2757        * libnetworking/netinet/ip_fw.c: Eliminate __P().
2758
27592007-03-28      Chris Johns <chrisj@rtems.org>
2760
2761        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
2762        score/include/rtems/score/watchdog.h: Add support for a handler to
2763        obtain the number of nanoseconds since the last clock tick. The
2764        primary interface for this is rtems_clock_set_nanoseconds_extension.
2765        Subsequent commits from Joel will redo the TOD support to use this
2766        capability.
2767        * rtems/src/clocksetnsecshandler.c: New file.
2768
27692007-03-28      Joel Sherrill <joel@OARcorp.com>
2770
2771        PR 1234/cpukit
2772        * libcsupport/Makefile.am: Provide printk() based implementation of
2773        __assert() to reduce dependencies in executables.
2774        * libcsupport/src/__assert.c: New file.
2775
27762007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2777
2778        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
2779        Use uintptr_t for "disrupt". Remove bogus (long) cast.
2780        * libnetworking/net/ppp-comp.h: Remove (Unused).
2781        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
2782        * libnetworking/sys/buf.h: Remove (Unused).
2783        * libnetworking/Makefile.am: Remove sys/buf.h.
2784        * libnetworking/kern/kern_sysctl.c,
2785        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
2786        <sys/buf.h>.
2787        *  libcsupport/include/sys/sockio.h: Partial update from
2788          FreeBSD.
2789
27902007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2791
2792        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
2793        * libnetworking/netinet/igmp.c: Eliminate __P().
2794        * libnetworking/netinet/in.c: Eliminate __P().
2795        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
2796        * libnetworking/netinet/in_pcb.c: Eliminate __P().
2797        * libnetworking/netinet/ip_output.c: Eliminate __P().
2798
27992007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2800
2801        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
2802        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
2803        Change int args to intptr_t because they are casted to pointers.
2804        * libnetworking/netinet/tcp_usrreq.c,
2805        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
2806
28072007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2808
2809        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
2810        "long", because long is not guaranteed to be castable to char*.
2811        * libnetworking/netinet/ip_input.c: Eliminate __P().
2812        Change "int next" to "int32_t next" for 16bit targets.
2813        * libnetworking/netinet/tcp_input.c: Eliminate __P().
2814        * libnetworking/netinet/in_rmx.c: Eliminate __P().
2815        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
2816        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
2817        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
2818        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
2819        * libnetworking/kern/uipc_domain.c: Eliminate __P().
2820
28212007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2822
2823        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
2824        Remove (Abandoned in FreeBSD).
2825        * libnetworking/Makefile.am: Remove net/pppcompress.c,
2826        net/pppcompress.h.
2827        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
2828        net/pppcompress.h.
2829        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
2830        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
2831        net/pppcompress.h.
2832
28332007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
2834
2835        * libnetworking/net/pppcompress.h: Eliminate __P().
2836        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
2837        * libnetworking/net/if_llc.h: Update from FreeBSD.
2838
28392007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
2840
2841        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
2842          <net/ppp-comp.h>.
2843        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
2844        Warn about using it.
2845        * libnetworking/Makefile.am: Add net/ppp_comp.h.
2846        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
2847        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
2848          FreeBSD.
2849        * libnetworking/machine/in_cksum.h: Eliminate __P().
2850        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
2851        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
2852        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
2853        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
2854        Eliminate __P().
2855        * libcsupport/src/scandir.c: Eliminate __P().
2856        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
2857        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
2858        Eliminate __P().
2859        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
2860        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
2861        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
2862
28632007-03-26      Joel Sherrill <joel@OARcorp.com>
2864
2865        PR 1231/cpukit
2866        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
2867        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
2868        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
2869        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
2870        posix/src/mutexattrgetprioceiling.c,
2871        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2872        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2873        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2874        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2875        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
2876        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
2877        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
2878        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
2879        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
2880        posix/src/posixtimespecsubtract.c,
2881        posix/src/posixtimespectointerval.c,
2882        posix/src/psignalclearprocesssignals.c,
2883        posix/src/psignalclearsignals.c,
2884        posix/src/psignalsetprocesssignals.c,
2885        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
2886        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
2887        unneeded includes of assert.h
2888
28892007-03-26      Joel Sherrill <joel@OARcorp.com>
2890
2891        * libcsupport/include/rtems/assoc.h: Pick up the include file
2892        changes associated with the file splitting.
2893
28942007-03-26      Joel Sherrill <joel@OARcorp.com>
2895
2896        * libcsupport/Makefile.am: Pick up the Makefile changes associated
2897        with the file splitting.
2898
28992007-03-26      Joel Sherrill <joel@OARcorp.com>
2900
2901        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
2902        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
2903        this will not be deemed necessary to commit to the 4.7 branch.
2904        * libcsupport/src/assoclocalbyname.c,
2905        libcsupport/src/assoclocalbyremote.c,
2906        libcsupport/src/assoclocalbyremotebitfield.c,
2907        libcsupport/src/assocnamebylocal.c,
2908        libcsupport/src/assocnamebylocalbitfield.c,
2909        libcsupport/src/assocnamebyremote.c,
2910        libcsupport/src/assocnamebyremotebitfield.c,
2911        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
2912        libcsupport/src/assocptrbyremote.c,
2913        libcsupport/src/assocremotebylocal.c,
2914        libcsupport/src/assocremotebylocalbitfield.c,
2915        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
2916        libcsupport/src/write_r.c: New files.
2917
29182007-03-26      Joel Sherrill <joel@OARcorp.com>
2919
2920        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
2921        support and remove deadcode. Replace with comment explaining that
2922        behavior is compatible with GNU/Linux per Eric Norum.
2923
29242007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2925
2926        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
2927        Partial update from FreeBSD.
2928        * libnetworking/netinet/if_ether.h: Eliminate __P().
2929        * libnetworking/netinet/ip_var.h: Eliminate __P().
2930        * libnetworking/netinet/in.h: Eliminate __P().
2931        * libnetworking/netinet/tcp_var.h: Eliminate __P().
2932
29332007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
2934
2935        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
2936        Remove __P();
2937        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
2938
29392007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
2940
2941        * libnetworking/netinet/in_var.h: Remove __P().
2942        * libnetworking/netinet/in_systm.h: Remove __P().
2943        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
2944        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
2945        * libnetworking/netinet/if_ether.c: Remove __P().
2946        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
2947        More updates from FreeBSD.
2948        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
2949        libnetworking/net/route.h: Partial update from FreeBSD.
2950
29512007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2952
2953        * libnetworking/Makefile.am: Remove nfs/krpc.h.
2954        * libnetworking/nfs/krpc.h: Remove (Unused).
2955        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
2956        * libnetworking/Makefile.am: Remove nfs/nfs.h.
2957        * libnetworking/nfs/nfs.h: Remove (Unused).
2958
29592007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
2960
2961        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
2962          symbols.
2963        * libnetworking/sys/conf.h: Don't include machine/conf.h.
2964        Update copyright notice.
2965        Remove unused/non-implemented declarations.
2966        * libnetworking/Makefile.am: Remove machine/conf.h.
2967        * libnetworking/machine/conf.h: Remove.
2968
29692007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
2970
2971        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
2972        Remove many non-supported/unused declarations.
2973
29742007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2975
2976        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
2977          crhold (Unused/non-implemented).
2978
29792007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2980
2981        * libnetworking/sys/ucred.h: Remove __P().
2982        * libnetworking/sys/callout.h: Remove __P().
2983        * libnetworking/sys/domain.h: Remove __P().
2984        * libnetworking/sys/socketvar.h: Remove __P().
2985        * libnetworking/sys/socket.h: Remove __P().
2986        * libnetworking/sys/select.h: Remove __P().
2987        * libnetworking/sys/kernel.h: Remove __P().
2988        * libnetworking/sys/protosw.h: Remove __P().
2989        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
2990        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
2991        swdevt, nswdev, nswap (Unused).
2992
29932007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
2994
2995        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
2996        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
2997        instead of struct linesw (PR 1229)
2998        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
2999        around clash with defines from rtems_bsdnet_internal.h.
3000        * score/src/heapwalk.c: include stdlib.h.
3001
30022007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3003
3004        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
3005        Remove __P().
3006        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
3007        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
3008        Remove __P().
3009        * libcsupport/include/rtems/termiostypes.h,
3010        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
3011        with rtems_termios_*.
3012        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
3013        (Clash with termiostypes.h - PR 1229).
3014
30152007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3016
3017        * score/include/rtems/score/wkspace.h,
3018        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
3019        Change _Workspace_Handler_initialization and
3020        _Workspace_Allocate_or_fatal_error to using size_t.
3021        * libnetworking/sys/rtprio.h: Remove (Unused).
3022        * libnetworking/Makefile.am: Remove sys/rtprio.h.
3023
30242007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3025
3026        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
3027        Remove __P().
3028
30292007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3030
3031        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
3032          to fix warnings.
3033        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
3034        * score/include/rtems/score/chain.h, score/src/chain.c:
3035        Change _Chain_Initialize to using size_t.
3036
30372007-03-12      Joel Sherrill <joel@OARcorp.com>
3038
3039        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
3040        Dump_Buffer to rtems_print_buffer.
3041
30422007-03-12      Joel Sherrill <joel@OARcorp.com>
3043
3044        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
3045        license URL and/or fix mistake in copyright notice. Both of these
3046        mistakes appear to be from code submitted after these changes were
3047        made previously.
3048
30492007-03-10      Joel Sherrill <joel@OARcorp.com>
3050
3051        PR 1226/cpukit
3052        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
3053        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
3054
30552007-03-08      Joel Sherrill <joel@OARcorp.com>
3056
3057        * libfs/src/imfs/imfs.h: Fix comment.
3058
30592007-03-08      Joel Sherrill <joel@OARcorp.com>
3060
3061        * libfs/src/imfs/imfs.h: Fix comment.
3062
30632007-03-08      Joel Sherrill <joel@OARcorp.com>
3064
3065        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
3066        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
3067
30682007-03-08      Joel Sherrill <joel@OARcorp.com>
3069
3070        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
3071        Remove wrapper for message queue send and urgent and implement them
3072        directly. There was an unnecessary function call layer in addition to
3073        conditions in the shared routine. Directly coding both directives is
3074        simpler and should result in smaller code.
3075        * rtems/src/msgqsubmit.c: Removed.
3076
30772007-03-05      Joel Sherrill <joel@OARcorp.com>
3078
3079        PR 1222/cpukit
3080        * score/Makefile.am, score/include/rtems/score/coremutex.h,
3081        score/include/rtems/score/threadq.h,
3082        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
3083        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
3084        score/src/threadclearstate.c, score/src/threadhandler.c,
3085        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
3086        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
3087        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
3088        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
3089        score/src/threadsetstate.c: Enhance so that when the prioirity of a
3090        thread that is blocked on a priority based thread queue is changed,
3091        that its placement in the queue is reevaluated based upon the new
3092        priority. This enhancement includes modifications to the SuperCore as
3093        well as new test cases.
3094        * score/src/threadqrequeue.c: New file.
3095
30962007-03-05      Joel Sherrill <joel@OARcorp.com>
3097
3098        * sapi/src/exinit.c: Fix spacing.
3099
31002007-03-05      Joel Sherrill <joel@OARcorp.com>
3101
3102        PR 1221/cpukit
3103        * posix/src/pthreadequal.c: Fix critical section nesting.
3104
31052007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
3106
3107        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
3108          compiled files.
3109
31102007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
3111
3112        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
3113
31142007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
3115
3116        * score/Makefile.am: Remove macros/README.
3117
31182007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
3119
3120        * score/include/rtems/score/heap.h, score/src/heap.c,
3121        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
3122        More size_t for heap-sizes.
3123        * score/include/rtems/score/heap.h, score/src/heap.c,
3124        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
3125        heap-sizes.
3126        * libnetworking/resolv.h: Typo fixes. Remove __P().
3127
31282007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
3129
3130        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
3131        Use size_t for stack-sizes.
3132
31332007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
3134
3135        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
3136          functions.
3137        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
3138        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
3139
31402007-02-06      Till Straumann <strauman@slac.stanford.edu>
3141
3142        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
3143        taskvar dtor to plug memory leak. Applied patch attached
3144        to PR#690.
3145
31462007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3147
3148        * libcsupport/src/getpagesize.c: New (moved from posix/src).
3149        * posix/src/getpagesize.c: Removed.
3150        * posix/Makefile.am: Remove references to getpagesize.c.
3151        * libcsupport/Makefile.am: Add getpagesize.c.
3152
31532007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3154
3155        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
3156        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
3157          visible.
3158        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
3159
31602007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3161
3162        * rtems/src/msgqsend.c: Use size_t for sizes.
3163        * rtems/src/msgqurgent.c: Use size_t for sizes.
3164        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
3165        * rtems/src/msgmp.c: Use size_t for sizes.
3166        * rtems/src/msgqsubmit.c: Use size_t for sizes.
3167        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
3168        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3169        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
3170
31712007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3172
3173        * itron/src/trcv_mbf.c: Use size_t for sizes.
3174        * libmisc/monitor/mon-object.c: Use size_t for sizes.
3175        * libmisc/monitor/mon-server.c: Use size_t for sizes.
3176        * libmisc/monitor/monitor.h: Use size_t for sizes.
3177        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
3178        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3179        * rtems/src/msgqreceive.c: Use size_t for sizes.
3180        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
3181        * score/src/coremsgseize.c: Use size_t for sizes.
3182
31832007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
3184
3185        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
3186        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
3187        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
3188        * score/src/coremsgbroadcast.c: Use size_t for sizes.
3189        * score/src/coremsgsubmit.c: Use size_t for sizes.
3190
31912007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3192
3193        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
3194
31952007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3196
3197        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
3198
31992007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3200
3201        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
3202        Remove isblank (supposed to be provided by libc).
3203
32042007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3205
3206        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
3207
32082007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3209
3210        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
3211         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
3212        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
3213        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
3214        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
3215
32162007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3217
3218        * score/include/rtems/system.h:
3219        #define __RTEMS_MINOR__ 7 (BZ 1206).
3220
32212007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3222
3223        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
3224        export some internal variables to make them available in
3225        "show_bdbuf" monitor add-on
3226
32272007-01-16      Till Straumann <strauman@slac.stanford.edu>
3228
3229        * libnetworking/rtems/rtems_mii_ioctl.c,
3230        libnetworking/rtems/rtems_mii_ioctl.h,
3231        libnetworking/rtems/rtems_mii_ioctl_kern.c,
3232        libi2c/libi2c.c, libi2c/libi2c.h:
3233        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
3234
32352007-01-09      Joel Sherrill <joel@OARcorp.com>
3236
3237        * libcsupport/src/error.c: rtems_progname is no longer defined in
3238        the BSP startup since it never held a meaningful value.
3239
32402007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
3241
3242        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
3243        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.