source: rtems/cpukit/ChangeLog @ 55d7626

4.104.114.84.95
Last change on this file since 55d7626 was 55d7626, checked in by Joel Sherrill <joel.sherrill@…>, on 07/11/07 at 20:56:10

2007-07-11 Joel Sherrill <joel.sherrill@…>

  • libcsupport/src/malloc.c: Clean up Malloc debug code.
  • score/include/rtems/score/heap.h: Spacing.
  • score/inline/rtems/score/thread.inl:
  • score/src/heapfree.c. Clean up and add explicit check of the address being freed actually being in the heap.
  • score/src/heapwalk.c: Switch to printk and do not call abort.
  • Property mode set to 100644
File size: 52.3 KB
Line 
12007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
2
3        * libcsupport/src/malloc.c: Clean up Malloc debug code.
4        * score/include/rtems/score/heap.h: Spacing.
5        * score/inline/rtems/score/thread.inl:
6        * score/src/heapfree.c. Clean up and add explicit check of the address
7        being freed actually being in the heap.
8        * score/src/heapwalk.c: Switch to printk and do not call abort.
9
102007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
11
12        * libmisc/stackchk/check.c: Make checking the integrity of the pattern
13        area contingent on the stack checker user extension having been
14        initialized.
15
162007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
17
18        * libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send()
19        and recv(). We already had the BSD versions and these conflict
20        sometimes when linking.
21
222007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
23
24        * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
25        libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
26
272007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
28
29        * sapi/include/confdefs.h: Do not instantiate initialization
30        thas/thread pointer tables for an API that is not configured.
31
322007-06-20      Joel Sherrill <joel.sherrill@OARcorp.com>
33
34        * libcsupport/Makefile.am:
35        * libcsupport/src/open_dev_console.c: New file.
36
372007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
38
39        * score/src/corerwlock.c: Make sure structure is fully initialized.
40        When reused, some fields will not be zero like at initialization.
41
422007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
43
44        * sapi/include/confdefs.h: POSIX threads use twice the minimum stack
45        size. Account for this.
46
472007-06-13      Joel Sherrill <joel.sherrill@OARcorp.com>
48
49        * configure.ac: Add NDEBUG as a command line compilation option.
50
512007-06-12      Joel Sherrill <joel.sherrill@OARcorp.com>
52
53        * libmd/.cvsignore: New file.
54
552007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
56
57        * shttpd/defs.h: Eliminate my_strncasecmp.
58        * shttpd/string.c: Eliminate my_strncasecmp.
59
602007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
61
62        * wrapup/Makefile.am: Pickup ../libmd/libmd.a.
63        * pppd/Makefile.am: Reflect moving out md*.
64        * pppd/md4.h, pppd/md4.c, pppd/md5.c, pppd/md5.h: Remove (moved to
65          libmd).
66        * libmd/Makefile.am, libmd/md4.c, libmd/md4.h, libmd/md5.c,
67        libmd/md5.h, libmd/preinstall.am: New (moved out from pppd).
68        * configure.ac, Makefile.am: Add libmd.
69
702007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
71
72        * shttpd/defs.h: Eliminate my_strlcpy.
73        * shttpd/string.c: Eliminate my_strlcpy.
74
752007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
76
77        * shttpd/defs.h: Eliminate my_strdup, my_strndup.
78        * shttpd/string.c: Eliminate my_strdup, my_strndup.
79        * shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
80          libmd.a.
81
822007-06-12      Ralf Corsépius <ralf.corsepius@rtems.org>
83
84        * wrapup/Makefile.am: Add libmd.a.
85
862007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
87
88        * pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
89          Add pppd/libmd.a.
90        * pppd/md4.c: Don't include pppd.h.
91
922007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
93
94        * shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
95
962007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
97
98        * shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
99        * shttpd/compat_rtems.h: Include <arpa/inet.h>.
100        Add config.h support.
101
1022007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
103
104        * shttpd/compat_rtems.h: Define closesocket.
105
1062007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
107
108        * shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
109
1102007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
111        * shttpd/compat_rtems.h, shttpd/compat_rtems.c:
112        Use size_t for stack sizes.
113
1142007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
115
116        * configure.ac, Makefile.am: Add shttpd.
117        * shttpd/Makefile.am: New.
118        * shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
119        shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
120        shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
121        shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
122        shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
123        shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
124        shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
125        shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
126        shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
127        shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
128        Import from shttpd-1.37.tar.gz.
129
1302007-06-11      Ralf Corsépius <ralf.corsepius@rtems.org>
131
132        * configure.ac: Remove "pad" from CPU_CONTEXT.
133
1342007-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
135
136        * score/src/coremsg.c: Formatting.
137
1382007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
139
140        * score/include/rtems/score/copyrt.h: Update copyright notice.
141
1422007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
143
144        * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
145        one function per file execpt io.c which contains required
146        initialization methods.
147        * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
148        sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
149        sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
150        sapi/src/iowrite.c: New files.
151
1522007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
153
154        * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
155        table into Workspace but now it is only done if the application needs
156        extra slots for dynamic driver registration. Cleaned up
157        rtems_io_register_driver and rtems_io_unregister_driver code and
158        added numerous error cases to register.
159
1602007-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
161
162        * libmisc/Makefile.am, libmisc/monitor/mon-object.c,
163        libmisc/monitor/monitor.h, sapi/include/confdefs.h,
164        sapi/include/rtems/config.h, sapi/include/rtems/io.h,
165        sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
166        configuration parameter since it was used to configure a no longer
167        used feature. Device names are now part of the filesystem not in a
168        table. This also eliminated the variables _IO_Number_of_devices and
169        _IO_Driver_name_table from RTEMS as well as the memory allocation
170        used to populate _IO_Driver_name_table.
171        * libmisc/monitor/mon-dname.c: Removed.
172
1732007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
174
175        * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
176        is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
177        add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
178        unused Workspace. Round the workspace required size to an 8 byte
179        boundary instead of a 0x400 byte one. We may end up needing to add 8
180        bytes again to account for the alignment rounding.
181
1822007-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
183
184        Yu Chen <chyyuu@gmail.com>
185        * score/src/corespinlockwait.c: Per question posted as
186        http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
187        logical operator to <=.
188
1892007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
190
191        * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
192        score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
193        score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
194        score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
195        cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
196        executive initialization.
197
1982007-05-22      Joel Sherrill <joel.sherrill@OARcorp.com>
199
200        * score/src/corerwlockrelease.c: Do not dereference NULL.
201
2022007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
203
204        * rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
205        rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
206        rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
207        rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
208        rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
209        rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
210        sapi/include/rtems/extension.h: Split Classic API data instantiation
211        into individual files. This reduces the size of the BSS section when
212        an optional manager stub is used. Some tests showed about a 600 byte
213        reduction in BSS size.
214        * rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
215        Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
216        _RTEMS_tasks_Number_of_initialization_tasks because they were only
217        used in one place after initialized. It was a waste of space.
218        * rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
219        rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
220        rtems/src/ratemondata.c, rtems/src/regiondata.c,
221        rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
222        sapi/src/extensiondata.c: New files.
223
2242007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
225
226        * libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
227        functionality into multiple files to eliminate unnecessary cohesion.
228        Update README.
229        * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
230        New files.
231        * libmisc/cpuuse/cpuuse.c: Removed.
232
2332007-05-21      Joel Sherrill <joel.sherrill@oarcorp.com>
234
235        * rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
236        negative value in some circumstances. Also cleaned up to share uptime
237        declaration.
238
2392007-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
240
241        * ChangeLog, configure.ac, libcsupport/src/__times.c,
242        libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
243        rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
244        rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
245        rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
246        score/Makefile.am, score/include/rtems/score/thread.h,
247        score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
248        score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
249        score/src/timespecdivide.c: Add nanoseconds granularity to the rate
250        monotonic period statistics and CPU usage statistics. This capability
251        is enabled by default although may be conditionally disabled by the
252        user. It could be too much overhead on small targets but it does not
253        appear to be bad in early testing. Its impact on code size has not
254        been evaluated either. It is possible that both forms of statistics
255        gathering could be disabled with further tweaking of the conditional
256        compilation.
257        * score/src/timespecdividebyinteger.c: New file.
258
2592007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
260
261        * libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
262        functionally similar code here. Also cleanup print formats.
263
2642007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
265
266        * score/src/objectgetnameasstring.c: Internal threads use string names
267        so in the current RTEMS source string object name can NOT be
268        disabled. It is probably worth considering converting the internal
269        threads to uint32_t style names so all the support for string names
270        can be conditionally disabled.
271
2722007-05-16      Joel Sherrill <joel.sherrill@oarcorp.com>
273
274        * score/Makefile.am, score/include/rtems/score/timespec.h: Add division
275        and greater than operations for timespecs.
276        * score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
277        New files.
278
2792007-05-16      Ralf Corsépius <ralf.corsepius@rtems.org>
280
281        * score/src/objectgetnameasstring.c: Remove bogus ifdef
282        RTEMS_POSIX_API.
283
2842007-05-15      Joel Sherrill <joel.sherrill@oarcorp.com>
285
286        * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
287        rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
288        rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
289        rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
290        rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
291        rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
292        score/Makefile.am, score/include/rtems/score/object.h,
293        score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
294        Monotonic Statistics and Period Usage into Rate Monotonic Manager.
295        Added the following directives: rtems_rate_monotonic_get_statistics,
296        rtems_rate_monotonic_reset_statistics,
297        rtems_rate_monotonic_reset_all_statistics,
298        rtems_rate_monotonic_report_statistics, and rtems_object_get_name.
299        Obsoleted the rtems/rtmonuse.h file as a public interface.
300        * rtems/src/ratemongetstatistics.c,
301        rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
302        rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
303        score/src/objectgetnameasstring.c: New files.
304        * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
305
3062007-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
307
308        * libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
309        rtems_io_register_name for use on unix.
310        * libcsupport/src/unixlibc_io.c: New file.
311
3122007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
313
314        * score/src/coremsgseize.c: A blocking sender's message size was
315        pulled out of the wrong field in the Wait information structure.
316        * score/src/objectallocate.c: With the new optional manager support,
317        we only stub out the initialization. This makes it possible to attempt
318        to create an object with the information structure only initialized
319        with all zeros.  This ensures we return an error cleanly in this case.
320
3212007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
322
323        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
324        an optional manager, we cannot depend on it do initialize the
325        internal Allocator Mutex.  This was always a questionable place to
326        do it, so this is a cleanup.
327
3282007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
329
330        * libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
331        libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
332        suitable for inclusion in the Users Guide.
333
3342007-05-11      Joel Sherrill <joel.sherrill@oarcorp.com>
335
336        * ChangeLog: Move all ChangeLog entries for 2006 and earlier to
337        ChangeLog-pre2007.
338        * ChangeLog-pre2007: New file.
339
3402007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
341
342        PR 1241/rtems
343        * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
344        critical section window added with requeueing support.
345
3462007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
347
348        * libcsupport/include/rtems/cdefs.h,
349          libcsupport/include/sys/cdefs.h: Remove.
350        * Makefile.am: Remove libcsupport/include/sys/cdefs.h.
351        * libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
352        * include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
353        libnetworking/netdb.h, libnetworking/resolv.h,
354        libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
355        libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
356        libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
357        libnetworking/net/if.h, libnetworking/net/if_dl.h,
358        libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
359        libnetworking/rtems/rtems_bsdnet_internal.h,
360        libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
361        libnetworking/sys/poll.h, libnetworking/sys/socket.h,
362        libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
363        libnetworking/sys/uio.h, libnetworking/sys/un.h,
364        librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
365        librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
366        librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
367        librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
368        librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
369        librpc/include/rpcsvc/ypclnt.h, librpc/include/rpc/rpc_com.h:
370        Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
371
3722007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
373
374        * Makefile.am: Reflect introduction of
375          include/rtems/bsd/sys/cdefs.h.
376        * include/rtems/bsd/sys/cdefs.h: New.
377
3782007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
379
380        * libnetworking/Makefile.am: Reflect having removed sys/queue.h.
381        * libnetworking/sys/queue.h: Remove.
382
3832007-05-10      Ralf Corsépius <ralf.corsepius@rtems.org>
384
385        * librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
386        <machine/endian.h>.
387        * libnetworking/rtems/rtems_showroute.c,
388        libnetworking/rtems/rtems_showipstat.c,
389        libnetworking/rtems/rtems_showtcpstat.c,
390        libnetworking/rtems/rtems_showicmpstat.c,
391        libnetworking/rtems/rtems_showmbuf.c,
392        libnetworking/rtems/rtems_showudpstat.c,
393        libnetworking/rtems/rtems_showifstat.c, libnetworking/net/if.c,
394        libnetworking/net/raw_cb.c, libnetworking/net/route.c,
395        libnetworking/net/rtsock.c, libnetworking/net/raw_usrreq.c,
396        libnetworking/netinet/tcp_usrreq.c,
397        libnetworking/netinet/tcp_timer.c, libnetworking/netinet/if_ether.c,
398        libnetworking/netinet/tcp_debug.c, libnetworking/netinet/ip_fw.c,
399        libnetworking/netinet/ip_output.c,
400        libnetworking/netinet/ip_mroute.c, libnetworking/netinet/in_proto.c,
401        libnetworking/netinet/udp_usrreq.c,
402        libnetworking/netinet/tcp_output.c,
403        libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_input.c,
404        libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_pcb.c,
405        libnetworking/netinet/raw_ip.c, libnetworking/netinet/ip_divert.c,
406        libnetworking/netinet/in.c, libnetworking/kern/uipc_socket2.c,
407        libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c,
408        libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h>
409        instead of <sys/queue.h>.
410        * libnetworking/sys/socketvar.h, libnetworking/sys/mount.h,
411        libnetworking/sys/sysctl.h, libnetworking/net/raw_cb.h,
412        libnetworking/net/if.h, libnetworking/net/if_media.h,
413        libnetworking/net/if_var.h, libnetworking/netinet/in_var.h,
414        libnetworking/netinet/in_pcb.h: Include <rtems/bsd/sys/queue.h>
415        instead of <sys/queue.h>.
416        * Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
417        * include/rtems/bsd/sys/queue.h: New (Copied from
418          libnetworking/sys/queue.h).
419
4202007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
421
422        * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
423        sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
424        score/Makefile.am, score/preinstall.am,
425        score/include/rtems/score/userext.h, score/src/chain.c,
426        score/src/userext.c: Switch to newlib reentrancy extension being
427        installed in the initial set instead of using rtems_extension_create.
428        While implementing this, noticed that user extensions and chain code
429        had multiple functions in a single file which is not desirable in the
430        SuperCore and API portions of RTEMS, so split these into multiple
431        files with one function per file. Also noticed that some of user
432        extension code was inlined for no particular reason so moved that to
433        C bodies.  Split executive shutdown from initialization since not
434        every application shuts down.  Moved __fini call to executive shutdown
435        to be more symmetrical with where it is called at startup.
436        * sapi/src/exshutdown.c, score/src/chainappend.c,
437        score/src/chainextract.c, score/src/chainget.c,
438        score/src/chaininsert.c, score/src/userextaddapiset.c,
439        score/src/userextaddset.c, score/src/userextremoveset.c,
440        score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
441        score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
442        score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
443        files.
444        * score/inline/rtems/score/userext.inl: Removed.
445
4462007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
447
448        * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
449        reference _Configuration_MP_table if multiprocessing is disabled.
450
4512007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
452
453        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
454        reference _Configuration_MP_table if multiprocessing is disabled.
455
4562007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
457
458        * libnetworking/machine/endian.h: Remove.
459        * libnetworking/Makefile.am: Remove machine/endian.h.
460        * libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
461        libnetworking/rtems/rtems_bsdnet_internal.h: Include
462        <rtems/endian.h> instead of <machine/endian.h>.
463        * Makefile.am: Add include/rtems/endian.h.
464        * include/rtems/endian.h: New (Copied from
465          libnetworking/machine/endian.h).
466
4672007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
468
469        * libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
470        pppd/md4.h, pppd/md5.h, pppd/pppd.h,
471        score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
472        of <stdint.h>.
473        * libnetworking/machine/endian.h: Remove
474          CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
475        * NEWS: new.
476
4772007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
478
479        PR 1243
480        * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
481
4822007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
483
484        * libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
485        to inline functions, using uint[16,32]_t.
486        * libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
487        with SUSv3.
488        * telnetd/icmds.c: Add HAVE_CONFIG_H magic.
489        * rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
490        score/src/threadqrequeue.c, ftpd/ftpd.c, libblock/src/show_bdbuf.c:
491        Add HAVE_CONFIG_H magic.
492        * libnetworking/libc/gethostbydns.c,
493        libnetworking/libc/inet_net_ntop.c,
494        libnetworking/libc/inet_pton.c: Eliminate __P.
495        * librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
496        return value of ntohl (POSIX requirement).
497        Use UINT32_C macros to avoid overflows on 16bit targets.
498        Eliminate __P.
499        * configure.ac: Check for working PRIxPTR.
500
5012007-05-08      Ralf Corsépius <ralf.corsepius@rtems.org>
502
503        * score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
504        score/src/threadinitialize.c, score/src/threadstackallocate.c:
505        Use size_t for stack sizes.
506
5072007-05-03      Joel Sherrill <joel@OARcorp.com>
508
509        * ChangeLog, libcsupport/src/malloc.c,
510        libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
511        score/Makefile.am, score/preinstall.am: malloc never blocks so the
512        Region Manager is quite heavy for implementing this. This patch
513        implements the C Program Heap directly in terms of the new Protected
514        Heap handler. This handler is a direct use of a SuperCore Heap in
515        conjunction with the Allocator Mutex used internally by RTEMS. This
516        saves 3184 bytes on most SPARC test executables.
517        * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
518        score/src/pheapallocatealigned.c, score/src/pheapextend.c,
519        score/src/pheapfree.c, score/src/pheapgetblocksize.c,
520        score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
521        score/src/pheapinit.c, score/src/pheapresizeblock.c,
522        score/src/pheapwalk.c: New files.
523
5242007-05-03      Joel Sherrill <joel@OARcorp.com>
525
526        * libcsupport/src/rmdir.c: Fixed spacing.
527        * libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split _exit from
528        newlibc.c. It is not required for minimum executing and drops 624
529        from SPARC minimum executable.
530        * libcsupport/src/newlibc_exit.c: New file.
531
5322007-04-17      Joel Sherrill <joel@OARcorp.com>
533
534        * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
535        itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
536        itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
537        itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
538        rtems/src/taskinitusers.c, rtems/src/tasks.c,
539        sapi/include/confdefs.h, sapi/src/io.c: Various modification to
540        reduce executable size. Most were refactoring of files. Split ITRON
541        API files. Implemented mechanism to avoid initialization task/thread
542        loop being linked in when that style of task initialization was not
543        being used.
544        * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
545        itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
546        itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
547        itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
548        itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
549        itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
550        itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
551        itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
552        itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
553        itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
554        itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
555        itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
556        itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
557        itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
558        itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
559        itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
560        itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
561        itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
562        itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
563        itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
564        itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
565
5662007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
567
568        * score/include/rtems/score/thread.h:
569          Use Context_Control_fp* instead of void* for fp_contexts.
570
5712007-04-16      Joel Sherrill <joel@OARcorp.com>
572
573        PR 1240/filesystem
574        * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
575        for filename was not being freed.
576
5772007-04-16      Ralf Corsépius <ralf.corsepius@rtems.org>
578
579        * pppd/utils.c: Use uintptr_t instead of unsigned long.
580
5812007-04-16      Joel Sherrill <joel@OARcorp.com>
582
583        * itron/src/rsm_tsk.c: Correct error returned.
584
5852007-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
586
587        * configure.ac: Redefine LIBPOSIX to !UNIX.
588        * posix/src/usleep.c, libcsupport/src/readlink.c:
589        Update API to SUSv3.
590
5912007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
592
593        * posix/Makefile.am: Unconditionally build src/sleep.c,
594          src/usleep.c.
595        * posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
596          CLOCK_MONOTONIC case.
597        * score/inline/rtems/score/tod.inl: Include <sys/time.h>.
598
5992007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
600
601        * posix/Makefile.am: Cosmetics.
602        * configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
603        * httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
604
6052007-04-13      Ralf Corsépius <ralf.corsepius@rtems.org>
606
607        * posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
608          AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
609        * posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
610          rtems/posix/time.h.
611        * posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
612          rtems/posix/time.h.
613        * score/include/rtems/score/object.h: Use size_t for byte sizes.
614
6152007-04-12      Joel Sherrill <joel@OARcorp.com>
616
617        * itron/src/rsm_tsk.c: Correct error returned.
618
6192007-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
620
621        * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK
622
6232007-04-09      Ralf Corsépius <ralf.corsepius@rtems.org>
624
625        * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
626        (Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
627        _impure_ptr bug).
628        Fix abuse of _REENT_INIT().
629
6302007-04-05      Joel Sherrill <joel@OARcorp.com>
631
632        * itron/src/itrontime.c: Fix typo.
633        * score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
634        * score/src/iterateoverthreads.c: Safely take NULL as argument.
635        * score/src/threaddispatch.c: Formatting.
636
6372007-04-05      Joel Sherrill <joel@OARcorp.com>
638
639        * posix/Makefile.am: Fix formatting.
640
6412007-04-05      Joel Sherrill <joel@OARcorp.com>
642
643        * posix/Makefile.am, posix/include/rtems/posix/time.h,
644        posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
645        posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
646        posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
647        posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
648        posix/src/pthread.c, posix/src/pthreadcreate.c,
649        posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
650        posix/src/sched.c, posix/src/semtimedwait.c,
651        posix/src/sigtimedwait.c, posix/src/ualarm.c,
652        rtems/src/clocktodtoseconds.c, score/Makefile.am,
653        score/preinstall.am, score/include/rtems/score/tod.h,
654        score/inline/rtems/score/tod.inl, score/src/coretod.c,
655        score/src/coretodget.c, score/src/coretodgetuptime.c,
656        score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
657        manipulation routines in the SuperCore. Use them everywhere possible.
658        This lead to significant cleanup in the API routines and eliminated
659        some of the same code from the POSIX API. At this point, the
660        SuperCore keeps time in POSIX timespec format properly from 1970. You
661        just cannot set it before 1988 in keeping with RTEMS traditional
662        behavior.
663        * score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
664        score/src/timespecfromticks.c, score/src/timespecisvalid.c,
665        score/src/timespeclessthan.c, score/src/timespecsubtract.c,
666        score/src/timespectoticks.c: New files.
667        * posix/src/posixintervaltotimespec.c,
668        posix/src/posixtimespecsubtract.c,
669        posix/src/posixtimespectointerval.c: Removed.
670
6712007-04-04      Joel Sherrill <joel@OARcorp.com>
672
673        * score/Makefile.am, score/include/rtems/score/tod.h,
674        score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
675        non-inlined routine. It should only be used once so there is little
676        advantage to inlining it.
677        * score/src/coretodtickle.c: New file.
678
6792007-04-02      Joel Sherrill <joel@OARcorp.com>
680
681        * posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
682        dead code.
683        * posix/src/time.c: Removed.
684
6852007-04-02      Joel Sherrill <joel@OARcorp.com>
686
687        * posix/include/rtems/posix/timer.h, posix/src/alarm.c,
688        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
689        posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
690        rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
691        score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
692        TOD_Ticks_per_second variable.
693
6942007-04-02      Joel Sherrill <joel@OARcorp.com>
695
696        * itron/src/itrontime.c, libcsupport/src/__gettod.c,
697        posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
698        posix/src/clockgettime.c, posix/src/clocksettime.c,
699        posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
700        posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
701        posix/src/sleep.c, rtems/Makefile.am,
702        rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
703        rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
704        rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
705        rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
706        score/Makefile.am, score/include/rtems/score/tod.h,
707        score/inline/rtems/score/tod.inl, score/src/coretod.c,
708        score/src/coretodset.c: Convert from Classic API style TOD_Control as
709        fundamental time structure to POSIX struct timespec. Add
710        clock_get_uptime().
711        * rtems/src/clockgetuptime.c, score/src/coretodget.c,
712        score/src/coretodgetuptime.c: New files.
713        * score/src/coretodtickle.c, score/src/coretodtoseconds.c,
714        score/src/coretodvalidate.c: Removed.
715
7162007-04-02      Joel Sherrill <joel@OARcorp.com>
717
718        * libcsupport/src/printk.c: Add %p support.
719
7202007-04-02      Joel Sherrill <joel@OARcorp.com>
721
722        * libmisc/stackchk/check.c: Add code to check validity of frame pointer
723        in addition to the pattern area being overwritten. Also do some
724        cleanup.
725
7262007-03-31      Ralf Corsépius <ralf.corsepius@rtems.org>
727
728        * include/rtems/pci.h: Further stdint.h fixed-size types.
729
7302007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
731
732        * include/rtems/pci.h: Use stdint.h fixed size-types.
733
7342007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
735
736        * libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
737        * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
738        * libnetworking/Makefile.am: Move libc/res_config.h to
739          libc_a_SOURCES (File is being used).
740        * libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
741        Remove (Unused).
742        * libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
743        * libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
744        Remove (Unused).
745        * libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
746
7472007-03-30      Ralf Corsépius <ralf.corsepius@rtems.org>
748
749        * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
750        libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
751        libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
752        libnetworking/libc/gethostbynis.c,
753        libnetworking/libc/gethostnamadr.c,
754        libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
755        libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
756        libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
757        libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
758        libnetworking/libc/getservbyname.c,
759        libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
760        libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
761        libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
762        libnetworking/libc/inet_net_ntop.c,
763        libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
764        libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
765        libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
766        libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
767        libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
768        libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
769        libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
770        libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
771        libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
772        libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
773        libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
774        libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
775        libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
776        libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
777        libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
778        libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
779        SCCS, LINT. Add HAVE_CONFIG_H.
780        * libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
781
7822007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
783
784        * rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
785          uintptr_t.
786
7872007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
788
789        * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
790        libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
791
7922007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
793
794        * libnetworking/netinet/ip.h: Add FreeBSD's alignment macros.
795        * libnetworking/net/netisr.h: Partial update from FreeBSD.
796        * libcsupport/src/getpwent.c: Remove bogus cast to long.
797        * libnetworking/libc/strsep.c: Don't build if provided by libc.
798        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
799        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
800        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
801        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
802        * libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
803        (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
804        * libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
805        (Abandoned in FreeBSD).
806        * libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
807        (Abandoned in FreeBSD).
808        * libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
809        (Abandoned in FreeBSD).
810        * libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
811        * libnetworking/netinet/ip_fw.c: Eliminate __P().
812
8132007-03-28      Chris Johns <chrisj@rtems.org>
814
815        * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
816        score/include/rtems/score/watchdog.h: Add support for a handler to
817        obtain the number of nanoseconds since the last clock tick. The
818        primary interface for this is rtems_clock_set_nanoseconds_extension.
819        Subsequent commits from Joel will redo the TOD support to use this
820        capability.
821        * rtems/src/clocksetnsecshandler.c: New file.
822
8232007-03-28      Joel Sherrill <joel@OARcorp.com>
824
825        PR 1234/cpukit
826        * libcsupport/Makefile.am: Provide printk() based implementation of
827        __assert() to reduce dependencies in executables.
828        * libcsupport/src/__assert.c: New file.
829
8302007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
831
832        * librpc/src/rpc/clnt_tcp.c (clnttcp_create):
833        Use uintptr_t for "disrupt". Remove bogus (long) cast.
834        * libnetworking/net/ppp-comp.h: Remove (Unused).
835        * libnetworking/Makefile.am: Remove net/ppp-comp.h.
836        * libnetworking/sys/buf.h: Remove (Unused).
837        * libnetworking/Makefile.am: Remove sys/buf.h.
838        * libnetworking/kern/kern_sysctl.c,
839        libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
840        <sys/buf.h>.
841        *  libcsupport/include/sys/sockio.h: Partial update from
842          FreeBSD.
843
8442007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
845
846        * libnetworking/netinet/ip_output.c: Use uint32_t optlen.
847        * libnetworking/netinet/igmp.c: Eliminate __P().
848        * libnetworking/netinet/in.c: Eliminate __P().
849        * libnetworking/netinet/tcp_subr.c: Eliminate __P().
850        * libnetworking/netinet/in_pcb.c: Eliminate __P().
851        * libnetworking/netinet/ip_output.c: Eliminate __P().
852
8532007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
854
855        * libnetworking/sys/protosw.h (pr_usrreqs.pru_attach,
856        pr_usrreqs.pru_control, pr_usrreqs.pru_rcvd, pr_usrreqs.pru_rcvoob):
857        Change int args to intptr_t because they are casted to pointers.
858        * libnetworking/netinet/tcp_usrreq.c,
859        libnetworking/kern/uipc_socket2.c: Reflect changes to sys/protosw.h.
860
8612007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
862
863        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
864        "long", because long is not guaranteed to be castable to char*.
865        * libnetworking/netinet/ip_input.c: Eliminate __P().
866        Change "int next" to "int32_t next" for 16bit targets.
867        * libnetworking/netinet/tcp_input.c: Eliminate __P().
868        * libnetworking/netinet/in_rmx.c: Eliminate __P().
869        * libnetworking/netinet/tcp_usrreq.c: Eliminate __P().
870        * libnetworking/netinet/udp_usrreq.c: Eliminate __P().
871        * libnetworking/nfs/bootp_subr.c: Eliminate __P().
872        * libnetworking/rtems/rtems_bsdnet_internal.h: Eliminate __P().
873        * libnetworking/kern/uipc_domain.c: Eliminate __P().
874
8752007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
876
877        * libnetworking/net/pppcompress.h, libnetworking/net/pppcompress.c:
878        Remove (Abandoned in FreeBSD).
879        * libnetworking/Makefile.am: Remove net/pppcompress.c,
880        net/pppcompress.h.
881        * libnetworking/net/if_ppp.c: Use net/slcompress.h instead of
882        net/pppcompress.h.
883        * libnetworking/net/slcompress.h: Cosmetics from FreeBSD.
884        * libnetworking/net/ppp_tty.c: Use net/slcompress.h instead of
885        net/pppcompress.h.
886
8872007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
888
889        * libnetworking/net/pppcompress.h: Eliminate __P().
890        * libnetworking/net/if_pppvar.h: Cosmetics from FreeBSD.
891        * libnetworking/net/if_llc.h: Update from FreeBSD.
892
8932007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
894
895        * pppd/ccp.c, pppd/options.c: Include <net/ppp_comp.h> instead of
896          <net/ppp-comp.h>.
897        * libnetworking/net/ppp-comp.h: Include <net/ppp_comp.h>.
898        Warn about using it.
899        * libnetworking/Makefile.am: Add net/ppp_comp.h.
900        * libnetworking/net/ppp_comp.h: New (copy of ppp-comp.h).
901        * libnetworking/net/ppp-comp.h: Eliminate __P(). Cosmetics from
902          FreeBSD.
903        * libnetworking/machine/in_cksum.h: Eliminate __P().
904        * pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/chap.c,
905        pppd/chap_ms.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c,
906        pppd/ipcp.c, pppd/lcp.c, pppd/options.c, pppd/rtemsmain.c,
907        pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
908        Eliminate __P().
909        * libcsupport/src/scandir.c: Eliminate __P().
910        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
911        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
912        Eliminate __P().
913        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
914        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
915        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
916
9172007-03-26      Joel Sherrill <joel@OARcorp.com>
918
919        PR 1231/cpukit
920        * posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
921        posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
922        posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
923        posix/src/mutex.c, posix/src/mutexattrdestroy.c,
924        posix/src/mutexattrgetprioceiling.c,
925        posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
926        posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
927        posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
928        posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
929        posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
930        posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
931        posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
932        posix/src/mutextrylock.c, posix/src/mutexunlock.c,
933        posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
934        posix/src/posixtimespecsubtract.c,
935        posix/src/posixtimespectointerval.c,
936        posix/src/psignalclearprocesssignals.c,
937        posix/src/psignalclearsignals.c,
938        posix/src/psignalsetprocesssignals.c,
939        posix/src/psignalunblockthread.c, posix/src/ptimer.c,
940        posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
941        unneeded includes of assert.h
942
9432007-03-26      Joel Sherrill <joel@OARcorp.com>
944
945        * libcsupport/include/rtems/assoc.h: Pick up the include file
946        changes associated with the file splitting.
947
9482007-03-26      Joel Sherrill <joel@OARcorp.com>
949
950        * libcsupport/Makefile.am: Pick up the Makefile changes associated
951        with the file splitting.
952
9532007-03-26      Joel Sherrill <joel@OARcorp.com>
954
955        * libcsupport/src/assoc.c, libcsupport/src/libio.c,
956        libcsupport/src/write.c: Split files to shrink minimum.exe. Hopefully
957        this will not be deemed necessary to commit to the 4.7 branch.
958        * libcsupport/src/assoclocalbyname.c,
959        libcsupport/src/assoclocalbyremote.c,
960        libcsupport/src/assoclocalbyremotebitfield.c,
961        libcsupport/src/assocnamebylocal.c,
962        libcsupport/src/assocnamebylocalbitfield.c,
963        libcsupport/src/assocnamebyremote.c,
964        libcsupport/src/assocnamebyremotebitfield.c,
965        libcsupport/src/assocptrbylocal.c, libcsupport/src/assocptrbyname.c,
966        libcsupport/src/assocptrbyremote.c,
967        libcsupport/src/assocremotebylocal.c,
968        libcsupport/src/assocremotebylocalbitfield.c,
969        libcsupport/src/assocremotebyname.c, libcsupport/src/libio_init.c,
970        libcsupport/src/write_r.c: New files.
971
9722007-03-26      Joel Sherrill <joel@OARcorp.com>
973
974        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
975        support and remove deadcode. Replace with comment explaining that
976        behavior is compatible with GNU/Linux per Eric Norum.
977
9782007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
979
980        * libnetworking/net/ppp_defs.h, libnetworking/net/if_ppp.h:
981        Partial update from FreeBSD.
982        * libnetworking/netinet/if_ether.h: Eliminate __P().
983        * libnetworking/netinet/ip_var.h: Eliminate __P().
984        * libnetworking/netinet/in.h: Eliminate __P().
985        * libnetworking/netinet/tcp_var.h: Eliminate __P().
986
9872007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
988
989        * libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
990        Remove __P();
991        * libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
992
9932007-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
994
995        * libnetworking/netinet/in_var.h: Remove __P().
996        * libnetworking/netinet/in_systm.h: Remove __P().
997        * libnetworking/netinet/in_pcb.h: Partial updates from FreeBSD.
998        * libnetworking/sys/socketvar.h: Cosmetics from FreeBSD.
999        * libnetworking/netinet/if_ether.c: Remove __P().
1000        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c:
1001        More updates from FreeBSD.
1002        * libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c,
1003        libnetworking/net/route.h: Partial update from FreeBSD.
1004
10052007-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
1006
1007        * libnetworking/Makefile.am: Remove nfs/krpc.h.
1008        * libnetworking/nfs/krpc.h: Remove (Unused).
1009        * libnetworking/kern/kern_subr.c: Remove #ifdef'ed vax code.
1010        * libnetworking/Makefile.am: Remove nfs/nfs.h.
1011        * libnetworking/nfs/nfs.h: Remove (Unused).
1012
10132007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1014
1015        * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
1016          symbols.
1017        * libnetworking/sys/conf.h: Don't include machine/conf.h.
1018        Update copyright notice.
1019        Remove unused/non-implemented declarations.
1020        * libnetworking/Makefile.am: Remove machine/conf.h.
1021        * libnetworking/machine/conf.h: Remove.
1022
10232007-03-19      Ralf Corsépius <ralf.corsepius@rtems.org>
1024
1025        * libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
1026        Remove many non-supported/unused declarations.
1027
10282007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1029
1030        * libnetworking/sys/ucred.h: Remove crcopy, crdup, crfree, crget,
1031          crhold (Unused/non-implemented).
1032
10332007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1034
1035        * libnetworking/sys/ucred.h: Remove __P().
1036        * libnetworking/sys/callout.h: Remove __P().
1037        * libnetworking/sys/domain.h: Remove __P().
1038        * libnetworking/sys/socketvar.h: Remove __P().
1039        * libnetworking/sys/socket.h: Remove __P().
1040        * libnetworking/sys/select.h: Remove __P().
1041        * libnetworking/sys/kernel.h: Remove __P().
1042        * libnetworking/sys/protosw.h: Remove __P().
1043        * libnetworking/sys/conf.h: Remove bdevsw, cdevsw, swdevt (Unused).
1044        * libnetworking/sys/systm.h: Remove nblkdev, nchrdev,
1045        swdevt, nswdev, nswap (Unused).
1046
10472007-03-18      Ralf Corsépius <ralf.corsepius@rtems.org>
1048
1049        * libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
1050        * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
1051        instead of struct linesw (PR 1229)
1052        * libnetworking/sys/systm.h: Comment out copyin/copyout to work
1053        around clash with defines from rtems_bsdnet_internal.h.
1054        * score/src/heapwalk.c: include stdlib.h.
1055
10562007-03-17      Ralf Corsépius <ralf.corsepius@rtems.org>
1057
1058        * libnetworking/sys/buf.h, libnetworking/sys/conf.h:
1059        Remove __P().
1060        * libnetworking/net/if.h, libnetworking/net/if_ppp.h,
1061        libnetworking/sys/signalvar.h, libnetworking/sys/systm.h:
1062        Remove __P().
1063        * libcsupport/include/rtems/termiostypes.h,
1064        libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
1065        with rtems_termios_*.
1066        * libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
1067        (Clash with termiostypes.h - PR 1229).
1068
10692007-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
1070
1071        * score/include/rtems/score/wkspace.h,
1072        score/inline/rtems/score/wkspace.inl, score/src/wkspace.c:
1073        Change _Workspace_Handler_initialization and
1074        _Workspace_Allocate_or_fatal_error to using size_t.
1075        * libnetworking/sys/rtprio.h: Remove (Unused).
1076        * libnetworking/Makefile.am: Remove sys/rtprio.h.
1077
10782007-03-14      Ralf Corsépius <ralf.corsepius@rtems.org>
1079
1080        * libnetworking/sys/mbuf.h, libnetworking/sys/rtprio.h:
1081        Remove __P().
1082
10832007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
1084
1085        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
1086          to fix warnings.
1087        * score/include/rtems/score/stack.h: Use size_t for stack sizes.
1088        * score/include/rtems/score/chain.h, score/src/chain.c:
1089        Change _Chain_Initialize to using size_t.
1090
10912007-03-12      Joel Sherrill <joel@OARcorp.com>
1092
1093        * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
1094        Dump_Buffer to rtems_print_buffer.
1095
10962007-03-12      Joel Sherrill <joel@OARcorp.com>
1097
1098        * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
1099        license URL and/or fix mistake in copyright notice. Both of these
1100        mistakes appear to be from code submitted after these changes were
1101        made previously.
1102
11032007-03-10      Joel Sherrill <joel@OARcorp.com>
1104
1105        PR 1226/cpukit
1106        * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
1107        CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
1108
11092007-03-08      Joel Sherrill <joel@OARcorp.com>
1110
1111        * libfs/src/imfs/imfs.h: Fix comment.
1112
11132007-03-08      Joel Sherrill <joel@OARcorp.com>
1114
1115        * libfs/src/imfs/imfs.h: Fix comment.
1116
11172007-03-08      Joel Sherrill <joel@OARcorp.com>
1118
1119        * libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
1120        libmisc/stackchk/stackchk.h: Change dump usage to report usage.
1121
11222007-03-08      Joel Sherrill <joel@OARcorp.com>
1123
1124        * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
1125        Remove wrapper for message queue send and urgent and implement them
1126        directly. There was an unnecessary function call layer in addition to
1127        conditions in the shared routine. Directly coding both directives is
1128        simpler and should result in smaller code.
1129        * rtems/src/msgqsubmit.c: Removed.
1130
11312007-03-05      Joel Sherrill <joel@OARcorp.com>
1132
1133        PR 1222/cpukit
1134        * score/Makefile.am, score/include/rtems/score/coremutex.h,
1135        score/include/rtems/score/threadq.h,
1136        score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
1137        score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
1138        score/src/threadclearstate.c, score/src/threadhandler.c,
1139        score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
1140        score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
1141        score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
1142        score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
1143        score/src/threadsetstate.c: Enhance so that when the prioirity of a
1144        thread that is blocked on a priority based thread queue is changed,
1145        that its placement in the queue is reevaluated based upon the new
1146        priority. This enhancement includes modifications to the SuperCore as
1147        well as new test cases.
1148        * score/src/threadqrequeue.c: New file.
1149
11502007-03-05      Joel Sherrill <joel@OARcorp.com>
1151
1152        * sapi/src/exinit.c: Fix spacing.
1153
11542007-03-05      Joel Sherrill <joel@OARcorp.com>
1155
1156        PR 1221/cpukit
1157        * posix/src/pthreadequal.c: Fix critical section nesting.
1158
11592007-02-22      Ralf Corsepius <ralf.corsepius@rtems.org>
1160
1161        * libcsupport/Makefile.am: Move getpagesize.c to newlib-only
1162          compiled files.
1163
11642007-02-21      Ralf Corsepius <ralf.corsepius@rtems.org>
1165
1166        * wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
1167
11682007-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
1169
1170        * score/Makefile.am: Remove macros/README.
1171
11722007-02-11      Ralf Corsepius <ralf.corsepius@rtems.org>
1173
1174        * score/include/rtems/score/heap.h, score/src/heap.c,
1175        score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
1176        More size_t for heap-sizes.
1177        * score/include/rtems/score/heap.h, score/src/heap.c,
1178        score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
1179        heap-sizes.
1180        * libnetworking/resolv.h: Typo fixes. Remove __P().
1181
11822007-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
1183
1184        * rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
1185        Use size_t for stack-sizes.
1186
11872007-02-07      Ralf Corsépius <ralf.corsepius@rtems.org>
1188
1189        * libnetworking/vm/vm_extern.h: Remove non-implemented/unused
1190          functions.
1191        * configure.ac: Check for intmax_t, uintptr_t, intptr_t,
1192        pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
1193
11942007-02-06      Till Straumann <strauman@slac.stanford.edu>
1195
1196        * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
1197        taskvar dtor to plug memory leak. Applied patch attached
1198        to PR#690.
1199
12002007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1201
1202        * libcsupport/src/getpagesize.c: New (moved from posix/src).
1203        * posix/src/getpagesize.c: Removed.
1204        * posix/Makefile.am: Remove references to getpagesize.c.
1205        * libcsupport/Makefile.am: Add getpagesize.c.
1206
12072007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1208
1209        * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
1210        * posix/src/mqueuesendsupp.c: Remove cast to make broken const cast
1211          visible.
1212        * score/inline/rtems/score/coremsg.inl: More size_t and consts.
1213
12142007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1215
1216        * rtems/src/msgqsend.c: Use size_t for sizes.
1217        * rtems/src/msgqurgent.c: Use size_t for sizes.
1218        * rtems/src/msgqbroadcast.c: Use size_t for sizes.
1219        * rtems/src/msgmp.c: Use size_t for sizes.
1220        * rtems/src/msgqsubmit.c: Use size_t for sizes.
1221        * rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
1222        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
1223        * score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
1224
12252007-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
1226
1227        * itron/src/trcv_mbf.c: Use size_t for sizes.
1228        * libmisc/monitor/mon-object.c: Use size_t for sizes.
1229        * libmisc/monitor/mon-server.c: Use size_t for sizes.
1230        * libmisc/monitor/monitor.h: Use size_t for sizes.
1231        * libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
1232        * rtems/include/rtems/rtems/message.h: Use size_t for sizes.
1233        * rtems/src/msgqreceive.c: Use size_t for sizes.
1234        * posix/src/mqueuerecvsupp.c: Use size_t for sizes.
1235        * score/src/coremsgseize.c: Use size_t for sizes.
1236
12372007-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
1238
1239        * posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
1240        * posix/src/mqueuesendsupp.c: Use size_t for sizes.
1241        * score/include/rtems/score/coremsg.h: Use size_t for sizes.
1242        * score/src/coremsgbroadcast.c: Use size_t for sizes.
1243        * score/src/coremsgsubmit.c: Use size_t for sizes.
1244
12452007-01-30      Ralf Corsépius <ralf.corsepius@rtems.org>
1246
1247        * libblock/src/show_bdbuf.c: Use inttypes.h macros.
1248
12492007-01-29      Ralf Corsépius <ralf.corsepius@rtems.org>
1250
1251        * libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
1252
12532007-01-28      Ralf Corsépius <ralf.corsepius@rtems.org>
1254
1255        * libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
1256        Remove isblank (supposed to be provided by libc).
1257
12582007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
1259
1260        * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
1261
12622007-01-27      Ralf Corsépius <ralf.corsepius@rtems.org>
1263
1264        * score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
1265         __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
1266        * configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
1267        __RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
1268        Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
1269
12702007-01-26      Ralf Corsépius <ralf.corsepius@rtems.org>
1271
1272        * score/include/rtems/system.h:
1273        #define __RTEMS_MINOR__ 7 (BZ 1206).
1274
12752007-01-20      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
1276
1277        * libblock/src/bdbuf.c, libblock/include/bdbuf.h:
1278        export some internal variables to make them available in
1279        "show_bdbuf" monitor add-on
1280
12812007-01-16      Till Straumann <strauman@slac.stanford.edu>
1282
1283        * libnetworking/rtems/rtems_mii_ioctl.c,
1284        libnetworking/rtems/rtems_mii_ioctl.h,
1285        libnetworking/rtems/rtems_mii_ioctl_kern.c,
1286        libi2c/libi2c.c, libi2c/libi2c.h:
1287        Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
1288
12892007-01-09      Joel Sherrill <joel@OARcorp.com>
1290
1291        * libcsupport/src/error.c: rtems_progname is no longer defined in
1292        the BSP startup since it never held a meaningful value.
1293
12942007-01-02      Ralf Corsépius <ralf.corsepius@rtems.org>
1295
1296        * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
1297        (BZ 1203).
Note: See TracBrowser for help on using the repository browser.