Commit Graph

6567 Commits

Author SHA1 Message Date
Joel Sherrill
b1e13f4034 2011-03-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadget.c: Remove conditional since this path can be
	tested with and without POSIX enabled.
2011-03-09 16:19:37 +00:00
Joel Sherrill
8b53dee67b 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/src/objectinitializeinformation.c: Reverse sense of conditional
	and improve comment. Comment was right but brief, conditional was
	backwards.
2011-03-08 23:55:24 +00:00
Joel Sherrill
e1fc243323 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1759/cpukit
	* posix/src/cancel.c, posix/src/pthreaddetach.c,
	posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c,
	posix/src/pthreadjoin.c, posix/src/pthreadkill.c,
	posix/src/pthreadsetschedparam.c: Some POSIX pthread services did not
	support using Classic API Task Ids.
2011-03-08 22:14:14 +00:00
Joel Sherrill
5f6e7415b7 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/include/rtems/score/schedulerpriority.h: Enqueue first entry
	said enqueue. Caught while running coverage.
2011-03-08 19:27:35 +00:00
Sebastian Huber
db498aba75 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/cpuuse/cpuusagereport.c: Fix calculation in case a thread
	dispatch happends in the meantime.  The percent values will not sum up
	to one hundred percent.
2011-03-07 14:55:05 +00:00
Sebastian Huber
babaedefa9 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems/irq-extension.h: Documentation.
	* libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
2011-03-07 13:54:44 +00:00
Ralf Corsepius
4c7b674a16 2011-03-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4, aclocal/version.m4:
	Rename RTEMS_API into _RTEMS_API.
2011-03-04 16:17:27 +00:00
Joel Sherrill
4c794c8721 2011-03-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Typos.
2011-03-03 16:01:35 +00:00
Joel Sherrill
8a5d6ac18c Formatting. 2011-03-03 13:34:45 +00:00
Chris Johns
9a65833c1e 2011-03-03 Chris Johns <chrisj@rtems.org>
* libcsupport/src/mknod.c, libfs/src/rfs/rtems-rfs-inode.c: PR
        1749. Fix the incorrect handling of the file type in the mode
        value to reject invalid types as per the standard.
2011-03-03 06:22:48 +00:00
Ralf Corsepius
7ef9c85e74 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/if_ether.c,
	libnetworking/netinet/in.c,
	libnetworking/netinet/in_pcb.c,
	libnetworking/netinet/in_pcb.h,
	libnetworking/netinet/in_proto.c,
	libnetworking/netinet/in_rmx.c,
	libnetworking/netinet/in_var.h,
	libnetworking/netinet/ip_divert.c,
	libnetworking/netinet/ip_fw.c,
	libnetworking/netinet/ip_mroute.c,
	libnetworking/netinet/ip_output.c,
	libnetworking/netinet/raw_ip.c,
	libnetworking/netinet/tcp_input.c,
	libnetworking/netinet/tcp_output.c,
	libnetworking/netinet/tcp_subr.c,
	libnetworking/netinet/tcp_timer.c,
	libnetworking/netinet/tcp_usrreq.c,
	libnetworking/netinet/udp_usrreq.c:
	Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
2011-03-02 14:39:45 +00:00
Ralf Corsepius
ddbfa05096 Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h. 2011-03-02 14:39:32 +00:00
Ralf Corsepius
18878f6f43 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_showicmpstat.c,
	libnetworking/rtems/rtems_showifstat.c,
	libnetworking/rtems/rtems_showipstat.c,
	libnetworking/rtems/rtems_showmbuf.c,
	libnetworking/rtems/rtems_showroute.c,
	libnetworking/rtems/rtems_showtcpstat.c,
	libnetworking/rtems/rtems_showudpstat.c:
	Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
2011-03-02 14:36:49 +00:00
Ralf Corsepius
b22ccd79e8 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/kern/kern_subr.c, libnetworking/kern/kern_sysctl.c,
	libnetworking/kern/uipc_socket.c, libnetworking/kern/uipc_socket2.c:
	Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
2011-03-02 14:32:15 +00:00
Ralf Corsepius
1faae8cb5b 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if.c, libnetworking/net/if.h,
	libnetworking/net/if_media.h, libnetworking/net/if_var.h,
	libnetworking/net/raw_cb.c, libnetworking/net/raw_cb.h,
	libnetworking/net/raw_usrreq.c, libnetworking/net/route.c,
	libnetworking/net/rtsock.c:
	Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
2011-03-02 14:18:40 +00:00
Ralf Corsepius
3611eba5ad Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h. 2011-03-02 14:18:27 +00:00
Ralf Corsepius
569e001b14 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/mount.h, libnetworking/sys/socketvar.h,
	libnetworking/sys/sysctl.h:
	Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
2011-03-02 12:06:56 +00:00
Ralf Corsepius
db4219ea9f Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h. 2011-03-02 12:06:46 +00:00
Ralf Corsepius
36d9f42fbc 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Rework checks for mandated headers tar.h,
	errno.h, sched.h, sys/cdefs.h, sys/queue.h.
2011-03-02 07:24:24 +00:00
Ralf Corsepius
87f5e2d207 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]).
	Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
2011-03-02 07:22:25 +00:00
Chris Johns
678b206fd8 2011-03-01 Chris Johns <chrisj@rtems.org>
* score/src/heapfree.c, score/src/heapresizeblock.c: PR 1746. Move
        protection block checks to after the block address has been
        checked as a valid heap address. Add a special case in the heap
        free for a NULL address.
2011-03-01 05:29:26 +00:00
Joel Sherrill
1741a51083 2011-02-27 Jennifer Averett <jennifer.averett@OARcorp.com>
* score/include/rtems/score/schedulerpriority.h,
	score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c,
	score/src/schedulerpriorityupdate.c: Formatting.
