source: rtems/cpukit/ChangeLog @ 28351f32

4.104.114.95
Last change on this file since 28351f32 was 28351f32, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/29/08 at 11:50:20

2008-07-29 Ralf Corsépius <ralf.corsepius@…>

  • libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h: Add missing prototypes.
  • Property mode set to 100644
File size: 166.7 KB
Line 
12008-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
2
3        * libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
4        libmisc/monitor/monitor.h: Add missing prototypes.
5        * score/inline/rtems/score/tod.inl: Add prototypes.
6        * score/src/coretodset.c: Remove stray args in function call.
7        * libcsupport/include/rtems/libcsupport.h,
8        libcsupport/include/rtems/libio_.h,
9        libcsupport/src/malloc_statistics_helpers.c,
10        libcsupport/src/scandir.c: Add prototypes.
11        * telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
12        * posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
13        posix/src/prwlockrdlock.c: Use C-style comments.
14
152008-07-29      Chris Johns <chrisj@rtems.org>
16
17        * libblock/src/nvdisk.c: Fix block compile bug.
18
192008-07-29      Chris Johns <chrisj@rtems.org>
20
21        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
22        Update the comments.
23
242008-07-29      Chris Johns <chrisj@rtems.org>
25
26        * libblock/Makefile.am: Removed src/show_bdbuf.c.
27
28        * libblock/src/show_bdbuf.c: Removed.
29
30        * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
31        Rewritten the bdbuf code. Remove pre-emption disable, score
32        access, fixed many bugs and increased performance.
33
34        * libblock/include/rtems/blkdev.h: Added
35        RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
36        comments. Added block and user fields to the sg buffer
37        request. Move to rtems_* namespace.
38
39        * libblock/include/rtems/diskdevs.h,
40        cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
41        capabilities field for drivers. Change rtems_disk_lookup to
42        rtems_disk_obtain to match the release call. You do not lookup and
43        release a disk, you obtain and release a disk.
44
45        * libblock/include/rtems/ide_part_table.h,
46        libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
47        Move to rtems_* namespace.
48
49        * libblock/include/rtems/nvdisk.h: Formatting change.
50
51        * libblock/src/blkdev.c: Move to rtems_* namespace. Change
52        rtems_disk_lookup to rtems_disk_obtain
53
54        * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
55        support for the block number in the scatter/grather request
56        struct. This allows non-continuous buffer requests for those
57        drivers that can support increasing performance.
58
59        * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
60        warnings. Added better error checking. Fixed some comments.
61
62        * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
63        trace functions to help debugging upper layers. Use the new
64        support for the block number in the scatter/grather request
65        struct. This allows non-continuous buffer requests for those
66        drivers that can support increasing performance.
67
68        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
69        API. Removed temporary hack and changed
70        set_errno_and_return_minus_one to
71        rtems_set_errno_and_return_minus_one. Move fat_buf_access from
72        header and stopped it being inlined. Updated to libblock changes.
73       
74        * libfs/src/dosfs/fat_fat_operations.c,
75        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
76        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
77        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
78        libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
79        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
80        new chains API. Removed temporary hack and changed
81        set_errno_and_return_minus_one to
82        rtems_set_errno_and_return_minus_one. Updated to libblock changes.
83
84        * libmisc/Makefile.am: Add new ls and rm command files.
85
86        * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
87        libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
88        libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
89        libmisc/shell/vis.c, shell/vis.h: New.
90
91        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
92        libmisc/shell/utils-cp.c: Fixed the usage call bug.
93
94        * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
95        command.
96
97        * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
98        commands with more features.
99       
100        * score/src/coremutex.c: Fix the strick order mutex code.
101
102        * libmisc/shell/shell.c: Change shell tasks mode to be timeslice
103        and no ASR.
104       
105        * sapi/include/confdefs.h: Change ata_driver_task_priority to
106        rtems_ata_driver_task_priority. Add the new BD buf cache
107        parameters with defaults.
108
109        * score/src/interr.c: Do not return if the CPU halt call returns.
110       
1112008-07-24     Sebastian Huber <sebastian.huber@embedded-brains.de>
112
113        * libcsupport/include/rtems/libcsupport.h: Moved declaration of
114        bsp_libc_init() into new bootcard.h.
115
116        * cpukit/include/rtems/irq-extension.h: New function
117        rtems_interrupt_handler_iterate() for system information and
118        diagnostics.
119
1202008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
121
122        * libmisc/shell/shell_script.c: Clean up code for command not found
123        including the error message.
124
1252008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
126
127        * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
128        libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
129        libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
130        libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
131        libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
132        internal routine. This makes it possible to also print string names
133        of POSIX objects. Adjust task report to realign since we can have
134        longer names.
135
1362008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
137
138        * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
139        body is now completely configured via the Configuration table.
140
1412008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
142
143        PR 1291/cpukit
144        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
145        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
146        posix/include/rtems/posix/semaphore.h,
147        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
148        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
149        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
150        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
151        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
152        posix/src/posixtimespecabsolutetimeout.c,
153        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
154        posix/src/semaphoretranslatereturncode.c,
155        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
156        posix/src/semtrywait.c, posix/src/semwait.c,
157        posix/src/sigtimedwait.c, posix/src/timersettime.c,
158        posix/src/ualarm.c, rtems/src/semobtain.c,
159        rtems/src/semtranslatereturncode.c,
160        score/include/rtems/score/coremutex.h,
161        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
162        patch addresses issues on implementation of the timeout on the
163        following POSIX services. Some of these services incorrectly took a
164        timeout as a relative time. Others would compute a 0 delta to timeout
165        if the absolute time and the current time were equal and thus
166        incorrectly block the caller forever. The root of the confusion is
167        that POSIX specifies that if the timeout is incorrect (e.g. in the
168        past, is now, or is numerically invalid), that it does not matter if
169        the call would succeed without blocking. This is in contrast to RTEMS
170        programming style where all errors are checked before any critical
171        sections are entered. This fix implemented a more uniform way of
172        handling POSIX absolute time timeouts.
173            + pthread_cond_timedwait - could block forever
174            + mq_timedreceive - used relative not absolute time
175            + mq_timedsend - used relative not absolute time
176            + pthread_mutex_timedlock - used relative not absolute time
177            + pthread_rwlock_timedrdlock- used relative not absolute time
178            + pthread_rwlock_timedwrlock- used relative not absolute time
179            + sem_timedwait - could block forever
180
1812008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
182
183        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
184        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
185        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
186        libmisc/shell/main_whoami.c: Add pthread command to monitor when
187        POSIX is enabled. Remove include of rtems/monitor.h from files not
188        related.
189
1902008-07-16      Till Straumann <strauman@slac.stanford.edu>
191
192        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
193        use ppc_interrupt_get_disable_mask() to determine
194        which bits to set/clear from _CPU_ISR_Set_level().
195
1962008-07-16      Till Straumann <strauman@slac.stanford.edu>
197
198        * score/cpu/powerpc/rtems/powerpc/registers.h:
199        added ppc_interrupt_get_disable_mask() inline function.
200
2012008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
202
203        * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
204
2052008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
206
207        * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
208        for rtems_shell_init(). This makes it possible to run the shell
209        forever or invoke it from a program as a subroutine, have a user
210        enter commands, and wait for it to exit.
211
2122008-07-15      Joel Sherrill <joel.sherrill@oarcorp.com>
213
214        * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
215        RTEMS version string.
216        * sapi/src/getversionstring.c: New file.
217
2182008-07-10     Peter Rasmussen <Peter.Rasmussen@embedded-brains.de>
219
220        * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h,
221        cpukit/score/cpu/m68k/rtems/score/cpu.h,
222        score/cpu/m68k/rtems/score/m68k.h:
223
224        added support to save coldfire FPU/EMAC context
225
2262008-07-10     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
227
228        * libi2c/libi2c.c, libi2c/libi2c.h:
229        make buffer passed to *write* functions a const pointer
230
231
2322008-07-10      Till Straumann <strauman@slac.stanford.edu>
233
234        * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
235        cpukit/score/cpu/powerpc/rtems/score/cpu.h,
236        cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
237        Removed all macro definitions which depended on
238        the compiler defining a PPC CPU-model dependent
239        symbol.
240        Macros which were not used by cpukit have been
241        moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
242       
2432008-07-10      Joel Sherrill <joel.sherrill@OARcorp.com>
244
245        * include/rtems/status-checks.h: Fix style.
246
2472008-07-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
248
249        * rtems/include/rtems/rtems/intr.h: Documentation.
250
251        * cpukit/include/rtems/irq-extension.h: Extension of the RTEMS
252        Interrupt Manager (shared handler and handler with a handle).
253
254
2552008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
256
257        * cpukit/include/rtems/status-checks.h: Macros for status code and
258        return value checks.
259
260        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
261
262        * cpukit/libfs/src/dosfs/msdos_dir.c,
263        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
264        to file mode.
265
266        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
267        messages.  Driver operations table is now constant.  New entry in the
268        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
269        continuously transmitted in read only functions.
270
2712008-07-03      Chris Johns <chrisj@rtems.org>
272
273        * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
274        interface that is supported.
275
276        * cpukit/libcsupport/Makefile.am,
277        cpukit/libcsupport/preinstall.am: Remove chain.h header
278        references.
279
280        * cpukit/sapi/include/rtems/chain.h,
281        cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
282        interface.
283
284        * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
285        include the new chains interface.
286
287        * cpukit/libfs/src/imfs/imfs.h,
288        cpukit/libfs/src/imfs/imfs_creat.c,
289        cpukit/libfs/src/imfs/imfs_debug.c,
290        cpukit/libfs/src/imfs/imfs_directory.c,
291        cpukit/libfs/src/imfs/imfs_fsunmount.c,
292        cpukit/libfs/src/imfs/imfs_getchild.c,
293        cpukit/libfs/src/imfs/imfs_load_tar.c,
294        cpukit/libfs/src/imfs/imfs_rmnod.c,
295        cpukit/libfs/src/imfs/memfile.c,
296        cpukit/libfs/src/nfsclient/src/nfs.c,
297        cpukit/libcsupport/include/rtems/libio.h,
298        cpukit/libcsupport/src/malloc_deferred.c,
299        cpukit/libcsupport/src/mount.c,
300        cpukit/libcsupport/src/privateenv.c,
301        cpukit/libcsupport/src/unmount.c: Change to the new chains
302        interface.
303
304        * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
305
3062008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
307
308        * score/include/rtems/score/thread.h,
309        score/src/threaddispatch.c, score/src/threadinitialize.c:
310        Support rtems_ada_self iff __RTEMS_ADA__ is given.
311
3122008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
313
314        * libmisc/shell/shell_script.c: Remove unused function.
315
3162008-07-02      Ralf Corsépius <ralf.corsepius@rtems.org>
317
318        * configure.ac: Add __RTEMS_ADA__.
319
3202008-07-02      Joel Sherrill <joel.sherrill@oarcorp.com>
321
322        * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
323        libnetworking/libc/getservbyname.c,
324        libnetworking/libc/getservbyport.c: Add initial versions of
325        getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
326        point they are just simple weappers for the version without the _r in
327        the name.
328
3292008-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
330
331        * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
332        Review association tables in monitor.
333
3342008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
335
336        * configure.ac, rtems/src/semtranslatereturncode.c,
337        score/include/rtems/score/coremutex.h,
338        score/include/rtems/score/thread.h,
339        score/inline/rtems/score/coremutex.inl,
340        score/src/coremutex.c, score/src/coremutexsurrender.c,
341        score/src/threadinitialize.c:
342        Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
343
3442008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
345
346        * configure.ac: Add AM_CONDITIONAL(LIBGNAT).
347        * libgnat/Makefile.am: Use LIBGNAT.
348        * wrapup/Makefile.am: Use LIBGNAT.
349
3502008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
351
352        * acinclude.m4: Add magic to update cpuopt.h.
353        * configure.ac: Remove magic to update cpuopt.h.
354
3552008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
356
357        * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
358        * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
359        Cleanup mal-formated RTEMS_CPUOPT's.
360
3612008-06-30      Ralf Corsépius <ralf.corsepius@rtems.org>
362
363        * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
364        AC_PREREQ(2.62).
365
3662008-06-19      Matthew Riek <matthew.riek@ibiscomputer.com.au>
367
368        * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
369        than a number.
370
3712008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
372
373        * sapi/include/confdefs.h: When you disabled newlib reentrancy, it
374        still reserved memory for the reentrancy structure. This is about 1K
375        per task. On psim, we now reserve only 1936 bytes and only 240 remain
376        after all allocations. Further analysis will be required to narrow
377        that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
378        be defined and the structure named Configuration_Memory_Debug will be
379        instantiated. This structure contains many of the component values
380        that go into the memory reservation computation. This is helpful when
381        tracking down problems.
382
3832008-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
384
385        * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
386        was always adding heap overhead even when the number of objects
387        configured was zero and we would not do an allocation. This resulted
388        in an over estimation of the amount of Workspace required (~2K on
389        minimum.exe on PowerPC).
390
3912008-06-17      Chris Johns <chrisj@rtems.org>
392
393        * cpukit/sapi/include/confdefs.h: Add missing quote to string to
394        remove warning.
395       
396        * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
397        priority level for large memory Coldfires.
398
3992008-06-16      Joel Sherrill <joel.sherrill@oarcorp.com>
400
401        * rtems/include/rtems/rtems/config.h,
402        rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
403        rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
404        Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
405
4062008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
407
408        * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
409        CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
410        CONFIGURE_MAXIMUM_PRIORITY.
411
4122008-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
413
414        * posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
415        posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
416        sapi/include/confdefs.h, sapi/include/rtems/config.h,
417        score/inline/rtems/score/stack.inl, score/src/isr.c,
418        score/src/mpci.c, score/src/threadcreateidle.c,
419        score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
420        ability for application to configure minimum stack size. Add
421        RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
422        indicate they want the configured as opposed to the recommended
423        minimum stack size.
424
4252008-06-10      Chris Johns <chrisj@rtems.org>
426
427        * score/include/rtems/score/priority.h: Let the CPU define the
428        maximum and minimum priority levels to reduce the amount of memory
429        thread chains use.
430
4312008-06-06      Joel Sherrill <joel.sherrill@oarcorp.com>
432
433        * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
434        rtems/include/rtems/rtems/config.h,
435        rtems/include/rtems/rtems/dpmem.h,
436        rtems/include/rtems/rtems/eventset.h,
437        rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h,
438        rtems/include/rtems/rtems/ratemon.h,
439        rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
440        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
441        rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
442        Classic API Doxygen.
443
4442008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
445
446        * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
447        score/include/rtems/score/thread.h: Complete previous patch. Add
448        typedef for cpu usage statistics.
449
4502008-06-06      Joel Sherrill <joel.sherrill@OARcorp.com>
451
452        * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
453        libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
454        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
455        rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
456        score/src/threaddispatch.c, score/src/threadinitialize.c,
457        score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
458        period timing statistics. Also renamed related variables and
459        structure members so they are the same whether you are using
460        nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
461        granularity. This lays the groundwork for future cleanup.
462
4632008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
464
465        * sapi/include/confdefs.h: Rework to be more accurate on allocation. In
466        particular, there was a report from that Matthew Riek that memory was
467        being reserved twice for the IDLE task. This was covering up other
468        places that under allocated memory. Before I was done, I had reworked
469        the file to be easier to read, maintain and be more accurate.
470
4712008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
472
473        * score/include/rtems/score/isr.h, score/src/isr.c: Use
474        CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
475        memory for vector table.
476
4772008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
478
479        * score/src/wkspace.c: Fix error in comment.
480
4812008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
482
483        * posix/src/psignal.c: Do not allocate any memory for queued signals if
484        the configuration parameter is 0. Before we would end up with an
485        allocation of 0 which rounded up and wasted some memory when POSIX
486        was configured.
487
4882008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
489
490        * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
491        the target toolset uses init/fini sections.
492
4932008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
494
495        * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
496        has no functional data in the user extension data area structure so
497        this disables the definition, allocation and deallocation of that
498        structure. If we ever have to add data to it, then it will be easy to
499        reenable.
500
5012008-06-04      Joel Sherrill <joel.sherrill@OARcorp.com>
502
503        * score/src/objectgetinfo.c, score/src/objectidtoname.c,
504        score/src/threadget.c: Make sure the pointer to the API object table
505        is valid before derefencing it.
506
5072008-06-02      Joel Sherrill <joel.sherrill@oarcorp.com>
508
509        * score/include/rtems/score/interr.h, score/src/interr.c: Convention
510        calls for leading underscore on private RTEMS variables.
511
5122008-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
513
514        * score/include/rtems/score/object.h,
515        score/include/rtems/score/watchdog.h: Move #include's out of
516        extern "C" {}.
517
5182008-05-30      Till Straumann <strauman@slac.stanford.edu>
519
520        * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
521        release node if rtems_filesystem_evaluate_path() fails
522        in nfs_eval_link() since pathloc contains no valid node.
523
5242008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
525
526        * libmisc/shell/shell_getchar.c: Minor change so dropping connection
527        while at prompt results in shell logging out and connection still
528        being available.
529
5302008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
531
532        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
533        fini() as part of exit(). This avoids atexit() being a required
534        function.
535
5362008-05-27      Joel Sherrill <joel.sherrill@oarcorp.com>
537
538        * libmisc/shell/shell.c: Minor change so dropping connection during
539        login prompt results in connection still being available.
540
541
5422008-05-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
543
544        * score/include/rtems/score/object.h,
545        rtems/include/rtems/rtems/types.h: Added new defines OBJECTS_ID_NONE
546        and RTEMS_ID_NONE.  No object can have this ID.
547
5482008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
549
550        * include/rtems/fs.h, libblock/include/rtems/diskdevs.h,
551        libblock/src/diskdevs.c, libcsupport/include/rtems/libio.h,
552        libcsupport/src/base_fs.c, libcsupport/src/error.c,
553        libcsupport/src/libio.c, libcsupport/src/mount.c, libfs/src/dosfs/fat.c,
554        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_handlers_dir.c,
555        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c,
556        libfs/src/dosfs/msdos_initsupp.c, libfs/src/imfs/deviceio.c,
557        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_config.c,
558        libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_getchild.c,
559        libfs/src/imfs/imfs_handlers_device.c,
560        libfs/src/imfs/imfs_handlers_directory.c,
561        libfs/src/imfs/imfs_handlers_link.c,
562        libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/imfs_init.c,
563        libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_symlink.c,
564        libfs/src/imfs/imfs_unixstub.c, libfs/src/imfs/miniimfs_init.c,
565        posix/include/rtems/posix/psignal.h, posix/src/psignal.c,
566        rtems/include/rtems/rtems/status.h, rtems/src/semtranslatereturncode.c,
567        sapi/include/confdefs.h, sapi/include/rtems/io.h,
568        sapi/src/ioregisterdriver.c, sapi/src/itronapi.c, sapi/src/posixapi.c:
569        Added const qualifier to various pointers and data tables to
570        reduce size of data area.
571        IMFS: Fixed creation of symbolic links to avoid a compiler warning.
572        DOSFS: Use LibBlock instead of read() to read the boot record.
573       
5742008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
575
576        * libcsupport/include/console.h: New define: CONSOLE_DEVICE_NAME.
577
5782008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
579
580        * libcsupport/src/printk.c:
581        Bugfix: String output without width option.
582
5832008-05-27      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
584
585        * libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h:
586        Bugfix: Moved definition of ppp_softc into source file.
587
5882008-05-23      Till Straumann <strauman@slac.stanford.edu>
589
590        * libnetworking/netinet/ip_output.c: when fragmenting
591        multicast packets M_MCAST must be set on all fragments.
592        This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
593        (see my email to rtems-users from 2008/5/15).
594
5952008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
596
597        * itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
598        itron/src/exd_tsk.c, itron/src/task.c,
599        posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
600        posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
601        posix/src/setcancelstate.c, posix/src/setcanceltype.c,
602        posix/src/testcancel.c, rtems/src/taskdelete.c,
603        score/inline/rtems/score/object.inl, score/src/objectclose.c,
604        score/src/threadclose.c: Make all task delete/exit/cancel routines
605        follow the same critical section pattern. Also ensure that POSIX
606        cancelation routines are run at thread exit.
607
6082008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
609
610        * libcsupport/src/termios_baud2index.c,
611        libcsupport/src/termios_baud2num.c,
612        libcsupport/src/termios_num2baud.c,
613        libcsupport/src/termios_setinitialbaud.c: New files.
614
6152008-05-22      Joel Sherrill <joel.sherrill@oarcorp.com>
616
617        * libcsupport/Makefile.am, libcsupport/preinstall.am,
618        libcsupport/include/rtems/termiostypes.h: Move termios helper
619        routines from libchip to libcsupport. Add routine which makes it easy
620        for a termios device driver to inform termios of its default baud
621        rate. This avoids inconsistencies in later termios settings changes.
622
6232008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
624
625        * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
626
6272008-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
628
629        * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
630        interface for Watchdog Driver.
631        * libcsupport/include/rtems/watchdogdrv.h: New file.
632
6332008-05-16      Till Straumann <strauman@slac.stanford.edu>
634
635        * score/src/threadchangepriority.c: Just in case the transient
636        state was set when we entered, ensure that it is still set when
637        we exit.
638        * score/src/threadclose.c: When a thread is being deleted, it should
639        go into the dormant state -- not the transient state.
640
6412008-05-15      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
642
643        * libi2c/libi2c.h, libi2c/libi2c.h: added interface to query
644        driver private data
645
6462008-05-13      Eric Norum: <norume@aps.anl.gov>
647
648        * cpukit/libcsupport/src/mallocinfo.c: Add locks around non-atomic
649        structure assignment.
650
6512008-05-13      Robert S. Grimes <rsg@alum.mit.edu>
652
653        * libi2c/libi2c.h: Fix typo.
654
6552008-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
656
657        * pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
658        CPUKIT.
659
6602008-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
661
662        * sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
663        initialization routines to rtems_initialize_data_structures,
664        rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
665        rtems_initialize_start_multitasking. This opened the sequence up so
666        that bootcard() could provide a more robust and flexible framework
667        which is easier to explain and understand. This also lays the
668        groundwork for sharing the division of available memory between the
669        RTEMS workspace and heap and the C library initialization across all
670        BSPs.
671
6722008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
673
674        * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
675        comments.
676
6772008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
678
679        * score/src/objectget.c: Improve comments and readability.
680
6812008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
682
683        * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
684        score/src/coresemseize.c, score/src/threadhandler.c: Comment
685        improvements from class.
686
6872008-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
688
689        PR 1285/rtems
690        * sapi/include/rtems/config.h: Remove obsolete
691        rtems_configuration_get_maximum_devices().
692
6932008-05-01      Chris Johns <chrisj@rtems.org>
694
695        * libblock/include/rtems/nvdisk-sram.h,
696        libblock/include/rtems/nvdisk.h,
697        libblock/src/nvdisk-sram.c,
698        libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
699        * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
700        the NV disk driver.
701
7022008-05-01  Maarten Van Es <maarten@mind.be>
703
704        * libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
705        interface for rtems_dhcp_failsafe.
706        * libnetworking/rtems/rtems_dhcp.h: Added interface for
707        rtems_dhcp_failsafe.
708
7092008-05-01  Arnout Vandecappelle <arnout@mind.be>
710
711        * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
712        return on timeout in bootpc_call().  Removed panic()s.
713        * libnetworking/rtems/rtems_glue.c: Fix the cast for the
714        SIOCAIFADDR ioctl call.
715        * libnetworking/rtems/rtems_dhcp_failsafe.c,
716        libnetworking/rtems/rtems_dhcp_failsafe.h: New.
717        * libnetworking/Makefile.am, libnetworking/preinstall.am: Added
718        rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
719
7202008-04-30      Joel Sherrill <joel.sherrill@oarcorp.com>
721
722        * rtems/include/rtems/rtems/timer.h: Fix typo.
723
7242008-04-28      Joel Sherrill <joel.sherrill@oarcorp.com>
725
726        * rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
727        rtems/include/rtems/rtems/status.h,
728        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
729        rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
730
7312008-04-28      Daron Chabot <daron.chabot@usask.ca>
732
733        * posix/src/keycreate.c, posix/src/pthreadequal.c,
734        rtems/src/semtranslatereturncode.c,
735        score/src/threadblockingoperationcancel.c: Fix compilation errors
736        when --enable-rtems-debug is used.
737
7382008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
739
740        * score/include/rtems/system.h: Fix typo in comment.
741
7422008-04-23      Joel Sherrill <joel.sherrill@OARcorp.com>
743
744        * rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
745        typos added with recent changes.
746
7472008-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
748
749        * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
750        rtems_termios_reserve_resources. It is obsolete.
751        * libcsupport/src/termiosreserveresources.c: Removed.
752
7532008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
754
755        * rtems/mainpage.h: New file.
756
7572008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
758
759        * rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
760        rtems/include/rtems/rtems/attr.h,
761        rtems/include/rtems/rtems/barrier.h,
762        rtems/include/rtems/rtems/barriermp.h,
763        rtems/include/rtems/rtems/cache.h,
764        rtems/include/rtems/rtems/config.h,
765        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
766        rtems/include/rtems/rtems/eventmp.h,
767        rtems/include/rtems/rtems/eventset.h,
768        rtems/include/rtems/rtems/intr.h,
769        rtems/include/rtems/rtems/message.h,
770        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
771        rtems/include/rtems/rtems/msgmp.h,
772        rtems/include/rtems/rtems/options.h,
773        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
774        rtems/include/rtems/rtems/ratemon.h,
775        rtems/include/rtems/rtems/region.h,
776        rtems/include/rtems/rtems/regionmp.h,
777        rtems/include/rtems/rtems/rtemsapi.h,
778        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
779        rtems/include/rtems/rtems/signal.h,
780        rtems/include/rtems/rtems/signalmp.h,
781        rtems/include/rtems/rtems/status.h,
782        rtems/include/rtems/rtems/support.h,
783        rtems/include/rtems/rtems/taskmp.h,
784        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
785        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
786        rtems/inline/rtems/rtems/attr.inl,
787        rtems/inline/rtems/rtems/barrier.inl,
788        rtems/inline/rtems/rtems/dpmem.inl,
789        rtems/inline/rtems/rtems/event.inl,
790        rtems/inline/rtems/rtems/message.inl,
791        rtems/inline/rtems/rtems/modes.inl,
792        rtems/inline/rtems/rtems/options.inl,
793        rtems/inline/rtems/rtems/part.inl,
794        rtems/inline/rtems/rtems/ratemon.inl,
795        rtems/inline/rtems/rtems/region.inl,
796        rtems/inline/rtems/rtems/sem.inl,
797        rtems/inline/rtems/rtems/status.inl,
798        rtems/inline/rtems/rtems/support.inl,
799        rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
800
8012008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
802
803        * rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
804        rtems/include/rtems/rtems/attr.h,
805        rtems/include/rtems/rtems/barrier.h,
806        rtems/include/rtems/rtems/barriermp.h,
807        rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
808        rtems/include/rtems/rtems/config.h,
809        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
810        rtems/include/rtems/rtems/eventmp.h,
811        rtems/include/rtems/rtems/eventset.h,
812        rtems/include/rtems/rtems/intr.h,
813        rtems/include/rtems/rtems/message.h,
814        rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
815        rtems/include/rtems/rtems/msgmp.h,
816        rtems/include/rtems/rtems/object.h,
817        rtems/include/rtems/rtems/options.h,
818        rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
819        rtems/include/rtems/rtems/ratemon.h,
820        rtems/include/rtems/rtems/region.h,
821        rtems/include/rtems/rtems/regionmp.h,
822        rtems/include/rtems/rtems/rtemsapi.h,
823        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
824        rtems/include/rtems/rtems/signal.h,
825        rtems/include/rtems/rtems/signalmp.h,
826        rtems/include/rtems/rtems/status.h,
827        rtems/include/rtems/rtems/support.h,
828        rtems/include/rtems/rtems/taskmp.h,
829        rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
830        rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
831        rtems/inline/rtems/rtems/attr.inl,
832        rtems/inline/rtems/rtems/barrier.inl,
833        rtems/inline/rtems/rtems/dpmem.inl,
834        rtems/inline/rtems/rtems/event.inl,
835        rtems/inline/rtems/rtems/eventset.inl,
836        rtems/inline/rtems/rtems/message.inl,
837        rtems/inline/rtems/rtems/modes.inl,
838        rtems/inline/rtems/rtems/options.inl,
839        rtems/inline/rtems/rtems/part.inl,
840        rtems/inline/rtems/rtems/ratemon.inl,
841        rtems/inline/rtems/rtems/region.inl,
842        rtems/inline/rtems/rtems/sem.inl,
843        rtems/inline/rtems/rtems/status.inl,
844        rtems/inline/rtems/rtems/support.inl,
845        rtems/inline/rtems/rtems/tasks.inl,
846        rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
847        header files to Doxygen.
848        * rtems/Doxyfile: New file.
849
8502008-04-18      Joel Sherrill <joel.sherrill@oarcorp.com>
851
852        * posix/src/key.c: Include <limits.h>
853        * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
854        a NULL extension block.
855
8562008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
857
858        * libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
859        application configuration errors. If any POSIX objects or a POSIX
860        init thread is configured without POSIX being configure, then error
861        out. Similarly for ITRON. Add
862        CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
863        parameter so the application has to explicitly configure the Clock
864        driver in or out if the Timer driver is not configured. Also verify
865        RTEMS was built for multiprocessing, if the user tries to configure a
866        multiprocessing application.
867
8682008-04-12      Chris Johns <chrisj@rtems.org>
869
870        * libmisc/shell/shell.c, libmisc/shell/shell.h,
871        libmisc/shell/shell_script.c: Add support to echo the commands to
872        stdout. This is useful with the -v script option to show commands
873        as the run. Also added support to chdir to the directory the task
874        invoking the script is in.
875        * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
876        libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
877        * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
878        support.
879
8802008-04-09      Madhusudan.C.S <madhusudancs@gmail.com>
881
882        * score/include/rtems/score/tod.h: Fix typo.
883
8842008-04-08      Chris Johns <chrisj@rtems.org>
885
886        * libmisc/shell/shell.c: Copy the cmd line to a buffer to split
887        into argv parts. Was using the command line history buffer so the
888        history was being corrupted.
889
8902008-04-03      Chris Johns <chrisj@rtems.org>
891
892        * libfs/src/nfsclient/src/librtemsNfs.h,
893        libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
894        external to RTEMS and even if in the cpukit it should not cross
895        reference in this way.
896        * libmisc/shell/shell_getchar.c: New. Taken from the monitor.
897        * libmisc/Makefile.am: Add shell_getchar.c and clean up a little
898        in the shell area.
899        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
900        support.
901
9022008-03-29      Chris Johns <chrisj@rtems.org>
903
904        * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
905        reported to the mailing list by Pierre Kestener
906        (pierre.kestener@cea.fr).
907
9082008-03-25      Till Straumann <strauman@slac.stanford.edu>
909
910        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
911          coldfire.
912
9132008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
914
915        * libmisc/shell/cmds.c: Directly register the command structure to
916        avoid unnecessary duplication of static strings. We know best this
917        time.
918
9192008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
920
921        * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
922        for the ITRON initialization tasks ALL the time.
923        Do not reserve memory for the object name table since it does not
924        exist any longer.
925        * sapi/include/rtems/sptables.h: Fix typo.
926
9272008-03-11      Joel Sherrill <joel.sherrill@oarcorp.com>
928
929        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
930        rtems/src/clockget.c:
931        * rtems/src/clockgetsecondssinceepoch.c,
932        rtems/src/clockgettickspersecond.c,
933        rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
934        rtems/src/clockgettodtimeval.c: New files.
935        Refactored rtems_clock_get into 5 methods which are single purpose
936        and more strongly typed.  They are:
937            rtems_clock_get_tod - Get TOD in Classic API structure
938            rtems_clock_get_tod_timeval - Get TOD in struct timeval
939            rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
940            rtems_clock_get_ticks_since_boot - Get ticks since boot
941            rtems_clock_get_ticks_per_second - Get ticks per second
942
9432008-03-07      Joel Sherrill <joel.sherrill@oarcorp.com>
944
945        * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
946        libmisc/shell/shell_script.c: Add memset() of getopt_data to
947        ensure it is zeroed out each time we use getopt_r().
948        * libmisc/shell/shell.c: Do not echo commands if input is not a tty.
949        This makes the scripts behave more like UNIX scripts.
950
9512008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
952
953        * posix/Makefile.am: Make clock_settime() available always just like
954        clock_gettime().
955
9562008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
957
958        * score/include/rtems/score/copyrt.h: Update year.
959
9602008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
961
962        * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
963        by gcc newer than the 4.3 release series.
964
9652008-03-04      Joel Sherrill <joel.sherrill@oarcorp.com>
966
967        * libmisc/Makefile.am, libmisc/shell/main_cp.c,
968        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
969        libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
970        libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
971        libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
972        libmisc/shell/shell.c, libmisc/shell/shell.h,
973        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
974        libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
975        capability to automatically execute a script from the filesystem. Add
976        echo command from NetBSD and sleep command.
977        * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
978        libmisc/shell/shell_script.c: New files.
979
9802008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
981
982        * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
983        posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
984        rtems/src/taskdelete.c, rtems/src/timerserver.c,
985        score/src/threadclose.c, score/src/threadcreateidle.c,
986        score/src/threadinitialize.c: Switch task create and delete
987        operations to using API Allocator Mutex. This moves almost all uses
988        of the RTEMS Workspace from dispatching disabled to mutex protected
989        which should improve deterministic behavior. The implementation was
990        carefully done to allow task create and delete extensions to invoke
991        more services. In particular, a task delete extension should be able
992        to do mutex and file operations.
993
9942008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
995
996        * libmisc/Makefile.am: Turn on NFS mount support when networking is
997        enabled.
998
9992008-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
1000
1001        * libcsupport/src/chroot.c: Formatting.
1002
10032008-02-27      Joel Sherrill <joel.sherrill@oarcorp.com>
1004
1005        * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
1006        libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
1007        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1008        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1009        libmisc/shell/main_date.c, libmisc/shell/main_help.c,
1010        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1011        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1012        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1013        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1014        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1015        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
1016        libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
1017        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1018        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1019        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1020        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1021        libmisc/shell/shell.h: Clean up done while writing documentation.
1022        Some command improvements such as date now allows setting of the
1023        current TOD. Often commands did not use stdout/stderr per
1024        expectations and did not return -1 on an error.
1025
10262008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1027
1028        * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
1029        the use of RPC/XDR could be an issue, the code does build multilib
1030        across all targets. There are a few remaining warnings to deal with.
1031        * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
1032        libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
1033        libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
1034        libfs/src/nfsclient/rfc1094.txt,
1035        libfs/src/nfsclient/proto/mount_prot.h,
1036        libfs/src/nfsclient/proto/mount_prot.x,
1037        libfs/src/nfsclient/proto/mount_prot_xdr.c,
1038        libfs/src/nfsclient/proto/nfs_prot.h,
1039        libfs/src/nfsclient/proto/nfs_prot.x,
1040        libfs/src/nfsclient/proto/nfs_prot_xdr.c,
1041        libfs/src/nfsclient/src/cexphelp.c,
1042        libfs/src/nfsclient/src/dirutils.c,
1043        libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
1044        libfs/src/nfsclient/src/nfs.modini.c,
1045        libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
1046        libfs/src/nfsclient/src/rpcio.h,
1047        libfs/src/nfsclient/src/rpcio.modini.c,
1048        libfs/src/nfsclient/src/sock_mbuf.c,
1049        libfs/src/nfsclient/src/xdr_mbuf.c: New files.
1050
10512008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1052
1053        * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
1054        missing field to default multiprocessing configuration table. Also
1055        document fields in Doxygen format.
1056
10572008-02-26      Joel Sherrill <joel.sherrill@OARcorp.com>
1058
1059        * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
1060        warnings.
1061
10622008-02-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1063
1064        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
1065        command to access statistics reporting functions in TCP/IP stack.
1066        * libmisc/shell/main_netstats.c: New file.
1067
10682008-02-19      Joel Sherrill <joel.sherrill@oarcorp.com>
1069
1070        * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
1071        libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
1072        ifconfig commands. The code for these was previously in the
1073        networking guide. Disable NFS filesystem mount until that code is in
1074        cpukit.
1075        * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
1076
10772008-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1078
1079        * posix/preinstall.am,  libcsupport/preinstall.am:
1080        Revert Joel's  2008-01-31 screw up.
1081
10822008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
1083
1084        * posix/include/rtems/posix/timer.h: Add c++ guards.
1085        * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
1086        posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
1087        * libcsupport/include/motorola/mc68230.h: Prefix defines with
1088        MC68230_ to avoid preprocessor clashes.
1089
10902008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1091
1092        * posix/src/mqueueunlink.c, score/Makefile.am,
1093        score/include/rtems/score/object.h,
1094        score/inline/rtems/score/object.inl: Enhance
1095        _Objects_Namespace_remove() to handle freeing object names which are
1096        strings. All changed _Objects_Close() to call
1097        _Objects_Namespace_remove(). The resulting code was then moved from
1098        inline routines to function calls.
1099        * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
1100
11012008-02-06      Joel Sherrill <joel.sherrill@oarcorp.com>
1102
1103        * libcsupport/src/printk.c: Added width and padding for %s.
1104        * libmisc/cpuuse/cpuusagereport.c: Support object names that are
1105        strings longer than 4 chanracters.
1106
11072008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
1108
1109        PR 1277/networking
1110        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
1111        constraint for assembly language. This restricts the register choice
1112        to the a-d registers.
1113
11142008-02-05      Joel Sherrill <joel.sherrill@oarcorp.com>
1115
1116        * libnetworking/kern/uipc_socket2.c,
1117        libnetworking/netinet/tcp_usrreq.c,
1118        libnetworking/netinet/udp_usrreq.c,
1119        libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
1120        Add configuration parameters for network stack efficiency multiplier
1121        and default socket buffer sizes. Change default multiplier from 8 to
1122        2 to match GNU/Linux. This has no impact on performance on the BSPs
1123        tested.
1124
11252008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
1126
1127        * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
1128        workspace manipulation routines for testing.
1129        * rtems/src/workspace.c: New file.
1130
11312008-02-04      Joel Sherrill <joel.sherrill@oarcorp.com>
1132
1133        * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
1134        score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
1135        Object Id of SELF.
1136
11372008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1138
1139        * posix/src/clockgettime.c, posix/src/clocksettime.c,
1140        Minor modifications to improve testability.
1141        * posix/src/pthreadcreate.c: Add NULL check for thread entry.
1142
11432008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1144
1145        * posix/src/pthreadinitthreads.c: Clean up error paths.
1146
11472008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1148
1149        * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
1150        changes which aid in coverage testing.
1151
11522008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1153
1154        * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
1155        posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
1156        posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
1157        posix/src/semaphorenametoid.c: Add option for all POSIX objects
1158        whether named or unnamed to have a string name.  If the API does
1159        not directly support having a name, then the user must explicitly
1160        assign it using rtems_object_set_name().
1161        * rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
1162        * score/include/rtems/score/object.h,
1163        score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
1164        score/src/objectsetname.c: Modifications required to pass testing of
1165        recently modified object name operations.  Also eliminated
1166        multiprocessing related code that was not reachable.
1167
11682008-01-31      Jennifer Averett <jennifer.averett@OARcorp.com>
1169
1170        * posix/src/timersettime.c: Fix to remove warning.
1171
11722008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1173
1174        * libcsupport/src/posix_memalign.c: Remove warning.
1175
11762008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
1177
1178        * score/include/rtems/score/object.h, score/src/objectgetinfo.c,
1179        rtems/include/rtems/rtems/object.h,
1180        rtems/src/rtemsobjectgetapiclassname.c,
1181        rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
1182        cannot be used as a parameter.
1183
11842008-01-30      Joel Sherrill <joel.sherrill@OARcorp.com>
1185
1186        * score/Makefile.am, score/include/rtems/score/threadq.h,
1187        score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
1188        was really too complex to be inlined.
1189        * score/src/threadqprocesstimeout.c: New file.
1190
11912008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1192
1193        * score/Doxyfile: Revert Doxygen version changes.
1194
11952008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1196
1197        * score/Doxyfile: Update to latest Doxygen format.
1198        * score/include/rtems/score/apimutex.h,
1199        score/include/rtems/score/corebarrier.h,
1200        score/include/rtems/score/coremutex.h,
1201        score/include/rtems/score/corerwlock.h,
1202        score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
1203        score/include/rtems/score/protectedheap.h,
1204        score/include/rtems/score/thread.h,
1205        score/include/rtems/score/threadsync.h,
1206        score/include/rtems/score/tod.h,
1207        score/inline/rtems/score/corerwlock.inl,
1208        score/inline/rtems/score/corespinlock.inl: Remove most doxygen
1209        warnings.
1210
12112008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1212
1213        * rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
1214        available when API is disabled. Do not attempt to use them.
1215
12162008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1217
1218        * score/include/rtems/system.h: First cut at Doxygen mainpage.
1219
12202008-01-29      Joel Sherrill <joel.sherrill@oarcorp.com>
1221
1222        * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
1223        libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
1224        libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
1225        libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
1226        libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
1227        posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
1228        rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
1229        rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
1230        rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
1231        rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
1232        rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
1233        rtems/src/timerserver.c, score/Makefile.am,
1234        score/include/rtems/score/object.h,
1235        score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
1236        score/src/objectgetnameasstring.c,
1237        score/src/threadqextractwithproxy.c: Add new Object Services
1238        collection. This changed the name of a few previously public but
1239        undocumented services and added a some new services.
1240        * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
1241        rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
1242        rtems/src/rtemsobjectapiminimumclass.c,
1243        rtems/src/rtemsobjectgetapiclassname.c,
1244        rtems/src/rtemsobjectgetapiname.c,
1245        rtems/src/rtemsobjectgetclassicname.c,
1246        rtems/src/rtemsobjectgetclassinfo.c,
1247        rtems/src/rtemsobjectidapimaximum.c,
1248        rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
1249        rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
1250        rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
1251        score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
1252        score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
1253        * rtems/src/rtemsidtoname.c: Removed.
1254
12552008-01-29      Jennifer Averett <jennifer.averett@OARcorp.com>
1256
1257        * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
1258        switch statements to if statements.
1259
12602008-01-29      Joel Sherrill <joel.sherrill@OARcorp.com>
1261
1262        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1263        libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
1264        libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
1265        as helper and as exposed nmemalign variant with few restrictions.
1266        Also turn on compilation of _Heap_Walk but make forced calls to it
1267        conditionally compiled. This should allow more flexibility to the
1268        user as to run-time checking of the heap.
1269        * libcsupport/src/rtems_memalign.c: New file.
1270
12712008-01-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1272
1273        * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
1274        score/src/objectnametoid.c, score/src/objectnametoidstring.c:
1275        Multiprocessing compiles again and survives initialization. The
1276        recent object name and confdefs.h changes had broken it.
1277
12782008-01-25      Jennifer Averett <jennifer.averett@OARcorp.com>
1279
1280        * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
1281        score/include/rtems/score/interr.h,
1282        score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
1283        Modifications to aid in full path testing.
1284
12852008-01-25      Joel Sherrill <joel.sherrill@oarcorp.com>
1286
1287        * posix/src/mqueuesendsupp.c: Remove warning.
1288
12892008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1290
1291        * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
1292        in public API.
1293
12942008-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
1295
1296        * score/include/rtems/score/object.h,
1297        score/src/objectextendinformation.c,
1298        score/src/objectinitializeinformation.c,
1299        score/src/objectshrinkinformation.c: Eliminate name_table since it is
1300        not used.
1301
13022008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1303
1304        * score/src/objectnametoidstring.c: New file.
1305
13062008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1307
1308        * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
1309        libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
1310        libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
1311        libmisc/stackchk/check.c, posix/src/condinit.c,
1312        posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
1313        posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
1314        posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
1315        posix/src/mutexinit.c, posix/src/pbarrierinit.c,
1316        posix/src/prwlockinit.c, posix/src/pspininit.c,
1317        posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
1318        posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
1319        posix/src/timercreate.c, rtems/src/barrierident.c,
1320        rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
1321        rtems/src/ratemonident.c, rtems/src/regionident.c,
1322        rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
1323        sapi/src/extensionident.c, score/Makefile.am,
1324        score/include/rtems/score/object.h,
1325        score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
1326        score/src/objectextendinformation.c,
1327        score/src/objectgetnameasstring.c, score/src/objectmp.c,
1328        score/src/objectnametoid.c: Convert the Objects_Name type from a
1329        simple type to a union of an unsigned 32 bit integer and a pointer.
1330        This should help eliminate weird casts between u32 and pointers in
1331        various places. The APIs now have to explicitly call _u32 or _string
1332        versions of helper routines. This should also simplify things and
1333        eliminate the need for ugly casts in some cases.
1334        * score/src/objectclearname.c, score/src/objectcomparenameraw.c,
1335        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
1336        score/src/objectcopynamestring.c: Removed.
1337
13382008-01-23      Joel Sherrill <joel.sherrill@oarcorp.com>
1339
1340        * score/src/threadblockingoperationcancel.c: Clean up.
1341        * score/src/threadqextract.c: Restructure to eliminate dead code.
1342
13432008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1344
1345        * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
1346        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1347        score/src/threadqdequeuepriority.c: Fix bugs encountered while
1348        testing and clean up more code.
1349
13502008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1351
1352        * score/src/threadqfirst.c: Remove switch.
1353
13542008-01-22      Joel Sherrill <joel.sherrill@oarcorp.com>
1355
1356        * rtems/include/rtems/rtems/event.h,
1357        rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
1358        rtems/src/eventseize.c, rtems/src/eventsurrender.c,
1359        rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
1360        score/include/rtems/score/interr.h,
1361        score/include/rtems/score/thread.h,
1362        score/include/rtems/score/threadq.h,
1363        score/include/rtems/score/tqdata.h,
1364        score/inline/rtems/score/threadq.inl,
1365        score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
1366        score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
1367        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1368        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1369        score/src/threadqextract.c, score/src/threadqextractfifo.c,
1370        score/src/threadqextractpriority.c,
1371        score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
1372        score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
1373        score/src/threadqflush.c, score/src/threadqrequeue.c,
1374        score/src/threadqtimeout.c: Refactor thread queue enqueue and event
1375        blocking synchronization critical sections. This resulted in three
1376        copies of essentially the same hard to test critical section code
1377        becoming the one shared routine _Thread_blocking_operation_Cancel. In
1378        addition, the thread queue and event code now share a common
1379        synchronization enumerated type. Along the way, switches were
1380        reworked to eliminate dead code generated by gcc and comments and
1381        copyrights were updated.
1382        * score/include/rtems/score/threadsync.h,
1383        score/src/threadblockingoperationcancel.c: New files.
1384
13852008-01-22      Joel Sherrill <joel.sherrill@OARcorp.com>
1386
1387        * libi2c/README_libi2c: Correct spelling error.
1388        * score/src/threadclearstate.c: Improve comment.
1389
13902008-01-18      Jennifer Averett <jennifer.averett@OARcorp.com>
1391
1392        * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
1393        posix/src/cleanuppush.c, posix/src/mqueueclose.c,
1394        posix/src/timergettime.c, posix/src/timersettime.c,
1395        score/include/rtems/score/timespec.h:
1396
13972008-01-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1398
1399        * libmisc/shell/Makefile.am: Don't use make variables.
1400
14012008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
1402
1403        * libmisc/shell/shell.c: When stdin or stdout is NULL, just use
1404        existing one.
1405
14062008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1407
1408        * score/include/rtems/score/wkspace.h,
1409        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
1410        inline _Workspace_Free or _Workspace_Allocate since they are not
1411        always inlined and actually smaller overall as subroutines. They are
1412        not particularly time critical so inlining is not absolutely
1413        necessary.
1414
14152008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1416
1417        * posix/Makefile.am, posix/include/rtems/posix/cond.h,
1418        posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
1419        posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
1420        Condition Variable object get helpers because they are more
1421        complicated than the norm. They can implicitly perform a create. They
1422        cross the line as being too complex and large to inline since they
1423        negatively impact size and binary test coverage.
1424        * posix/src/condget.c, posix/src/mutexget.c: New files.
1425
14262008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1427
1428        * libcsupport/Makefile.am: Add src/malloc_dirtier.c.
1429        * libcsupport/include/rtems/malloc.h: Add malloc dirty support.
1430        * libcsupport/src/malloc_p.h: Correct prototype.
1431
14322008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1433
1434        * score/include/rtems/score/coremutex.h,
1435        score/src/coremutexseizeintr.c: Fix conditional code for inlining
1436        _CORE_mutex_Seize_interrupt_trylock() and add comments.
1437
14382008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1439
1440        * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
1441
14422008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1443
1444        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1445        libcsupport/src/free.c, libcsupport/src/malloc.c,
1446        libcsupport/src/malloc_deferred.c,
1447        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1448        libcsupport/src/malloc_sbrk_helpers.c,
1449        libcsupport/src/posix_memalign.c: Place all deferred free code and
1450        place it in subroutines. Add plugin for dirtying allocated memory to
1451        assist in debugging. Clean up comments and spacing as needed.
1452        * libcsupport/src/malloc_dirtier.c: New file.
1453
14542008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1455
1456        * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
1457        when there is an error.
1458
14592008-01-09      Jennifer Averett <jennifer.averett@OARcorp.com>
1460
1461        * posix/src/keycreate.c, rtems/src/eventseize.c,
1462        score/include/rtems/score/interr.h: Rearranged source to allow more
1463        test coverage.
1464
14652008-01-09      Joel Sherrill <joel.sherrill@OARcorp.com>
1466
1467        * libcsupport/src/__assert.c: Clean up and make __assert() call
1468        __assert_func().
1469
14702008-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
1471
1472        * libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
1473        need to have it also.
1474
14752008-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
1476
1477        * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
1478        * libcsupport/include/rtems/malloc.h,
1479        libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
1480        libcsupport/src/malloc_p.h,
1481        libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
1482        support pluggable and optional.  This eliminates the need for
1483        heap extend and sbrk in the minimum footprint which is ~2.5K on
1484        the SPARC.
1485        * sapi/include/confdefs.h: Add the following configuration points:
1486          + CONFIGURE_MALLOC_STATISTICS
1487          + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
1488        * libcsupport/src/malloc_sbrk_helpers.c: New file.
1489
14902008-01-08      Joel Sherrill <joel.sherrill@OARcorp.com>
1491
1492        * score/Makefile.am: Add missing file.
1493
14942008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1495
1496        * libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
1497
14982008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1499
1500        * libmisc/Makefile.am: Add new files.
1501        * libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
1502        * libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
1503        * libmisc/shell/shellconfig.h: Add wkspace command.
1504        * libmisc/shell/main_wkspaceinfo.c,
1505        libmisc/shell/print_heapinfo.c: New files.
1506
15072008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1508
1509        * score/inline/rtems/score/isr.inl: Fix spacing.
1510        * score/src/apimutexallocate.c: Fix spacing.
1511        * score/src/coremsgseize.c: Check for message pending instead of
1512        message pending count to avoid dead code from inlined chain routine.
1513        It checks if the chain is empty so is redundant to count == 0.
1514
15152008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1516
1517        * rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
1518        up.
1519
15202008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1521
1522        * posix/src/pthreadcreate.c: Add commit.
1523        * posix/src/pthreadinitthreads.c: Fix line length.
1524
15252008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1526
1527        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
1528
15292008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
1530
1531        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
1532        coding it.
1533
15342008-01-05      Chris Johns <chrisj@rtems.org>
1535
1536        * configure.ac: Fix typo in the strict order mutex CPU OPTs test.
1537        * libmisc/shell/shell.c: Handle '#' comment characters correctly.
1538        * libblock/include/rtems/flashdisk.h: Add docmentation about the
1539        control fields. Add more control fields to handle the flash when
1540        full.
1541        * libblock/src/flashdisk.c: Fix the descriptor erase test so it
1542        detects a descriptor is erased. Add support for unavailable blocks
1543        the user can configure. Print the used list as a diag. Fix the bug
1544        when a page is detected as failed and present on more than one
1545        queue. Add a count to the queues so queue length can be used to
1546        manage compaction.
1547       
15482008-01-03      Till Straumann <strauman@slac.stanford.edu>
1549
1550        * score/src/threadhandler.c, sapi/src/exshutdown.c:
1551        cannot call _fini via atexit() from rtems_shutdown_executive()
1552        because at the point where rtems_shutdown_executive is called
1553        the C-library is already dead.
1554        Instead, register an atexit(_fini) after calling _init().
1555
15562007-12-28      Joel Sherrill <joel.sherrill@OARcorp.com>
1557
1558        * libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
1559        Hopefully this implementation is OK.
1560        * libcsupport/src/_rename_r.c: New file.
1561
15622007-12-22      Chris Johns <chrisj@rtems.org>
1563
1564        * configure.ac: fixed bug that always enabled strict order
1565        mutexes.
1566        * score/inline/rtems/score/coremutex.inl: Fixed coding standard.
1567        * score/src/coremutex.c: Add the holder's thread to the lock_mutex
1568        list if the mutex is initialised locked.
1569        * libnetworking/rtems/rtems_glue.c: Changed semaphore error
1570        message to show the error is an rtems-net error.
1571        * libmisc/monitor/mon-network.c: Removed warnings.
1572        * telnetd/icmds.c: Changed shell_* to rtems_shell_*.
1573        * score/Makefile.am: Fixed typo that stopped 'make tags' working.
1574        * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
1575        libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
1576        libmisc/shell/fts.h, libmisc/shell/main_cp.c,
1577        libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
1578        libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
1579        libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
1580        libmisc/shell/warnx.c: New. Ported from BSD.
1581        * libmisc/shell/shellconfig.h: Add the cp command.
1582        * libmisc/Makefile.am: Add the new files to the shell.
1583        * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
1584        support.
1585        * libblock/src/flashdisk.c: Fixed disk drive count size setting
1586        bug.
1587       
15882007-12-21      Xi Yang <hiyangxi@gmail.com>
1589
1590        * rtems/src/semtranslatereturncode.c: Add support for proper stacking
1591        of priority inheritance on mutexes as well as enforce proper order of
1592        release.
1593
15942007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1595
1596        * configure.ac, score/include/rtems/score/coremutex.h,
1597        score/inline/rtems/score/coremutex.inl: Add the ability to disable
1598        inlining coremutex seize. This reduces the code size and also
1599        improves the process of coverage analysis.
1600        * score/src/coremutexseizeintr.c: New file.
1601
16022007-12-21      Xi Yang <hiyangxi@gmail.com>
1603
1604        * configure.ac, score/include/rtems/score/coremutex.h,
1605        score/include/rtems/score/thread.h,
1606        score/inline/rtems/score/coremutex.inl,
1607        score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
1608        support for proper stacking of priority inheritance on mutexes as
1609        well as enforce proper order of release.
1610
16112007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
1612
1613        PR 1268/cpukit
1614        * libcsupport/include/rtems/assoc.h: There is no
1615        rtems_assoc_ptr_by_value method.
1616
16172007-12-21      Ralf Corsépius <ralf.corsepius@rtems.org>
1618
1619        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
1620        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
1621
16222007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1623
1624        * posix/src/killinfo.c: Clean up and eliminate some dead code paths.
1625
16262007-12-20      Joel Sherrill <joel.sherrill@OARcorp.com>
1627
1628        * posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
1629
16302007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
1631
1632        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
1633        rtems_task_self() directive.
1634        * rtems/src/taskself.c: New file.
1635
16362007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1637
1638        * posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
1639        and resolved copyright information.
1640        * posix/src/kill_r.c: New file.
1641
16422007-12-20      Jennifer Averett <jennifer.averett@OARcorp.com>
1643
1644        * posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
1645
16462007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1647
1648        * sapi/include/confdefs.h: Revert. Requires info not available at
1649        preprocessing time.
1650
16512007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1652
1653        * sapi/include/confdefs.h: Catch the error when the user lowers the
1654        maximum number of drivers below the number of statically configured
1655        ones.
1656
16572007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1658
1659        * sapi/src/extension.c, sapi/src/extensioncreate.c,
1660        sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
1661        Manager clean up. Update object id switches to new pattern. Catch
1662        some NULL parameter errors.
1663
16642007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1665
1666        * posix/src/psignalunblockthread.c: Remove source that
1667
16682007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1669
1670        * posix/src/psignalchecksignal.c: Make assert active during debug mode
1671        only
1672
16732007-12-19      Jennifer Averett <jennifer.averett@OARcorp.com>
1674
1675        * posix/src/psignal.c: Move source around to enable path testing
1676
16772007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
1678
1679        * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
1680        libcsupport/src/free.c, libcsupport/src/malloc.c,
1681        libcsupport/src/malloc_p.h,
1682        libcsupport/src/malloc_report_statistics_plugin.c,
1683        libmisc/shell/shell.c, libmisc/shell/shell.h,
1684        score/src/objectinitializeinformation.c: Add posix_memalign. Split
1685        out management of deferred frees to subroutines.
1686        * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
1687
16882007-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
1689
1690        * libcsupport/Makefile.am, libcsupport/preinstall.am,
1691        libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
1692        libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
1693        libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
1694        one function per file. Also split out statistics into a separate file
1695        which can be plugged in dynamically. Right now, it is always in. I
1696        suspect that splitting the file removed more code than leaving
1697        statistics in. I tinkered with malloc information command in the
1698        shell. I resurrected the malloc arena code as malloc boundary. This
1699        code is now compiled all the time even though it does not appear to
1700        work.
1701        * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
1702        libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
1703        libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
1704        libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
1705        libcsupport/src/malloc_get_statistics.c,
1706        libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
1707        libcsupport/src/malloc_report_statistics.c,
1708        libcsupport/src/malloc_report_statistics_plugin.c,
1709        libcsupport/src/malloc_statistics_helpers.c,
1710        libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
1711        libmisc/shell/main_perioduse.c: New files.
1712
17132007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1714
1715        * libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
1716        libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
1717        libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
1718        libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
1719        libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
1720        libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
1721        libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
1722        libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
1723        libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
1724        libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
1725        libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
1726        libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
1727        libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
1728        libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
1729        libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
1730        libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
1731        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
1732        libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
1733        libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
1734        rtems_Shell_ to rtems_shell_.
1735
17362007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1737
1738        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
1739        with info and dump as replacement for older command. Fix what looked
1740        like a typo for mount sub-commands.
1741        * libmisc/shell/main_mallocinfo.c: New file.
1742        * libmisc/shell/main_mallocdump.c: Removed.
1743
17442007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1745
1746        * libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
1747        malloc_info() routine.
1748        * libcsupport/src/mallocinfo.c: New file.
1749
17502007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1751
1752        * libmisc/stackchk/check.c: Add print of current stack pointer and
1753        stack info even if stack checker is not initialized.
1754
17552007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
1756
1757        * libcsupport/src/printk.c: Style.
1758
17592007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1760
1761        * score/src/threadqextractwithproxy.c: Conditionalize code that is only
1762        required in multiprocessing configuration.
1763
17642007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1765
1766        * score/src/objectget.c: Revert.
1767
17682007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1769
1770        * posix/src/timergettime.c: Include rtems/score/timespec.h
1771
17722007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1773
1774        * posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
1775        posix/include/mqueue.h, posix/include/sched.h,
1776        posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
1777        posix/include/rtems/posix/priority.h,
1778        posix/include/rtems/posix/psignal.h,
1779        posix/include/rtems/posix/threadsup.h,
1780        posix/include/rtems/posix/timer.h,
1781        posix/inline/rtems/posix/priority.inl,
1782        posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
1783        posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
1784        posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
1785        posix/src/cleanuppush.c, posix/src/cond.c,
1786        posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
1787        posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
1788        posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
1789        posix/src/conddestroy.c, posix/src/condinit.c,
1790        posix/src/condsignal.c, posix/src/condsignalsupp.c,
1791        posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
1792        posix/src/keycreate.c, posix/src/keydelete.c,
1793        posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
1794        posix/src/keysetspecific.c, posix/src/mqueue.c,
1795        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
1796        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
1797        posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
1798        posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
1799        posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
1800        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
1801        posix/src/mqueueunlink.c, posix/src/mutex.c,
1802        posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
1803        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1804        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1805        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1806        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1807        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1808        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
1809        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1810        posix/src/psignal.c, posix/src/psignalchecksignal.c,
1811        posix/src/psignalclearprocesssignals.c,
1812        posix/src/psignalclearsignals.c,
1813        posix/src/psignalsetprocesssignals.c,
1814        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1815        posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
1816        posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
1817        posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
1818        posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
1819        posix/src/semclose.c, posix/src/semdestroy.c,
1820        posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
1821        posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
1822        posix/src/semwait.c, posix/src/setcancelstate.c,
1823        posix/src/setcanceltype.c, posix/src/sysconf.c,
1824        posix/src/testcancel.c: Add missing copyright statements.
1825
18262007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1827
1828        * score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
1829
18302007-12-17      Joel Sherrill <joel.sherrill@OARcorp.com>
1831
1832        * posix/Makefile.am, posix/preinstall.am,
1833        posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
1834        Timer implementation into multiple files. Add obvious error checks
1835        for NULL parameters. Attempt to reduce include files.
1836        * posix/src/timercreate.c, posix/src/timerdelete.c,
1837        posix/src/timergetoverrun.c, posix/src/timergettime.c,
1838        posix/src/timerinserthelper.c, posix/src/timersettime.c,
1839        posix/src/timertsr.c: New files.
1840        * posix/src/ptimer1.c: Removed.
1841
18422007-12-17      Chris Johns <chrisj@rtems.org>
1843
1844        * libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
1845        libmisc/shell/main_unmount.c: New.
1846        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
1847        blksync, msdosfmt, and unmount commands.
1848
18492007-12-17      Chris Johns <chrisj@rtems.org>
1850
1851        * libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
1852        system opts table.
1853        * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
1854        system opts table.
1855        * libmisc/Makefile.am: Add the mount command and supporting files.
1856        * libmisc/preinstall.am: Rebuilt.
1857        * libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
1858        libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1859        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1860        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1861        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1862        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1863        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1864        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1865        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1866        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1867        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1868        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1869        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1870        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1871        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
1872        libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
1873        libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
1874        libmisc/shell/write_file.c: Move all shell_* types, variables and
1875        functions to rtems_shell_* to avoid namespace clashes with
1876        applications. The is an RTEMS shell after all.
1877        * libmisc/shell/shell.h, libmisc/shell/internal.h,
1878        libmisc/shell/shellconfig.h: Move all shell_* types, variables and
1879        functions to rtems_shell_* to avoid namespace clashes with
1880        applications. Add the mount command supporting types.
1881        * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
1882        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
1883        libmisc/shell/main_mount_tftp.c: New.
1884       
18852007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1886
1887        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
1888
18892007-12-14      Joel Sherrill <joel.sherrill@oarcorp.com>
1890
1891        * libmisc/Makefile.am, libmisc/shell/cat_file.c,
1892        libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
1893        cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
1894        * libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
1895        libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
1896        libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
1897        libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
1898        libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
1899        libmisc/shell/main_help.c, libmisc/shell/main_id.c,
1900        libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
1901        libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
1902        libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
1903        libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
1904        libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
1905        libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
1906        libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
1907        libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
1908        * libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
1909        libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
1910        libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
1911        libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
1912        libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
1913        libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
1914        libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
1915        libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
1916        libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
1917        libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
1918        libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
1919        libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
1920        libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
1921
19222007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1923
1924        * score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
1925        API.
1926
19272007-12-14      Joel Sherrill <joel.sherrill@OARcorp.com>
1928
1929        * posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
1930        * rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
1931        Minor cleanup to improve testability and eliminate dead code.
1932
19332007-12-12      Chris Johns <chrisj@rtems.org>
1934
1935        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1936        Add RTEMS license details.
1937
19382007-12-12      Chris Johns <chrisj@rtems.org>
1939
1940        * Makefile.am, preinstall.am: Added
1941        libblock/include/rtems/flashdisk.h to the installed header list.
1942        * libblock/Makefile.am: Add flashdisk.c to the files to build.
1943        * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
1944        New.
1945
19462007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1947
1948        * libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
1949        rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
1950        score/Makefile.am, score/preinstall.am: Revert testing patch.
1951
19522007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1953
1954        * posix/src/sched_rr_get_interval.c: Fix warning.
1955
19562007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1957
1958        * posix/Makefile.am, posix/src/clockgetcpuclockid.c,
1959        posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
1960        posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
1961        posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
1962        posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
1963        posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
1964        posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
1965        posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
1966        posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
1967        files into one function per file.
1968        * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
1969        posix/src/aio_read.c, posix/src/aio_return.c,
1970        posix/src/aio_suspend.c, posix/src/aio_write.c,
1971        posix/src/lio_listio.c, posix/src/sched_getparam.c,
1972        posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
1973        posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
1974        posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
1975        posix/src/sched_yield.c: New files.
1976        * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
1977
19782007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1979
1980        * libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
1981        posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
1982        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1983        posix/src/clocksettime.c, posix/src/devctl.c,
1984        posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
1985        posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
1986        sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
1987        POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
1988
19892007-12-13      Joel Sherrill <joel.sherrill@OARcorp.com>
1990
1991        * posix/src/adjtime.c: Clean up and verify against behavior documented
1992        in GNU/Linux man page provided with Fedora 7.
1993
19942007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
1995
1996        * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
1997        automake variables.
1998
19992007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2000
2001        * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
2002        rtems/src/tasks.c, rtems/src/taskvariableadd.c,
2003        rtems/src/taskvariabledelete.c: Add test code for task variables to
2004        improve coverage.
2005        * rtems/src/taskvariable_invoke_dtor.c: New file.
2006
20072007-12-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2008
2009        * posix/preinstall.am: Revert debug patch.
2010
20112007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2012
2013        * libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
2014        BSP.
2015
20162007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2017
2018        * libgnat/Makefile.am: Handle POSIX being disabled correctly.
2019
20202007-12-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2021
2022        * score/Makefile.am: Only used by ITRON so do not build if ITRON is
2023        disabled.
2024
20252007-12-12      Chris Johns <chrisj@rtems.org>
2026
2027        * Makefile.am: Added libmisc/shell/shellconfig.h to the installed
2028        header list.
2029        * libmisc/shell/shell_cmdset.c: Let the Initial command add occur
2030        in any order rather than before any commands have been added. Also
2031        made the command's strings be copies rather than references.
2032        * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2033
20342007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2035
2036        * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
2037        Move Ada support code that is untestable from the Standard RTEMS Test
2038        Suite into its own directory. All code in score, posix, rtems, and
2039        sapi should be testable by the Standard RTEMS Test Suites. It was
2040        buried under POSIX before so this should be a clearer location
2041        anyway.
2042        * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
2043        libgnat/adasupp.c: New files.
2044        * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2045
20462007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2047
2048        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
2049        Reverse file contents.
2050
20512007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2052
2053        * sapi/include/rtems/config.h: Correct idle task prototype.
2054
20552007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2056
2057        * libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
2058        libmisc/shell/internal.h, libmisc/shell/shell.c,
2059        libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
2060        processing now separated from main command loop. Addition of user
2061        commands and aliases tested. Monitor registration now explicit.
2062        * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
2063        libmisc/shell/write_file.c: New files.
2064
20652007-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2066
2067        * libmisc/Makefile.am: Fix typo.
2068
20692007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2070
2071        * ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
2072        libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
2073        into multiple files and add initial stages of command configuration.
2074        This seems to work but the monitor commands need to be integrated
2075        this way and the ability to configure user commands needs to be
2076        tested.
2077        * libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
2078        libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
2079        libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
2080        libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
2081        libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
2082        libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
2083        libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
2084        libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
2085        libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
2086        libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
2087        libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
2088        libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
2089        libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
2090        libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
2091        libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
2092        libmisc/shell/str2int.c: New files.
2093
20942007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2095
2096        * score/cpu/no_cpu/rtems/score/cpu.h: Fix Doxygen.
2097
20982007-12-10      Joel Sherrill <joel.sherrill@oarcorp.com>
2099
2100        * sapi/include/rtems/config.h: Fix idle thread prototype.
2101
21022007-12-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2103
2104        * sapi/include/confdefs.h: Separate the concept of configuring the
2105        interrupt stack size from actually reserving memory for it in the
2106        RTEMS Workspace.
2107
21082007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2109
2110        * httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
2111        installed. It is the initialization interface for both GoAhead and
2112        Simple HTTPD.
2113
21142007-12-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2115
2116        * sapi/include/rtems/config.h: Correct previous commit.
2117
21182007-12-05      Joel Sherrill <joel.sherrill@OARcorp.com>
2119
2120        * sapi/include/rtems/config.h: Commit temporary fix so
2121        interrupt_stack_size is accessible before RTEMS is initialized.
2122
21232007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2124
2125        * sapi/include/confdefs.h, sapi/include/rtems/config.h,
2126        sapi/include/rtems/init.h, sapi/src/exinit.c,
2127        score/include/rtems/system.h, score/src/isr.c: Move
2128        interrupt_stack_size field from CPU Table to Configuration Table.
2129        Eliminate CPU Table from all ports. Delete references to CPU Table in
2130        all forms.
2131
21322007-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2133
2134        * sapi/include/rtems/config.h: Add accessory macros for Configuration
2135        Table fields merged from CPU Table.
2136
21372007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
2138
2139        * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
2140        posix/preinstall.am, posix/include/rtems/posix/cond.h,
2141        posix/include/rtems/posix/mqueue.h,
2142        posix/include/rtems/posix/mutex.h,
2143        posix/include/rtems/posix/pthread.h,
2144        posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
2145        posix/src/mutexdestroy.c, posix/src/mutexinit.c,
2146        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2147        sapi/include/confdefs.h, sapi/include/rtems/config.h,
2148        sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
2149        sapi/src/exinit.c, score/include/rtems/system.h,
2150        score/include/rtems/score/mpci.h, score/src/mpci.c,
2151        score/src/thread.c, score/src/threadcreateidle.c,
2152        score/src/threadstackallocate.c, score/src/threadstackfree.c,
2153        score/src/wkspace.c: Moved most of the remaining CPU Table fields to
2154        the Configuration Table. This included pretasking_hook,
2155        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
2156        extra_mpci_receive_server_stack, stack_allocate_hook, and
2157        stack_free_hook. As a side-effect of this effort some multiprocessing
2158        code was made conditional and some style clean up occurred.
2159
21602007-12-03      Chris Johns <chrisj@rtems.org>
2161
2162        * libmisc/shell/shell.h: Added comments for the parameters to the
2163        shell_init function.
2164        * libmisc/shell/shell.c: Only set cflags if tcflags is
2165        non-zero. This means the shell can use the current cflags settings
2166        and the application does not need to know the baudrate etc.
2167        * libmisc/capture/capture.h: Fix the comment.
2168
21692007-11-30      Joel Sherrill <joel.sherrill@OARcorp.com>
2170
2171        * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2172        rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
2173        rtems/src/clockget.c, rtems/src/dpmemdelete.c,
2174        rtems/src/dpmemexternal2internal.c,
2175        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2176        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2177        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2178        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2179        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2180        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2181        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2182        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2183        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2184        rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
2185        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2186        rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
2187        rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
2188        rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
2189        rtems/src/taskresume.c, rtems/src/tasksetnote.c,
2190        rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
2191        rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
2192        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
2193        rtems/src/timercancel.c, rtems/src/timerdelete.c,
2194        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2195        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2196        rtems/src/timerserverfirewhen.c: Restructured all code with
2197        the switch (location) pattern so that OBJECTS_LOCAL is first
2198        and we can fall into it and the OBJECTS_ERROR case breaks
2199        to a return RTEMS_INVALID_ID.  This eliminates the return
2200        RTEMS_INTERNAL_ERROR at the bottom of each of these files which
2201        was unreachable and untestable code.  This resulted in a code
2202        savings of approximately 20 bytes per file on the SPARC/ERC32.
2203
22042007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2205
2206        * posix/Makefile.am: Restructed to move the
2207        OBJECTS_LOCAL case to the top of the switch statement and
2208        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2209        changes produced simplier assembly code and allowed for complete
2210        test coverage.  Also applied some consistency to the functions
2211        that translate the core status codes to POSIX status codes.
2212
22132007-11-30      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2214
2215        * posix/include/rtems/posix/mutex.h,
2216        posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
2217        posix/src/conddestroy.c, posix/src/condsignalsupp.c,
2218        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2219        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2220        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2221        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2222        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2223        posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
2224        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2225        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2226        posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
2227        posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
2228        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2229        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2230        posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
2231        posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
2232        posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
2233        posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
2234        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2235        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2236        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2237        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2238        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2239        posix/src/semclose.c, posix/src/semdestroy.c,
2240        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2241        rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
2242        rtems/src/timerfireafter.c, score/include/rtems/system.h,
2243        score/include/rtems/score/corebarrier.h,
2244        score/include/rtems/score/coremsg.h,
2245        score/include/rtems/score/coremutex.h,
2246        score/include/rtems/score/coresem.h: Restructed to move the
2247        OBJECTS_LOCAL case to the top of the switch statement and
2248        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
2249        changes produced simplier assembly code and allowed for complete
2250        test coverage.  Also applied some consistency to the functions
2251        that translate the core status codes to POSIX status codes.
2252        * posix/src/mutextranslatereturncode.c,
2253        posix/src/semaphoretranslatereturncode.c: New files.
2254        * posix/src/mutexfromcorestatus.c: Removed.
2255
22562007-11-30      Joel Sherrill <joel.sherrill@oarcorp.com>
2257
2258        * posix/inline/rtems/posix/priority.inl: Fix typo.
2259
22602007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2261
2262        * sapi/src/exinit.c, score/include/rtems/score/object.h,
2263        score/include/rtems/score/thread.h, score/src/object.c,
2264        score/src/thread.c: Conditionally compile out more code that is
2265        specific to multiprocessor configurations.
2266
22672007-11-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2268
2269        * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
2270        posix/src/conddestroy.c, posix/src/condinit.c,
2271        posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
2272        posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
2273        posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
2274        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2275        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2276        posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
2277        posix/src/mutexattrgetprioceiling.c,
2278        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
2279        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
2280        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
2281        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
2282        posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
2283        posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
2284        posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
2285        posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
2286        posix/src/semclose.c, posix/src/semdestroy.c,
2287        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
2288        posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
2289        Remove all pretense of POSIX MP support. The support in place was
2290        only a shell. This should make maintenance easier.
2291        * posix/include/rtems/posix/condmp.h,
2292        posix/include/rtems/posix/mqueuemp.h,
2293        posix/include/rtems/posix/mutexmp.h,
2294        posix/include/rtems/posix/pthreadmp.h,
2295        posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
2296        posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2297
22982007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2299
2300        * configure.ac, score/inline/rtems/score/thread.inl,
2301        score/src/threaddispatch.c: Add ability for user to disable inlining
2302        of _Thread_Enable_dispatch. This can save code space but more
2303        importantly it means the binary generated does not have code inlined
2304        that is difficult to test and very seldom executed.
2305
23062007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2307
2308        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2309        rtems/include/rtems/rtems/barrier.h,
2310        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
2311        score/src/corerwlockrelease.c: Fixed several implementation errors.
2312
23132007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2314
2315        * rtems/src/regioncreate.c, rtems/src/regiondelete.c,
2316        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2317        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2318        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2319        rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
2320        case to the top of the switch statement, have a single exit with one
2321        call to _RTEMS_Unlock_allocator and eliminate the fall-through return
2322        of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
2323        code and allowed for complete test coverage.
2324
23252007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2326
2327        * sapi/include/confdefs.h,
2328        score/cpu/powerpc/rtems/old-exceptions/cpu.h: Add
2329        CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2330
23312007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
2332
2333        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2334
23352007-11-27      Joel Sherrill <joel.sherrill@OARcorp.com>
2336
2337        * libnetworking/netinet/in_cksum.c: ARM optimized version does not
2338        support Thumb.
2339
23402007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2341
2342        * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
2343        Now works on gen5200/icecube.
2344
23452007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2346
2347        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2348
23492007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
2350
2351        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2352
23532007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2354
2355        * score/include/rtems/score/thread.h: Fix spelling error.
2356
23572007-11-17      Till Straumann <strauman@slac.stanford.edu>
2358
2359        * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
2360        Added checks so that use of 'stdio' is avoided (falling
2361        back to 'printk') before the system is up.
2362        Publish driver entry points so that the libi2c driver could
2363        be added to the applications 'device driver table'.
2364        This is not fully implemented yet, though, since in addition to
2365        initializing libi2c the low-level i2c bus drivers as well
2366        as high-level i2c device drivers need to be registered
2367        with the library.
2368        Updated README_libi2c accordingly.
2369
23702007-11-17      Till Straumann <strauman@slac.stanford.edu>
2371
2372        * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
2373        (SIOCGIFMEDIA) pass the user parameter down to the ioctl
2374        so that it knows what PHY they want to look at.
2375
23762007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2377
2378        * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
2379        in opposite files. Whoops!
2380
23812007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2382
2383        * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
2384        of the focus was on the beginning stages of making the login checker
2385        pluggable just like the shell.
2386
23872007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2388
2389        * posix/src/mprotect.c: Update comments.
2390
23912007-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
2392
2393        * posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
2394        will require gcc 4.3 or newer.
2395        * posix/src/ada_intrsupp.c: New file.
2396
23972007-11-09      Joel Sherrill <joel.sherrill@OARcorp.com>
2398
2399        * sapi/src/exinit.c, score/Makefile.am,
2400        score/include/rtems/score/apimutex.h: API Mutex calls should never
2401        have been inlined. Inlining them lead to many inlined copies of core
2402        mutex lock. This lead to over 2K savings in the SPARC/ERC32
2403        minimum.exe.
2404        * score/src/apimutex.c, score/src/apimutexallocate.c,
2405        score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2406
24072007-11-07      Till Straumann <strauman@slac.stanford.edu>
2408
2409        * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
2410        around _CPU_ISR_Set_level().
2411
24122007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2413
2414        * score/inline/rtems/score/object.inl: During test coverage analysis,
2415        we identified this sanity check which should have been conditional on
2416        RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
2417        operations. With all APIs enabled, this saved 352 bytes from the
2418        minimum executable on the SPARC/ERC32.
2419
24202007-11-07      Joel Sherrill <joel.sherrill@OARcorp.com>
2421
2422        * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
2423        compiler conditional attribute for methods that do not return. This
2424        avoids gcc generating unreachable code following calls to
2425        _Internal_error_Occurred.
2426
24272007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2428
2429        * configure.ac: Add ARM/Thumb Makefile.
2430
24312007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2432
2433        PR 1266/cpukit
2434        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
2435        of class for key indexing.
2436
24372007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
2438
2439        * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
2440        Fix headers and formatting.
2441
24422007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2443
2444        Miscellaneous changes made after a review against the POSIX spec.
2445        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
2446        passes a NULL in the attributes parameter, default attributes are used.
2447        * posix/src/prwlockdestroy.c: If there is at least one thread
2448        waiting, do not allow deletion.
2449        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
2450        operation used to obtain a RWLock for writing.
2451        * posix/src/pspinlocktranslatereturncode.c,
2452        score/include/rtems/score/corespinlock.h,
2453        score/src/corespinlockrelease.c: If the current thread is not the
2454        holder of the lock, do not allow an unlock and return EPERM.
2455        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
2456        for queueing with a timeout handler.
2457
24582007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
2459
2460        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
2461        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
2462        stack so gdb backtrace does not print corrupted frame message after
2463        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
2464        SPARC implementation and I made it more general.
2465
24662007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
2467
2468        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
2469        Cleaned up reports and fixed a bug related the printf format which
2470        resulted in lack of leading zeroes and misleading magnitude.
2471        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2472
24732007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2474
2475        * itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
2476        itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
2477        itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
2478        itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
2479        itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
2480        itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
2481        itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
2482        itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
2483        posix/src/condinit.c, posix/src/condsignalsupp.c,
2484        posix/src/condwaitsupp.c, posix/src/keydelete.c,
2485        posix/src/keygetspecific.c, posix/src/keysetspecific.c,
2486        posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
2487        posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
2488        posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
2489        posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
2490        posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
2491        posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
2492        posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
2493        posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
2494        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
2495        posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
2496        posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
2497        posix/src/pspindestroy.c, posix/src/pspinlock.c,
2498        posix/src/pspintrylock.c, posix/src/pspinunlock.c,
2499        posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
2500        posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
2501        posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
2502        posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
2503        posix/src/semclose.c, posix/src/semdestroy.c,
2504        posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
2505        rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
2506        rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
2507        rtems/src/dpmemexternal2internal.c,
2508        rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
2509        rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
2510        rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
2511        rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
2512        rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
2513        rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
2514        rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
2515        rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
2516        rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
2517        rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
2518        rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
2519        rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
2520        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
2521        rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
2522        rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
2523        rtems/src/signalsend.c, rtems/src/taskdelete.c,
2524        rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
2525        rtems/src/taskrestart.c, rtems/src/taskresume.c,
2526        rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
2527        rtems/src/taskstart.c, rtems/src/tasksuspend.c,
2528        rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
2529        rtems/src/taskvariableget.c, rtems/src/timercancel.c,
2530        rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
2531        rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
2532        rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
2533        rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
2534        score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
2535        score/src/mpci.c, score/src/objectgetnameasstring.c,
2536        score/src/threaddelayended.c, score/src/threadqtimeout.c: When
2537        multiprocessing is disabled, do not even allow the constant
2538        OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
2539        a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
2540        in the generation of binary code which can NOT be reached.
2541
25422007-10-26      Joel Sherrill <joel.sherrill@OARcorp.com>
2543
2544        * score/Makefile.am, score/include/rtems/score/thread.h,
2545        score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
2546        resulted in unnessary code explosion, many uncovered paths when
2547        looking at binary executable coverage, and only optimized getting
2548        self. Id translations were still getting pushed to a subroutine call
2549        to _Objects_Get. Later the non-inlined version can be further
2550        optimized to get Ids in range for the current API, then self, then
2551        look at other APIs.
2552        * score/src/threadget.c: New file.
2553
25542007-10-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2555
2556        * libi2c/README-libi2c
2557        document structure of libi2c library
2558
25592007-10-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2560
2561        * libi2c/libi2c.c, libi2c/libi2c.h:
2562        extend API to support SPI devices
2563        made libi2c.h C++-proof
2564
25652007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
2566
2567        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
2568        also in another file.  Mistake after splitting.
2569        * libcsupport/Makefile.am: Reflect file removal.
2570
25712007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
2572
2573        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
2574        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
2575        Minor updates from FreeBSD.
2576
25772007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2578
2579        * score/include/rtems/score/copyrt.h: Update year.
2580
25812007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
2582
2583        * score/include/rtems/score/copyrt.h: Update year.
2584
25852007-10-11      Daniel Hellstrom <daniel@gaisler.com>
2586
2587        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
2588        Fixed check of status when registering driver. Add use of strerror().
2589
25902007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
2591        Ralf Corsépius <ralf.corsepius@rtems.org>
2592
2593        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
2594        libnetworking/libc/if_indextoname.c,
2595        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
2596        * Makefile.am: Add files above.
2597        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2598
25992007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
2600
2601        * libmisc/stackchk/check.c: Eliminate output with little information.
2602        Always print a blown message using the same routine. Now works with
2603        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
2604        support in your GCC version.
2605
26062007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2607
2608        * libcsupport/src/gxx_wrappers.c: Revert.
2609
26102007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
2611
2612        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
2613        PRId32 to fix warning.
2614
26152007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2616
2617        * telnetd/passwd.h: New file.
2618
26192007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
2620
2621        * telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
2622        telnetd/telnetd.h: telnetd rewrite.
2623        * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2624
26252007-09-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2626
2627        PR 1262/filesystem
2628        * libcsupport/Makefile.am, libnetworking/libc/herror.c,
2629        libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
2630        telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
2631        telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
2632        writev() including documentation and test case.
2633        * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2634
26352007-09-21      Joel Sherrill <joel.sherrill@oarcorp.com>
2636
2637        * libnetworking/Makefile.am: Add dummy socketpair() implementation to
2638        document what is required to provide a fully functional
2639        implementation.
2640        * libnetworking/rtems/rtems_socketpair.c: New file.
2641
26422007-09-21      Ralf Corsépius <ralf.corsepius@rtems.org>
2643
2644        * aclocal/version.m4: Bump RTEMS_API to 4.9.
2645        Bump RTEMS_VERSION to 4.8.99.0.
2646
26472007-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2648
2649        * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2650
26512007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2652
2653        * posix/src/semaphorecreatesupp.c: Fixed warning.
2654
26552007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
2656
2657        * libmisc/dumpbuf/dumpbuf.c: Use printk.
2658
26592007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2660
2661        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
2662        Use uint32_t for ext_accm.
2663
26642007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
2665
2666        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
2667        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
2668        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
2669        fixed-size types instead of BSD fixed-size types.
2670
26712007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2672
2673        * libmisc/stackchk/check.c: Fix alignment of output.
2674
26752007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
2676
2677        * libmisc/monitor/monitor.h: Add network commands that were in the
2678        network supplement but not in the code.
2679        * libmisc/monitor/mon-network.c: New file.
2680
26812007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2682
2683        PR 1261/cpukit
2684        * posix/src/semaphorecreatesupp.c: Initialize all fields during
2685        semaphore creation.
2686
26872007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2688
2689        PR 1260/cpukit
2690        * posix/src/pthread.c: Get initial signals blocked from creating
2691        thread not from ourselves.
2692
26932007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
2694
2695        * score/src/watchdogtickle.c: Remove tabs.
2696
26972007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2698
2699        PR 1259/rtems
2700        * rtems/src/taskcreate.c: Initialize is_global in all cases since
2701        memory is not guaranteed to be zero.
2702
27032007-09-12  Sergei Organov  <osv@javad.com>
2704
2705        PR 1258/rtems
2706        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
2707        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
2708        Use block_allocate() instead of _Heap_Block_allocate(). Replace
2709        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
2710        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
2711        to changed block split strategy in _Heap_Allocate_aligned().
2712
27132007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
2714
2715        * libcsupport/src/printk.c: Remove unnecessary comments.
2716
27172007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2718
2719        * libmisc/monitor/mon-monitor.c:
2720        Corrected linked list of rtems_monitor_commands
2721
27222007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2723
2724        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
2725        walk on init, malloc, and free. The ability to walk the heap appears
2726        to disappeared during the rework of the C Program heap to skip the
2727        Region.
2728
27292007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
2730
2731        * score/src/heap.c: Style.
2732        * score/src/heapwalk.c: Add more information to prints.
2733        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
2734        is disabled.
2735
27362007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2737
2738        * libcsupport/Makefile.am, libcsupport/src/printk.c:
2739        * libcsupport/src/printk_plugin.c: New file.
2740        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
2741        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
2742        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
2743        rtems/src/ratemonreportstatistics.c: Added capability to specify
2744        your own "printf" routine to various reporting functions.  This
2745        added an XXX_with_plugin as the underlying implementation for
2746          + rtems_rate_monotonic_report_statistics
2747          + rtems_stack_checker_report_usage
2748          + rtems_cpu_usage_report
2749        As demonstration, the http netdemo can now print out stack
2750        and cpu usage reports.
2751
27522007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2753
2754        * shttpd/compat_rtems.c: Style clean up.
2755
27562007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2757
2758        * rtems/src/ratemonperiod.c: Clean up.
2759        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
2760
27612007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2762
2763        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2764
27652007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2766
2767        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2768
27692007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
2770
2771        * libmisc/Makefile.am: Add new files.
2772
27732007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
2774
2775        * libmisc/monitor/mon-object.c,
2776        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
2777        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
2778        * libmisc/monitor/mon-task, libmisc/Makefile.am:
2779        Added functionality for osmonweb support
2780
27812007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2782
2783        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
2784        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
2785        that are needed by osmonweb.
2786
27872007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
2788
2789        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
2790        Use printk.
2791
27922007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2793
2794        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
2795        spacing and spelling.
2796
27972007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2798
2799        PR 1256/networking
2800        * ftpd/ftpd.c: Fix unaligned access.
2801
28022007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
2803
2804        * posix/Makefile.am: Always build nanosleep.
2805
28062007-08-17      Chris Johns <chrisj@rtems.org>
2807
2808        * libmisc/capture/README: Minor copyright change.
2809        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
2810        libmisc/capture/capture.h: Fixed the memory leak when lots of
2811        tasks are being created and deleted. Improved the trigger
2812        interface so all task type actions can be caught.
2813
28142007-08-13      Chris Johns <chrisj@rtems.org>
2815
2816        * score/include/rtems/score/object.h: Point the
2817        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2818
28192007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
2820
2821        PR 1248/networking
2822        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
2823        reported that when no interfaces are successfully attached, the
2824        default route is broken and may result in a jump to an illegal
2825        address.
2826
28272007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
2828
2829        * score/inline/rtems/score/priority.inl: Use size_t instead of
2830          uint32_t for array index.
2831
28322007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2833
2834        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
2835          identify coldfire cpus.
2836
28372007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2838
2839        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
2840          coldfire.
2841
28422007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
2843
2844        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
2845          work-around bug m68k/coldfire -fomit-frame-pointer bug
2846          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
2847
28482007-07-27      Chris Johns <chrisj@rtems.org>
2849
2850        * wrapup/Makefile.am: Create archive from a file for hosts
2851        with a limited command line size.
2852
28532007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
2854
2855        * include/rtems/bspIo.h, include/rtems/pci.h:
2856        Add extern "C" guards. Reported by
2857        Robert S. Grimes <rsg@alum.mit.edu>.
2858
28592007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
2860
2861        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
2862        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
2863        the time appears to be reported correctly and add up to what is
2864        expected.
2865
28662007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
2867
2868        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
2869        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
2870        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
2871
28722007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
2873
2874        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
2875        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
2876        was always using uptime not time since last cpu usage reset when
2877        using nanoseconds granularity.
2878        * libmisc/cpuuse/cpuusagedata.c: New file.
2879
28802007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
2881
2882        * libcsupport/src/mount.c: Allow null for output parameter.
2883
28842007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
2885
2886        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
2887        to shttpd initialization.
2888
28892007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2890
2891        * libcsupport/src/malloc.c: Clean up Malloc debug code.
2892        * score/include/rtems/score/heap.h: Spacing.
2893        * score/inline/rtems/score/thread.inl:
2894        * score/src/heapfree.c. Clean up and add explicit check of the address
2895        being freed actually being in the heap.
2896        * score/src/heapwalk.c: Switch to printk and do not call abort.
2897
28982007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
2899
2900        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
2901        area contingent on the stack checker user extension having been
2902        initialized.
2903
29042007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2905
2906        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
2907        and recv(). We already had the BSD versions and these conflict
2908        sometimes when linking.
2909
29102007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
2911
2912        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
2913        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2914
29152007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2916
2917        * sapi/include/confdefs.h: Do not instantiate initialization
2918        thas/thread pointer tables for an API that is not configured.
2919
29202007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
2921
2922        * libcsupport/Makefile.am:
2923        * libcsupport/src/open_dev_console.c: New file.
2924
29252007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2926
2927        * score/src/corerwlock.c: Make sure structure is fully initialized.
2928        When reused, some fields will not be zero like at initialization.
2929
29302007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
2931
2932        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
2933        size. Account for this.
2934
29352007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
2936
2937        * configure.ac: Add NDEBUG as a command line compilation option.
2938
29392007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
2940
2941        * libmd/.cvsignore: New file.
2942
29432007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2944
2945        * shttpd/defs.h: Eliminate my_strncasecmp.
2946        * shttpd/string.c: Eliminate my_strncasecmp.
2947
29482007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2949
2950        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
2951        * pppd/Makefile.am: Reflect moving out md*.
2952        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
2953          libmd).
2954        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
2955        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
2956        * configure.ac, Makefile.am: Add libmd.
2957
29582007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2959
2960        * shttpd/defs.h: Eliminate my_strlcpy.
2961        * shttpd/string.c: Eliminate my_strlcpy.
2962
29632007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2964
2965        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
2966        * shttpd/string.c: Eliminate my_strdup, my_strndup.
2967        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
2968          libmd.a.
2969
29702007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
2971
2972        * wrapup/Makefile.am: Add libmd.a.
2973
29742007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2975
2976        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
2977          Add pppd/libmd.a.
2978        * pppd/md4.c: Don't include pppd.h.
2979
29802007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2981
2982        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
2983
29842007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2985
2986        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
2987        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
2988        Add config.h support.
2989
29902007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2991
2992        * shttpd/compat_rtems.h: Define closesocket.
2993
29942007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2995
2996        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
2997
29982007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
2999        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
3000        Use size_t for stack sizes.
3001
30022007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3003
3004        * configure.ac, Makefile.am: Add shttpd.
3005        * shttpd/Makefile.am: New.
3006        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
3007        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
3008        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
3009        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
3010        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
3011        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
3012        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
3013        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
3014        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
3015        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
3016        Import from shttpd-1.37.tar.gz.
3017
30182007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
3019
3020        * configure.ac: Remove "pad" from CPU_CONTEXT.
3021
30222007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
3023
3024        * score/src/coremsg.c: Formatting.
3025
30262007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3027
3028        * score/include/rtems/score/copyrt.h: Update copyright notice.
3029
30302007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3031
3032        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
3033        one function per file execpt io.c which contains required
3034        initialization methods.
3035        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
3036        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
3037        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
3038        sapi/src/iowrite.c: New files.
3039
30402007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
3041
3042        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
3043        table into Workspace but now it is only done if the application needs
3044        extra slots for dynamic driver registration. Cleaned up
3045        rtems_io_register_driver and rtems_io_unregister_driver code and
3046        added numerous error cases to register.
3047
30482007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
3049
3050        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
3051        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
3052        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
3053        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
3054        configuration parameter since it was used to configure a no longer
3055        used feature. Device names are now part of the filesystem not in a
3056        table. This also eliminated the variables _IO_Number_of_devices and
3057        _IO_Driver_name_table from RTEMS as well as the memory allocation
3058        used to populate _IO_Driver_name_table.
3059        * libmisc/monitor/mon-dname.c: Removed.
3060
30612007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3062
3063        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
3064        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
3065        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
3066        unused Workspace. Round the workspace required size to an 8 byte
3067        boundary instead of a 0x400 byte one. We may end up needing to add 8
3068        bytes again to account for the alignment rounding.
3069
30702007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
3071
3072        Yu Chen <chyyuu@gmail.com>
3073        * score/src/corespinlockwait.c: Per question posted as
3074        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
3075        logical operator to <=.
3076
30772007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3078
3079        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
3080        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
3081        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
3082        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
3083        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
3084        executive initialization.
3085
30862007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
3087
3088        * score/src/corerwlockrelease.c: Do not dereference NULL.
3089
30902007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3091
3092        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
3093        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
3094        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
3095        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
3096        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
3097        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
3098        sapi/include/rtems/extension.h: Split Classic API data instantiation
3099        into individual files. This reduces the size of the BSS section when
3100        an optional manager stub is used. Some tests showed about a 600 byte
3101        reduction in BSS size.
3102        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
3103        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
3104        _RTEMS_tasks_Number_of_initialization_tasks because they were only
3105        used in one place after initialized. It was a waste of space.
3106        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
3107        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
3108        rtems/src/ratemondata.c, rtems/src/regiondata.c,
3109        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
3110        sapi/src/extensiondata.c: New files.
3111
31122007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3113
3114        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
3115        functionality into multiple files to eliminate unnecessary cohesion.
3116        Update README.
3117        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
3118        New files.
3119        * libmisc/cpuuse/cpuuse.c: Removed.
3120
31212007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
3122
3123        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
3124        negative value in some circumstances. Also cleaned up to share uptime
3125        declaration.
3126
31272007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
3128
3129        * ChangeLog, configure.ac, libcsupport/src/__times.c,
3130        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3131        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
3132        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
3133        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
3134        score/Makefile.am, score/include/rtems/score/thread.h,
3135        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
3136        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
3137        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
3138        monotonic period statistics and CPU usage statistics. This capability
3139        is enabled by default although may be conditionally disabled by the
3140        user. It could be too much overhead on small targets but it does not
3141        appear to be bad in early testing. Its impact on code size has not
3142        been evaluated either. It is possible that both forms of statistics
3143        gathering could be disabled with further tweaking of the conditional
3144        compilation.
3145        * score/src/timespecdividebyinteger.c: New file.
3146
31472007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3148
3149        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
3150        functionally similar code here. Also cleanup print formats.
3151
31522007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3153
3154        * score/src/objectgetnameasstring.c: Internal threads use string names
3155        so in the current RTEMS source string object name can NOT be
3156        disabled. It is probably worth considering converting the internal
3157        threads to uint32_t style names so all the support for string names
3158        can be conditionally disabled.
3159
31602007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
3161
3162        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
3163        and greater than operations for timespecs.
3164        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
3165        New files.
3166
31672007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3168
3169        * score/src/objectgetnameasstring.c: Remove bogus ifdef
3170        RTEMS_POSIX_API.
3171
31722007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
3173
3174        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
3175        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
3176        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
3177        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
3178        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
3179        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
3180        score/Makefile.am, score/include/rtems/score/object.h,
3181        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
3182        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
3183        Added the following directives: rtems_rate_monotonic_get_statistics,
3184        rtems_rate_monotonic_reset_statistics,
3185        rtems_rate_monotonic_reset_all_statistics,
3186        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
3187        Obsoleted the rtems/rtmonuse.h file as a public interface.
3188        * rtems/src/ratemongetstatistics.c,
3189        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
3190        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
3191        score/src/objectgetnameasstring.c: New files.
3192        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
3193
31942007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
3195
3196        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
3197        rtems_io_register_name for use on unix.
3198        * libcsupport/src/unixlibc_io.c: New file.
3199
32002007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3201
3202        * score/src/coremsgseize.c: A blocking sender's message size was
3203        pulled out of the wrong field in the Wait information structure.
3204        * score/src/objectallocate.c: With the new optional manager support,
3205        we only stub out the initialization. This makes it possible to attempt
3206        to create an object with the information structure only initialized
3207        with all zeros.  This ensures we return an error cleanly in this case.
3208
32092007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3210
3211        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
3212        an optional manager, we cannot depend on it do initialize the
3213        internal Allocator Mutex.  This was always a questionable place to
3214        do it, so this is a cleanup.
3215
32162007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
3217
3218        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
3219        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
3220        suitable for inclusion in the Users Guide.
3221
32222007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
3223
3224        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
3225        ChangeLog-pre2007.
3226        * ChangeLog-pre2007: New file.
3227
32282007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
3229
3230        PR 1241/rtems
3231        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
3232        critical section window added with requeueing support.
3233
32342007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3235
3236        * libcsupport/include/rtems/cdefs.h,
3237          libcsupport/include/sys/cdefs.h: Remove.
3238        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
3239        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
3240        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
3241        libnetworking/netdb.h, libnetworking/resolv.h,
3242        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
3243        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
3244        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
3245        libnetworking/net/if.h, libnetworking/net/if_dl.h,
3246        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
3247        libnetworking/rtems/rtems_bsdnet_internal.h,
3248        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
3249        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
3250        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
3251        libnetworking/sys/uio.h, libnetworking/sys/un.h,
3252        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
3253        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
3254        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
3255        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
3256        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
3257        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
3258        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
3259
32602007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3261
3262        * Makefile.am: Reflect introduction of
3263          include/rtems/bsd/sys/cdefs.h.
3264        * include/rtems/bsd/sys/cdefs.h: New.
3265
32662007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3267
3268        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
3269        * libnetworking/sys/queue.h: Remove.
3270
32712007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
3272
3273        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
3274        <machine/endian.h>.
3275        * libnetworking/rtems/rtems_showroute.c,
3276        libnetworking/rtems/rtems_showipstat.c,
3277        libnetworking/rtems/rtems_showtcpstat.c,
3278        libnetworking/rtems/rtems_showicmpstat.c,
3279        libnetworking/rtems/rtems_showmbuf.c,
3280        libnetworking/rtems/rtems_showudpstat.c,
3281        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
3282        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
3283        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
3284        libnetworking/netinet/tcp_usrreq.c,
3285        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
3286        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
3287        libnetworking/netinet/ip_output.c,
3288        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
3289        libnetworking/netinet/udp_usrreq.c,
3290        libnetworking/netinet/tcp_output.c,
3291        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
3292        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
3293        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
3294        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
3295        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
3296        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
3297        instead of <sys/queue.h>.
3298        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
3299        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
3300        libnetworking/net/if.h, libnetworking/net/if_media.h,
3301        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
3302        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
3303        instead of <sys/queue.h>.
3304        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
3305        * include/rtems/bsd/sys/queue.h: New (Copied from
3306          libnetworking/sys/queue.h).
3307
33082007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3309
3310        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
3311        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
3312        score/Makefile.am, score/preinstall.am,
3313        score/include/rtems/score/userext.h, score/src/chain.c,
3314        score/src/userext.c: Switch to newlib reentrancy extension being
3315        installed in the initial set instead of using rtems_extension_create.
3316        While implementing this, noticed that user extensions and chain code
3317        had multiple functions in a single file which is not desirable in the
3318        SuperCore and API portions of RTEMS, so split these into multiple
3319        files with one function per file. Also noticed that some of user
3320        extension code was inlined for no particular reason so moved that to
3321        C bodies.  Split executive shutdown from initialization since not
3322        every application shuts down.  Moved __fini call to executive shutdown
3323        to be more symmetrical with where it is called at startup.
3324        * sapi/src/exshutdown.c, score/src/chainappend.c,
3325        score/src/chainextract.c, score/src/chainget.c,
3326        score/src/chaininsert.c, score/src/userextaddapiset.c,
3327        score/src/userextaddset.c, score/src/userextremoveset.c,
3328        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
3329        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
3330        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
3331        files.
3332        * score/inline/rtems/score/userext.inl: Removed.
3333
33342007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3335
3336        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
3337        reference _Configuration_MP_table if multiprocessing is disabled.
3338
33392007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
3340
3341        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
3342        reference _Configuration_MP_table if multiprocessing is disabled.
3343
33442007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3345
3346        * libnetworking/machine/endian.h: Remove.
3347        * libnetworking/Makefile.am: Remove machine/endian.h.
3348        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
3349        libnetworking/rtems/rtems_bsdnet_internal.h: Include
3350        <rtems/endian.h> instead of <machine/endian.h>.
3351        * Makefile.am: Add include/rtems/endian.h.
3352        * include/rtems/endian.h: New (Copied from
3353          libnetworking/machine/endian.h).
3354
33552007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3356
3357        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
3358        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
3359        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
3360        of <stdint.h>.
3361        * libnetworking/machine/endian.h: Remove
3362          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
3363        * NEWS: new.
3364
33652007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3366
3367        PR 1243
3368        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
3369
33702007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3371
3372        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
3373        to inline functions, using uint[16,32]_t.
3374        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
3375        with SUSv3.
3376        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
3377        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
3378        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
3379        Add HAVE_CONFIG_H magic.
3380        * libnetworking/libc/gethostbydns.c,
3381        libnetworking/libc/inet_net_ntop.c,
3382        libnetworking/libc/inet_pton.c: Eliminate __P.
3383        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
3384        return value of ntohl (POSIX requirement).
3385        Use UINT32_C macros to avoid overflows on 16bit targets.
3386        Eliminate __P.
3387        * configure.ac: Check for working PRIxPTR.
3388
33892007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
3390
3391        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
3392        score/src/threadinitialize.c, score/src/threadstackallocate.c:
3393        Use size_t for stack sizes.
3394
33952007-05-03      Joel Sherrill <joel@OARcorp.com>
3396
3397        * ChangeLog, libcsupport/src/malloc.c,
3398        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
3399        score/Makefile.am, score/preinstall.am: malloc never blocks so the
3400        Region Manager is quite heavy for implementing this. This patch
3401        implements the C Program Heap directly in terms of the new Protected
3402        Heap handler. This handler is a direct use of a SuperCore Heap in
3403        conjunction with the Allocator Mutex used internally by RTEMS. This
3404        saves 3184 bytes on most SPARC test executables.
3405        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
3406        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
3407        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
3408        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
3409        score/src/pheapinit.c, score/src/pheapresizeblock.c,
3410        score/src/pheapwalk.c: New files.
3411
34122007-05-03      Joel Sherrill <joel@OARcorp.com>
3413
3414        * libcsupport/src/rmdir.c: Fixed spacing.
3415        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
3416        newlibc.c. It is not required for minimum executing and drops 624
3417        from SPARC minimum executable.
3418        * libcsupport/src/newlibc_exit.c: New file.
3419
34202007-04-17      Joel Sherrill <joel@OARcorp.com>
3421
3422        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
3423        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
3424        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
3425        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
3426        rtems/src/taskinitusers.c, rtems/src/tasks.c,
3427        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
3428        reduce executable size. Most were refactoring of files. Split ITRON
3429        API files. Implemented mechanism to avoid initialization task/thread
3430        loop being linked in when that style of task initialization was not
3431        being used.
3432        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
3433        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
3434        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
3435        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
3436        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
3437        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
3438        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
3439        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
3440        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
3441        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
3442        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
3443        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
3444        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
3445        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
3446        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
3447        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
3448        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
3449        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
3450        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
3451        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
3452        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
3453
34542007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3455
3456        * score/include/rtems/score/thread.h:
3457          Use Context_Control_fp* instead of void* for fp_contexts.
3458
34592007-04-16      Joel Sherrill <joel@OARcorp.com>
3460
3461        PR 1240/filesystem
3462        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
3463        for filename was not being freed.
3464
34652007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3466
3467        * pppd/utils.c: Use uintptr_t instead of unsigned long.
3468
34692007-04-16      Joel Sherrill <joel@OARcorp.com>
3470
3471        * itron/src/rsm_tsk.c: Correct error returned.
3472
34732007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3474
3475        * configure.ac: Redefine LIBPOSIX to !UNIX.
3476        * posix/src/usleep.c, libcsupport/src/readlink.c:
3477        Update API to SUSv3.
3478
34792007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3480
3481        * posix/Makefile.am: Unconditionally build src/sleep.c,
3482          src/usleep.c.
3483        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
3484          CLOCK_MONOTONIC case.
3485        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
3486
34872007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3488
3489        * posix/Makefile.am: Cosmetics.
3490        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
3491        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
3492
34932007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3494
3495        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
3496          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
3497        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
3498          rtems/posix/time.h.
3499        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
3500          rtems/posix/time.h.
3501        * score/include/rtems/score/object.h: Use size_t for byte sizes.
3502
35032007-04-12      Joel Sherrill <joel@OARcorp.com>
3504
3505        * itron/src/rsm_tsk.c: Correct error returned.
3506
35072007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
3508
3509        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
3510
35112007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
3512
3513        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
3514        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
3515        _impure_ptr bug).
3516        Fix abuse of _REENT_INIT().
3517
35182007-04-05      Joel Sherrill <joel@OARcorp.com>
3519
3520        * itron/src/itrontime.c: Fix typo.
3521        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
3522        * score/src/iterateoverthreads.c: Safely take NULL as argument.
3523        * score/src/threaddispatch.c: Formatting.
3524
35252007-04-05      Joel Sherrill <joel@OARcorp.com>
3526
3527        * posix/Makefile.am: Fix formatting.
3528
35292007-04-05      Joel Sherrill <joel@OARcorp.com>
3530
3531        * posix/Makefile.am, posix/include/rtems/posix/time.h,
3532        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
3533        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
3534        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
3535        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
3536        posix/src/pthread.c, posix/src/pthreadcreate.c,
3537        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
3538        posix/src/sched.c, posix/src/semtimedwait.c,
3539        posix/src/sigtimedwait.c, posix/src/ualarm.c,
3540        rtems/src/clocktodtoseconds.c, score/Makefile.am,
3541        score/preinstall.am, score/include/rtems/score/tod.h,
3542        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3543        score/src/coretodget.c, score/src/coretodgetuptime.c,
3544        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
3545        manipulation routines in the SuperCore. Use them everywhere possible.
3546        This lead to significant cleanup in the API routines and eliminated
3547        some of the same code from the POSIX API. At this point, the
3548        SuperCore keeps time in POSIX timespec format properly from 1970. You
3549        just cannot set it before 1988 in keeping with RTEMS traditional
3550        behavior.
3551        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
3552        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
3553        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
3554        score/src/timespectoticks.c: New files.
3555        * posix/src/posixintervaltotimespec.c,
3556        posix/src/posixtimespecsubtract.c,
3557        posix/src/posixtimespectointerval.c: Removed.
3558
35592007-04-04      Joel Sherrill <joel@OARcorp.com>
3560
3561        * score/Makefile.am, score/include/rtems/score/tod.h,
3562        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
3563        non-inlined routine. It should only be used once so there is little
3564        advantage to inlining it.
3565        * score/src/coretodtickle.c: New file.
3566
35672007-04-02      Joel Sherrill <joel@OARcorp.com>
3568
3569        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
3570        dead code.
3571        * posix/src/time.c: Removed.
3572
35732007-04-02      Joel Sherrill <joel@OARcorp.com>
3574
3575        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
3576        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3577        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
3578        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
3579        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
3580        TOD_Ticks_per_second variable.
3581
35822007-04-02      Joel Sherrill <joel@OARcorp.com>
3583
3584        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
3585        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
3586        posix/src/clockgettime.c, posix/src/clocksettime.c,
3587        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
3588        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
3589        posix/src/sleep.c, rtems/Makefile.am,
3590        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
3591        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
3592        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
3593        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
3594        score/Makefile.am, score/include/rtems/score/tod.h,
3595        score/inline/rtems/score/tod.inl, score/src/coretod.c,
3596        score/src/coretodset.c: Convert from Classic API style TOD_Control as
3597        fundamental time structure to POSIX struct timespec. Add
3598        clock_get_uptime().
3599        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
3600        score/src/coretodgetuptime.c: New files.
3601        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
3602        score/src/coretodvalidate.c: Removed.
3603
36042007-04-02      Joel Sherrill <joel@OARcorp.com>
3605
3606        * libcsupport/src/printk.c: Add %p support.
3607
36082007-04-02      Joel Sherrill <joel@OARcorp.com>
3609
3610        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
3611        in addition to the pattern area being overwritten. Also do some
3612        cleanup.
3613
36142007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
3615
3616        * include/rtems/pci.h: Further stdint.h fixed-size types.
3617
36182007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3619
3620        * include/rtems/pci.h: Use stdint.h fixed size-types.
3621
36222007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3623
3624        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
3625        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
3626        * libnetworking/Makefile.am: Move libc/res_config.h to
3627          libc_a_SOURCES (File is being used).
3628        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
3629        Remove (Unused).
3630        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
3631        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
3632        Remove (Unused).
3633        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
3634
36352007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
3636
3637        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
3638        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
3639        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
3640        libnetworking/libc/gethostbynis.c,
3641        libnetworking/libc/gethostnamadr.c,
3642        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
3643        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
3644        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
3645        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
3646        libnetworking/libc/getservbyname.c,
3647        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
3648        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
3649        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
3650        libnetworking/libc/inet_net_ntop.c,
3651        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
3652        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
3653        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
3654        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
3655        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
3656        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
3657        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
3658        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
3659        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
3660        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
3661        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
3662        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
3663        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
3664        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
3665        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
3666        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
3667        SCCS, LINT. Add HAVE_CONFIG_H.
3668        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
3669
36702007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3671
3672        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
3673          uintptr_t.
3674
36752007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3676
3677        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
3678        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
3679
36802007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
3681
3682        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
3683        * libnetworking/net/netisr.h: Partial update from FreeBSD.
3684        * libcsupport/src/getpwent.c: Remove bogus cast to long.
3685        * libnetworking/libc/strsep.c: Don't build if provided by libc.
3686        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
3687        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
3688        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
3689        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3690        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
3691        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
3692        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
3693        (Abandoned in FreeBSD).
3694        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
3695        (Abandoned in FreeBSD).
3696        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
3697        (Abandoned in FreeBSD).
3698        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
3699        * libnetworking/netinet/ip_fw.c: Eliminate __P().
3700
37012007-03-28      Chris Johns <chrisj@rtems.org>
3702
3703        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
3704        score/include/rtems/score/watchdog.h: Add support for a handler to
3705        obtain the number of nanoseconds since the last clock tick. The
3706        primary interface for this is rtems_clock_set_nanoseconds_extension.
3707        Subsequent commits from Joel will redo the TOD support to use this
3708        capability.
3709        * rtems/src/clocksetnsecshandler.c: New file.
3710
37112007-03-28      Joel Sherrill <joel@OARcorp.com>
3712
3713        PR 1234/cpukit
3714        * libcsupport/Makefile.am: Provide printk() based implementation of
3715        __assert() to reduce dependencies in executables.
3716        * libcsupport/src/__assert.c: New file.
3717
37182007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3719
3720        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
3721        Use uintptr_t for "disrupt". Remove bogus (long) cast.
3722        * libnetworking/net/ppp-comp.h: Remove (Unused).
3723        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
3724        * libnetworking/sys/buf.h: Remove (Unused).
3725        * libnetworking/Makefile.am: Remove sys/buf.h.
3726        * libnetworking/kern/kern_sysctl.c,
3727        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
3728        <sys/buf.h>.
3729        *  libcsupport/include/sys/sockio.h: Partial update from
3730          FreeBSD.
3731
37322007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3733
3734        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
3735        * libnetworking/netinet/igmp.c: Eliminate __P().
3736        * libnetworking/netinet/in.c: Eliminate __P().
3737        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
3738        * libnetworking/netinet/in_pcb.c: Eliminate __P().
3739        * libnetworking/netinet/ip_output.c: Eliminate __P().
3740
37412007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3742
3743        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
3744        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
3745        Change int args to intptr_t because they are casted to pointers.
3746        * libnetworking/netinet/tcp_usrreq.c,
3747        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
3748
37492007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3750
3751        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
3752        "long", because long is not guaranteed to be castable to char*.
3753        * libnetworking/netinet/ip_input.c: Eliminate __P().
3754        Change "int next" to "int32_t next" for 16bit targets.
3755        * libnetworking/netinet/tcp_input.c: Eliminate __P().
3756        * libnetworking/netinet/in_rmx.c: Eliminate __P().
3757        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
3758        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
3759        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
3760        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
3761        * libnetworking/kern/uipc_domain.c: Eliminate __P().
3762
37632007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3764
3765        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
3766        Remove (Abandoned in FreeBSD).
3767        * libnetworking/Makefile.am: Remove net/pppcompress.c,
3768        net/pppcompress.h.
3769        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
3770        net/pppcompress.h.
3771        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
3772        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
3773        net/pppcompress.h.
3774
37752007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
3776
3777        * libnetworking/net/pppcompress.h: Eliminate __P().
3778        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
3779        * libnetworking/net/if_llc.h: Update from FreeBSD.
3780
37812007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
3782
3783        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
3784          <net/ppp-comp.h>.
3785        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
3786        Warn about using it.
3787        * libnetworking/Makefile.am: Add net/ppp_comp.h.
3788        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
3789        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
3790          FreeBSD.
3791        * libnetworking/machine/in_cksum.h: Eliminate __P().
3792        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
3793        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
3794        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
3795        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
3796        Eliminate __P().
3797        * libcsupport/src/scandir.c: Eliminate __P().
3798        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
3799        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
3800        Eliminate __P().
3801        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
3802        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
3803        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
3804
38052007-03-26      Joel Sherrill <joel@OARcorp.com>
3806
3807        PR 1231/cpukit
3808        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
3809        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
3810        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
3811        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
3812        posix/src/mutexattrgetprioceiling.c,
3813        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
3814        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
3815        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
3816        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
3817        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
3818        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
3819        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
3820        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
3821        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
3822        posix/src/posixtimespecsubtract.c,
3823        posix/src/posixtimespectointerval.c,
3824        posix/src/psignalclearprocesssignals.c,
3825        posix/src/psignalclearsignals.c,
3826        posix/src/psignalsetprocesssignals.c,
3827        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
3828        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
3829        unneeded includes of assert.h
3830
38312007-03-26      Joel Sherrill <joel@OARcorp.com>
3832
3833        * libcsupport/include/rtems/assoc.h: Pick up the include file
3834        changes associated with the file splitting.
3835
38362007-03-26      Joel Sherrill <joel@OARcorp.com>
3837
3838        * libcsupport/Makefile.am: Pick up the Makefile changes associated
3839        with the file splitting.
3840
38412007-03-26      Joel Sherrill <joel@OARcorp.com>
3842
3843        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
3844        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
3845        this will not be deemed necessary to commit to the 4.7 branch.
3846        * libcsupport/src/assoclocalbyname.c,
3847        libcsupport/src/assoclocalbyremote.c,
3848        libcsupport/src/assoclocalbyremotebitfield.c,
3849        libcsupport/src/assocnamebylocal.c,
3850        libcsupport/src/assocnamebylocalbitfield.c,
3851        libcsupport/src/assocnamebyremote.c,
3852        libcsupport/src/assocnamebyremotebitfield.c,
3853        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
3854        libcsupport/src/assocptrbyremote.c,
3855        libcsupport/src/assocremotebylocal.c,
3856        libcsupport/src/assocremotebylocalbitfield.c,
3857        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
3858        libcsupport/src/write_r.c: New files.
3859
38602007-03-26      Joel Sherrill <joel@OARcorp.com>
3861
3862        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
3863        support and remove deadcode. Replace with comment explaining that
3864        behavior is compatible with GNU/Linux per Eric Norum.
3865
38662007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
3867
3868        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
3869        Partial update from FreeBSD.
3870        * libnetworking/netinet/if_ether.h: Eliminate __P().
3871        * libnetworking/netinet/ip_var.h: Eliminate __P().
3872        * libnetworking/netinet/in.h: Eliminate __P().
3873        * libnetworking/netinet/tcp_var.h: Eliminate __P().
3874
38752007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3876
3877        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
3878        Remove __P();
3879        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
3880
38812007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
3882
3883        * libnetworking/netinet/in_var.h: Remove __P().
3884        * libnetworking/netinet/in_systm.h: Remove __P().
3885        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
3886        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
3887        * libnetworking/netinet/if_ether.c: Remove __P().
3888        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
3889        More updates from FreeBSD.
3890        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
3891        libnetworking/net/route.h: Partial update from FreeBSD.
3892
38932007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
3894
3895        * libnetworking/Makefile.am: Remove nfs/krpc.h.
3896        * libnetworking/nfs/krpc.h: Remove (Unused).
3897        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
3898        * libnetworking/Makefile.am: Remove nfs/nfs.h.
3899        * libnetworking/nfs/nfs.h: Remove (Unused).
3900
39012007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3902
3903        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
3904          symbols.
3905        * libnetworking/sys/conf.h: Don't include machine/conf.h.
3906        Update copyright notice.
3907        Remove unused/non-implemented declarations.
3908        * libnetworking/Makefile.am: Remove machine/conf.h.
3909        * libnetworking/machine/conf.h: Remove.
3910
39112007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
3912
3913        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
3914        Remove many non-supported/unused declarations.
3915
39162007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3917
3918        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
3919          crhold (Unused/non-implemented).
3920
39212007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3922
3923        * libnetworking/sys/ucred.h: Remove __P().
3924        * libnetworking/sys/callout.h: Remove __P().
3925        * libnetworking/sys/domain.h: Remove __P().
3926        * libnetworking/sys/socketvar.h: Remove __P().
3927        * libnetworking/sys/socket.h: Remove __P().
3928        * libnetworking/sys/select.h: Remove __P().
3929        * libnetworking/sys/kernel.h: Remove __P().
3930        * libnetworking/sys/protosw.h: Remove __P().
3931        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
3932        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
3933        swdevt, nswdev, nswap (Unused).
3934
39352007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
3936
3937        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
3938        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
3939        instead of struct linesw (PR 1229)
3940        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
3941        around clash with defines from rtems_bsdnet_internal.h.
3942        * score/src/heapwalk.c: include stdlib.h.
3943
39442007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
3945
3946        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
3947        Remove __P().
3948        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
3949        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
3950        Remove __P().
3951        * libcsupport/include/rtems/termiostypes.h,
3952        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
3953        with rtems_termios_*.
3954        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
3955        (Clash with termiostypes.h - PR 1229).
3956
39572007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
3958
3959        * score/include/rtems/score/wkspace.h,
3960        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
3961        Change _Workspace_Handler_initialization and
3962        _Workspace_Allocate_or_fatal_error to using size_t.
3963        * libnetworking/sys/rtprio.h: Remove (Unused).
3964        * libnetworking/Makefile.am: Remove sys/rtprio.h.
3965
39662007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
3967
3968        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
3969        Remove __P().
3970
39712007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
3972
3973        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
3974          to fix warnings.
3975        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
3976        * score/include/rtems/score/chain.h, score/src/chain.c:
3977        Change _Chain_Initialize to using size_t.
3978
39792007-03-12      Joel Sherrill <joel@OARcorp.com>
3980
3981        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
3982        Dump_Buffer to rtems_print_buffer.
3983
39842007-03-12      Joel Sherrill <joel@OARcorp.com>
3985
3986        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
3987        license URL and/or fix mistake in copyright notice. Both of these
3988        mistakes appear to be from code submitted after these changes were
3989        made previously.
3990
39912007-03-10      Joel Sherrill <joel@OARcorp.com>
3992
3993        PR 1226/cpukit
3994        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
3995        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
3996
39972007-03-08      Joel Sherrill <joel@OARcorp.com>
3998
3999        * libfs/src/imfs/imfs.h: Fix comment.
4000
40012007-03-08      Joel Sherrill <joel@OARcorp.com>
4002
4003        * libfs/src/imfs/imfs.h: Fix comment.
4004
40052007-03-08      Joel Sherrill <joel@OARcorp.com>
4006
4007        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
4008        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
4009
40102007-03-08      Joel Sherrill <joel@OARcorp.com>
4011
4012        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
4013        Remove wrapper for message queue send and urgent and implement them
4014        directly. There was an unnecessary function call layer in addition to
4015        conditions in the shared routine. Directly coding both directives is
4016        simpler and should result in smaller code.
4017        * rtems/src/msgqsubmit.c: Removed.
4018
40192007-03-05      Joel Sherrill <joel@OARcorp.com>
4020
4021        PR 1222/cpukit
4022        * score/Makefile.am, score/include/rtems/score/coremutex.h,
4023        score/include/rtems/score/threadq.h,
4024        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
4025        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
4026        score/src/threadclearstate.c, score/src/threadhandler.c,
4027        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
4028        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
4029        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
4030        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
4031        score/src/threadsetstate.c: Enhance so that when the prioirity of a
4032        thread that is blocked on a priority based thread queue is changed,
4033        that its placement in the queue is reevaluated based upon the new
4034        priority. This enhancement includes modifications to the SuperCore as
4035        well as new test cases.
4036        * score/src/threadqrequeue.c: New file.
4037
40382007-03-05      Joel Sherrill <joel@OARcorp.com>
4039
4040        * sapi/src/exinit.c: Fix spacing.
4041
40422007-03-05      Joel Sherrill <joel@OARcorp.com>
4043
4044        PR 1221/cpukit
4045        * posix/src/pthreadequal.c: Fix critical section nesting.
4046
40472007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
4048
4049        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
4050          compiled files.
4051
40522007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
4053
4054        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
4055
40562007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
4057
4058        * score/Makefile.am: Remove macros/README.
4059
40602007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
4061
4062        * score/include/rtems/score/heap.h, score/src/heap.c,
4063        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
4064        More size_t for heap-sizes.
4065        * score/include/rtems/score/heap.h, score/src/heap.c,
4066        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
4067        heap-sizes.
4068        * libnetworking/resolv.h: Typo fixes. Remove __P().
4069
40702007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
4071
4072        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
4073        Use size_t for stack-sizes.
4074
40752007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
4076
4077        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
4078          functions.
4079        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
4080        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
4081
40822007-02-06      Till Straumann <strauman@slac.stanford.edu>
4083
4084        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
4085        taskvar dtor to plug memory leak. Applied patch attached
4086        to PR#690.
4087
40882007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4089
4090        * libcsupport/src/getpagesize.c: New (moved from posix/src).
4091        * posix/src/getpagesize.c: Removed.
4092        * posix/Makefile.am: Remove references to getpagesize.c.
4093        * libcsupport/Makefile.am: Add getpagesize.c.
4094
40952007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4096
4097        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
4098        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
4099          visible.
4100        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
4101
41022007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4103
4104        * rtems/src/msgqsend.c: Use size_t for sizes.
4105        * rtems/src/msgqurgent.c: Use size_t for sizes.
4106        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
4107        * rtems/src/msgmp.c: Use size_t for sizes.
4108        * rtems/src/msgqsubmit.c: Use size_t for sizes.
4109        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
4110        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4111        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
4112
41132007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
4114
4115        * itron/src/trcv_mbf.c: Use size_t for sizes.
4116        * libmisc/monitor/mon-object.c: Use size_t for sizes.
4117        * libmisc/monitor/mon-server.c: Use size_t for sizes.
4118        * libmisc/monitor/monitor.h: Use size_t for sizes.
4119        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
4120        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
4121        * rtems/src/msgqreceive.c: Use size_t for sizes.
4122        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
4123        * score/src/coremsgseize.c: Use size_t for sizes.
4124
41252007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
4126
4127        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
4128        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
4129        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
4130        * score/src/coremsgbroadcast.c: Use size_t for sizes.
4131        * score/src/coremsgsubmit.c: Use size_t for sizes.
4132
41332007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
4134
4135        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
4136
41372007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
4138
4139        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
4140
41412007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
4142
4143        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
4144        Remove isblank (supposed to be provided by libc).
4145
41462007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4147
4148        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
4149
41502007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
4151
4152        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
4153         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
4154        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
4155        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
4156        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
4157
41582007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
4159
4160        * score/include/rtems/system.h:
4161        #define __RTEMS_MINOR__ 7 (BZ 1206).
4162
41632007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
4164
4165        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
4166        export some internal variables to make them available in
4167        "show_bdbuf" monitor add-on
4168
41692007-01-16      Till Straumann <strauman@slac.stanford.edu>
4170
4171        * libnetworking/rtems/rtems_mii_ioctl.c,
4172        libnetworking/rtems/rtems_mii_ioctl.h,
4173        libnetworking/rtems/rtems_mii_ioctl_kern.c,
4174        libi2c/libi2c.c, libi2c/libi2c.h:
4175        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
4176
41772007-01-09      Joel Sherrill <joel@OARcorp.com>
4178
4179        * libcsupport/src/error.c: rtems_progname is no longer defined in
4180        the BSP startup since it never held a meaningful value.
4181
41822007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
4183
4184        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
4185        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.