Commit Graph

2299 Commits

Author SHA1 Message Date
Joel Sherrill
9d647dfc30 2003-01-27 Till Straumann <strauman@SLAC.Stanford.edu>
* libc/getproto.c, libc/getprotoname.c: modification to call
	getprotoent_static() if fopen() on /etc/protocols fails.
2003-01-27 16:20:14 +00:00
Joel Sherrill
f6c2c30ed4 2003-01-27 Dan Smisko <dan@balanced.com>
* stackchk/check.c: Fix problem where _Objects_Get_information()
	will dereference a null pointer when checking the interrupt stack.
	If there's something at 0, you may be ok at run time but it is wrong.
2003-01-27 16:16:26 +00:00
Joel Sherrill
62e080e114 2003-01-27 Dan Smisko <dan@balanced.com>
* monitor/mon-command.c: Correct two potential NULL references.
2003-01-27 16:13:28 +00:00
Joel Sherrill
7210dcb41a 2003-01-27 Juan Zamorano <jzamora@fi.upm.es>
* src/ptimer1.c: Correct problem which could lead to overflow in time
	math.
2003-01-27 15:48:18 +00:00
Joel Sherrill
635652ecf6 2003-01-27 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/blkdev.c: Per PR331 fix bug which is tripped by writing 512 byte
	blocks to 512 byte aligned positions.
2003-01-27 15:13:12 +00:00
Joel Sherrill
aa7d131a8f 2003-01-27 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/blkdev.c: Per PR331 fix bug which is tripped by writing 512 byte
	blocks to 512 byte aligned positions.
