source: rtems/cpukit/ChangeLog @ a2cf229

4.8
Last change on this file since a2cf229 was a2cf229, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 22, 2008 at 5:17:12 PM

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

PR 1291/cpukit

  • itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c, posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/semaphore.h, posix/include/rtems/posix/time.h, posix/src/condtimedwait.c, posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c, posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c, posix/src/posixtimespecabsolutetimeout.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/semaphoretranslatereturncode.c, posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c, posix/src/semtrywait.c, posix/src/semwait.c, posix/src/sigtimedwait.c, posix/src/timersettime.c, posix/src/ualarm.c, rtems/src/semobtain.c, rtems/src/semtranslatereturncode.c, score/include/rtems/score/coremutex.h, score/include/rtems/score/coresem.h, score/src/coresemseize.c: This patch addresses issues on implementation of the timeout on the following POSIX services. Some of these services incorrectly took a timeout as a relative time. Others would compute a 0 delta to timeout if the absolute time and the current time were equal and thus incorrectly block the caller forever. The root of the confusion is that POSIX specifies that if the timeout is incorrect (e.g. in the past, is now, or is numerically invalid), that it does not matter if the call would succeed without blocking. This is in contrast to RTEMS programming style where all errors are checked before any critical sections are entered. This fix implemented a more uniform way of handling POSIX absolute time timeouts.

+ pthread_cond_timedwait - could block forever
+ mq_timedreceive - used relative not absolute time
+ mq_timedsend - used relative not absolute time
+ pthread_mutex_timedlock - used relative not absolute time
+ pthread_rwlock_timedrdlock- used relative not absolute time
+ pthread_rwlock_timedwrlock- used relative not absolute time
+ sem_timedwait - could block forever

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