2011-02-28 00:10:38 +00:00
Sebastian Huber
ebe6edbcf1 2011-02-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/rtems/rtems_mii_ioctl_kern.c: Do not use IFM_ACTIVE
	and IFM_AVALID in the media word.
	* libnetworking/net/if_media.h: Hack to get libbsdport interface
	drivers working.
2011-02-25 10:38:17 +00:00
Ralf Corsepius
f154804273 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/sleep_noposix.c: Remove.
	* libcsupport/Makefile.am: Reflect changes above.
	* posix/src/sleep.c, posix/src/usleep.c: Remove.
	* posix/Makefile.am: Reflect changes above.
	* configure.ac: Error out if libc doesn't provide sleep, usleep.
2011-02-25 10:20:02 +00:00
Ralf Corsepius
38d1150ecf 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4:
	Stop pretending no_cpu* was buildable.
	Derive RTEMS_CPU from "$host_cpu".
	Error out if "$host" doesn't match "*-*-rtems*".
2011-02-25 06:17:36 +00:00
Ralf Corsepius
8dc08d2379 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-networking.m4, aclocal/check-posix.m4:
	Rebase check on "$host".
2011-02-25 03:58:33 +00:00
Ralf Corsepius
0111c50d8e 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/creat.c: Remove.
	* libcsupport/Makefile.am: Reflect changes above.
	* configure.ac: Error out if libc doesn't provide creat.
2011-02-25 02:52:54 +00:00
Ralf Corsepius
bbc1a10935 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/opendir.c, libcsupport/src/closedir.c,
	libcsupport/src/readdir.c, libcsupport/src/rewinddir.c,
	libcsupport/src/scandir.c, libcsupport/src/seekdir.c,
	libcsupport/src/telldir.c: Remove.
	* libcsuppport/Makefile.am: Reflect changes above.
	* configure.ac: Error out if libc doesn't provide
	opendir, closedir, readdir, rewinddir, scandir, seekdir,
	telldir.
2011-02-25 02:13:21 +00:00
Ralf Corsepius
e530f72f73 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h>
	(unused). Add C++ guards. Declare functions extern.
2011-02-24 15:48:06 +00:00
Ralf Corsepius
7c82776ff5 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/timer.h: Add missing includes.
2011-02-24 15:10:06 +00:00
Ralf Corsepius
8eaf3bce1a Add missing includes. 2011-02-24 15:09:54 +00:00
Ralf Corsepius
ee7f2f7bcc 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_icmp.h:
	Misc. changes from FreeBSD.
	* libnetworking/netinet/tcp_var.h: Include <netinet/tcp_timer.h>.
2011-02-24 14:57:34 +00:00
Ralf Corsepius
460674d99f 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_systm.h,
	libnetworking/netinet/tcp_debug.c,
	libnetworking/netinet/tcp_debug.h, libnetworking/netinet/tcp_seq.h,
	libnetworking/netinet/tcp_var.h, libnetworking/netinet/tcpip.h:
	Misc changes from FreeBSD.
2011-02-24 06:48:52 +00:00
Ralf Corsepius
241a4c315f 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_pppvar.h: Add "extern C++" guards.
	Add header guard.
2011-02-23 14:38:25 +00:00
Ralf Corsepius
546c4737f5 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/signalvar.h: Comment out unused code.
2011-02-23 14:36:05 +00:00
Ralf Corsepius
324c186aae 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
2011-02-23 14:34:34 +00:00
Ralf Corsepius
c8cf476634 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/key.h: Add missing includes.
2011-02-23 14:30:52 +00:00
Ralf Corsepius
e59c21e37b 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/in_cksum.h: Add missing includes.
2011-02-23 14:28:26 +00:00
Ralf Corsepius
253dde08b8 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/clockdrv.h, libcsupport/include/console.h,
	libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,
	libcsupport/include/rtems/libcsupport.h: Add missing includes.
2011-02-23 14:27:15 +00:00
Ralf Corsepius
1b8a1a6e62 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/vm/vm_kern.h: Comment out unused vars.
2011-02-23 14:24:35 +00:00
Ralf Corsepius
b69e6cd5fa 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/mqueue.h: Relocate "extern C++" guards.
2011-02-23 14:21:53 +00:00
Ralf Corsepius
fd580d5372 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* sapi/include/rtems/fatal.h: Add missing includes.
2011-02-23 14:13:16 +00:00
Ralf Corsepius
111226fadb 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/tod.h: Add missing includes.
2011-02-23 14:11:55 +00:00
Ralf Corsepius
fa40adf974 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.h: Add missing includes.
2011-02-23 14:08:45 +00:00
Ralf Corsepius
7858b90e7c 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/devnull/devnull.h, libmisc/stackchk/stackchk.h:
	Fix header guard. Add missing includes.
2011-02-23 14:07:40 +00:00
Ralf Corsepius
c5e2f7c6f9 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/debug.h, score/include/rtems/score/sysstate.h,
	score/include/rtems/score/timespec.h,
	score/inline/rtems/score/address.inl,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/states.inl: Add missing includes.
2011-02-23 14:02:21 +00:00
Ralf Corsepius
92167a3672 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/eventset.inl,
	rtems/inline/rtems/rtems/options.inl: Add missing includes.
2011-02-23 13:59:03 +00:00
Ralf Corsepius
8485c7fd61 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos_misc.c: Don't include <strings.h>.
2011-02-23 13:57:02 +00:00
Ralf Corsepius
a6d21a4dc8 2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/inline/rtems/rtems/status.inl: Add missing include.
2011-02-22 15:12:08 +00:00
Ralf Corsepius
b907b479e5 2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/media-path.c: Remove warnings.
2011-02-22 15:11:06 +00:00