source: rtems/cpukit/ChangeLog @ 379e676

4.8
Last change on this file since 379e676 was 379e676, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 2, 2008 at 9:22:08 AM

2008-09-02 Ralf Corsépius <ralf.corsepius@…>

PR 1301/cpukit

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