source: rtems/cpukit/ChangeLog @ d0ea9d9d

4.8
Last change on this file since d0ea9d9d was 32a46df3, checked in by Joel Sherrill <joel.sherrill@…>, on 08/19/08 at 20:23:32

2008-08-19 Cedric Aubert <cedric_aubert@…>

PR 500/misc

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