source: rtems/cpukit/ChangeLog @ 32caf25f

4.104.114.95
Last change on this file since 32caf25f was 32caf25f, checked in by Joel Sherrill <joel.sherrill@…>, on 06/05/08 at 14:39:19

2008-06-05 Joel Sherrill <joel.sherrill@…>

  • score/include/rtems/score/isr.h, score/src/isr.c: Use CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating memory for vector table.
  • Property mode set to 100644
File size: 148.6 KB
Line 
12008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2
3        * score/include/rtems/score/isr.h, score/src/isr.c: Use
4        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
5        memory for vector table.
6
72008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
8
9        * score/src/wkspace.c: Fix error in comment.
10
112008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
12
13        * posix/src/psignal.c: Do not allocate any memory for queued signals if
14        the configuration parameter is 0. Before we would end up with an
15        allocation of 0 which rounded up and wasted some memory when POSIX
16        was configured.
17
182008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
19
20        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
21        the target toolset uses init/fini sections.
22
232008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
24
25        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
26        has no functional data in the user extension data area structure so
27        this disables the definition, allocation and deallocation of that
28        structure. If we ever have to add data to it, then it will be easy to
29        reenable.
30
312008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
32
33        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
34        score/src/threadget.c: Make sure the pointer to the API object table
35        is valid before derefencing it.
36
372008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
38
39        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
40        calls for leading underscore on private RTEMS variables.
41
422008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
43
44        * score/include/rtems/score/object.h,
45        score/include/rtems/score/watchdog.h: Move #include's out of
46        extern "C" {}.
47
482008-05-30      Till Straumann <strauman@slac.stanford.edu>
49
50        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
51        release node if rtems_filesystem_evaluate_path() fails
52        in nfs_eval_link() since pathloc contains no valid node.
53
542008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
55
56        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
57        while at prompt results in shell logging out and connection still
58        being available.
59
602008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
61
62        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
63        fini() as part of exit(). This avoids atexit() being a required
64        function.
65
662008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
67
68        * libmisc/shell/shell.c: Minor change so dropping connection during
69        login prompt results in connection still being available.
70
71
722008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
73
74        * score/include/rtems/score/object.h,
75        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
76        and RTEMS_ID_NONE.  No object can have this ID.
77
782008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
79
80        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
81        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
82        libcsupport/src/base_fs.c, libcsupport/src/error.c,
83        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
84        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
85        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
86        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
87        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
88        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
89        libfs/src/imfs/imfs_handlers_device.c,
90        libfs/src/imfs/imfs_handlers_directory.c,
91        libfs/src/imfs/imfs_handlers_link.c,
92        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
93        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
94        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
95        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
96        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
97        sapi/include/confdefs.h, sapi/include/rtems/io.h,
98        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
99        Added const qualifier to various pointers and data tables to
100        reduce size of data area.
101        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
102        DOSFS: Use LibBlock instead of read() to read the boot record.
103       
1042008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
105
106        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
107
1082008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
109
110        * libcsupport/src/printk.c:
111        Bugfix: String output without width option.
112
1132008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
114
115        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
116        Bugfix: Moved definition of ppp_softc into source file.
117
1182008-05-23      Till Straumann <strauman@slac.stanford.edu>
119
120        * libnetworking/netinet/ip_output.c: when fragmenting
121        multicast packets M_MCAST must be set on all fragments.
122        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
123        (see my email to rtems-users from 2008/5/15).
124
1252008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
126
127        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
128        itron/src/exd_tsk.c, itron/src/task.c,
129        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
130        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
131        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
132        posix/src/testcancel.c, rtems/src/taskdelete.c,
133        score/inline/rtems/score/object.inl, score/src/objectclose.c,
134        score/src/threadclose.c: Make all task delete/exit/cancel routines
135        follow the same critical section pattern. Also ensure that POSIX
136        cancelation routines are run at thread exit.
137
1382008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
139
140        * libcsupport/src/termios_baud2index.c,
141        libcsupport/src/termios_baud2num.c,
142        libcsupport/src/termios_num2baud.c,
143        libcsupport/src/termios_setinitialbaud.c: New files.
144
1452008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
146
147        * libcsupport/Makefile.am, libcsupport/preinstall.am,
148        libcsupport/include/rtems/termiostypes.h: Move termios helper
149        routines from libchip to libcsupport. Add routine which makes it easy
150        for a termios device driver to inform termios of its default baud
151        rate. This avoids inconsistencies in later termios settings changes.
152
1532008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
154
155        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
156
1572008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
158
159        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
160        interface for Watchdog Driver.
161        * libcsupport/include/rtems/watchdogdrv.h: New file.
162
1632008-05-16      Till Straumann <strauman@slac.stanford.edu>
164
165        * score/src/threadchangepriority.c: Just in case the transient
166        state was set when we entered, ensure that it is still set when
167        we exit.
168        * score/src/threadclose.c: When a thread is being deleted, it should
169        go into the dormant state -- not the transient state.
170
1712008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
172
173        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
174        driver private data
175
1762008-05-13      Eric Norum: <norume@aps.anl.gov>
177
178        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
179        structure assignment.
180
1812008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
182
183        * libi2c/libi2c.h: Fix typo.
184
1852008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
186
187        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
188        CPUKIT.
189
1902008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
191
192        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
193        initialization routines to rtems_initialize_data_structures,
194        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
195        rtems_initialize_start_multitasking. This opened the sequence up so
196        that bootcard() could provide a more robust and flexible framework
197        which is easier to explain and understand. This also lays the
198        groundwork for sharing the division of available memory between the
199        RTEMS workspace and heap and the C library initialization across all
200        BSPs.
201
2022008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
203
204        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
205        comments.
206
2072008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
208
209        * score/src/objectget.c: Improve comments and readability.
210
2112008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
212
213        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
214        score/src/coresemseize.c, score/src/threadhandler.c: Comment
215        improvements from class.
216
2172008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
218
219        PR 1285/rtems
220        * sapi/include/rtems/config.h: Remove obsolete
221        rtems_configuration_get_maximum_devices().
222
2232008-05-01      Chris Johns <chrisj@rtems.org>
224
225        * libblock/include/rtems/nvdisk-sram.h,
226        libblock/include/rtems/nvdisk.h,
227        libblock/src/nvdisk-sram.c,
228        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
229        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
230        the NV disk driver.
231
2322008-05-01  Maarten Van Es <maarten@mind.be>
233
234        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
235        interface for rtems_dhcp_failsafe.
236        * libnetworking/rtems/rtems_dhcp.h: Added interface for
237        rtems_dhcp_failsafe.
238
2392008-05-01  Arnout Vandecappelle <arnout@mind.be>
240
241        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
242        return on timeout in bootpc_call().  Removed panic()s.
243        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
244        SIOCAIFADDR ioctl call.
245        * libnetworking/rtems/rtems_dhcp_failsafe.c,
246        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
247        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
248        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
249
2502008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
251
252        * rtems/include/rtems/rtems/timer.h: Fix typo.
253
2542008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
255
256        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
257        rtems/include/rtems/rtems/status.h,
258        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
259        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
260
2612008-04-28      Daron Chabot <daron.chabot@usask.ca>
262
263        * posix/src/keycreate.c, posix/src/pthreadequal.c,
264        rtems/src/semtranslatereturncode.c,
265        score/src/threadblockingoperationcancel.c: Fix compilation errors
266        when --enable-rtems-debug is used.
267
2682008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
269
270        * score/include/rtems/system.h: Fix typo in comment.
271
2722008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
273
274        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
275        typos added with recent changes.
276
2772008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
278
279        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
280        rtems_termios_reserve_resources. It is obsolete.
281        * libcsupport/src/termiosreserveresources.c: Removed.
282
2832008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
284
285        * rtems/mainpage.h: New file.
286
2872008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
288
289        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
290        rtems/include/rtems/rtems/attr.h,
291        rtems/include/rtems/rtems/barrier.h,
292        rtems/include/rtems/rtems/barriermp.h,
293        rtems/include/rtems/rtems/cache.h,
294        rtems/include/rtems/rtems/config.h,
295        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
296        rtems/include/rtems/rtems/eventmp.h,
297        rtems/include/rtems/rtems/eventset.h,
298        rtems/include/rtems/rtems/intr.h,
299        rtems/include/rtems/rtems/message.h,
300        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
301        rtems/include/rtems/rtems/msgmp.h,
302        rtems/include/rtems/rtems/options.h,
303        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
304        rtems/include/rtems/rtems/ratemon.h,
305        rtems/include/rtems/rtems/region.h,
306        rtems/include/rtems/rtems/regionmp.h,
307        rtems/include/rtems/rtems/rtemsapi.h,
308        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
309        rtems/include/rtems/rtems/signal.h,
310        rtems/include/rtems/rtems/signalmp.h,
311        rtems/include/rtems/rtems/status.h,
312        rtems/include/rtems/rtems/support.h,
313        rtems/include/rtems/rtems/taskmp.h,
314        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
315        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
316        rtems/inline/rtems/rtems/attr.inl,
317        rtems/inline/rtems/rtems/barrier.inl,
318        rtems/inline/rtems/rtems/dpmem.inl,
319        rtems/inline/rtems/rtems/event.inl,
320        rtems/inline/rtems/rtems/message.inl,
321        rtems/inline/rtems/rtems/modes.inl,
322        rtems/inline/rtems/rtems/options.inl,
323        rtems/inline/rtems/rtems/part.inl,
324        rtems/inline/rtems/rtems/ratemon.inl,
325        rtems/inline/rtems/rtems/region.inl,
326        rtems/inline/rtems/rtems/sem.inl,
327        rtems/inline/rtems/rtems/status.inl,
328        rtems/inline/rtems/rtems/support.inl,
329        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
330
3312008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
332
333        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
334        rtems/include/rtems/rtems/attr.h,
335        rtems/include/rtems/rtems/barrier.h,
336        rtems/include/rtems/rtems/barriermp.h,
337        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
338        rtems/include/rtems/rtems/config.h,
339        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
340        rtems/include/rtems/rtems/eventmp.h,
341        rtems/include/rtems/rtems/eventset.h,
342        rtems/include/rtems/rtems/intr.h,
343        rtems/include/rtems/rtems/message.h,
344        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
345        rtems/include/rtems/rtems/msgmp.h,
346        rtems/include/rtems/rtems/object.h,
347        rtems/include/rtems/rtems/options.h,
348        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
349        rtems/include/rtems/rtems/ratemon.h,
350        rtems/include/rtems/rtems/region.h,
351        rtems/include/rtems/rtems/regionmp.h,
352        rtems/include/rtems/rtems/rtemsapi.h,
353        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
354        rtems/include/rtems/rtems/signal.h,
355        rtems/include/rtems/rtems/signalmp.h,
356        rtems/include/rtems/rtems/status.h,
357        rtems/include/rtems/rtems/support.h,
358        rtems/include/rtems/rtems/taskmp.h,
359        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
360        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
361        rtems/inline/rtems/rtems/attr.inl,
362        rtems/inline/rtems/rtems/barrier.inl,
363        rtems/inline/rtems/rtems/dpmem.inl,
364        rtems/inline/rtems/rtems/event.inl,
365        rtems/inline/rtems/rtems/eventset.inl,
366        rtems/inline/rtems/rtems/message.inl,
367        rtems/inline/rtems/rtems/modes.inl,
368        rtems/inline/rtems/rtems/options.inl,
369        rtems/inline/rtems/rtems/part.inl,
370        rtems/inline/rtems/rtems/ratemon.inl,
371        rtems/inline/rtems/rtems/region.inl,
372        rtems/inline/rtems/rtems/sem.inl,
373        rtems/inline/rtems/rtems/status.inl,
374        rtems/inline/rtems/rtems/support.inl,
375        rtems/inline/rtems/rtems/tasks.inl,
376        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
377        header files to Doxygen.
378        * rtems/Doxyfile: New file.
379
3802008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
381
382        * posix/src/key.c: Include <limits.h>
383        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
384        a NULL extension block.
385
3862008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
387
388        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
389        application configuration errors. If any POSIX objects or a POSIX
390        init thread is configured without POSIX being configure, then error
391        out. Similarly for ITRON. Add
392        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
393        parameter so the application has to explicitly configure the Clock
394        driver in or out if the Timer driver is not configured. Also verify
395        RTEMS was built for multiprocessing, if the user tries to configure a
396        multiprocessing application.
397
3982008-04-12      Chris Johns <chrisj@rtems.org>
399
400        * libmisc/shell/shell.c, libmisc/shell/shell.h,
401        libmisc/shell/shell_script.c: Add support to echo the commands to
402        stdout. This is useful with the -v script option to show commands
403        as the run. Also added support to chdir to the directory the task
404        invoking the script is in.
405        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
406        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
407        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
408        support.
409
4102008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
411
412        * score/include/rtems/score/tod.h: Fix typo.
413
4142008-04-08      Chris Johns <chrisj@rtems.org>
415
416        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
417        into argv parts. Was using the command line history buffer so the
418        history was being corrupted.
419
4202008-04-03      Chris Johns <chrisj@rtems.org>
421
422        * libfs/src/nfsclient/src/librtemsNfs.h,
423        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
424        external to RTEMS and even if in the cpukit it should not cross
425        reference in this way.
426        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
427        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
428        in the shell area.
429        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
430        support.
431
4322008-03-29      Chris Johns <chrisj@rtems.org>
433
434        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
435        reported to the mailing list by Pierre Kestener
436        (pierre.kestener@cea.fr).
437
4382008-03-25      Till Straumann <strauman@slac.stanford.edu>
439
440        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
441          coldfire.
442
4432008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
444
445        * libmisc/shell/cmds.c: Directly register the command structure to
446        avoid unnecessary duplication of static strings. We know best this
447        time.
448
4492008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
450
451        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
452        for the ITRON initialization tasks ALL the time.
453        Do not reserve memory for the object name table since it does not
454        exist any longer.
455        * sapi/include/rtems/sptables.h: Fix typo.
456
4572008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
458
459        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
460        rtems/src/clockget.c:
461        * rtems/src/clockgetsecondssinceepoch.c,
462        rtems/src/clockgettickspersecond.c,
463        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
464        rtems/src/clockgettodtimeval.c: New files.
465        Refactored rtems_clock_get into 5 methods which are single purpose
466        and more strongly typed.  They are:
467            rtems_clock_get_tod - Get TOD in Classic API structure
468            rtems_clock_get_tod_timeval - Get TOD in struct timeval
469            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
470            rtems_clock_get_ticks_since_boot - Get ticks since boot
471            rtems_clock_get_ticks_per_second - Get ticks per second
472
4732008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
474
475        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
476        libmisc/shell/shell_script.c: Add memset() of getopt_data to
477        ensure it is zeroed out each time we use getopt_r().
478        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
479        This makes the scripts behave more like UNIX scripts.
480
4812008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
482
483        * posix/Makefile.am: Make clock_settime() available always just like
484        clock_gettime().
485
4862008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
487
488        * score/include/rtems/score/copyrt.h: Update year.
489
4902008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
491
492        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
493        by gcc newer than the 4.3 release series.
494
4952008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
496
497        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
498        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
499        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
500        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
501        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
502        libmisc/shell/shell.c, libmisc/shell/shell.h,
503        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
504        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
505        capability to automatically execute a script from the filesystem. Add
506        echo command from NetBSD and sleep command.
507        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
508        libmisc/shell/shell_script.c: New files.
509
5102008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
511
512        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
513        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
514        rtems/src/taskdelete.c, rtems/src/timerserver.c,
515        score/src/threadclose.c, score/src/threadcreateidle.c,
516        score/src/threadinitialize.c: Switch task create and delete
517        operations to using API Allocator Mutex. This moves almost all uses
518        of the RTEMS Workspace from dispatching disabled to mutex protected
519        which should improve deterministic behavior. The implementation was
520        carefully done to allow task create and delete extensions to invoke
521        more services. In particular, a task delete extension should be able
522        to do mutex and file operations.
523
5242008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
525
526        * libmisc/Makefile.am: Turn on NFS mount support when networking is
527        enabled.
528
5292008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
530
531        * libcsupport/src/chroot.c: Formatting.
532
5332008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
534
535        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
536        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
537        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
538        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
539        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
540        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
541        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
542        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
543        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
544        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
545        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
546        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
547        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
548        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
549        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
550        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
551        libmisc/shell/shell.h: Clean up done while writing documentation.
552        Some command improvements such as date now allows setting of the
553        current TOD. Often commands did not use stdout/stderr per
554        expectations and did not return -1 on an error.
555
5562008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
557
558        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
559        the use of RPC/XDR could be an issue, the code does build multilib
560        across all targets. There are a few remaining warnings to deal with.
561        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
562        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
563        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
564        libfs/src/nfsclient/rfc1094.txt,
565        libfs/src/nfsclient/proto/mount_prot.h,
566        libfs/src/nfsclient/proto/mount_prot.x,
567        libfs/src/nfsclient/proto/mount_prot_xdr.c,
568        libfs/src/nfsclient/proto/nfs_prot.h,
569        libfs/src/nfsclient/proto/nfs_prot.x,
570        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
571        libfs/src/nfsclient/src/cexphelp.c,
572        libfs/src/nfsclient/src/dirutils.c,
573        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
574        libfs/src/nfsclient/src/nfs.modini.c,
575        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
576        libfs/src/nfsclient/src/rpcio.h,
577        libfs/src/nfsclient/src/rpcio.modini.c,
578        libfs/src/nfsclient/src/sock_mbuf.c,
579        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
580
5812008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
582
583        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
584        missing field to default multiprocessing configuration table. Also
585        document fields in Doxygen format.
586
5872008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
588
589        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
590        warnings.
591
5922008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
593
594        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
595        command to access statistics reporting functions in TCP/IP stack.
596        * libmisc/shell/main_netstats.c: New file.
597
5982008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
599
600        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
601        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
602        ifconfig commands. The code for these was previously in the
603        networking guide. Disable NFS filesystem mount until that code is in
604        cpukit.
605        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
606
6072008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
608
609        * posix/preinstall.am,  libcsupport/preinstall.am:
610        Revert Joel's  2008-01-31 screw up.
611
6122008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
613
614        * posix/include/rtems/posix/timer.h: Add c++ guards.
615        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
616        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
617        * libcsupport/include/motorola/mc68230.h: Prefix defines with
618        MC68230_ to avoid preprocessor clashes.
619
6202008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
621
622        * posix/src/mqueueunlink.c, score/Makefile.am,
623        score/include/rtems/score/object.h,
624        score/inline/rtems/score/object.inl: Enhance
625        _Objects_Namespace_remove() to handle freeing object names which are
626        strings. All changed _Objects_Close() to call
627        _Objects_Namespace_remove(). The resulting code was then moved from
628        inline routines to function calls.
629        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
630
6312008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
632
633        * libcsupport/src/printk.c: Added width and padding for %s.
634        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
635        strings longer than 4 chanracters.
636
6372008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
638
639        PR 1277/networking
640        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
641        constraint for assembly language. This restricts the register choice
642        to the a-d registers.
643
6442008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
645
646        * libnetworking/kern/uipc_socket2.c,
647        libnetworking/netinet/tcp_usrreq.c,
648        libnetworking/netinet/udp_usrreq.c,
649        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
650        Add configuration parameters for network stack efficiency multiplier
651        and default socket buffer sizes. Change default multiplier from 8 to
652        2 to match GNU/Linux. This has no impact on performance on the BSPs
653        tested.
654
6552008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
656
657        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
658        workspace manipulation routines for testing.
659        * rtems/src/workspace.c: New file.
660
6612008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
662
663        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
664        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
665        Object Id of SELF.
666
6672008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
668
669        * posix/src/clockgettime.c, posix/src/clocksettime.c,
670        Minor modifications to improve testability.
671        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
672
6732008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
674
675        * posix/src/pthreadinitthreads.c: Clean up error paths.
676
6772008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
678
679        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
680        changes which aid in coverage testing.
681
6822008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
683
684        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
685        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
686        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
687        posix/src/semaphorenametoid.c: Add option for all POSIX objects
688        whether named or unnamed to have a string name.  If the API does
689        not directly support having a name, then the user must explicitly
690        assign it using rtems_object_set_name().
691        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
692        * score/include/rtems/score/object.h,
693        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
694        score/src/objectsetname.c: Modifications required to pass testing of
695        recently modified object name operations.  Also eliminated
696        multiprocessing related code that was not reachable.
697
6982008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
699
700        * posix/src/timersettime.c: Fix to remove warning.
701
7022008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
703
704        * libcsupport/src/posix_memalign.c: Remove warning.
705
7062008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
707
708        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
709        rtems/include/rtems/rtems/object.h,
710        rtems/src/rtemsobjectgetapiclassname.c,
711        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
712        cannot be used as a parameter.
713
7142008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
715
716        * score/Makefile.am, score/include/rtems/score/threadq.h,
717        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
718        was really too complex to be inlined.
719        * score/src/threadqprocesstimeout.c: New file.
720
7212008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
722
723        * score/Doxyfile: Revert Doxygen version changes.
724
7252008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
726
727        * score/Doxyfile: Update to latest Doxygen format.
728        * score/include/rtems/score/apimutex.h,
729        score/include/rtems/score/corebarrier.h,
730        score/include/rtems/score/coremutex.h,
731        score/include/rtems/score/corerwlock.h,
732        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
733        score/include/rtems/score/protectedheap.h,
734        score/include/rtems/score/thread.h,
735        score/include/rtems/score/threadsync.h,
736        score/include/rtems/score/tod.h,
737        score/inline/rtems/score/corerwlock.inl,
738        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
739        warnings.
740
7412008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
742
743        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
744        available when API is disabled. Do not attempt to use them.
745
7462008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
747
748        * score/include/rtems/system.h: First cut at Doxygen mainpage.
749
7502008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
751
752        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
753        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
754        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
755        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
756        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
757        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
758        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
759        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
760        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
761        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
762        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
763        rtems/src/timerserver.c, score/Makefile.am,
764        score/include/rtems/score/object.h,
765        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
766        score/src/objectgetnameasstring.c,
767        score/src/threadqextractwithproxy.c: Add new Object Services
768        collection. This changed the name of a few previously public but
769        undocumented services and added a some new services.
770        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
771        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
772        rtems/src/rtemsobjectapiminimumclass.c,
773        rtems/src/rtemsobjectgetapiclassname.c,
774        rtems/src/rtemsobjectgetapiname.c,
775        rtems/src/rtemsobjectgetclassicname.c,
776        rtems/src/rtemsobjectgetclassinfo.c,
777        rtems/src/rtemsobjectidapimaximum.c,
778        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
779        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
780        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
781        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
782        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
783        * rtems/src/rtemsidtoname.c: Removed.
784
7852008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
786
787        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
788        switch statements to if statements.
789
7902008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
791
792        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
793        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
794        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
795        as helper and as exposed nmemalign variant with few restrictions.
796        Also turn on compilation of _Heap_Walk but make forced calls to it
797        conditionally compiled. This should allow more flexibility to the
798        user as to run-time checking of the heap.
799        * libcsupport/src/rtems_memalign.c: New file.
800
8012008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
802
803        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
804        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
805        Multiprocessing compiles again and survives initialization. The
806        recent object name and confdefs.h changes had broken it.
807
8082008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
809
810        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
811        score/include/rtems/score/interr.h,
812        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
813        Modifications to aid in full path testing.
814
8152008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
816
817        * posix/src/mqueuesendsupp.c: Remove warning.
818
8192008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
820
821        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
822        in public API.
823
8242008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
825
826        * score/include/rtems/score/object.h,
827        score/src/objectextendinformation.c,
828        score/src/objectinitializeinformation.c,
829        score/src/objectshrinkinformation.c: Eliminate name_table since it is
830        not used.
831
8322008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
833
834        * score/src/objectnametoidstring.c: New file.
835
8362008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
837
838        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
839        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
840        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
841        libmisc/stackchk/check.c, posix/src/condinit.c,
842        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
843        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
844        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
845        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
846        posix/src/prwlockinit.c, posix/src/pspininit.c,
847        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
848        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
849        posix/src/timercreate.c, rtems/src/barrierident.c,
850        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
851        rtems/src/ratemonident.c, rtems/src/regionident.c,
852        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
853        sapi/src/extensionident.c, score/Makefile.am,
854        score/include/rtems/score/object.h,
855        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
856        score/src/objectextendinformation.c,
857        score/src/objectgetnameasstring.c, score/src/objectmp.c,
858        score/src/objectnametoid.c: Convert the Objects_Name type from a
859        simple type to a union of an unsigned 32 bit integer and a pointer.
860        This should help eliminate weird casts between u32 and pointers in
861        various places. The APIs now have to explicitly call _u32 or _string
862        versions of helper routines. This should also simplify things and
863        eliminate the need for ugly casts in some cases.
864        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
865        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
866        score/src/objectcopynamestring.c: Removed.
867
8682008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
869
870        * score/src/threadblockingoperationcancel.c: Clean up.
871        * score/src/threadqextract.c: Restructure to eliminate dead code.
872
8732008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
874
875        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
876        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
877        score/src/threadqdequeuepriority.c: Fix bugs encountered while
878        testing and clean up more code.
879
8802008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
881
882        * score/src/threadqfirst.c: Remove switch.
883
8842008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
885
886        * rtems/include/rtems/rtems/event.h,
887        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
888        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
889        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
890        score/include/rtems/score/interr.h,
891        score/include/rtems/score/thread.h,
892        score/include/rtems/score/threadq.h,
893        score/include/rtems/score/tqdata.h,
894        score/inline/rtems/score/threadq.inl,
895        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
896        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
897        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
898        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
899        score/src/threadqextract.c, score/src/threadqextractfifo.c,
900        score/src/threadqextractpriority.c,
901        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
902        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
903        score/src/threadqflush.c, score/src/threadqrequeue.c,
904        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
905        blocking synchronization critical sections. This resulted in three
906        copies of essentially the same hard to test critical section code
907        becoming the one shared routine _Thread_blocking_operation_Cancel. In
908        addition, the thread queue and event code now share a common
909        synchronization enumerated type. Along the way, switches were
910        reworked to eliminate dead code generated by gcc and comments and
911        copyrights were updated.
912        * score/include/rtems/score/threadsync.h,
913        score/src/threadblockingoperationcancel.c: New files.
914
9152008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
916
917        * libi2c/README_libi2c: Correct spelling error.
918        * score/src/threadclearstate.c: Improve comment.
919
9202008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
921
922        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
923        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
924        posix/src/timergettime.c, posix/src/timersettime.c,
925        score/include/rtems/score/timespec.h:
926
9272008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
928
929        * libmisc/shell/Makefile.am: Don't use make variables.
930
9312008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
932
933        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
934        existing one.
935
9362008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
937
938        * score/include/rtems/score/wkspace.h,
939        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
940        inline _Workspace_Free or _Workspace_Allocate since they are not
941        always inlined and actually smaller overall as subroutines. They are
942        not particularly time critical so inlining is not absolutely
943        necessary.
944
9452008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
946
947        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
948        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
949        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
950        Condition Variable object get helpers because they are more
951        complicated than the norm. They can implicitly perform a create. They
952        cross the line as being too complex and large to inline since they
953        negatively impact size and binary test coverage.
954        * posix/src/condget.c, posix/src/mutexget.c: New files.
955
9562008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
957
958        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
959        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
960        * libcsupport/src/malloc_p.h: Correct prototype.
961
9622008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
963
964        * score/include/rtems/score/coremutex.h,
965        score/src/coremutexseizeintr.c: Fix conditional code for inlining
966        _CORE_mutex_Seize_interrupt_trylock() and add comments.
967
9682008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
969
970        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
971
9722008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
973
974        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
975        libcsupport/src/free.c, libcsupport/src/malloc.c,
976        libcsupport/src/malloc_deferred.c,
977        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
978        libcsupport/src/malloc_sbrk_helpers.c,
979        libcsupport/src/posix_memalign.c: Place all deferred free code and
980        place it in subroutines. Add plugin for dirtying allocated memory to
981        assist in debugging. Clean up comments and spacing as needed.
982        * libcsupport/src/malloc_dirtier.c: New file.
983
9842008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
985
986        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
987        when there is an error.
988
9892008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
990
991        * posix/src/keycreate.c, rtems/src/eventseize.c,
992        score/include/rtems/score/interr.h: Rearranged source to allow more
993        test coverage.
994
9952008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
996
997        * libcsupport/src/__assert.c: Clean up and make __assert() call
998        __assert_func().
999
10002008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1001
1002        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1003        need to have it also.
1004
10052008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1006
1007        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1008        * libcsupport/include/rtems/malloc.h,
1009        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1010        libcsupport/src/malloc_p.h,
1011        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1012        support pluggable and optional.  This eliminates the need for
1013        heap extend and sbrk in the minimum footprint which is ~2.5K on
1014        the SPARC.
1015        * sapi/include/confdefs.h: Add the following configuration points:
1016          + CONFIGURE_MALLOC_STATISTICS
1017          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1018        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1019
10202008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1021
1022        * score/Makefile.am: Add missing file.
1023
10242008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1025
1026        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1027
10282008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1029
1030        * libmisc/Makefile.am: Add new files.
1031        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1032        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1033        * libmisc/shell/shellconfig.h: Add wkspace command.
1034        * libmisc/shell/main_wkspaceinfo.c,
1035        libmisc/shell/print_heapinfo.c: New files.
1036
10372008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1038
1039        * score/inline/rtems/score/isr.inl: Fix spacing.
1040        * score/src/apimutexallocate.c: Fix spacing.
1041        * score/src/coremsgseize.c: Check for message pending instead of
1042        message pending count to avoid dead code from inlined chain routine.
1043        It checks if the chain is empty so is redundant to count == 0.
1044
10452008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1046
1047        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1048        up.
1049
10502008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1051
1052        * posix/src/pthreadcreate.c: Add commit.
1053        * posix/src/pthreadinitthreads.c: Fix line length.
1054
10552008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1056
1057        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1058
10592008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1060
1061        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1062        coding it.
1063
10642008-01-05      Chris Johns <chrisj@rtems.org>
1065
1066        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1067        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1068        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1069        control fields. Add more control fields to handle the flash when
1070        full.
1071        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1072        detects a descriptor is erased. Add support for unavailable blocks
1073        the user can configure. Print the used list as a diag. Fix the bug
1074        when a page is detected as failed and present on more than one
1075        queue. Add a count to the queues so queue length can be used to
1076        manage compaction.
1077       
10782008-01-03      Till Straumann <strauman@slac.stanford.edu>
1079
1080        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1081        cannot call _fini via atexit() from rtems_shutdown_executive()
1082        because at the point where rtems_shutdown_executive is called
1083        the C-library is already dead.
1084        Instead, register an atexit(_fini) after calling _init().
1085
10862007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1087
1088        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1089        Hopefully this implementation is OK.
1090        * libcsupport/src/_rename_r.c: New file.
1091
10922007-12-22      Chris Johns <chrisj@rtems.org>
1093
1094        * configure.ac: fixed bug that always enabled strict order
1095        mutexes.
1096        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1097        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1098        list if the mutex is initialised locked.
1099        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1100        message to show the error is an rtems-net error.
1101        * libmisc/monitor/mon-network.c: Removed warnings.
1102        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1103        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1104        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1105        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1106        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1107        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1108        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1109        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1110        libmisc/shell/warnx.c: New. Ported from BSD.
1111        * libmisc/shell/shellconfig.h: Add the cp command.
1112        * libmisc/Makefile.am: Add the new files to the shell.
1113        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1114        support.
1115        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1116        bug.
1117       
11182007-12-21      Xi Yang <hiyangxi@gmail.com>
1119
1120        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1121        of priority inheritance on mutexes as well as enforce proper order of
1122        release.
1123
11242007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1125
1126        * configure.ac, score/include/rtems/score/coremutex.h,
1127        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1128        inlining coremutex seize. This reduces the code size and also
1129        improves the process of coverage analysis.
1130        * score/src/coremutexseizeintr.c: New file.
1131
11322007-12-21      Xi Yang <hiyangxi@gmail.com>
1133
1134        * configure.ac, score/include/rtems/score/coremutex.h,
1135        score/include/rtems/score/thread.h,
1136        score/inline/rtems/score/coremutex.inl,
1137        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1138        support for proper stacking of priority inheritance on mutexes as
1139        well as enforce proper order of release.
1140
11412007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1142
1143        PR 1268/cpukit
1144        * libcsupport/include/rtems/assoc.h: There is no
1145        rtems_assoc_ptr_by_value method.
1146
11472007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1148
1149        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1150        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1151
11522007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1153
1154        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1155
11562007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1157
1158        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1159
11602007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1161
1162        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1163        rtems_task_self() directive.
1164        * rtems/src/taskself.c: New file.
1165
11662007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1167
1168        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1169        and resolved copyright information.
1170        * posix/src/kill_r.c: New file.
1171
11722007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1173
1174        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1175
11762007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1177
1178        * sapi/include/confdefs.h: Revert. Requires info not available at
1179        preprocessing time.
1180
11812007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1182
1183        * sapi/include/confdefs.h: Catch the error when the user lowers the
1184        maximum number of drivers below the number of statically configured
1185        ones.
1186
11872007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1188
1189        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1190        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1191        Manager clean up. Update object id switches to new pattern. Catch
1192        some NULL parameter errors.
1193
11942007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1195
1196        * posix/src/psignalunblockthread.c: Remove source that
1197
11982007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1199
1200        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1201        only
1202
12032007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1204
1205        * posix/src/psignal.c: Move source around to enable path testing
1206
12072007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1208
1209        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1210        libcsupport/src/free.c, libcsupport/src/malloc.c,
1211        libcsupport/src/malloc_p.h,
1212        libcsupport/src/malloc_report_statistics_plugin.c,
1213        libmisc/shell/shell.c, libmisc/shell/shell.h,
1214        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1215        out management of deferred frees to subroutines.
1216        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1217
12182007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1219
1220        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1221        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1222        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1223        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1224        one function per file. Also split out statistics into a separate file
1225        which can be plugged in dynamically. Right now, it is always in. I
1226        suspect that splitting the file removed more code than leaving
1227        statistics in. I tinkered with malloc information command in the
1228        shell. I resurrected the malloc arena code as malloc boundary. This
1229        code is now compiled all the time even though it does not appear to
1230        work.
1231        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1232        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1233        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1234        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1235        libcsupport/src/malloc_get_statistics.c,
1236        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1237        libcsupport/src/malloc_report_statistics.c,
1238        libcsupport/src/malloc_report_statistics_plugin.c,
1239        libcsupport/src/malloc_statistics_helpers.c,
1240        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1241        libmisc/shell/main_perioduse.c: New files.
1242
12432007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1244
1245        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1246        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1247        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1248        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1249        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1250        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1251        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1252        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1253        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1254        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1255        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1256        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1257        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1258        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1259        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1260        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1261        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1262        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1263        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1264        rtems_Shell_ to rtems_shell_.
1265
12662007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1267
1268        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1269        with info and dump as replacement for older command. Fix what looked
1270        like a typo for mount sub-commands.
1271        * libmisc/shell/main_mallocinfo.c: New file.
1272        * libmisc/shell/main_mallocdump.c: Removed.
1273
12742007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1275
1276        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1277        malloc_info() routine.
1278        * libcsupport/src/mallocinfo.c: New file.
1279
12802007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1281
1282        * libmisc/stackchk/check.c: Add print of current stack pointer and
1283        stack info even if stack checker is not initialized.
1284
12852007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1286
1287        * libcsupport/src/printk.c: Style.
1288
12892007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1290
1291        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1292        required in multiprocessing configuration.
1293
12942007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1295
1296        * score/src/objectget.c: Revert.
1297
12982007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1299
1300        * posix/src/timergettime.c: Include rtems/score/timespec.h
1301
13022007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1303
1304        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1305        posix/include/mqueue.h, posix/include/sched.h,
1306        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1307        posix/include/rtems/posix/priority.h,
1308        posix/include/rtems/posix/psignal.h,
1309        posix/include/rtems/posix/threadsup.h,
1310        posix/include/rtems/posix/timer.h,
1311        posix/inline/rtems/posix/priority.inl,
1312        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1313        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1314        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1315        posix/src/cleanuppush.c, posix/src/cond.c,
1316        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1317        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1318        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1319        posix/src/conddestroy.c, posix/src/condinit.c,
1320        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1321        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1322        posix/src/keycreate.c, posix/src/keydelete.c,
1323        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1324        posix/src/keysetspecific.c, posix/src/mqueue.c,
1325        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1326        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1327        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
1328        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
1329        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
1330        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1331        posix/src/mqueueunlink.c, posix/src/mutex.c,
1332        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
1333        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1334        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1335        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1336        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1337        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1338        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1339        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1340        posix/src/psignal.c, posix/src/psignalchecksignal.c,
1341        posix/src/psignalclearprocesssignals.c,
1342        posix/src/psignalclearsignals.c,
1343        posix/src/psignalsetprocesssignals.c,
1344        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1345        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
1346        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
1347        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
1348        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
1349        posix/src/semclose.c, posix/src/semdestroy.c,
1350        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
1351        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
1352        posix/src/semwait.c, posix/src/setcancelstate.c,
1353        posix/src/setcanceltype.c, posix/src/sysconf.c,
1354        posix/src/testcancel.c: Add missing copyright statements.
1355
13562007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1357
1358        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
1359
13602007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1361
1362        * posix/Makefile.am, posix/preinstall.am,
1363        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
1364        Timer implementation into multiple files. Add obvious error checks
1365        for NULL parameters. Attempt to reduce include files.
1366        * posix/src/timercreate.c, posix/src/timerdelete.c,
1367        posix/src/timergetoverrun.c, posix/src/timergettime.c,
1368        posix/src/timerinserthelper.c, posix/src/timersettime.c,
1369        posix/src/timertsr.c: New files.
1370        * posix/src/ptimer1.c: Removed.
1371
13722007-12-17      Chris Johns <chrisj@rtems.org>
1373
1374        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
1375        libmisc/shell/main_unmount.c: New.
1376        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
1377        blksync, msdosfmt, and unmount commands.
1378
13792007-12-17      Chris Johns <chrisj@rtems.org>
1380
1381        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
1382        system opts table.
1383        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
1384        system opts table.
1385        * libmisc/Makefile.am: Add the mount command and supporting files.
1386        * libmisc/preinstall.am: Rebuilt.
1387        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
1388        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1389        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1390        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1391        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1392        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1393        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1394        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1395        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1396        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1397        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1398        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1399        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1400        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1401        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
1402        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
1403        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
1404        libmisc/shell/write_file.c: Move all shell_* types, variables and
1405        functions to rtems_shell_* to avoid namespace clashes with
1406        applications. The is an RTEMS shell after all.
1407        * libmisc/shell/shell.h, libmisc/shell/internal.h,
1408        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
1409        functions to rtems_shell_* to avoid namespace clashes with
1410        applications. Add the mount command supporting types.
1411        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
1412        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
1413        libmisc/shell/main_mount_tftp.c: New.
1414       
14152007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1416
1417        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
1418
14192007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1420
1421        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
1422        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
1423        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
1424        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1425        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1426        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1427        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1428        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1429        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1430        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1431        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1432        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1433        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1434        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1435        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1436        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1437        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
1438        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
1439        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
1440        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
1441        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
1442        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
1443        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
1444        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
1445        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
1446        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
1447        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
1448        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
1449        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
1450        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
1451
14522007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1453
1454        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
1455        API.
1456
14572007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1458
1459        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
1460        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
1461        Minor cleanup to improve testability and eliminate dead code.
1462
14632007-12-12      Chris Johns <chrisj@rtems.org>
1464
1465        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1466        Add RTEMS license details.
1467
14682007-12-12      Chris Johns <chrisj@rtems.org>
1469
1470        * Makefile.am, preinstall.am: Added
1471        libblock/include/rtems/flashdisk.h to the installed header list.
1472        * libblock/Makefile.am: Add flashdisk.c to the files to build.
1473        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1474        New.
1475
14762007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1477
1478        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
1479        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
1480        score/Makefile.am, score/preinstall.am: Revert testing patch.
1481
14822007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1483
1484        * posix/src/sched_rr_get_interval.c: Fix warning.
1485
14862007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1487
1488        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
1489        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
1490        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
1491        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
1492        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
1493        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
1494        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
1495        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
1496        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
1497        files into one function per file.
1498        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
1499        posix/src/aio_read.c, posix/src/aio_return.c,
1500        posix/src/aio_suspend.c, posix/src/aio_write.c,
1501        posix/src/lio_listio.c, posix/src/sched_getparam.c,
1502        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
1503        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
1504        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
1505        posix/src/sched_yield.c: New files.
1506        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
1507
15082007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1509
1510        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
1511        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
1512        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1513        posix/src/clocksettime.c, posix/src/devctl.c,
1514        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
1515        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
1516        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
1517        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
1518
15192007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1520
1521        * posix/src/adjtime.c: Clean up and verify against behavior documented
1522        in GNU/Linux man page provided with Fedora 7.
1523
15242007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1525
1526        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
1527        automake variables.
1528
15292007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1530
1531        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
1532        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
1533        rtems/src/taskvariabledelete.c: Add test code for task variables to
1534        improve coverage.
1535        * rtems/src/taskvariable_invoke_dtor.c: New file.
1536
15372007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
1538
1539        * posix/preinstall.am: Revert debug patch.
1540
15412007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1542
1543        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
1544        BSP.
1545
15462007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1547
1548        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
1549
15502007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1551
1552        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
1553        disabled.
1554
15552007-12-12      Chris Johns <chrisj@rtems.org>
1556
1557        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
1558        header list.
1559        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
1560        in any order rather than before any commands have been added. Also
1561        made the command's strings be copies rather than references.
1562        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
1563
15642007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1565
1566        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
1567        Move Ada support code that is untestable from the Standard RTEMS Test
1568        Suite into its own directory. All code in score, posix, rtems, and
1569        sapi should be testable by the Standard RTEMS Test Suites. It was
1570        buried under POSIX before so this should be a clearer location
1571        anyway.
1572        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
1573        libgnat/adasupp.c: New files.
1574        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
1575
15762007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1577
1578        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
1579        Reverse file contents.
1580
15812007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
1582
1583        * sapi/include/rtems/config.h: Correct idle task prototype.
1584
15852007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1586
1587        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
1588        libmisc/shell/internal.h, libmisc/shell/shell.c,
1589        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
1590        processing now separated from main command loop. Addition of user
1591        commands and aliases tested. Monitor registration now explicit.
1592        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
1593        libmisc/shell/write_file.c: New files.
1594
15952007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1596
1597        * libmisc/Makefile.am: Fix typo.
1598
15992007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1600
1601        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
1602        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
1603        into multiple files and add initial stages of command configuration.
1604        This seems to work but the monitor commands need to be integrated
1605        this way and the ability to configure user commands needs to be
1606        tested.
1607        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
1608        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
1609        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
1610        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
1611        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
1612        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
1613        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
1614        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
1615        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
1616        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
1617        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
1618        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
1619        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
1620        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
1621        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
1622        libmisc/shell/str2int.c: New files.
1623
16242007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1625
1626        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
1627
16282007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
1629
1630        * sapi/include/rtems/config.h: Fix idle thread prototype.
1631
16322007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1633
1634        * sapi/include/confdefs.h: Separate the concept of configuring the
1635        interrupt stack size from actually reserving memory for it in the
1636        RTEMS Workspace.
1637
16382007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1639
1640        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
1641        installed. It is the initialization interface for both GoAhead and
1642        Simple HTTPD.
1643
16442007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1645
1646        * sapi/include/rtems/config.h: Correct previous commit.
1647
16482007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
1649
1650        * sapi/include/rtems/config.h: Commit temporary fix so
1651        interrupt_stack_size is accessible before RTEMS is initialized.
1652
16532007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
1654
1655        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
1656        sapi/include/rtems/init.h, sapi/src/exinit.c,
1657        score/include/rtems/system.h, score/src/isr.c: Move
1658        interrupt_stack_size field from CPU Table to Configuration Table.
1659        Eliminate CPU Table from all ports. Delete references to CPU Table in
1660        all forms.
1661
16622007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1663
1664        * sapi/include/rtems/config.h: Add accessory macros for Configuration
1665        Table fields merged from CPU Table.
1666
16672007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
1668
1669        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
1670        posix/preinstall.am, posix/include/rtems/posix/cond.h,
1671        posix/include/rtems/posix/mqueue.h,
1672        posix/include/rtems/posix/mutex.h,
1673        posix/include/rtems/posix/pthread.h,
1674        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
1675        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
1676        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
1677        sapi/include/confdefs.h, sapi/include/rtems/config.h,
1678        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
1679        sapi/src/exinit.c, score/include/rtems/system.h,
1680        score/include/rtems/score/mpci.h, score/src/mpci.c,
1681        score/src/thread.c, score/src/threadcreateidle.c,
1682        score/src/threadstackallocate.c, score/src/threadstackfree.c,
1683        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
1684        the Configuration Table. This included pretasking_hook,
1685        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
1686        extra_mpci_receive_server_stack, stack_allocate_hook, and
1687        stack_free_hook. As a side-effect of this effort some multiprocessing
1688        code was made conditional and some style clean up occurred.
1689
16902007-12-03      Chris Johns <chrisj@rtems.org>
1691
1692        * libmisc/shell/shell.h: Added comments for the parameters to the
1693        shell_init function.
1694        * libmisc/shell/shell.c: Only set cflags if tcflags is
1695        non-zero. This means the shell can use the current cflags settings
1696        and the application does not need to know the baudrate etc.
1697        * libmisc/capture/capture.h: Fix the comment.
1698
16992007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1700
1701        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
1702        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
1703        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
1704        rtems/src/dpmemexternal2internal.c,
1705        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
1706        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
1707        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
1708        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
1709        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
1710        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
1711        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
1712        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
1713        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
1714        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
1715        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
1716        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
1717        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
1718        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
1719        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
1720        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
1721        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
1722        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
1723        rtems/src/timercancel.c, rtems/src/timerdelete.c,
1724        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
1725        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
1726        rtems/src/timerserverfirewhen.c: Restructured all code with
1727        the switch (location) pattern so that OBJECTS_LOCAL is first
1728        and we can fall into it and the OBJECTS_ERROR case breaks
1729        to a return RTEMS_INVALID_ID.  This eliminates the return
1730        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
1731        was unreachable and untestable code.  This resulted in a code
1732        savings of approximately 20 bytes per file on the SPARC/ERC32.
1733
17342007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1735
1736        * posix/Makefile.am: Restructed to move the
1737        OBJECTS_LOCAL case to the top of the switch statement and
1738        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1739        changes produced simplier assembly code and allowed for complete
1740        test coverage.  Also applied some consistency to the functions
1741        that translate the core status codes to POSIX status codes.
1742
17432007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1744
1745        * posix/include/rtems/posix/mutex.h,
1746        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
1747        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
1748        posix/src/condwaitsupp.c, posix/src/keydelete.c,
1749        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
1750        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
1751        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1752        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1753        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
1754        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1755        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1756        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
1757        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
1758        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
1759        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1760        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
1761        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
1762        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
1763        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
1764        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
1765        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
1766        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
1767        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
1768        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
1769        posix/src/semclose.c, posix/src/semdestroy.c,
1770        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
1771        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
1772        rtems/src/timerfireafter.c, score/include/rtems/system.h,
1773        score/include/rtems/score/corebarrier.h,
1774        score/include/rtems/score/coremsg.h,
1775        score/include/rtems/score/coremutex.h,
1776        score/include/rtems/score/coresem.h: Restructed to move the
1777        OBJECTS_LOCAL case to the top of the switch statement and
1778        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
1779        changes produced simplier assembly code and allowed for complete
1780        test coverage.  Also applied some consistency to the functions
1781        that translate the core status codes to POSIX status codes.
1782        * posix/src/mutextranslatereturncode.c,
1783        posix/src/semaphoretranslatereturncode.c: New files.
1784        * posix/src/mutexfromcorestatus.c: Removed.
1785
17862007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
1787
1788        * posix/inline/rtems/posix/priority.inl: Fix typo.
1789
17902007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1791
1792        * sapi/src/exinit.c, score/include/rtems/score/object.h,
1793        score/include/rtems/score/thread.h, score/src/object.c,
1794        score/src/thread.c: Conditionally compile out more code that is
1795        specific to multiprocessor configurations.
1796
17972007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1798
1799        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
1800        posix/src/conddestroy.c, posix/src/condinit.c,
1801        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
1802        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1803        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1804        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
1805        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1806        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
1807        posix/src/mutexattrgetprioceiling.c,
1808        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1809        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1810        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1811        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1812        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
1813        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1814        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
1815        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
1816        posix/src/semclose.c, posix/src/semdestroy.c,
1817        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
1818        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
1819        Remove all pretense of POSIX MP support. The support in place was
1820        only a shell. This should make maintenance easier.
1821        * posix/include/rtems/posix/condmp.h,
1822        posix/include/rtems/posix/mqueuemp.h,
1823        posix/include/rtems/posix/mutexmp.h,
1824        posix/include/rtems/posix/pthreadmp.h,
1825        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
1826        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
1827
18282007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1829
1830        * configure.ac, score/inline/rtems/score/thread.inl,
1831        score/src/threaddispatch.c: Add ability for user to disable inlining
1832        of _Thread_Enable_dispatch. This can save code space but more
1833        importantly it means the binary generated does not have code inlined
1834        that is difficult to test and very seldom executed.
1835
18362007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1837
1838        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
1839        rtems/include/rtems/rtems/barrier.h,
1840        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
1841        score/src/corerwlockrelease.c: Fixed several implementation errors.
1842
18432007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1844
1845        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
1846        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
1847        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
1848        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
1849        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
1850        case to the top of the switch statement, have a single exit with one
1851        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
1852        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
1853        code and allowed for complete test coverage.
1854
18552007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1856
1857        * sapi/include/confdefs.h,
1858        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
1859        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1860
18612007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1862
1863        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
1864
18652007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
1866
1867        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
1868        support Thumb.
1869
18702007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1871
1872        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
1873        Now works on gen5200/icecube.
1874
18752007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1876
1877        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
1878
18792007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
1880
1881        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
1882
18832007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1884
1885        * score/include/rtems/score/thread.h: Fix spelling error.
1886
18872007-11-17      Till Straumann <strauman@slac.stanford.edu>
1888
1889        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
1890        Added checks so that use of 'stdio' is avoided (falling
1891        back to 'printk') before the system is up.
1892        Publish driver entry points so that the libi2c driver could
1893        be added to the applications 'device driver table'.
1894        This is not fully implemented yet, though, since in addition to
1895        initializing libi2c the low-level i2c bus drivers as well
1896        as high-level i2c device drivers need to be registered
1897        with the library.
1898        Updated README_libi2c accordingly.
1899
19002007-11-17      Till Straumann <strauman@slac.stanford.edu>
1901
1902        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
1903        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
1904        so that it knows what PHY they want to look at.
1905
19062007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1907
1908        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
1909        in opposite files. Whoops!
1910
19112007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1912
1913        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
1914        of the focus was on the beginning stages of making the login checker
1915        pluggable just like the shell.
1916
19172007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1918
1919        * posix/src/mprotect.c: Update comments.
1920
19212007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1922
1923        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
1924        will require gcc 4.3 or newer.
1925        * posix/src/ada_intrsupp.c: New file.
1926
19272007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1928
1929        * sapi/src/exinit.c, score/Makefile.am,
1930        score/include/rtems/score/apimutex.h: API Mutex calls should never
1931        have been inlined. Inlining them lead to many inlined copies of core
1932        mutex lock. This lead to over 2K savings in the SPARC/ERC32
1933        minimum.exe.
1934        * score/src/apimutex.c, score/src/apimutexallocate.c,
1935        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
1936
19372007-11-07      Till Straumann <strauman@slac.stanford.edu>
1938
1939        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
1940        around _CPU_ISR_Set_level().
1941
19422007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1943
1944        * score/inline/rtems/score/object.inl: During test coverage analysis,
1945        we identified this sanity check which should have been conditional on
1946        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
1947        operations. With all APIs enabled, this saved 352 bytes from the
1948        minimum executable on the SPARC/ERC32.
1949
19502007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
1951
1952        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
1953        compiler conditional attribute for methods that do not return. This
1954        avoids gcc generating unreachable code following calls to
1955        _Internal_error_Occurred.
1956
19572007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1958
1959        * configure.ac: Add ARM/Thumb Makefile.
1960
19612007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1962
1963        PR 1266/cpukit
1964        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
1965        of class for key indexing.
1966
19672007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1968
1969        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
1970        Fix headers and formatting.
1971
19722007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1973
1974        Miscellaneous changes made after a review against the POSIX spec.
1975        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
1976        passes a NULL in the attributes parameter, default attributes are used.
1977        * posix/src/prwlockdestroy.c: If there is at least one thread
1978        waiting, do not allow deletion.
1979        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
1980        operation used to obtain a RWLock for writing.
1981        * posix/src/pspinlocktranslatereturncode.c,
1982        score/include/rtems/score/corespinlock.h,
1983        score/src/corespinlockrelease.c: If the current thread is not the
1984        holder of the lock, do not allow an unlock and return EPERM.
1985        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
1986        for queueing with a timeout handler.
1987
19882007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
1989
1990        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
1991        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
1992        stack so gdb backtrace does not print corrupted frame message after
1993        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
1994        SPARC implementation and I made it more general.
1995
19962007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
1997
1998        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
1999        Cleaned up reports and fixed a bug related the printf format which
2000        resulted in lack of leading zeroes and misleading magnitude.
2001        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2002
20032007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2004
2005        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2006        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2007        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2008        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2009        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2010        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2011        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2012        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2013        posix/src/condinit.c, posix/src/condsignalsupp.c,
2014        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2015        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2016        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2017        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2018        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2019        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2020        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2021        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2022        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2023        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2024        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2025        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2026        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2027        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2028        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2029        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2030        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2031        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2032        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2033        posix/src/semclose.c, posix/src/semdestroy.c,
2034        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2035        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2036        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2037        rtems/src/dpmemexternal2internal.c,
2038        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2039        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2040        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2041        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2042        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2043        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2044        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2045        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2046        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2047        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2048        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2049        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2050        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2051        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2052        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2053        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2054        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2055        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2056        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2057        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2058        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2059        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2060        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2061        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2062        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2063        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2064        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2065        score/src/mpci.c, score/src/objectgetnameasstring.c,
2066        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2067        multiprocessing is disabled, do not even allow the constant
2068        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2069        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2070        in the generation of binary code which can NOT be reached.
2071
20722007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2073
2074        * score/Makefile.am, score/include/rtems/score/thread.h,
2075        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2076        resulted in unnessary code explosion, many uncovered paths when
2077        looking at binary executable coverage, and only optimized getting
2078        self. Id translations were still getting pushed to a subroutine call
2079        to _Objects_Get. Later the non-inlined version can be further
2080        optimized to get Ids in range for the current API, then self, then
2081        look at other APIs.
2082        * score/src/threadget.c: New file.
2083
20842007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2085
2086        * libi2c/README-libi2c
2087        document structure of libi2c library
2088
20892007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2090
2091        * libi2c/libi2c.c, libi2c/libi2c.h:
2092        extend API to support SPI devices
2093        made libi2c.h C++-proof
2094
20952007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2096
2097        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2098        also in another file.  Mistake after splitting.
2099        * libcsupport/Makefile.am: Reflect file removal.
2100
21012007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2102
2103        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2104        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2105        Minor updates from FreeBSD.
2106
21072007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2108
2109        * score/include/rtems/score/copyrt.h: Update year.
2110
21112007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2112
2113        * score/include/rtems/score/copyrt.h: Update year.
2114
21152007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2116
2117        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2118        Fixed check of status when registering driver. Add use of strerror().
2119
21202007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2121        Ralf Corsépius <ralf.corsepius@rtems.org>
2122
2123        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2124        libnetworking/libc/if_indextoname.c,
2125        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2126        * Makefile.am: Add files above.
2127        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2128
21292007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2130
2131        * libmisc/stackchk/check.c: Eliminate output with little information.
2132        Always print a blown message using the same routine. Now works with
2133        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2134        support in your GCC version.
2135
21362007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2137
2138        * libcsupport/src/gxx_wrappers.c: Revert.
2139
21402007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2141
2142        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2143        PRId32 to fix warning.
2144
21452007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2146
2147        * telnetd/passwd.h: New file.
2148
21492007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2150
2151        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2152        telnetd/telnetd.h: telnetd rewrite.
2153        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2154
21552007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2156
2157        PR 1262/filesystem
2158        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2159        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2160        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2161        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2162        writev() including documentation and test case.
2163        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2164
21652007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2166
2167        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2168        document what is required to provide a fully functional
2169        implementation.
2170        * libnetworking/rtems/rtems_socketpair.c: New file.
2171
21722007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2173
2174        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2175        Bump RTEMS_VERSION to 4.8.99.0.
2176
21772007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2178
2179        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2180
21812007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2182
2183        * posix/src/semaphorecreatesupp.c: Fixed warning.
2184
21852007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2186
2187        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2188
21892007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2190
2191        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2192        Use uint32_t for ext_accm.
2193
21942007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2195
2196        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2197        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2198        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2199        fixed-size types instead of BSD fixed-size types.
2200
22012007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2202
2203        * libmisc/stackchk/check.c: Fix alignment of output.
2204
22052007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2206
2207        * libmisc/monitor/monitor.h: Add network commands that were in the
2208        network supplement but not in the code.
2209        * libmisc/monitor/mon-network.c: New file.
2210
22112007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2212
2213        PR 1261/cpukit
2214        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2215        semaphore creation.
2216
22172007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2218
2219        PR 1260/cpukit
2220        * posix/src/pthread.c: Get initial signals blocked from creating
2221        thread not from ourselves.
2222
22232007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2224
2225        * score/src/watchdogtickle.c: Remove tabs.
2226
22272007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2228
2229        PR 1259/rtems
2230        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2231        memory is not guaranteed to be zero.
2232
22332007-09-12  Sergei Organov  <osv@javad.com>
2234
2235        PR 1258/rtems
2236        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2237        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2238        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2239        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2240        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2241        to changed block split strategy in _Heap_Allocate_aligned().
2242
22432007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2244
2245        * libcsupport/src/printk.c: Remove unnecessary comments.
2246
22472007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2248
2249        * libmisc/monitor/mon-monitor.c:
2250        Corrected linked list of rtems_monitor_commands
2251
22522007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2253
2254        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2255        walk on init, malloc, and free. The ability to walk the heap appears
2256        to disappeared during the rework of the C Program heap to skip the
2257        Region.
2258
22592007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2260
2261        * score/src/heap.c: Style.
2262        * score/src/heapwalk.c: Add more information to prints.
2263        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2264        is disabled.
2265
22662007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2267
2268        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2269        * libcsupport/src/printk_plugin.c: New file.
2270        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2271        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2272        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2273        rtems/src/ratemonreportstatistics.c: Added capability to specify
2274        your own "printf" routine to various reporting functions.  This
2275        added an XXX_with_plugin as the underlying implementation for
2276          + rtems_rate_monotonic_report_statistics
2277          + rtems_stack_checker_report_usage
2278          + rtems_cpu_usage_report
2279        As demonstration, the http netdemo can now print out stack
2280        and cpu usage reports.
2281
22822007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2283
2284        * shttpd/compat_rtems.c: Style clean up.
2285
22862007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2287
2288        * rtems/src/ratemonperiod.c: Clean up.
2289        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2290
22912007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2292
2293        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2294
22952007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2296
2297        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2298
22992007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2300
2301        * libmisc/Makefile.am: Add new files.
2302
23032007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2304
2305        * libmisc/monitor/mon-object.c,
2306        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2307        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2308        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2309        Added functionality for osmonweb support
2310
23112007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2312
2313        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2314        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2315        that are needed by osmonweb.
2316
23172007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2318
2319        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2320        Use printk.
2321
23222007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2323
2324        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2325        spacing and spelling.
2326
23272007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2328
2329        PR 1256/networking
2330        * ftpd/ftpd.c: Fix unaligned access.
2331
23322007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2333
2334        * posix/Makefile.am: Always build nanosleep.
2335
23362007-08-17      Chris Johns <chrisj@rtems.org>
2337
2338        * libmisc/capture/README: Minor copyright change.
2339        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
2340        libmisc/capture/capture.h: Fixed the memory leak when lots of
2341        tasks are being created and deleted. Improved the trigger
2342        interface so all task type actions can be caught.
2343
23442007-08-13      Chris Johns <chrisj@rtems.org>
2345
2346        * score/include/rtems/score/object.h: Point the
2347        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2348
23492007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2350
2351        PR 1248/networking
2352        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
2353        reported that when no interfaces are successfully attached, the
2354        default route is broken and may result in a jump to an illegal
2355        address.
2356
23572007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2358
2359        * score/inline/rtems/score/priority.inl: Use size_t instead of
2360          uint32_t for array index.
2361
23622007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2363
2364        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
2365          identify coldfire cpus.
2366
23672007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2368
2369        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
2370          coldfire.
2371
23722007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2373
2374        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
2375          work-around bug m68k/coldfire -fomit-frame-pointer bug
2376          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
2377
23782007-07-27      Chris Johns <chrisj@rtems.org>
2379
2380        * wrapup/Makefile.am: Create archive from a file for hosts
2381        with a limited command line size.
2382
23832007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2384
2385        * include/rtems/bspIo.h, include/rtems/pci.h:
2386        Add extern "C" guards. Reported by
2387        Robert S. Grimes <rsg@alum.mit.edu>.
2388
23892007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2390
2391        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
2392        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
2393        the time appears to be reported correctly and add up to what is
2394        expected.
2395
23962007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2397
2398        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
2399        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
2400        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
2401
24022007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2403
2404        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
2405        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
2406        was always using uptime not time since last cpu usage reset when
2407        using nanoseconds granularity.
2408        * libmisc/cpuuse/cpuusagedata.c: New file.
2409
24102007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
2411
2412        * libcsupport/src/mount.c: Allow null for output parameter.
2413
24142007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2415
2416        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
2417        to shttpd initialization.
2418
24192007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2420
2421        * libcsupport/src/malloc.c: Clean up Malloc debug code.
2422        * score/include/rtems/score/heap.h: Spacing.
2423        * score/inline/rtems/score/thread.inl:
2424        * score/src/heapfree.c. Clean up and add explicit check of the address
2425        being freed actually being in the heap.
2426        * score/src/heapwalk.c: Switch to printk and do not call abort.
2427
24282007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2429
2430        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
2431        area contingent on the stack checker user extension having been
2432        initialized.
2433
24342007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2435
2436        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
2437        and recv(). We already had the BSD versions and these conflict
2438        sometimes when linking.
2439
24402007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2441
2442        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
2443        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2444
24452007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2446
2447        * sapi/include/confdefs.h: Do not instantiate initialization
2448        thas/thread pointer tables for an API that is not configured.
2449
24502007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2451
2452        * libcsupport/Makefile.am:
2453        * libcsupport/src/open_dev_console.c: New file.
2454
24552007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2456
2457        * score/src/corerwlock.c: Make sure structure is fully initialized.
2458        When reused, some fields will not be zero like at initialization.
2459
24602007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2461
2462        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
2463        size. Account for this.
2464
24652007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2466
2467        * configure.ac: Add NDEBUG as a command line compilation option.
2468
24692007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2470
2471        * libmd/.cvsignore: New file.
2472
24732007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2474
2475        * shttpd/defs.h: Eliminate my_strncasecmp.
2476        * shttpd/string.c: Eliminate my_strncasecmp.
2477
24782007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2479
2480        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
2481        * pppd/Makefile.am: Reflect moving out md*.
2482        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
2483          libmd).
2484        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
2485        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
2486        * configure.ac, Makefile.am: Add libmd.
2487
24882007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2489
2490        * shttpd/defs.h: Eliminate my_strlcpy.
2491        * shttpd/string.c: Eliminate my_strlcpy.
2492
24932007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2494
2495        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
2496        * shttpd/string.c: Eliminate my_strdup, my_strndup.
2497        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
2498          libmd.a.
2499
25002007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2501
2502        * wrapup/Makefile.am: Add libmd.a.
2503
25042007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2505
2506        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
2507          Add pppd/libmd.a.
2508        * pppd/md4.c: Don't include pppd.h.
2509
25102007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2511
2512        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
2513
25142007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2515
2516        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
2517        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
2518        Add config.h support.
2519
25202007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2521
2522        * shttpd/compat_rtems.h: Define closesocket.
2523
25242007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2525
2526        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
2527
25282007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2529        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
2530        Use size_t for stack sizes.
2531
25322007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2533
2534        * configure.ac, Makefile.am: Add shttpd.
2535        * shttpd/Makefile.am: New.
2536        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
2537        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
2538        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
2539        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
2540        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
2541        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
2542        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
2543        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
2544        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
2545        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
2546        Import from shttpd-1.37.tar.gz.
2547
25482007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2549
2550        * configure.ac: Remove "pad" from CPU_CONTEXT.
2551
25522007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2553
2554        * score/src/coremsg.c: Formatting.
2555
25562007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2557
2558        * score/include/rtems/score/copyrt.h: Update copyright notice.
2559
25602007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2561
2562        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
2563        one function per file execpt io.c which contains required
2564        initialization methods.
2565        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
2566        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
2567        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
2568        sapi/src/iowrite.c: New files.
2569
25702007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
2571
2572        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
2573        table into Workspace but now it is only done if the application needs
2574        extra slots for dynamic driver registration. Cleaned up
2575        rtems_io_register_driver and rtems_io_unregister_driver code and
2576        added numerous error cases to register.
2577
25782007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2579
2580        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
2581        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
2582        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
2583        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
2584        configuration parameter since it was used to configure a no longer
2585        used feature. Device names are now part of the filesystem not in a
2586        table. This also eliminated the variables _IO_Number_of_devices and
2587        _IO_Driver_name_table from RTEMS as well as the memory allocation
2588        used to populate _IO_Driver_name_table.
2589        * libmisc/monitor/mon-dname.c: Removed.
2590
25912007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2592
2593        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
2594        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
2595        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
2596        unused Workspace. Round the workspace required size to an 8 byte
2597        boundary instead of a 0x400 byte one. We may end up needing to add 8
2598        bytes again to account for the alignment rounding.
2599
26002007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
2601
2602        Yu Chen <chyyuu@gmail.com>
2603        * score/src/corespinlockwait.c: Per question posted as
2604        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
2605        logical operator to <=.
2606
26072007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2608
2609        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
2610        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
2611        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
2612        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
2613        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
2614        executive initialization.
2615
26162007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
2617
2618        * score/src/corerwlockrelease.c: Do not dereference NULL.
2619
26202007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2621
2622        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
2623        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
2624        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
2625        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
2626        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
2627        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
2628        sapi/include/rtems/extension.h: Split Classic API data instantiation
2629        into individual files. This reduces the size of the BSS section when
2630        an optional manager stub is used. Some tests showed about a 600 byte
2631        reduction in BSS size.
2632        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
2633        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
2634        _RTEMS_tasks_Number_of_initialization_tasks because they were only
2635        used in one place after initialized. It was a waste of space.
2636        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
2637        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
2638        rtems/src/ratemondata.c, rtems/src/regiondata.c,
2639        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
2640        sapi/src/extensiondata.c: New files.
2641
26422007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2643
2644        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
2645        functionality into multiple files to eliminate unnecessary cohesion.
2646        Update README.
2647        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
2648        New files.
2649        * libmisc/cpuuse/cpuuse.c: Removed.
2650
26512007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2652
2653        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
2654        negative value in some circumstances. Also cleaned up to share uptime
2655        declaration.
2656
26572007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2658
2659        * ChangeLog, configure.ac, libcsupport/src/__times.c,
2660        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2661        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
2662        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
2663        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
2664        score/Makefile.am, score/include/rtems/score/thread.h,
2665        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
2666        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
2667        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
2668        monotonic period statistics and CPU usage statistics. This capability
2669        is enabled by default although may be conditionally disabled by the
2670        user. It could be too much overhead on small targets but it does not
2671        appear to be bad in early testing. Its impact on code size has not
2672        been evaluated either. It is possible that both forms of statistics
2673        gathering could be disabled with further tweaking of the conditional
2674        compilation.
2675        * score/src/timespecdividebyinteger.c: New file.
2676
26772007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2678
2679        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
2680        functionally similar code here. Also cleanup print formats.
2681
26822007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2683
2684        * score/src/objectgetnameasstring.c: Internal threads use string names
2685        so in the current RTEMS source string object name can NOT be
2686        disabled. It is probably worth considering converting the internal
2687        threads to uint32_t style names so all the support for string names
2688        can be conditionally disabled.
2689
26902007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
2691
2692        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
2693        and greater than operations for timespecs.
2694        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
2695        New files.
2696
26972007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2698
2699        * score/src/objectgetnameasstring.c: Remove bogus ifdef
2700        RTEMS_POSIX_API.
2701
27022007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
2703
2704        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
2705        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
2706        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
2707        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
2708        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
2709        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
2710        score/Makefile.am, score/include/rtems/score/object.h,
2711        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
2712        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
2713        Added the following directives: rtems_rate_monotonic_get_statistics,
2714        rtems_rate_monotonic_reset_statistics,
2715        rtems_rate_monotonic_reset_all_statistics,
2716        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
2717        Obsoleted the rtems/rtmonuse.h file as a public interface.
2718        * rtems/src/ratemongetstatistics.c,
2719        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
2720        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
2721        score/src/objectgetnameasstring.c: New files.
2722        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2723
27242007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2725
2726        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
2727        rtems_io_register_name for use on unix.
2728        * libcsupport/src/unixlibc_io.c: New file.
2729
27302007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2731
2732        * score/src/coremsgseize.c: A blocking sender's message size was
2733        pulled out of the wrong field in the Wait information structure.
2734        * score/src/objectallocate.c: With the new optional manager support,
2735        we only stub out the initialization. This makes it possible to attempt
2736        to create an object with the information structure only initialized
2737        with all zeros.  This ensures we return an error cleanly in this case.
2738
27392007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2740
2741        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
2742        an optional manager, we cannot depend on it do initialize the
2743        internal Allocator Mutex.  This was always a questionable place to
2744        do it, so this is a cleanup.
2745
27462007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2747
2748        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
2749        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
2750        suitable for inclusion in the Users Guide.
2751
27522007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2753
2754        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
2755        ChangeLog-pre2007.
2756        * ChangeLog-pre2007: New file.
2757
27582007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2759
2760        PR 1241/rtems
2761        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
2762        critical section window added with requeueing support.
2763
27642007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2765
2766        * libcsupport/include/rtems/cdefs.h,
2767          libcsupport/include/sys/cdefs.h: Remove.
2768        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
2769        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
2770        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
2771        libnetworking/netdb.h, libnetworking/resolv.h,
2772        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
2773        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
2774        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
2775        libnetworking/net/if.h, libnetworking/net/if_dl.h,
2776        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
2777        libnetworking/rtems/rtems_bsdnet_internal.h,
2778        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
2779        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
2780        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
2781        libnetworking/sys/uio.h, libnetworking/sys/un.h,
2782        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
2783        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
2784        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
2785        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
2786        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
2787        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
2788        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
2789
27902007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2791
2792        * Makefile.am: Reflect introduction of
2793          include/rtems/bsd/sys/cdefs.h.
2794        * include/rtems/bsd/sys/cdefs.h: New.
2795
27962007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2797
2798        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
2799        * libnetworking/sys/queue.h: Remove.
2800
28012007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
2802
2803        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
2804        <machine/endian.h>.
2805        * libnetworking/rtems/rtems_showroute.c,
2806        libnetworking/rtems/rtems_showipstat.c,
2807        libnetworking/rtems/rtems_showtcpstat.c,
2808        libnetworking/rtems/rtems_showicmpstat.c,
2809        libnetworking/rtems/rtems_showmbuf.c,
2810        libnetworking/rtems/rtems_showudpstat.c,
2811        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
2812        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
2813        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
2814        libnetworking/netinet/tcp_usrreq.c,
2815        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
2816        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
2817        libnetworking/netinet/ip_output.c,
2818        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
2819        libnetworking/netinet/udp_usrreq.c,
2820        libnetworking/netinet/tcp_output.c,
2821        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
2822        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
2823        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
2824        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
2825        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
2826        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
2827        instead of <sys/queue.h>.
2828        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
2829        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
2830        libnetworking/net/if.h, libnetworking/net/if_media.h,
2831        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
2832        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
2833        instead of <sys/queue.h>.
2834        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
2835        * include/rtems/bsd/sys/queue.h: New (Copied from
2836          libnetworking/sys/queue.h).
2837
28382007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2839
2840        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
2841        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
2842        score/Makefile.am, score/preinstall.am,
2843        score/include/rtems/score/userext.h, score/src/chain.c,
2844        score/src/userext.c: Switch to newlib reentrancy extension being
2845        installed in the initial set instead of using rtems_extension_create.
2846        While implementing this, noticed that user extensions and chain code
2847        had multiple functions in a single file which is not desirable in the
2848        SuperCore and API portions of RTEMS, so split these into multiple
2849        files with one function per file. Also noticed that some of user
2850        extension code was inlined for no particular reason so moved that to
2851        C bodies.  Split executive shutdown from initialization since not
2852        every application shuts down.  Moved __fini call to executive shutdown
2853        to be more symmetrical with where it is called at startup.
2854        * sapi/src/exshutdown.c, score/src/chainappend.c,
2855        score/src/chainextract.c, score/src/chainget.c,
2856        score/src/chaininsert.c, score/src/userextaddapiset.c,
2857        score/src/userextaddset.c, score/src/userextremoveset.c,
2858        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
2859        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
2860        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
2861        files.
2862        * score/inline/rtems/score/userext.inl: Removed.
2863
28642007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2865
2866        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
2867        reference _Configuration_MP_table if multiprocessing is disabled.
2868
28692007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2870
2871        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
2872        reference _Configuration_MP_table if multiprocessing is disabled.
2873
28742007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2875
2876        * libnetworking/machine/endian.h: Remove.
2877        * libnetworking/Makefile.am: Remove machine/endian.h.
2878        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
2879        libnetworking/rtems/rtems_bsdnet_internal.h: Include
2880        <rtems/endian.h> instead of <machine/endian.h>.
2881        * Makefile.am: Add include/rtems/endian.h.
2882        * include/rtems/endian.h: New (Copied from
2883          libnetworking/machine/endian.h).
2884
28852007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2886
2887        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
2888        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
2889        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
2890        of <stdint.h>.
2891        * libnetworking/machine/endian.h: Remove
2892          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2893        * NEWS: new.
2894
28952007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
2896
2897        PR 1243
2898        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
2899
29002007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2901
2902        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
2903        to inline functions, using uint[16,32]_t.
2904        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
2905        with SUSv3.
2906        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
2907        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
2908        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
2909        Add HAVE_CONFIG_H magic.
2910        * libnetworking/libc/gethostbydns.c,
2911        libnetworking/libc/inet_net_ntop.c,
2912        libnetworking/libc/inet_pton.c: Eliminate __P.
2913        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
2914        return value of ntohl (POSIX requirement).
2915        Use UINT32_C macros to avoid overflows on 16bit targets.
2916        Eliminate __P.
2917        * configure.ac: Check for working PRIxPTR.
2918
29192007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
2920
2921        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
2922        score/src/threadinitialize.c, score/src/threadstackallocate.c:
2923        Use size_t for stack sizes.
2924
29252007-05-03      Joel Sherrill <joel@OARcorp.com>
2926
2927        * ChangeLog, libcsupport/src/malloc.c,
2928        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
2929        score/Makefile.am, score/preinstall.am: malloc never blocks so the
2930        Region Manager is quite heavy for implementing this. This patch
2931        implements the C Program Heap directly in terms of the new Protected
2932        Heap handler. This handler is a direct use of a SuperCore Heap in
2933        conjunction with the Allocator Mutex used internally by RTEMS. This
2934        saves 3184 bytes on most SPARC test executables.
2935        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
2936        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
2937        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
2938        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
2939        score/src/pheapinit.c, score/src/pheapresizeblock.c,
2940        score/src/pheapwalk.c: New files.
2941
29422007-05-03      Joel Sherrill <joel@OARcorp.com>
2943
2944        * libcsupport/src/rmdir.c: Fixed spacing.
2945        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
2946        newlibc.c. It is not required for minimum executing and drops 624
2947        from SPARC minimum executable.
2948        * libcsupport/src/newlibc_exit.c: New file.
2949
29502007-04-17      Joel Sherrill <joel@OARcorp.com>
2951
2952        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
2953        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
2954        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
2955        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
2956        rtems/src/taskinitusers.c, rtems/src/tasks.c,
2957        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
2958        reduce executable size. Most were refactoring of files. Split ITRON
2959        API files. Implemented mechanism to avoid initialization task/thread
2960        loop being linked in when that style of task initialization was not
2961        being used.
2962        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
2963        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
2964        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
2965        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
2966        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
2967        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
2968        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
2969        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
2970        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
2971        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
2972        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
2973        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
2974        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
2975        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
2976        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
2977        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
2978        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
2979        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
2980        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
2981        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
2982        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
2983
29842007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
2985
2986        * score/include/rtems/score/thread.h:
2987          Use Context_Control_fp* instead of void* for fp_contexts.
2988
29892007-04-16      Joel Sherrill <joel@OARcorp.com>
2990
2991        PR 1240/filesystem
2992        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
2993        for filename was not being freed.
2994
29952007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2996
2997        * pppd/utils.c: Use uintptr_t instead of unsigned long.
2998
29992007-04-16      Joel Sherrill <joel@OARcorp.com>
3000
3001        * itron/src/rsm_tsk.c: Correct error returned.
3002
30032007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3004
3005        * configure.ac: Redefine LIBPOSIX to !UNIX.
3006        * posix/src/usleep.c, libcsupport/src/readlink.c:
3007        Update API to SUSv3.
3008
30092007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3010
3011        * posix/Makefile.am: Unconditionally build src/sleep.c,
3012          src/usleep.c.
3013        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3014          CLOCK_MONOTONIC case.
3015        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3016
30172007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3018
3019        * posix/Makefile.am: Cosmetics.
3020        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3021        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3022
30232007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3024
3025        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3026          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3027        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3028          rtems/posix/time.h.
3029        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3030          rtems/posix/time.h.
3031        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3032
30332007-04-12      Joel Sherrill <joel@OARcorp.com>
3034
3035        * itron/src/rsm_tsk.c: Correct error returned.
3036
30372007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3038
3039        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3040
30412007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3042
3043        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3044        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3045        _impure_ptr bug).
3046        Fix abuse of _REENT_INIT().
3047
30482007-04-05      Joel Sherrill <joel@OARcorp.com>
3049
3050        * itron/src/itrontime.c: Fix typo.
3051        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3052        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3053        * score/src/threaddispatch.c: Formatting.
3054
30552007-04-05      Joel Sherrill <joel@OARcorp.com>
3056
3057        * posix/Makefile.am: Fix formatting.
3058
30592007-04-05      Joel Sherrill <joel@OARcorp.com>
3060
3061        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3062        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3063        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3064        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3065        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3066        posix/src/pthread.c, posix/src/pthreadcreate.c,
3067        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3068        posix/src/sched.c, posix/src/semtimedwait.c,
3069        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3070        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3071        score/preinstall.am, score/include/rtems/score/tod.h,
3072        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3073        score/src/coretodget.c, score/src/coretodgetuptime.c,
3074        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3075        manipulation routines in the SuperCore. Use them everywhere possible.
3076        This lead to significant cleanup in the API routines and eliminated
3077        some of the same code from the POSIX API. At this point, the
3078        SuperCore keeps time in POSIX timespec format properly from 1970. You
3079        just cannot set it before 1988 in keeping with RTEMS traditional
3080        behavior.
3081        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3082        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3083        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3084        score/src/timespectoticks.c: New files.
3085        * posix/src/posixintervaltotimespec.c,
3086        posix/src/posixtimespecsubtract.c,
3087        posix/src/posixtimespectointerval.c: Removed.
3088
30892007-04-04      Joel Sherrill <joel@OARcorp.com>
3090
3091        * score/Makefile.am, score/include/rtems/score/tod.h,
3092        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3093        non-inlined routine. It should only be used once so there is little
3094        advantage to inlining it.
3095        * score/src/coretodtickle.c: New file.
3096
30972007-04-02      Joel Sherrill <joel@OARcorp.com>
3098
3099        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3100        dead code.
3101        * posix/src/time.c: Removed.
3102
31032007-04-02      Joel Sherrill <joel@OARcorp.com>
3104
3105        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3106        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3107        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3108        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3109        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3110        TOD_Ticks_per_second variable.
3111
31122007-04-02      Joel Sherrill <joel@OARcorp.com>
3113
3114        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3115        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3116        posix/src/clockgettime.c, posix/src/clocksettime.c,
3117        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3118        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3119        posix/src/sleep.c, rtems/Makefile.am,
3120        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3121        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3122        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3123        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3124        score/Makefile.am, score/include/rtems/score/tod.h,
3125        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3126        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3127        fundamental time structure to POSIX struct timespec. Add
3128        clock_get_uptime().
3129        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3130        score/src/coretodgetuptime.c: New files.
3131        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3132        score/src/coretodvalidate.c: Removed.
3133
31342007-04-02      Joel Sherrill <joel@OARcorp.com>
3135
3136        * libcsupport/src/printk.c: Add %p support.
3137
31382007-04-02      Joel Sherrill <joel@OARcorp.com>
3139
3140        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3141        in addition to the pattern area being overwritten. Also do some
3142        cleanup.
3143
31442007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3145
3146        * include/rtems/pci.h: Further stdint.h fixed-size types.
3147
31482007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3149
3150        * include/rtems/pci.h: Use stdint.h fixed size-types.
3151
31522007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3153
3154        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3155        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3156        * libnetworking/Makefile.am: Move libc/res_config.h to
3157          libc_a_SOURCES (File is being used).
3158        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3159        Remove (Unused).
3160        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3161        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3162        Remove (Unused).
3163        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3164
31652007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3166
3167        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3168        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3169        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3170        libnetworking/libc/gethostbynis.c,
3171        libnetworking/libc/gethostnamadr.c,
3172        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3173        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3174        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3175        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3176        libnetworking/libc/getservbyname.c,
3177        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3178        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3179        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3180        libnetworking/libc/inet_net_ntop.c,
3181        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3182        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3183        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3184        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3185        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3186        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3187        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3188        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3189        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3190        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3191        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3192        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3193        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3194        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3195        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3196        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3197        SCCS, LINT. Add HAVE_CONFIG_H.
3198        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3199
32002007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3201
3202        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3203          uintptr_t.
3204
32052007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3206
3207        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3208        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3209
32102007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3211
3212        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3213        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3214        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3215        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3216        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3217        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3218        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3219        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3220        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3221        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3222        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3223        (Abandoned in FreeBSD).
3224        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3225        (Abandoned in FreeBSD).
3226        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3227        (Abandoned in FreeBSD).
3228        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3229        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3230
32312007-03-28      Chris Johns <chrisj@rtems.org>
3232
3233        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3234        score/include/rtems/score/watchdog.h: Add support for a handler to
3235        obtain the number of nanoseconds since the last clock tick. The
3236        primary interface for this is rtems_clock_set_nanoseconds_extension.
3237        Subsequent commits from Joel will redo the TOD support to use this
3238        capability.
3239        * rtems/src/clocksetnsecshandler.c: New file.
3240
32412007-03-28      Joel Sherrill <joel@OARcorp.com>
3242
3243        PR 1234/cpukit
3244        * libcsupport/Makefile.am: Provide printk() based implementation of
3245        __assert() to reduce dependencies in executables.
3246        * libcsupport/src/__assert.c: New file.
3247
32482007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3249
3250        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3251        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3252        * libnetworking/net/ppp-comp.h: Remove (Unused).
3253        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3254        * libnetworking/sys/buf.h: Remove (Unused).
3255        * libnetworking/Makefile.am: Remove sys/buf.h.
3256        * libnetworking/kern/kern_sysctl.c,
3257        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3258        <sys/buf.h>.
3259        *  libcsupport/include/sys/sockio.h: Partial update from
3260          FreeBSD.
3261
32622007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3263
3264        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3265        * libnetworking/netinet/igmp.c: Eliminate __P().
3266        * libnetworking/netinet/in.c: Eliminate __P().
3267        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3268        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3269        * libnetworking/netinet/ip_output.c: Eliminate __P().
3270
32712007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3272
3273        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3274        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3275        Change int args to intptr_t because they are casted to pointers.
3276        * libnetworking/netinet/tcp_usrreq.c,
3277        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3278
32792007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3280
3281        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3282        "long", because long is not guaranteed to be castable to char*.
3283        * libnetworking/netinet/ip_input.c: Eliminate __P().
3284        Change "int next" to "int32_t next" for 16bit targets.
3285        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3286        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3287        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3288        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3289        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3290        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3291        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3292
32932007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3294
3295        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3296        Remove (Abandoned in FreeBSD).
3297        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3298        net/pppcompress.h.
3299        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3300        net/pppcompress.h.
3301        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3302        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3303        net/pppcompress.h.
3304
33052007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3306
3307        * libnetworking/net/pppcompress.h: Eliminate __P().
3308        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3309        * libnetworking/net/if_llc.h: Update from FreeBSD.
3310
33112007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3312
3313        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3314          <net/ppp-comp.h>.
3315        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3316        Warn about using it.
3317        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3318        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3319        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3320          FreeBSD.
3321        * libnetworking/machine/in_cksum.h: Eliminate __P().
3322        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3323        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3324        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3325        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
3326        Eliminate __P().
3327        * libcsupport/src/scandir.c: Eliminate __P().
3328        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
3329        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
3330        Eliminate __P().
3331        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
3332        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
3333        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
3334
33352007-03-26      Joel Sherrill <joel@OARcorp.com>
3336
3337        PR 1231/cpukit
3338        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
3339        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
3340        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
3341        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
3342        posix/src/mutexattrgetprioceiling.c,
3343        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
3344        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
3345        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
3346        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
3347        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
3348        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
3349        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
3350        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
3351        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
3352        posix/src/posixtimespecsubtract.c,
3353        posix/src/posixtimespectointerval.c,
3354        posix/src/psignalclearprocesssignals.c,
3355        posix/src/psignalclearsignals.c,
3356        posix/src/psignalsetprocesssignals.c,
3357        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
3358        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
3359        unneeded includes of assert.h
3360
33612007-03-26      Joel Sherrill <joel@OARcorp.com>
3362
3363        * libcsupport/include/rtems/assoc.h: Pick up the include file
3364        changes associated with the file splitting.
3365
33662007-03-26      Joel Sherrill <joel@OARcorp.com>
3367
3368        * libcsupport/Makefile.am: Pick up the Makefile changes associated
3369        with the file splitting.
3370
33712007-03-26      Joel Sherrill <joel@OARcorp.com>
3372
3373        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
3374        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
3375        this will not be deemed necessary to commit to the 4.7 branch.
3376        * libcsupport/src/assoclocalbyname.c,
3377        libcsupport/src/assoclocalbyremote.c,
3378        libcsupport/src/assoclocalbyremotebitfield.c,
3379        libcsupport/src/assocnamebylocal.c,
3380        libcsupport/src/assocnamebylocalbitfield.c,
3381        libcsupport/src/assocnamebyremote.c,
3382        libcsupport/src/assocnamebyremotebitfield.c,
3383        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
3384        libcsupport/src/assocptrbyremote.c,
3385        libcsupport/src/assocremotebylocal.c,
3386        libcsupport/src/assocremotebylocalbitfield.c,
3387        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
3388        libcsupport/src/write_r.c: New files.
3389
33902007-03-26      Joel Sherrill <joel@OARcorp.com>
3391
3392        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
3393        support and remove deadcode. Replace with comment explaining that
3394        behavior is compatible with GNU/Linux per Eric Norum.
3395
33962007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3397
3398        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
3399        Partial update from FreeBSD.
3400        * libnetworking/netinet/if_ether.h: Eliminate __P().
3401        * libnetworking/netinet/ip_var.h: Eliminate __P().
3402        * libnetworking/netinet/in.h: Eliminate __P().
3403        * libnetworking/netinet/tcp_var.h: Eliminate __P().
3404
34052007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3406
3407        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
3408        Remove __P();
3409        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
3410
34112007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3412
3413        * libnetworking/netinet/in_var.h: Remove __P().
3414        * libnetworking/netinet/in_systm.h: Remove __P().
3415        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
3416        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
3417        * libnetworking/netinet/if_ether.c: Remove __P().
3418        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
3419        More updates from FreeBSD.
3420        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
3421        libnetworking/net/route.h: Partial update from FreeBSD.
3422
34232007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3424
3425        * libnetworking/Makefile.am: Remove nfs/krpc.h.
3426        * libnetworking/nfs/krpc.h: Remove (Unused).
3427        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
3428        * libnetworking/Makefile.am: Remove nfs/nfs.h.
3429        * libnetworking/nfs/nfs.h: Remove (Unused).
3430
34312007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3432
3433        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
3434          symbols.
3435        * libnetworking/sys/conf.h: Don't include machine/conf.h.
3436        Update copyright notice.
3437        Remove unused/non-implemented declarations.
3438        * libnetworking/Makefile.am: Remove machine/conf.h.
3439        * libnetworking/machine/conf.h: Remove.
3440
34412007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3442
3443        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
3444        Remove many non-supported/unused declarations.
3445
34462007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3447
3448        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
3449          crhold (Unused/non-implemented).
3450
34512007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3452
3453        * libnetworking/sys/ucred.h: Remove __P().
3454        * libnetworking/sys/callout.h: Remove __P().
3455        * libnetworking/sys/domain.h: Remove __P().
3456        * libnetworking/sys/socketvar.h: Remove __P().
3457        * libnetworking/sys/socket.h: Remove __P().
3458        * libnetworking/sys/select.h: Remove __P().
3459        * libnetworking/sys/kernel.h: Remove __P().
3460        * libnetworking/sys/protosw.h: Remove __P().
3461        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
3462        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
3463        swdevt, nswdev, nswap (Unused).
3464
34652007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3466
3467        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
3468        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
3469        instead of struct linesw (PR 1229)
3470        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
3471        around clash with defines from rtems_bsdnet_internal.h.
3472        * score/src/heapwalk.c: include stdlib.h.
3473
34742007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3475
3476        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
3477        Remove __P().
3478        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
3479        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
3480        Remove __P().
3481        * libcsupport/include/rtems/termiostypes.h,
3482        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
3483        with rtems_termios_*.
3484        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
3485        (Clash with termiostypes.h - PR 1229).
3486
34872007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3488
3489        * score/include/rtems/score/wkspace.h,
3490        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
3491        Change _Workspace_Handler_initialization and
3492        _Workspace_Allocate_or_fatal_error to using size_t.
3493        * libnetworking/sys/rtprio.h: Remove (Unused).
3494        * libnetworking/Makefile.am: Remove sys/rtprio.h.
3495
34962007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3497
3498        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
3499        Remove __P().
3500
35012007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3502
3503        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
3504          to fix warnings.
3505        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
3506        * score/include/rtems/score/chain.h, score/src/chain.c:
3507        Change _Chain_Initialize to using size_t.
3508
35092007-03-12      Joel Sherrill <joel@OARcorp.com>
3510
3511        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
3512        Dump_Buffer to rtems_print_buffer.
3513
35142007-03-12      Joel Sherrill <joel@OARcorp.com>
3515
3516        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
3517        license URL and/or fix mistake in copyright notice. Both of these
3518        mistakes appear to be from code submitted after these changes were
3519        made previously.
3520
35212007-03-10      Joel Sherrill <joel@OARcorp.com>
3522
3523        PR 1226/cpukit
3524        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
3525        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
3526
35272007-03-08      Joel Sherrill <joel@OARcorp.com>
3528
3529        * libfs/src/imfs/imfs.h: Fix comment.
3530
35312007-03-08      Joel Sherrill <joel@OARcorp.com>
3532
3533        * libfs/src/imfs/imfs.h: Fix comment.
3534
35352007-03-08      Joel Sherrill <joel@OARcorp.com>
3536
3537        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
3538        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
3539
35402007-03-08      Joel Sherrill <joel@OARcorp.com>
3541
3542        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
3543        Remove wrapper for message queue send and urgent and implement them
3544        directly. There was an unnecessary function call layer in addition to
3545        conditions in the shared routine. Directly coding both directives is
3546        simpler and should result in smaller code.
3547        * rtems/src/msgqsubmit.c: Removed.
3548
35492007-03-05      Joel Sherrill <joel@OARcorp.com>
3550
3551        PR 1222/cpukit
3552        * score/Makefile.am, score/include/rtems/score/coremutex.h,
3553        score/include/rtems/score/threadq.h,
3554        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
3555        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
3556        score/src/threadclearstate.c, score/src/threadhandler.c,
3557        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
3558        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
3559        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
3560        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
3561        score/src/threadsetstate.c: Enhance so that when the prioirity of a
3562        thread that is blocked on a priority based thread queue is changed,
3563        that its placement in the queue is reevaluated based upon the new
3564        priority. This enhancement includes modifications to the SuperCore as
3565        well as new test cases.
3566        * score/src/threadqrequeue.c: New file.
3567
35682007-03-05      Joel Sherrill <joel@OARcorp.com>
3569
3570        * sapi/src/exinit.c: Fix spacing.
3571
35722007-03-05      Joel Sherrill <joel@OARcorp.com>
3573
3574        PR 1221/cpukit
3575        * posix/src/pthreadequal.c: Fix critical section nesting.
3576
35772007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
3578
3579        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
3580          compiled files.
3581
35822007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
3583
3584        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
3585
35862007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
3587
3588        * score/Makefile.am: Remove macros/README.
3589
35902007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
3591
3592        * score/include/rtems/score/heap.h, score/src/heap.c,
3593        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
3594        More size_t for heap-sizes.
3595        * score/include/rtems/score/heap.h, score/src/heap.c,
3596        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
3597        heap-sizes.
3598        * libnetworking/resolv.h: Typo fixes. Remove __P().
3599
36002007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
3601
3602        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
3603        Use size_t for stack-sizes.
3604
36052007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
3606
3607        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
3608          functions.
3609        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
3610        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
3611
36122007-02-06      Till Straumann <strauman@slac.stanford.edu>
3613
3614        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
3615        taskvar dtor to plug memory leak. Applied patch attached
3616        to PR#690.
3617
36182007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3619
3620        * libcsupport/src/getpagesize.c: New (moved from posix/src).
3621        * posix/src/getpagesize.c: Removed.
3622        * posix/Makefile.am: Remove references to getpagesize.c.
3623        * libcsupport/Makefile.am: Add getpagesize.c.
3624
36252007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3626
3627        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
3628        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
3629          visible.
3630        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
3631
36322007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3633
3634        * rtems/src/msgqsend.c: Use size_t for sizes.
3635        * rtems/src/msgqurgent.c: Use size_t for sizes.
3636        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
3637        * rtems/src/msgmp.c: Use size_t for sizes.
3638        * rtems/src/msgqsubmit.c: Use size_t for sizes.
3639        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
3640        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3641        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
3642
36432007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
3644
3645        * itron/src/trcv_mbf.c: Use size_t for sizes.
3646        * libmisc/monitor/mon-object.c: Use size_t for sizes.
3647        * libmisc/monitor/mon-server.c: Use size_t for sizes.
3648        * libmisc/monitor/monitor.h: Use size_t for sizes.
3649        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
3650        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
3651        * rtems/src/msgqreceive.c: Use size_t for sizes.
3652        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
3653        * score/src/coremsgseize.c: Use size_t for sizes.
3654
36552007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
3656
3657        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
3658        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
3659        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
3660        * score/src/coremsgbroadcast.c: Use size_t for sizes.
3661        * score/src/coremsgsubmit.c: Use size_t for sizes.
3662
36632007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3664
3665        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
3666
36672007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3668
3669        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
3670
36712007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3672
3673        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
3674        Remove isblank (supposed to be provided by libc).
3675
36762007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3677
3678        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
3679
36802007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3681
3682        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
3683         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
3684        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
3685        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
3686        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
3687
36882007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3689
3690        * score/include/rtems/system.h:
3691        #define __RTEMS_MINOR__ 7 (BZ 1206).
3692
36932007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3694
3695        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
3696        export some internal variables to make them available in
3697        "show_bdbuf" monitor add-on
3698
36992007-01-16      Till Straumann <strauman@slac.stanford.edu>
3700
3701        * libnetworking/rtems/rtems_mii_ioctl.c,
3702        libnetworking/rtems/rtems_mii_ioctl.h,
3703        libnetworking/rtems/rtems_mii_ioctl_kern.c,
3704        libi2c/libi2c.c, libi2c/libi2c.h:
3705        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
3706
37072007-01-09      Joel Sherrill <joel@OARcorp.com>
3708
3709        * libcsupport/src/error.c: rtems_progname is no longer defined in
3710        the BSP startup since it never held a meaningful value.
3711
37122007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
3713
3714        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
3715        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.