source: rtems/cpukit/ChangeLog @ bd029d87

4.8
Last change on this file since bd029d87 was bd029d87, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 4, 2008 at 7:49:33 PM

2008-08-04 Joel Sherrill <joel.sherrill@…>

PR 1265/cpukit

  • score/include/rtems/score/object.h, score/src/objectallocatebyindex.c: Rename index argument to avoid warning when rtems.h and string.h are included at the same time by user code.
  • Property mode set to 100644
File size: 68.4 KB
Line 
12008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
2
3        PR 1265/cpukit
4        * score/include/rtems/score/object.h,
5        score/src/objectallocatebyindex.c: Rename index argument to avoid
6        warning when rtems.h and string.h are included at the same time by
7        user code.
8
92008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
10
11        PR 1291/cpukit
12        * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
13        posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
14        posix/include/rtems/posix/semaphore.h,
15        posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
16        posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
17        posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
18        posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
19        posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
20        posix/src/posixtimespecabsolutetimeout.c,
21        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
22        posix/src/semaphoretranslatereturncode.c,
23        posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
24        posix/src/semtrywait.c, posix/src/semwait.c,
25        posix/src/sigtimedwait.c, posix/src/timersettime.c,
26        posix/src/ualarm.c, rtems/src/semobtain.c,
27        rtems/src/semtranslatereturncode.c,
28        score/include/rtems/score/coremutex.h,
29        score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
30        patch addresses issues on implementation of the timeout on the
31        following POSIX services. Some of these services incorrectly took a
32        timeout as a relative time. Others would compute a 0 delta to timeout
33        if the absolute time and the current time were equal and thus
34        incorrectly block the caller forever. The root of the confusion is
35        that POSIX specifies that if the timeout is incorrect (e.g. in the
36        past, is now, or is numerically invalid), that it does not matter if
37        the call would succeed without blocking. This is in contrast to RTEMS
38        programming style where all errors are checked before any critical
39        sections are entered. This fix implemented a more uniform way of
40        handling POSIX absolute time timeouts.
41            + pthread_cond_timedwait - could block forever
42            + mq_timedreceive - used relative not absolute time
43            + mq_timedsend - used relative not absolute time
44            + pthread_mutex_timedlock - used relative not absolute time
45            + pthread_rwlock_timedrdlock- used relative not absolute time
46            + pthread_rwlock_timedwrlock- used relative not absolute time
47            + sem_timedwait - could block forever
48
492008-05-06      Joel Sherrill <joel.sherrill@OARcorp.com>
50
51        PR 1285/rtems
52        * sapi/include/rtems/config.h: Remove obsolete
53        rtems_configuration_get_maximum_devices().
54
552008-04-25      Joel Sherrill <joel.sherrill@OARcorp.com>
56
57        * score/include/rtems/system.h: Fix typo in comment.
58
592008-03-07      Joel Sherrill <joel.sherrill@OARcorp.com>
60
61        PR 1280/tools
62        * shttpd/log.c: Broaden logic so all gcc versions < 4.3.0 will enable
63        work around.
64
652008-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
66
67        * libcsupport/include/motorola/mc68230.h: Prefix defines with
68          MC68230_ to avoid preprocessor clashes.
69
702008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
71
72        PR 1277/networking
73        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
74        constraint for assembly language. This restricts the register choice
75        to the a-d registers.
76
772008-02-05      Joel Sherrill <joel.sherrill@OARcorp.com>
78
79        * posix/Makefile.am: Remove these. They were proposed but never
80        standardized.
81        * posix/src/pthreadgetcputime.c, posix/src/pthreadsetcputime.c: Removed.
82
832007-12-23      Ralf Corsépius <ralf.corsepius@rtems.org>
84
85        * libcsupport/src/sync.c: Make sync() POSIX-compliant.
86        * libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
87
882007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
89
90        PR 1268/cpukit
91        * libcsupport/include/rtems/assoc.h,
92        rtems/src/semtranslatereturncode.c: There is no
93        rtems_assoc_ptr_by_value method.
94
952007-12-16      Ralf Corsépius <ralf.corsepius@rtems.org>
96
97        * configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
98
992007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
100
101        * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
102        Reverse file contents.
103
1042007-12-06      Joel Sherrill <joel.sherrill@OARcorp.com>
105
106        * httpd/Makefile.am, httpd/preinstall.am,
107        rtems/src/semtranslatereturncode.c: rtems_webserver.h must be
108        installed. It is the initialization interface for both GoAhead and
109        Simple HTTPD.
110
1112007-12-05      Ralf Corsépius <ralf.corsepius@rtems.org>
112
113        * configure.ac: Remove score/cpu/avr/Makefile,
114        score/cpu/nios2/Makefile, score/cpu/avr/Makefile.
115        * score/cpu/Makefile.am: Remove avr, nios2, c4x.
116
1172007-12-04      Ralf Corsépius <ralf.corsepius@rtems.org>
118
119        * score/cpu/nios2, score/cpu/c4x, score/cpu/avr: Remove from
120          rtems-4-8-branch.
121
1222007-11-27      Glenn Humphrey <glenn.humphrey@OARcorp.com>
123
124        * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
125        rtems/include/rtems/rtems/barrier.h,
126        score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
127        score/src/corerwlockrelease.c: Fixed several implementation errors.
128
1292007-11-27      Joel Sherrill <joel.sherrill@oarcorp.com>
130
131        * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
132
1332007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
134
135        * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
136
1372007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
138
139        * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
140
1412007-11-26      Joel Sherrill <joel.sherrill@OARcorp.com>
142
143        * score/include/rtems/score/thread.h: Fix spelling error.
144
1452007-11-06      Joel Sherrill <joel.sherrill@OARcorp.com>
146
147        PR 1266/cpukit
148        * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
149        of class for key indexing.
150
1512007-11-06      Glenn Humphrey <glenn.humphrey@OARcorp.com>
152
153        Miscellaneous changes made after a review against the POSIX spec.
154        * posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
155        passes a NULL in the attributes parameter, default attributes are used.
156        * posix/src/prwlockdestroy.c: If there is at least one thread
157        waiting, do not allow deletion.
158        * posix/src/prwlockwrlock.c: Corrected parameter passed to the core
159        operation used to obtain a RWLock for writing.
160        * posix/src/pspinlocktranslatereturncode.c,
161        score/include/rtems/score/corespinlock.h,
162        score/src/corespinlockrelease.c: If the current thread is not the
163        holder of the lock, do not allow an unlock and return EPERM.
164        * score/src/corerwlockobtainwrite.c: Corrected to use the operation
165        for queueing with a timeout handler.
166
1672007-11-02      Joel Sherrill <joel.sherrill@OARcorp.com>
168
169        * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
170        score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
171        stack so gdb backtrace does not print corrupted frame message after
172        _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
173        SPARC implementation and I made it more general.
174
1752007-10-26      Glenn Humphrey <glenn.humphrey@OARcorp.com>
176
177        * libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
178        Cleaned up reports and fixed a bug related the printf format which
179        resulted in lack of leading zeroes and misleading magnitude.
180        * score/src/timespecdivide.c: Fixed bugs related to zero divide case.
181
1822007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
183
184        * telnetd/icmds.c: Add header to file.
185
1862007-10-19      Joel Sherrill <joel.sherrill@OARcorp.com>
187
188        * libcsupport/src/assoc.c: Removed.  Accidentally included routine
189        also in another file.  Mistake after splitting.
190        * libcsupport/Makefile.am: Reflect file removal.
191
1922007-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
193
194        * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
195        libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
196        Minor updates from FreeBSD.
197
1982007-10-11      Joel Sherrill <joel.sherrill@OARcorp.com>
199
200        * score/include/rtems/score/copyrt.h: Update year.
201
2022007-10-11      Daniel Hellstrom <daniel@gaisler.com>
203
204        * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
205        Fixed check of status when registering driver. Add use of strerror().
206
2072007-10-04      Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
208        Ralf Corsépius <ralf.corsepius@rtems.org>
209
210        * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
211        libnetworking/libc/if_indextoname.c,
212        libnetworking/libc/if_nameindex.c: New (from FreeBSD)
213        * Makefile.am: Add files above.
214        * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
215
2162007-09-28      Joel Sherrill <joel.sherrill@oarcorp.com>
217
218        * libmisc/stackchk/check.c: Eliminate output with little information.
219        Always print a blown message using the same routine. Now works with
220        GNAT RTS -fstack-checking if you have patch for the RTEMS specific
221        support in your GCC version.
222
2232007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
224
225        * posix/src/semaphorecreatesupp.c: Fixed warning.
226
2272007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
228
229        * libmisc/dumpbuf/dumpbuf.c: Use printk.
230
2312007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
232
233        * libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
234        Use uint32_t for ext_accm.
235
2362007-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
237
238        * pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
239        pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
240        pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
241        fixed-size types instead of BSD fixed-size types.
242
2432007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
244
245        * libmisc/stackchk/check.c: Fix alignment of output.
246
2472007-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
248
249        * libmisc/monitor/monitor.h: Add network commands that were in the
250        network supplement but not in the code.
251        * libmisc/monitor/mon-network.c: New file.
252
2532007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
254
255        PR 1261/cpukit
256        * posix/src/semaphorecreatesupp.c: Initialize all fields during
257        semaphore creation.
258
2592007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
260
261        PR 1260/cpukit
262        * posix/src/pthread.c: Get initial signals blocked from creating
263        thread not from ourselves.
264
2652007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
266
267        * score/src/watchdogtickle.c: Remove tabs.
268
2692007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
270
271        PR 1259/rtems
272        * rtems/src/taskcreate.c: Initialize is_global in all cases since
273        memory is not guaranteed to be zero.
274
2752007-09-12  Sergei Organov  <osv@javad.com>
276
277        PR 1258/rtems
278        * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
279        * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
280        Use block_allocate() instead of _Heap_Block_allocate(). Replace
281        _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
282        * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
283        to changed block split strategy in _Heap_Allocate_aligned().
284
2852007-09-10      Joel Sherrill <joel.sherrill@OARcorp.com>
286
287        * libcsupport/src/printk.c: Remove unnecessary comments.
288
2892007-09-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
290
291        * libmisc/monitor/mon-monitor.c:
292        Corrected linked list of rtems_monitor_commands
293
2942007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
295
296        * libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
297        walk on init, malloc, and free. The ability to walk the heap appears
298        to disappeared during the rework of the C Program heap to skip the
299        Region.
300
3012007-09-07      Joel Sherrill <joel.sherrill@oarcorp.com>
302
303        * score/src/heap.c: Style.
304        * score/src/heapwalk.c: Add more information to prints.
305        * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
306        is disabled.
307
3082007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
309
310        * libcsupport/Makefile.am, libcsupport/src/printk.c:
311        * libcsupport/src/printk_plugin.c: New file.
312        include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
313        libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
314        libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
315        rtems/src/ratemonreportstatistics.c: Added capability to specify
316        your own "printf" routine to various reporting functions.  This
317        added an XXX_with_plugin as the underlying implementation for
318          + rtems_rate_monotonic_report_statistics
319          + rtems_stack_checker_report_usage
320          + rtems_cpu_usage_report
321        As demonstration, the http netdemo can now print out stack
322        and cpu usage reports.
323
3242007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
325
326        * shttpd/compat_rtems.c: Style clean up.
327
3282007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
329
330        * rtems/src/ratemonperiod.c: Clean up.
331        * rtems/src/ratemonreportstatistics.c: Clarify period statistics output.
332
3332007-09-06      Joel Sherrill <joel.sherrill@oarcorp.com>
334
335        * libmisc/monitor/mon-monitor.c: Fix warnings and typo.
336
3372007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
338
339        * libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
340
3412007-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
342
343        * libmisc/Makefile.am: Add new files.
344
3452007-09-05      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
346
347        * libmisc/monitor/mon-object.c,
348        * libmisc/monitor/monitor.h, libmisc/monitor/mon-part.c,
349        * libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c,
350        * libmisc/monitor/mon-task, libmisc/Makefile.am:
351        Added functionality for osmonweb support
352
3532007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
354
355        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
356        libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements
357        that are needed by osmonweb.
358
3592007-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
360
361        * libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
362        Use printk.
363
3642007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
365
366        * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix
367        spacing and spelling.
368
3692007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
370
371        PR 1256/networking
372        * ftpd/ftpd.c: Fix unaligned access.
373
3742007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
375
376        * posix/Makefile.am: Always build nanosleep.
377
3782007-08-17      Chris Johns <chrisj@rtems.org>
379
380        * libmisc/capture/README: Minor copyright change.
381        * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
382        libmisc/capture/capture.h: Fixed the memory leak when lots of
383        tasks are being created and deleted. Improved the trigger
384        interface so all task type actions can be caught.
385
3862007-08-13      Chris Johns <chrisj@rtems.org>
387
388        * score/include/rtems/score/object.h: Point the
389        OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
390
3912007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
392
393        PR 1248/networking
394        * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
395        reported that when no interfaces are successfully attached, the
396        default route is broken and may result in a jump to an illegal
397        address.
398
3992007-07-31      Ralf Corsépius <ralf.corsepius@rtems.org>
400
401        * score/inline/rtems/score/priority.inl: Use size_t instead of
402          uint32_t for array index.
403
4042007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
405
406        * libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
407          identify coldfire cpus.
408
4092007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
410
411        * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and
412          coldfire.
413
4142007-07-30      Ralf Corsépius <ralf.corsepius@rtems.org>
415
416        * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to
417          work-around bug m68k/coldfire -fomit-frame-pointer bug
418          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307.
419
4202007-07-27      Chris Johns <chrisj@rtems.org>
421
422        * wrapup/Makefile.am: Create archive from a file for hosts
423        with a limited command line size.
424
4252007-07-26      Ralf Corsépius <ralf.corsepius@rtems.org>
426
427        * include/rtems/bspIo.h, include/rtems/pci.h:
428        Add extern "C" guards. Reported by
429        Robert S. Grimes <rsg@alum.mit.edu>.
430
4312007-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
432
433        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
434        score/src/timespecdivide.c: Fix various math and reporting bugs. Now
435        the time appears to be reported correctly and add up to what is
436        expected.
437
4382007-07-24      Ralf Corsépius <ralf.corsepius@rtems.org>
439
440        * shttpd/Makefile.am: Prefix all non-public symbols with _shttp_.
441        * shttpd/compat_rtems.c: Don't build my_stat for rtems.
442        * shttpd/defs.h: Don't build most of my_* wrappers for rtems.
443
4442007-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
445
446        * libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
447        libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
448        was always using uptime not time since last cpu usage reset when
449        using nanoseconds granularity.
450        * libmisc/cpuuse/cpuusagedata.c: New file.
451
4522007-07-13      Joel Sherrill <joel.sherrill@oarcorp.com>
453
454        * libcsupport/src/mount.c: Allow null for output parameter.
455
4562007-07-12      Joel Sherrill <joel.sherrill@oarcorp.com>
457
458        * shttpd/compat_rtems.c, shttpd/compat_rtems.h: Add port to listen on
459        to shttpd initialization.
460
4612007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
462
463        * libcsupport/src/malloc.c: Clean up Malloc debug code.
464        * score/include/rtems/score/heap.h: Spacing.
465        * score/inline/rtems/score/thread.inl:
466        * score/src/heapfree.c. Clean up and add explicit check of the address
467        being freed actually being in the heap.
468        * score/src/heapwalk.c: Switch to printk and do not call abort.
469
4702007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
471
472        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
473        area contingent on the stack checker user extension having been
474        initialized.
475
4762007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
477
478        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
479        and recv(). We already had the BSD versions and these conflict
480        sometimes when linking.
481
4822007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
483
484        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
485        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
486
4872007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
488
489        * sapi/include/confdefs.h: Do not instantiate initialization
490        thas/thread pointer tables for an API that is not configured.
491
4922007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
493
494        * libcsupport/Makefile.am:
495        * libcsupport/src/open_dev_console.c: New file.
496
4972007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
498
499        * score/src/corerwlock.c: Make sure structure is fully initialized.
500        When reused, some fields will not be zero like at initialization.
501
5022007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
503
504        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
505        size. Account for this.
506
5072007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
508
509        * configure.ac: Add NDEBUG as a command line compilation option.
510
5112007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
512
513        * libmd/.cvsignore: New file.
514
5152007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
516
517        * shttpd/defs.h: Eliminate my_strncasecmp.
518        * shttpd/string.c: Eliminate my_strncasecmp.
519
5202007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
521
522        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
523        * pppd/Makefile.am: Reflect moving out md*.
524        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
525          libmd).
526        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
527        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
528        * configure.ac, Makefile.am: Add libmd.
529
5302007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
531
532        * shttpd/defs.h: Eliminate my_strlcpy.
533        * shttpd/string.c: Eliminate my_strlcpy.
534
5352007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
536
537        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
538        * shttpd/string.c: Eliminate my_strdup, my_strndup.
539        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
540          libmd.a.
541
5422007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
543
544        * wrapup/Makefile.am: Add libmd.a.
545
5462007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
547
548        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
549          Add pppd/libmd.a.
550        * pppd/md4.c: Don't include pppd.h.
551
5522007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
553
554        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
555
5562007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
557
558        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
559        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
560        Add config.h support.
561
5622007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
563
564        * shttpd/compat_rtems.h: Define closesocket.
565
5662007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
567
568        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
569
5702007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
571        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
572        Use size_t for stack sizes.
573
5742007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
575
576        * configure.ac, Makefile.am: Add shttpd.
577        * shttpd/Makefile.am: New.
578        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
579        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
580        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
581        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
582        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
583        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
584        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
585        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
586        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
587        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
588        Import from shttpd-1.37.tar.gz.
589
5902007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
591
592        * configure.ac: Remove "pad" from CPU_CONTEXT.
593
5942007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
595
596        * score/src/coremsg.c: Formatting.
597
5982007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
599
600        * score/include/rtems/score/copyrt.h: Update copyright notice.
601
6022007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
603
604        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
605        one function per file execpt io.c which contains required
606        initialization methods.
607        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
608        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
609        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
610        sapi/src/iowrite.c: New files.
611
6122007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
613
614        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
615        table into Workspace but now it is only done if the application needs
616        extra slots for dynamic driver registration. Cleaned up
617        rtems_io_register_driver and rtems_io_unregister_driver code and
618        added numerous error cases to register.
619
6202007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
621
622        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
623        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
624        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
625        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
626        configuration parameter since it was used to configure a no longer
627        used feature. Device names are now part of the filesystem not in a
628        table. This also eliminated the variables _IO_Number_of_devices and
629        _IO_Driver_name_table from RTEMS as well as the memory allocation
630        used to populate _IO_Driver_name_table.
631        * libmisc/monitor/mon-dname.c: Removed.
632
6332007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
634
635        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
636        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
637        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
638        unused Workspace. Round the workspace required size to an 8 byte
639        boundary instead of a 0x400 byte one. We may end up needing to add 8
640        bytes again to account for the alignment rounding.
641
6422007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
643
644        Yu Chen <chyyuu@gmail.com>
645        * score/src/corespinlockwait.c: Per question posted as
646        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
647        logical operator to <=.
648
6492007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
650
651        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
652        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
653        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
654        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
655        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
656        executive initialization.
657
6582007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
659
660        * score/src/corerwlockrelease.c: Do not dereference NULL.
661
6622007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
663
664        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
665        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
666        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
667        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
668        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
669        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
670        sapi/include/rtems/extension.h: Split Classic API data instantiation
671        into individual files. This reduces the size of the BSS section when
672        an optional manager stub is used. Some tests showed about a 600 byte
673        reduction in BSS size.
674        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
675        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
676        _RTEMS_tasks_Number_of_initialization_tasks because they were only
677        used in one place after initialized. It was a waste of space.
678        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
679        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
680        rtems/src/ratemondata.c, rtems/src/regiondata.c,
681        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
682        sapi/src/extensiondata.c: New files.
683
6842007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
685
686        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
687        functionality into multiple files to eliminate unnecessary cohesion.
688        Update README.
689        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
690        New files.
691        * libmisc/cpuuse/cpuuse.c: Removed.
692
6932007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
694
695        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
696        negative value in some circumstances. Also cleaned up to share uptime
697        declaration.
698
6992007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
700
701        * ChangeLog, configure.ac, libcsupport/src/__times.c,
702        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
703        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
704        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
705        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
706        score/Makefile.am, score/include/rtems/score/thread.h,
707        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
708        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
709        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
710        monotonic period statistics and CPU usage statistics. This capability
711        is enabled by default although may be conditionally disabled by the
712        user. It could be too much overhead on small targets but it does not
713        appear to be bad in early testing. Its impact on code size has not
714        been evaluated either. It is possible that both forms of statistics
715        gathering could be disabled with further tweaking of the conditional
716        compilation.
717        * score/src/timespecdividebyinteger.c: New file.
718
7192007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
720
721        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
722        functionally similar code here. Also cleanup print formats.
723
7242007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
725
726        * score/src/objectgetnameasstring.c: Internal threads use string names
727        so in the current RTEMS source string object name can NOT be
728        disabled. It is probably worth considering converting the internal
729        threads to uint32_t style names so all the support for string names
730        can be conditionally disabled.
731
7322007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
733
734        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
735        and greater than operations for timespecs.
736        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
737        New files.
738
7392007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
740
741        * score/src/objectgetnameasstring.c: Remove bogus ifdef
742        RTEMS_POSIX_API.
743
7442007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
745
746        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
747        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
748        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
749        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
750        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
751        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
752        score/Makefile.am, score/include/rtems/score/object.h,
753        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
754        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
755        Added the following directives: rtems_rate_monotonic_get_statistics,
756        rtems_rate_monotonic_reset_statistics,
757        rtems_rate_monotonic_reset_all_statistics,
758        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
759        Obsoleted the rtems/rtmonuse.h file as a public interface.
760        * rtems/src/ratemongetstatistics.c,
761        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
762        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
763        score/src/objectgetnameasstring.c: New files.
764        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
765
7662007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
767
768        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
769        rtems_io_register_name for use on unix.
770        * libcsupport/src/unixlibc_io.c: New file.
771
7722007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
773
774        * score/src/coremsgseize.c: A blocking sender's message size was
775        pulled out of the wrong field in the Wait information structure.
776        * score/src/objectallocate.c: With the new optional manager support,
777        we only stub out the initialization. This makes it possible to attempt
778        to create an object with the information structure only initialized
779        with all zeros.  This ensures we return an error cleanly in this case.
780
7812007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
782
783        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
784        an optional manager, we cannot depend on it do initialize the
785        internal Allocator Mutex.  This was always a questionable place to
786        do it, so this is a cleanup.
787
7882007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
789
790        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
791        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
792        suitable for inclusion in the Users Guide.
793
7942007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
795
796        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
797        ChangeLog-pre2007.
798        * ChangeLog-pre2007: New file.
799
8002007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
801
802        PR 1241/rtems
803        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
804        critical section window added with requeueing support.
805
8062007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
807
808        * libcsupport/include/rtems/cdefs.h,
809          libcsupport/include/sys/cdefs.h: Remove.
810        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
811        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
812        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
813        libnetworking/netdb.h, libnetworking/resolv.h,
814        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
815        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
816        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
817        libnetworking/net/if.h, libnetworking/net/if_dl.h,
818        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
819        libnetworking/rtems/rtems_bsdnet_internal.h,
820        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
821        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
822        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
823        libnetworking/sys/uio.h, libnetworking/sys/un.h,
824        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
825        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
826        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
827        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
828        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
829        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
830        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
831
8322007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
833
834        * Makefile.am: Reflect introduction of
835          include/rtems/bsd/sys/cdefs.h.
836        * include/rtems/bsd/sys/cdefs.h: New.
837
8382007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
839
840        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
841        * libnetworking/sys/queue.h: Remove.
842
8432007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
844
845        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
846        <machine/endian.h>.
847        * libnetworking/rtems/rtems_showroute.c,
848        libnetworking/rtems/rtems_showipstat.c,
849        libnetworking/rtems/rtems_showtcpstat.c,
850        libnetworking/rtems/rtems_showicmpstat.c,
851        libnetworking/rtems/rtems_showmbuf.c,
852        libnetworking/rtems/rtems_showudpstat.c,
853        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
854        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
855        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
856        libnetworking/netinet/tcp_usrreq.c,
857        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
858        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
859        libnetworking/netinet/ip_output.c,
860        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
861        libnetworking/netinet/udp_usrreq.c,
862        libnetworking/netinet/tcp_output.c,
863        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
864        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
865        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
866        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
867        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
868        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
869        instead of <sys/queue.h>.
870        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
871        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
872        libnetworking/net/if.h, libnetworking/net/if_media.h,
873        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
874        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
875        instead of <sys/queue.h>.
876        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
877        * include/rtems/bsd/sys/queue.h: New (Copied from
878          libnetworking/sys/queue.h).
879
8802007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
881
882        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
883        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
884        score/Makefile.am, score/preinstall.am,
885        score/include/rtems/score/userext.h, score/src/chain.c,
886        score/src/userext.c: Switch to newlib reentrancy extension being
887        installed in the initial set instead of using rtems_extension_create.
888        While implementing this, noticed that user extensions and chain code
889        had multiple functions in a single file which is not desirable in the
890        SuperCore and API portions of RTEMS, so split these into multiple
891        files with one function per file. Also noticed that some of user
892        extension code was inlined for no particular reason so moved that to
893        C bodies.  Split executive shutdown from initialization since not
894        every application shuts down.  Moved __fini call to executive shutdown
895        to be more symmetrical with where it is called at startup.
896        * sapi/src/exshutdown.c, score/src/chainappend.c,
897        score/src/chainextract.c, score/src/chainget.c,
898        score/src/chaininsert.c, score/src/userextaddapiset.c,
899        score/src/userextaddset.c, score/src/userextremoveset.c,
900        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
901        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
902        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
903        files.
904        * score/inline/rtems/score/userext.inl: Removed.
905
9062007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
907
908        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
909        reference _Configuration_MP_table if multiprocessing is disabled.
910
9112007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
912
913        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
914        reference _Configuration_MP_table if multiprocessing is disabled.
915
9162007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
917
918        * libnetworking/machine/endian.h: Remove.
919        * libnetworking/Makefile.am: Remove machine/endian.h.
920        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
921        libnetworking/rtems/rtems_bsdnet_internal.h: Include
922        <rtems/endian.h> instead of <machine/endian.h>.
923        * Makefile.am: Add include/rtems/endian.h.
924        * include/rtems/endian.h: New (Copied from
925          libnetworking/machine/endian.h).
926
9272007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
928
929        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
930        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
931        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
932        of <stdint.h>.
933        * libnetworking/machine/endian.h: Remove
934          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
935        * NEWS: new.
936
9372007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
938
939        PR 1243
940        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
941
9422007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
943
944        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
945        to inline functions, using uint[16,32]_t.
946        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
947        with SUSv3.
948        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
949        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
950        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
951        Add HAVE_CONFIG_H magic.
952        * libnetworking/libc/gethostbydns.c,
953        libnetworking/libc/inet_net_ntop.c,
954        libnetworking/libc/inet_pton.c: Eliminate __P.
955        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
956        return value of ntohl (POSIX requirement).
957        Use UINT32_C macros to avoid overflows on 16bit targets.
958        Eliminate __P.
959        * configure.ac: Check for working PRIxPTR.
960
9612007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
962
963        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
964        score/src/threadinitialize.c, score/src/threadstackallocate.c:
965        Use size_t for stack sizes.
966
9672007-05-03      Joel Sherrill <joel@OARcorp.com>
968
969        * ChangeLog, libcsupport/src/malloc.c,
970        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
971        score/Makefile.am, score/preinstall.am: malloc never blocks so the
972        Region Manager is quite heavy for implementing this. This patch
973        implements the C Program Heap directly in terms of the new Protected
974        Heap handler. This handler is a direct use of a SuperCore Heap in
975        conjunction with the Allocator Mutex used internally by RTEMS. This
976        saves 3184 bytes on most SPARC test executables.
977        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
978        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
979        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
980        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
981        score/src/pheapinit.c, score/src/pheapresizeblock.c,
982        score/src/pheapwalk.c: New files.
983
9842007-05-03      Joel Sherrill <joel@OARcorp.com>
985
986        * libcsupport/src/rmdir.c: Fixed spacing.
987        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
988        newlibc.c. It is not required for minimum executing and drops 624
989        from SPARC minimum executable.
990        * libcsupport/src/newlibc_exit.c: New file.
991
9922007-04-17      Joel Sherrill <joel@OARcorp.com>
993
994        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
995        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
996        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
997        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
998        rtems/src/taskinitusers.c, rtems/src/tasks.c,
999        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
1000        reduce executable size. Most were refactoring of files. Split ITRON
1001        API files. Implemented mechanism to avoid initialization task/thread
1002        loop being linked in when that style of task initialization was not
1003        being used.
1004        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
1005        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
1006        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
1007        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
1008        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
1009        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
1010        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
1011        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
1012        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
1013        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
1014        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
1015        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
1016        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
1017        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
1018        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
1019        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
1020        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
1021        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
1022        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
1023        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
1024        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
1025
10262007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
1027
1028        * score/include/rtems/score/thread.h:
1029          Use Context_Control_fp* instead of void* for fp_contexts.
1030
10312007-04-16      Joel Sherrill <joel@OARcorp.com>
1032
1033        PR 1240/filesystem
1034        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
1035        for filename was not being freed.
1036
10372007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1038
1039        * pppd/utils.c: Use uintptr_t instead of unsigned long.
1040
10412007-04-16      Joel Sherrill <joel@OARcorp.com>
1042
1043        * itron/src/rsm_tsk.c: Correct error returned.
1044
10452007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
1046
1047        * configure.ac: Redefine LIBPOSIX to !UNIX.
1048        * posix/src/usleep.c, libcsupport/src/readlink.c:
1049        Update API to SUSv3.
1050
10512007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1052
1053        * posix/Makefile.am: Unconditionally build src/sleep.c,
1054          src/usleep.c.
1055        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
1056          CLOCK_MONOTONIC case.
1057        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
1058
10592007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1060
1061        * posix/Makefile.am: Cosmetics.
1062        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
1063        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
1064
10652007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1066
1067        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
1068          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
1069        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
1070          rtems/posix/time.h.
1071        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
1072          rtems/posix/time.h.
1073        * score/include/rtems/score/object.h: Use size_t for byte sizes.
1074
10752007-04-12      Joel Sherrill <joel@OARcorp.com>
1076
1077        * itron/src/rsm_tsk.c: Correct error returned.
1078
10792007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1080
1081        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
1082
10832007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
1084
1085        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
1086        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
1087        _impure_ptr bug).
1088        Fix abuse of _REENT_INIT().
1089
10902007-04-05      Joel Sherrill <joel@OARcorp.com>
1091
1092        * itron/src/itrontime.c: Fix typo.
1093        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
1094        * score/src/iterateoverthreads.c: Safely take NULL as argument.
1095        * score/src/threaddispatch.c: Formatting.
1096
10972007-04-05      Joel Sherrill <joel@OARcorp.com>
1098
1099        * posix/Makefile.am: Fix formatting.
1100
11012007-04-05      Joel Sherrill <joel@OARcorp.com>
1102
1103        * posix/Makefile.am, posix/include/rtems/posix/time.h,
1104        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
1105        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
1106        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
1107        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
1108        posix/src/pthread.c, posix/src/pthreadcreate.c,
1109        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
1110        posix/src/sched.c, posix/src/semtimedwait.c,
1111        posix/src/sigtimedwait.c, posix/src/ualarm.c,
1112        rtems/src/clocktodtoseconds.c, score/Makefile.am,
1113        score/preinstall.am, score/include/rtems/score/tod.h,
1114        score/inline/rtems/score/tod.inl, score/src/coretod.c,
1115        score/src/coretodget.c, score/src/coretodgetuptime.c,
1116        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
1117        manipulation routines in the SuperCore. Use them everywhere possible.
1118        This lead to significant cleanup in the API routines and eliminated
1119        some of the same code from the POSIX API. At this point, the
1120        SuperCore keeps time in POSIX timespec format properly from 1970. You
1121        just cannot set it before 1988 in keeping with RTEMS traditional
1122        behavior.
1123        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
1124        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
1125        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
1126        score/src/timespectoticks.c: New files.
1127        * posix/src/posixintervaltotimespec.c,
1128        posix/src/posixtimespecsubtract.c,
1129        posix/src/posixtimespectointerval.c: Removed.
1130
11312007-04-04      Joel Sherrill <joel@OARcorp.com>
1132
1133        * score/Makefile.am, score/include/rtems/score/tod.h,
1134        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
1135        non-inlined routine. It should only be used once so there is little
1136        advantage to inlining it.
1137        * score/src/coretodtickle.c: New file.
1138
11392007-04-02      Joel Sherrill <joel@OARcorp.com>
1140
1141        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
1142        dead code.
1143        * posix/src/time.c: Removed.
1144
11452007-04-02      Joel Sherrill <joel@OARcorp.com>
1146
1147        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
1148        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
1149        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
1150        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
1151        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
1152        TOD_Ticks_per_second variable.
1153
11542007-04-02      Joel Sherrill <joel@OARcorp.com>
1155
1156        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
1157        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
1158        posix/src/clockgettime.c, posix/src/clocksettime.c,
1159        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
1160        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
1161        posix/src/sleep.c, rtems/Makefile.am,
1162        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
1163        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
1164        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
1165        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
1166        score/Makefile.am, score/include/rtems/score/tod.h,
1167        score/inline/rtems/score/tod.inl, score/src/coretod.c,
1168        score/src/coretodset.c: Convert from Classic API style TOD_Control as
1169        fundamental time structure to POSIX struct timespec. Add
1170        clock_get_uptime().
1171        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
1172        score/src/coretodgetuptime.c: New files.
1173        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
1174        score/src/coretodvalidate.c: Removed.
1175
11762007-04-02      Joel Sherrill <joel@OARcorp.com>
1177
1178        * libcsupport/src/printk.c: Add %p support.
1179
11802007-04-02      Joel Sherrill <joel@OARcorp.com>
1181
1182        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
1183        in addition to the pattern area being overwritten. Also do some
1184        cleanup.
1185
11862007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
1187
1188        * include/rtems/pci.h: Further stdint.h fixed-size types.
1189
11902007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1191
1192        * include/rtems/pci.h: Use stdint.h fixed size-types.
1193
11942007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1195
1196        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
1197        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
1198        * libnetworking/Makefile.am: Move libc/res_config.h to
1199          libc_a_SOURCES (File is being used).
1200        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
1201        Remove (Unused).
1202        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
1203        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
1204        Remove (Unused).
1205        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
1206
12072007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1208
1209        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
1210        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
1211        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
1212        libnetworking/libc/gethostbynis.c,
1213        libnetworking/libc/gethostnamadr.c,
1214        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
1215        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
1216        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
1217        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
1218        libnetworking/libc/getservbyname.c,
1219        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
1220        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
1221        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
1222        libnetworking/libc/inet_net_ntop.c,
1223        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
1224        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
1225        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
1226        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
1227        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
1228        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
1229        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
1230        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
1231        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
1232        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
1233        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
1234        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
1235        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
1236        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
1237        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
1238        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
1239        SCCS, LINT. Add HAVE_CONFIG_H.
1240        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
1241
12422007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1243
1244        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
1245          uintptr_t.
1246
12472007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1248
1249        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
1250        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
1251
12522007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1253
1254        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
1255        * libnetworking/net/netisr.h: Partial update from FreeBSD.
1256        * libcsupport/src/getpwent.c: Remove bogus cast to long.
1257        * libnetworking/libc/strsep.c: Don't build if provided by libc.
1258        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
1259        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
1260        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
1261        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
1262        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
1263        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
1264        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
1265        (Abandoned in FreeBSD).
1266        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
1267        (Abandoned in FreeBSD).
1268        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
1269        (Abandoned in FreeBSD).
1270        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
1271        * libnetworking/netinet/ip_fw.c: Eliminate __P().
1272
12732007-03-28      Chris Johns <chrisj@rtems.org>
1274
1275        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
1276        score/include/rtems/score/watchdog.h: Add support for a handler to
1277        obtain the number of nanoseconds since the last clock tick. The
1278        primary interface for this is rtems_clock_set_nanoseconds_extension.
1279        Subsequent commits from Joel will redo the TOD support to use this
1280        capability.
1281        * rtems/src/clocksetnsecshandler.c: New file.
1282
12832007-03-28      Joel Sherrill <joel@OARcorp.com>
1284
1285        PR 1234/cpukit
1286        * libcsupport/Makefile.am: Provide printk() based implementation of
1287        __assert() to reduce dependencies in executables.
1288        * libcsupport/src/__assert.c: New file.
1289
12902007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1291
1292        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
1293        Use uintptr_t for "disrupt". Remove bogus (long) cast.
1294        * libnetworking/net/ppp-comp.h: Remove (Unused).
1295        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
1296        * libnetworking/sys/buf.h: Remove (Unused).
1297        * libnetworking/Makefile.am: Remove sys/buf.h.
1298        * libnetworking/kern/kern_sysctl.c,
1299        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
1300        <sys/buf.h>.
1301        *  libcsupport/include/sys/sockio.h: Partial update from
1302          FreeBSD.
1303
13042007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1305
1306        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
1307        * libnetworking/netinet/igmp.c: Eliminate __P().
1308        * libnetworking/netinet/in.c: Eliminate __P().
1309        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
1310        * libnetworking/netinet/in_pcb.c: Eliminate __P().
1311        * libnetworking/netinet/ip_output.c: Eliminate __P().
1312
13132007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1314
1315        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
1316        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
1317        Change int args to intptr_t because they are casted to pointers.
1318        * libnetworking/netinet/tcp_usrreq.c,
1319        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
1320
13212007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1322
1323        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
1324        "long", because long is not guaranteed to be castable to char*.
1325        * libnetworking/netinet/ip_input.c: Eliminate __P().
1326        Change "int next" to "int32_t next" for 16bit targets.
1327        * libnetworking/netinet/tcp_input.c: Eliminate __P().
1328        * libnetworking/netinet/in_rmx.c: Eliminate __P().
1329        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
1330        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
1331        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
1332        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
1333        * libnetworking/kern/uipc_domain.c: Eliminate __P().
1334
13352007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1336
1337        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
1338        Remove (Abandoned in FreeBSD).
1339        * libnetworking/Makefile.am: Remove net/pppcompress.c,
1340        net/pppcompress.h.
1341        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
1342        net/pppcompress.h.
1343        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
1344        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
1345        net/pppcompress.h.
1346
13472007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1348
1349        * libnetworking/net/pppcompress.h: Eliminate __P().
1350        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
1351        * libnetworking/net/if_llc.h: Update from FreeBSD.
1352
13532007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
1354
1355        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
1356          <net/ppp-comp.h>.
1357        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
1358        Warn about using it.
1359        * libnetworking/Makefile.am: Add net/ppp_comp.h.
1360        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
1361        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
1362          FreeBSD.
1363        * libnetworking/machine/in_cksum.h: Eliminate __P().
1364        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
1365        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
1366        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
1367        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
1368        Eliminate __P().
1369        * libcsupport/src/scandir.c: Eliminate __P().
1370        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
1371        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
1372        Eliminate __P().
1373        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
1374        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
1375        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
1376
13772007-03-26      Joel Sherrill <joel@OARcorp.com>
1378
1379        PR 1231/cpukit
1380        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
1381        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
1382        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
1383        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
1384        posix/src/mutexattrgetprioceiling.c,
1385        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
1386        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
1387        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
1388        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
1389        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
1390        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
1391        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
1392        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
1393        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
1394        posix/src/posixtimespecsubtract.c,
1395        posix/src/posixtimespectointerval.c,
1396        posix/src/psignalclearprocesssignals.c,
1397        posix/src/psignalclearsignals.c,
1398        posix/src/psignalsetprocesssignals.c,
1399        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
1400        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
1401        unneeded includes of assert.h
1402
14032007-03-26      Joel Sherrill <joel@OARcorp.com>
1404
1405        * libcsupport/include/rtems/assoc.h: Pick up the include file
1406        changes associated with the file splitting.
1407
14082007-03-26      Joel Sherrill <joel@OARcorp.com>
1409
1410        * libcsupport/Makefile.am: Pick up the Makefile changes associated
1411        with the file splitting.
1412
14132007-03-26      Joel Sherrill <joel@OARcorp.com>
1414
1415        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
1416        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
1417        this will not be deemed necessary to commit to the 4.7 branch.
1418        * libcsupport/src/assoclocalbyname.c,
1419        libcsupport/src/assoclocalbyremote.c,
1420        libcsupport/src/assoclocalbyremotebitfield.c,
1421        libcsupport/src/assocnamebylocal.c,
1422        libcsupport/src/assocnamebylocalbitfield.c,
1423        libcsupport/src/assocnamebyremote.c,
1424        libcsupport/src/assocnamebyremotebitfield.c,
1425        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
1426        libcsupport/src/assocptrbyremote.c,
1427        libcsupport/src/assocremotebylocal.c,
1428        libcsupport/src/assocremotebylocalbitfield.c,
1429        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
1430        libcsupport/src/write_r.c: New files.
1431
14322007-03-26      Joel Sherrill <joel@OARcorp.com>
1433
1434        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
1435        support and remove deadcode. Replace with comment explaining that
1436        behavior is compatible with GNU/Linux per Eric Norum.
1437
14382007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1439
1440        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
1441        Partial update from FreeBSD.
1442        * libnetworking/netinet/if_ether.h: Eliminate __P().
1443        * libnetworking/netinet/ip_var.h: Eliminate __P().
1444        * libnetworking/netinet/in.h: Eliminate __P().
1445        * libnetworking/netinet/tcp_var.h: Eliminate __P().
1446
14472007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
1448
1449        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
1450        Remove __P();
1451        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
1452
14532007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
1454
1455        * libnetworking/netinet/in_var.h: Remove __P().
1456        * libnetworking/netinet/in_systm.h: Remove __P().
1457        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
1458        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
1459        * libnetworking/netinet/if_ether.c: Remove __P().
1460        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
1461        More updates from FreeBSD.
1462        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
1463        libnetworking/net/route.h: Partial update from FreeBSD.
1464
14652007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
1466
1467        * libnetworking/Makefile.am: Remove nfs/krpc.h.
1468        * libnetworking/nfs/krpc.h: Remove (Unused).
1469        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
1470        * libnetworking/Makefile.am: Remove nfs/nfs.h.
1471        * libnetworking/nfs/nfs.h: Remove (Unused).
1472
14732007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1474
1475        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
1476          symbols.
1477        * libnetworking/sys/conf.h: Don't include machine/conf.h.
1478        Update copyright notice.
1479        Remove unused/non-implemented declarations.
1480        * libnetworking/Makefile.am: Remove machine/conf.h.
1481        * libnetworking/machine/conf.h: Remove.
1482
14832007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1484
1485        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
1486        Remove many non-supported/unused declarations.
1487
14882007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1489
1490        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
1491          crhold (Unused/non-implemented).
1492
14932007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1494
1495        * libnetworking/sys/ucred.h: Remove __P().
1496        * libnetworking/sys/callout.h: Remove __P().
1497        * libnetworking/sys/domain.h: Remove __P().
1498        * libnetworking/sys/socketvar.h: Remove __P().
1499        * libnetworking/sys/socket.h: Remove __P().
1500        * libnetworking/sys/select.h: Remove __P().
1501        * libnetworking/sys/kernel.h: Remove __P().
1502        * libnetworking/sys/protosw.h: Remove __P().
1503        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
1504        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
1505        swdevt, nswdev, nswap (Unused).
1506
15072007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1508
1509        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
1510        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
1511        instead of struct linesw (PR 1229)
1512        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
1513        around clash with defines from rtems_bsdnet_internal.h.
1514        * score/src/heapwalk.c: include stdlib.h.
1515
15162007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
1517
1518        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
1519        Remove __P().
1520        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
1521        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
1522        Remove __P().
1523        * libcsupport/include/rtems/termiostypes.h,
1524        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
1525        with rtems_termios_*.
1526        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
1527        (Clash with termiostypes.h - PR 1229).
1528
15292007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1530
1531        * score/include/rtems/score/wkspace.h,
1532        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
1533        Change _Workspace_Handler_initialization and
1534        _Workspace_Allocate_or_fatal_error to using size_t.
1535        * libnetworking/sys/rtprio.h: Remove (Unused).
1536        * libnetworking/Makefile.am: Remove sys/rtprio.h.
1537
15382007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
1539
1540        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
1541        Remove __P().
1542
15432007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1544
1545        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
1546          to fix warnings.
1547        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
1548        * score/include/rtems/score/chain.h, score/src/chain.c:
1549        Change _Chain_Initialize to using size_t.
1550
15512007-03-12      Joel Sherrill <joel@OARcorp.com>
1552
1553        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
1554        Dump_Buffer to rtems_print_buffer.
1555
15562007-03-12      Joel Sherrill <joel@OARcorp.com>
1557
1558        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
1559        license URL and/or fix mistake in copyright notice. Both of these
1560        mistakes appear to be from code submitted after these changes were
1561        made previously.
1562
15632007-03-10      Joel Sherrill <joel@OARcorp.com>
1564
1565        PR 1226/cpukit
1566        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
1567        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
1568
15692007-03-08      Joel Sherrill <joel@OARcorp.com>
1570
1571        * libfs/src/imfs/imfs.h: Fix comment.
1572
15732007-03-08      Joel Sherrill <joel@OARcorp.com>
1574
1575        * libfs/src/imfs/imfs.h: Fix comment.
1576
15772007-03-08      Joel Sherrill <joel@OARcorp.com>
1578
1579        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
1580        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
1581
15822007-03-08      Joel Sherrill <joel@OARcorp.com>
1583
1584        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
1585        Remove wrapper for message queue send and urgent and implement them
1586        directly. There was an unnecessary function call layer in addition to
1587        conditions in the shared routine. Directly coding both directives is
1588        simpler and should result in smaller code.
1589        * rtems/src/msgqsubmit.c: Removed.
1590
15912007-03-05      Joel Sherrill <joel@OARcorp.com>
1592
1593        PR 1222/cpukit
1594        * score/Makefile.am, score/include/rtems/score/coremutex.h,
1595        score/include/rtems/score/threadq.h,
1596        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
1597        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
1598        score/src/threadclearstate.c, score/src/threadhandler.c,
1599        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
1600        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1601        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1602        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
1603        score/src/threadsetstate.c: Enhance so that when the prioirity of a
1604        thread that is blocked on a priority based thread queue is changed,
1605        that its placement in the queue is reevaluated based upon the new
1606        priority. This enhancement includes modifications to the SuperCore as
1607        well as new test cases.
1608        * score/src/threadqrequeue.c: New file.
1609
16102007-03-05      Joel Sherrill <joel@OARcorp.com>
1611
1612        * sapi/src/exinit.c: Fix spacing.
1613
16142007-03-05      Joel Sherrill <joel@OARcorp.com>
1615
1616        PR 1221/cpukit
1617        * posix/src/pthreadequal.c: Fix critical section nesting.
1618
16192007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
1620
1621        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
1622          compiled files.
1623
16242007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
1625
1626        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
1627
16282007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
1629
1630        * score/Makefile.am: Remove macros/README.
1631
16322007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
1633
1634        * score/include/rtems/score/heap.h, score/src/heap.c,
1635        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
1636        More size_t for heap-sizes.
1637        * score/include/rtems/score/heap.h, score/src/heap.c,
1638        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
1639        heap-sizes.
1640        * libnetworking/resolv.h: Typo fixes. Remove __P().
1641
16422007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
1643
1644        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
1645        Use size_t for stack-sizes.
1646
16472007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
1648
1649        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
1650          functions.
1651        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
1652        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
1653
16542007-02-06      Till Straumann <strauman@slac.stanford.edu>
1655
1656        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
1657        taskvar dtor to plug memory leak. Applied patch attached
1658        to PR#690.
1659
16602007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1661
1662        * libcsupport/src/getpagesize.c: New (moved from posix/src).
1663        * posix/src/getpagesize.c: Removed.
1664        * posix/Makefile.am: Remove references to getpagesize.c.
1665        * libcsupport/Makefile.am: Add getpagesize.c.
1666
16672007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1668
1669        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
1670        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
1671          visible.
1672        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
1673
16742007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1675
1676        * rtems/src/msgqsend.c: Use size_t for sizes.
1677        * rtems/src/msgqurgent.c: Use size_t for sizes.
1678        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
1679        * rtems/src/msgmp.c: Use size_t for sizes.
1680        * rtems/src/msgqsubmit.c: Use size_t for sizes.
1681        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
1682        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
1683        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
1684
16852007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1686
1687        * itron/src/trcv_mbf.c: Use size_t for sizes.
1688        * libmisc/monitor/mon-object.c: Use size_t for sizes.
1689        * libmisc/monitor/mon-server.c: Use size_t for sizes.
1690        * libmisc/monitor/monitor.h: Use size_t for sizes.
1691        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
1692        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
1693        * rtems/src/msgqreceive.c: Use size_t for sizes.
1694        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
1695        * score/src/coremsgseize.c: Use size_t for sizes.
1696
16972007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
1698
1699        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
1700        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
1701        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
1702        * score/src/coremsgbroadcast.c: Use size_t for sizes.
1703        * score/src/coremsgsubmit.c: Use size_t for sizes.
1704
17052007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1706
1707        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
1708
17092007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1710
1711        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
1712
17132007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1714
1715        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
1716        Remove isblank (supposed to be provided by libc).
1717
17182007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
1719
1720        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
1721
17222007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
1723
1724        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
1725         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
1726        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
1727        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
1728        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
1729
17302007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1731
1732        * score/include/rtems/system.h:
1733        #define __RTEMS_MINOR__ 7 (BZ 1206).
1734
17352007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1736
1737        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
1738        export some internal variables to make them available in
1739        "show_bdbuf" monitor add-on
1740
17412007-01-16      Till Straumann <strauman@slac.stanford.edu>
1742
1743        * libnetworking/rtems/rtems_mii_ioctl.c,
1744        libnetworking/rtems/rtems_mii_ioctl.h,
1745        libnetworking/rtems/rtems_mii_ioctl_kern.c,
1746        libi2c/libi2c.c, libi2c/libi2c.h:
1747        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
1748
17492007-01-09      Joel Sherrill <joel@OARcorp.com>
1750
1751        * libcsupport/src/error.c: rtems_progname is no longer defined in
1752        the BSP startup since it never held a meaningful value.
1753
17542007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
1755
1756        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
1757        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.