source: rtems/cpukit/ChangeLog @ b8fa0b12

4.8
Last change on this file since b8fa0b12 was b8fa0b12, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/08 at 21:02:30

2008-08-06 Brett Swimley <brett.swimley@…>

PR 1192/filesystem

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