source: rtems/cpukit/ChangeLog @ be2b955

4.8
Last change on this file since be2b955 was be2b955, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 1, 2008 at 6:56:56 AM

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

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