2003-01-27 15:12:00 +00:00
Ralf Corsepius
d790ca3406 2002-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix tests for GCC.
2003-01-25 14:54:13 +00:00
Ralf Corsepius
5a8a05b2c9 2002-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add check for weak function attribute.
	Remove AM_CONDITIONAL([RTEMS_LIBSHELL].
	Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
	* capture/Makefile.am:  Use *.a instead of *-tmp.a.
	* cpuuse/Makefile.am:  Use *.a instead of *-tmp.a.
	* devnull/Makefile.am:  Use *.a instead of *-tmp.a.
	* dummy/Makefile.am:  Use *.a instead of *-tmp.a.
	* dumpbuf/Makefile.am:  Use *.a instead of *-tmp.a.
	* monitor/Makefile.am:  Use *.a instead of *-tmp.a.
	* mw-fb/Makefile.am:  Use *.a instead of *-tmp.a.
	* rtmonuse/Makefile.am:  Use *.a instead of *-tmp.a.
	* serdbg/Makefile.am:  Use *.a instead of *-tmp.a.
	Build iff LIBSERDBG is true.
	* shell/Makefile.am:  Use *.a instead of *-tmp.a.
	Build iff LIBSHELL is true.
	* stackchk/Makefile.am:  Use *.a instead of *-tmp.a.
	* untar/Makefile.am:  Use *.a instead of *-tmp.a.
	* wrapup/Makefile.am: Reflect changes above.
2003-01-24 12:05:44 +00:00
Ralf Corsepius
08df9a21e4 2003-01-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/local.am: Remove distclean-local.
	Remove PROJECT_TOOLS.
2003-01-23 22:21:24 +00:00
Ralf Corsepius
16735cab84 2003-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove CLEAN_DEPEND (Unused).
	Remove CLOBBER_DEPEND (Unused).
2003-01-21 13:40:05 +00:00
Ralf Corsepius
4855824175 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* pppd/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	  Eliminate *_O_FILES.
	* rtems_servers/Makefile.am: Ditto.
	* rtems_webserver/Makefile.am: Ditto.
	* rtems_telnetd/Makefile.am: Ditto.
2003-01-16 02:58:35 +00:00
Ralf Corsepius
d6c3d56acd 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* netinet/tcp_subr.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK,
	INP_LOCK, INP_UNLOCK macros.
	* netinet/udp_usrreq.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK,
	INP_LOCK, INP_UNLOCK macros.
2003-01-15 10:51:32 +00:00
Ralf Corsepius
81df4984ff 2003-01-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Eliminate OBJS.
2003-01-14 18:41:29 +00:00
Joel Sherrill
6b384516b9 2003-01-10 Joel Sherrill <joel@OARcorp.com>
* src/msg.c, src/part.c, src/sem.c, src/tasks.c: Correct object
	class control structure initialization for multiprocessing
	configurations.
2003-01-10 15:04:42 +00:00
Joel Sherrill
eb7cddd3cf 2003-01-10 Joel Sherrill <joel@OARcorp.com>
* src/objectmp.c: Corrected use of name parameter to reflect that it
	is actually the name not a pointer to the name.
2003-01-10 15:04:01 +00:00
Joel Sherrill
0b178f0436 2003-01-10 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid
	conflict with GNU/Linux header files.
2003-01-10 15:02:52 +00:00
Joel Sherrill
e1fe652508 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems.ads: Corrected Configuration_Table record definition to
	match current RTEMS source. sp01 now runs.
2003-01-03 22:44:40 +00:00
Joel Sherrill
6bd96fc7ab 2003-01-03 Jitendra Vegiraju <jvegiraju@netscape.net>
* sys/queue.h: Fix alignment problem on ARM.
2003-01-03 20:40:29 +00:00
Joel Sherrill
1292ba4654 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Per PR315, eliminate warning for structure
	alignment requests that are too large.
2003-01-03 20:08:14 +00:00
Joel Sherrill
883129a3fd 2003-01-03 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog, base_fs.c, getpwent.c, privateenv.c
	Per PR303, Fix violation of node_access copy syemantics

2002-12-26     Till Straumann  <strauman@slac.stanford.edu

        * src/fchdir.c: PR302 fix violation of FS node object copy semantics.
2003-01-03 18:23:52 +00:00
Jennifer Averett
f6161c72d1 2003-01-03 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog, base_fs.c, getpwent.c, privateenv.c
	Per PR303, Fix violation of node_access copy syemantics
2003-01-03 18:14:09 +00:00
Joel Sherrill
36799d4063 2002-11-26 Chris Johns <cjohns@cybertec.com.au>
* Makefile.am: Added sys/linker_set.h
	* kern/Makefile.am: Added kern_mib.c and kern_sysctl.c.
	* kern/uipc_socket.c: OID changed from KERN_SOMAXCONN to KIPC_SOMAXCONN.
	* kern/uipc_socket2.c: OID changed from KERN_MAXSOCKBUF to
	KIPC_MAXSOCKBUF.
	* net/if_ethersubr.c: FreeBSD 2.2.2 does not have a _net_link node
	while 5.0 does.
	* net/if_ppp.c: Removed the TEXT_SET define as these macros are
	now implemented.
	* net/rtsock.c: Enable sysctl support plus fix the bug with the
	lastest FreeBSD sysctl header file.
	* netinet/icmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_icmp
	node while 5.0 does.
	* netinet/if_ether.c: FreeBSD 2.2.2 does not have a _net_link_ether
	node while 5.0 does.
	* netinet/igmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_igmp
	node while 5.0 does.
	* netinet/in_pcb.c: Fixed the arguments to the sysctl call. Add
	inp_gencnt and ipi_count. These are used when listing connections.
	* netinet/in_pcb.h: Added counters to aid the listing of connections.
	* netinet/in_var.h: Provide the _net_inet_ip and _net_inet_raw nodes.
	* netinet/ip_fw.c: Disable the firewall sysctl calls.
	* netinet/tcp_subr.c: Merge tcp_pcblist from the lastest FreeBSD source.
	* netinet/tcp_var.h: Add structures needed by net-snmp to list
	connections.
	* netinet/udp_usrreq.c: Merged udp_pcblist from the lastest FreeBSD
	source.
	* netinet/udp_var.h: Added the sysctl id UDPCTL_PCBLIST. Used by
	net-snmp.
	* rtems_glue.c: Call sysctl_register_all when initialising the
	network stack to register all the sysctl calls. These are in the
	special sections and required an updated linker script.
	* rtems/rtems_syscall.c: Add the sysctl call.
	* sys/kernel.h: Use the lastest FreeBSD method of handling sysctl
	structures.  This now held in the sys/linker_set.h file.
	* sys/queue.h: This is from the lastest FreeBSD code with the circular
	code merged back in as it is not used in the lastest FreeBSD kernel.
	* sys/sysctl.h: The lastest sysctl. This was needed to use with the new
	linker set method. The FreeBSD 2.2.2 version has asm hacks. The lastest
	version of the FreeBSD does not have these hacks. It uses gcc attribute
	directives.
2003-01-03 18:09:57 +00:00
Joel Sherrill
ff38359fc6 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected entry for sysconf.c which did not include PR.
2003-01-03 17:04:03 +00:00
Joel Sherrill
828be6d2f4 2003-01-03 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/ata.c, src/bdbuf.c: Correct invocation of rtems_task_mode()
	so the task's preemption mode setting is properly maintained.
2003-01-03 16:39:46 +00:00
Joel Sherrill
b9fa9f075c 2003-01-03 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/dosfs/msdos_initsupp.c: Specify inherited priority as 0 since this
	is a FIFO queuing semaphore.
2003-01-03 16:38:37 +00:00
Joel Sherrill
98e3a335b3 2003-01-03 Jay Monkman <jtm@smoothsmoothie.com>
* src/mqueueopen.c: Actually open the message queue descriptor
	so it is available for others to use.
2003-01-03 16:33:22 +00:00
Jennifer Averett
4257974362 2002-12-26 Till Straumann <strauman@slac.stanford.edu
* src/fchdir.c - PR302 fix violation of FS node object copy semantics
2002-12-26 15:48:48 +00:00
Ralf Corsepius
28ed8f3ab2 2002-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove $(RTEMS_BSP_CFLAGS).
2002-12-19 05:17:22 +00:00
Eric Norum
b6e283de6f Include netinet sources. 2002-12-19 03:47:16 +00:00
Ralf Corsepius
5919677e7c 2002-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Fix path to libxdr and librpc (Another typo in
	from the 2002-12-12 patch).
2002-12-14 05:25:42 +00:00
Ralf Corsepius
ade3aa6704 2002-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Fix typo in yesterday's patch.
2002-12-13 03:55:18 +00:00
Ralf Corsepius
a2e4e4964c 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Don't create $ARCH.
2002-12-12 18:20:27 +00:00
Ralf Corsepius
16f417c116 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Don't create $ARCH.
	Use install-data-local to install librtemscpu.a
2002-12-12 17:56:50 +00:00
Ralf Corsepius
dd695d81b6 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in kern/Makefile.am, net/Makefile.am,
	netinet/Makefile.am, netinet/Makefile.am, nfs/Makefile.am,
	rtems/Makefile.am.
	* kern/Makefile.am: Remove.
	* net/Makefile.am: Remove.
	* netinet/Makefile.am: Remove.
	* nfs/Makefile.am: Remove.
	* rtems/Makefile.am: Remove.
	* wrapup/Makefile.am: Reflect changes above.
	* configure.ac: Ditto.
2002-12-12 12:15:00 +00:00
Ralf Corsepius
2eb04b25f9 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't create $ARCH as side-effect of compilation.
2002-12-12 06:31:49 +00:00
Ralf Corsepius
96431668e1 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't create $ARCH as side-effect of compilation.
	Re-order all-local.
2002-12-12 06:31:43 +00:00
Ralf Corsepius
2d709236c9 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Eliminate C_O_FILES.
	* src/dosfs/Makefile.am: Ditto.
2002-12-12 06:13:49 +00:00
Ralf Corsepius
bb89189ab5 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Eliminate C_O_FILES.
	Eliminate SRCS.
2002-12-12 06:11:14 +00:00
Ralf Corsepius
126660c57d 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require autoconf-2.57+automake-1.7.2.
	* capture/Makefile.am: Eliminate C_O_FILES.
	* cpuuse/Makefile.am: Ditto.
	* devnull/Makefile.am: Ditto.
	* dummy/Makefile.am: Ditto.
	* dumpbuf/Makefile.am: Ditto.
	* monitor/Makefile.am: Ditto.
	* rtmonuse/Makefile.am: Ditto.
	* serdbg/Makefile.am: Ditto.
	* shell/Makefile.am: Ditto.
	* stackchk/Makefile.am: Ditto.
	* untar/Makefile.am: Ditto.
	* mw-fb/Makefile.am: Eliminate C_O_FILES.
	Eliminate SRCS.
2002-12-12 06:09:21 +00:00
Ralf Corsepius
c2a2fff569 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Add libmisc.
2002-12-12 03:22:59 +00:00
Ralf Corsepius
f7952533da 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add AC_CONFIG_SUBDIR(libmisc).
2002-12-12 03:10:29 +00:00
Ralf Corsepius
5e622a9125 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Moving libmisc from rtems/c/src to rtems/cpukit.

	* Makefile.am: Reflect new path.
	* configure.ac: Reflect new path.
	Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP.
	Remove RTEMS_PROJECT_ROOT.
	* capture/Makefile.am: Reflect new path.
	Remove OBJS from all-local.
	* cpuuse/Makefile.am: Ditto.
	* devnull/Makefile.am: Ditto.
	* dummy/Makefile.am: Ditto.
	* dumpbuf/Makefile.am: Ditto.
	* monitor/Makefile.am: Ditto.
	* mw-fb/Makefile.am: Ditto.
	* rtmonuse/Makefile.am: Ditto.
	* serdbg/Makefile.am: Ditto.
	* shell/Makefile.am: Ditto.
	* stackchk/Makefile.am: Ditto.
	* untar/Makefile.am: Ditto.
	* wrapup/Makefile.am: Reflect new path.
2002-12-12 03:08:54 +00:00
Joel Sherrill
e5b78e248e 2002-12-11 Vladimir Nesic <vnesic@dkts.co.yu>
* src/cancelrun.c, src/cleanuppop.c: Get the last real node not the
	permanent null last node.
2002-12-12 01:04:18 +00:00
Ralf Corsepius
53021d4abb 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require autoconf-2.57 + automake-1.7.2.
	* Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
2002-12-11 17:08:38 +00:00
Ralf Corsepius
a3dfa39b35 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am: Remove C_O_FILES;
	Don't let all-local depend on $OBJS)
	* lib/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
2002-12-11 15:34:58 +00:00
Ralf Corsepius
ea02247cb7 2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
2002-12-10 11:27:05 +00:00
Ralf Corsepius
52058a6b0f 2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* cpuuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* devnull/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* dummy/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* dumpbuf/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* monitor/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mw-fb/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* rtmonuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* serdbg/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* shell/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* stackchk/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* untar/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
2002-12-10 08:48:53 +00:00
Ralf Corsepius
976ed903a1 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Fix macro-file installation.
2002-12-09 22:40:10 +00:00
Ralf Corsepius
e3e93eb7bf 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES.
2002-12-09 11:27:37 +00:00
Ralf Corsepius
cc51f05a3e 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/env-rtemsbsp.m4: Remove RTEMS_CHECK_CUSTOM_BSP.
	* aclocal/env-rtemscpu.m4: Remove RTEMS_CHECK_CUSTOM_BSP.
	* aclocal/check-bsps.m4: Remove.
2002-12-09 11:26:13 +00:00