Commit Graph
1837 Commits
Author SHA1 Message Date
Joel Sherrill 9b02fa6509 2002-03-27 Thomas.Doerfler@imd-systems.de
* PR144
        * nfs/bootp_subr.c bootpc_init(): Performs a write to memory address
	0 when called for the first time. This is done when trying to clear
	the variable "dhcp_hostname".
2002-03-27 14:44:55 +00:00
Joel Sherrill f4c118d7a3 2002-03-27 Ilya Alexeev <ilya@continuum.ru>
* PR162
        * net/if_ppp.c ppp_txdaemon(), net/if_pppvar.h pppstart(): Local
	variables must not be used in a device write routines.  Now
	ppp_softc structure have own character for writing to device
	(sc_outchar).  I think that converting local variables to static
	is not a right solution, because problems will occur in the case
	of two or more ppp instances.
	* net/ppp_tty.c pppstart(): Type of the ioffset variable must be
	u_long, otherwise in the case of the big output packet endless
	loop may occur.
2002-03-27 14:36:07 +00:00
Joel Sherrill 90f30c8c14 2001-03-21 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Undo incorrect addition of entry.
2002-03-21 15:01:33 +00:00
Joel Sherrill fd55b7dbd5 2002-03-21 Ilya Alexeev <ilya@continuum.ru>
* net/if_ppp.c, net/ppp_tty.c: Initial preparations for multiple
	PPPD connections.
2002-03-21 15:01:32 +00:00
Joel Sherrill df6348bb27 2002-03-21 Alexander Kukuta <kam@oktet.ru>
* src/bdbuf.c (avl_insert, avl_remove): Reimplemented from scratch
          to avoid using GPLed sources in RTEMS core.
        * src/bdbuf.c, include/rtems/bdbuf.h: Remove "binary tree"
          implementation which was used for debugging only.
2002-03-21 14:05:57 +00:00
Joel Sherrill d747877460 2001-03-20 Till Straumann <strauman@SLAC.Stanford.EDU>
* PR158
	* libc/rcmd.c, libc/rcmd.c: Enable the rcmd() library call by
	commenting out the parts that deal with signals.  This enables
	RTEMS to 'rsh' command to a server connecting fd to remote stdio.
	The 'server-side' parts of this file which deal with authentication
	are disabled since they are not needed.
2002-03-20 22:08:06 +00:00
Joel Sherrill 25d3d4d16c 2002-03-20 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Now compiles on 4600 and 4650.
2002-03-20 18:16:07 +00:00
Joel Sherrill eaeb467139 2001-03-20 Joel Sherrill <joel@OARcorp.com>
* PR143
	* lib/include/rtems/termiostypes.h: Removed unneeded volatile on
	"theBuf" since no byte is read more than once anyway.
2002-03-20 17:59:12 +00:00
Joel Sherrill c31deebf76 2002-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Addressing PR 140.
	* src/dosfs/config.h.in: Removed.
	* src/dosfs/stamp-h2.in: Removed.
	* .cvsignore: Add config.h*, stamp-h*.
	* configure.ac: Remove AC_SRC_DIR(.../dosfs.h).
	Remove AM_CONFIG_HEADER(src/dosfs/config.h).
	Remove AM_CONFIG_HEADER(src/imfs/config.h).
	Add AM_CONFIG_HEADER(config.h).
	* src/dosfs/Makefile.am: INCLUDES = -I../.. .
	* src/imfs/Makefile.am: INCLUDES = -I../.. .
2002-03-20 14:21:42 +00:00
Joel Sherrill 293c0e30f8 2002-03-13 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Fixed a sneaky return from int w/ ints disabled bug.
	* rtems/score/cpu.h: Fixed register numbering in comments and made
	interrupt enable/disable more robust.
2002-03-15 19:47:36 +00:00
Joel Sherrill 2de2bec841 2002-03-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Reported and tracked as PR130.
	* src/dosfs/Makefile.am: Reworked, Disable dosfs for UNIX.
	* wrapup/Makefile.am: Disable dosfs for UNIX.
2002-03-15 18:55:09 +00:00
Joel Sherrill ac97074f37 2001-03-15 Joel Sherrill <joel@OARcorp.com>
* src/extension.c: Split to reduce minimum code size per PR134.
	* src/extensioncreate.c, src/extensiondelete.c, src/extensionident.c:
	New files.
	src/Makefile.am: Modified to reflect above.
2002-03-15 14:32:22 +00:00
Joel Sherrill 544a600848 2002-03-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/m68k.h: m68k_swap_u32 fix typo.
2002-03-15 13:56:21 +00:00
Joel Sherrill 8264d230a9 2002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Added support for the debug exception vector, cleaned
	up the exception processing & exception return stuff.  Re-added
	EPC in the task context structure so the gdb stub will know where
	a thread is executing.  Should've left it there in the first place...
	* idtcpu.h: Added support for the debug exception vector.
	* cpu.c: Added ___exceptionTaskStack to hold a pointer to the
	stack frame in an interrupt so context switch code can get the
	userspace EPC when scheduling.
	* rtems/score/cpu.h: Re-added EPC to the task context.
2002-03-08 16:24:48 +00:00
Joel Sherrill 9f9871f81e 2002-03-06 Victor V. Vengerov <vvv@oktet.ru>
* rtems/score/m68k.h [M68K_COLDFIRE_ARCH] (CPU_swap_u16, CPU_swap_u32):
	Generic implementation of endian swap primitives added for Coldfire
	family.
2002-03-06 14:37:38 +00:00
Joel Sherrill b04ee63e3d 2002-03-01 Eric Norum <eric.norum@usask.ca>
* src/pthreadonce.c: Task is not preemptable while running a
	pthread_once init function.  This is slightly less heavy handed
	than disabling dispatching and seems better than consuming a mutex.
2002-03-01 17:49:57 +00:00
Joel Sherrill 49155d9325 2002-03-01 Eric Norum <eric.norum@usask.ca>
* libc/gxx_wrappers.c: Task is not preemptable while running a
	pthread_once init function.  This is slightly less heavy handed
	than disabling dispatching and seems better than consuming a mutex.
2002-03-01 17:45:33 +00:00
Joel Sherrill bd1ecb00d9 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Fixed exception return address, modified FP context
	switch so FPU is properly enabled and also doesn't screw up the
	exception FP handling.
	* idtcpu.h: Added C0_TAR, the MIPS target address register used for
	returning from exceptions.
	* iregdef.h: Added R_TAR to the stack frame so the target address
	can be saved on a per-exception basis.  The new entry is past the
	end of the frame gdb cares about, so doesn't affect gdb or cpu.h
	stuff.
	* rtems/score/cpu.h: added an #ifdef so cpu_asm.S can include it
	to obtain FPU defines without systax errors generated by the C
	defintions.
	* cpu.c: Improved interrupt level saves & restores.
2002-03-01 16:21:12 +00:00
Joel Sherrill f9d1afc056 2001-03-01 Joel Sherrill <joel@OARcorp.com>
* src/imfs/.cvsignore: Added stamp-h1.in
2002-03-01 16:17:53 +00:00
Joel Sherrill f36a7bfcde 2002-02-28 Victor V. Vengerov <vvv@oktet.ru>
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted.
	* src/dosfs, src/dosfs/Makefile.am, src/dosfs/stamp-h2.in,
	src/dosfs/config.h.in, src/dosfs/dosfs.h, src/dosfs/fat.c,
	src/dosfs/fat.h, src/dosfs/fat_fat_operations.c,
	src/dosfs/fat_fat_operations.h, src/dosfs/fat_file.c,
	src/dosfs/fat_file.h, src/dosfs/msdos.h, src/dosfs/msdos_create.c,
	src/dosfs/msdos_dir.c, src/dosfs/msdos_eval.c, src/dosfs/msdos_file.c,
	src/dosfs/msdos_free.c, src/dosfs/msdos_fsunmount.c,
	src/dosfs/msdos_handlers_dir.c, src/dosfs/msdos_handlers_file.c,
	src/dosfs/msdos_init.c, src/dosfs/msdos_initsupp.c,
	src/dosfs/msdos_misc.c, src/dosfs/msdos_mknod.c,
	src/dosfs/msdos_node_type.c, src/dosfs/.cvsignore: New files.
	* configure.ac, src/Makefile.am, wrapup/Makefile.am: Modified to
	reflect addition.
2002-02-28 20:43:50 +00:00
Joel Sherrill e51bd967cd 2002-02-28 Joel Sherrill <joel@OARcorp.com>
* Submitted by Victor V. Vengerov <vvv@oktet.ru> and merged
	into the RTEMS source.
	* ChangeLog, Makefile.am, README, configure.ac, include/Makefile.am,
	include/rtems/bdbuf.h, include/rtems/blkdev.h, include/rtems/diskdevs.h,
	include/rtems/ramdisk.h, include/rtems/.cvsignore, include/.cvsignore,
	src/Makefile.am, src/bdbuf.c, src/blkdev.c, src/diskdevs.c,
	src/ramdisk.c, src/.cvsignore, .cvsignore: New files.
2002-02-28 20:39:54 +00:00
Joel Sherrill cb1e8a4644 2002-02-27 Ilya Alexeev <ilya@continuum.ru>
* net/if_ppp.c, pppd/auth.c, pppd/chat.c, pppd/pppd.h,
	pppd/sys-rtems.c: Add server with pap-authorization
	capabilities as well as eliminate some warnings.
2002-02-27 22:43:31 +00:00
Joel Sherrill c52f1c7cbb 2002-02-27 Eric Norum <eric.norum@usask.ca>
* net/radix.c: Properly handle fetching the default route when there
	is no route.  This was a bug in the original FreeBSD code and this
	fix is from an updated version of their code.
2002-02-27 22:39:18 +00:00
Joel Sherrill 2433bcaf86 2001-02-27 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Fix conditional to match current GCC.
2002-02-27 21:45:19 +00:00
Joel Sherrill afb802cd59 2002-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix the test to determine cpu context size.
2002-02-13 14:29:42 +00:00
Joel Sherrill 9099a851f3 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* iregdef.h, rtems/score/cpu.h: Reordered register in the
	exception stack frame to better match gdb's expectations.
2002-02-08 23:04:03 +00:00
Joel Sherrill a37b8f95b7 2001-02-05 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Enhanced to save/restore more registers on
	exceptions.
	* rtems/score/cpu.h (CPU_Interrupt_frame): Enhanced to list every
	register individually and document when it is saved.
	* idtcpu.h: Added constants for the coprocessor 1 registers
	revision and status.
2002-02-05 21:04:39 +00:00
Joel Sherrill 7d7e9fbb6a 2001-02-05 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Added stamp-h.in.
2002-02-05 20:07:35 +00:00
Joel Sherrill 9535ba4603 2001-02-05 Joel Sherrill <joel@OARcorp.com>
* rtems/Makefile.am, rtems/score/Makefile.am: Removed again.
2002-02-05 16:17:37 +00:00
Joel Sherrill 0bc5329df8 2001-02-04 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: IDLE task should not be FP.  This was a mistake
	in the previous patch that has now been confirmed.
2002-02-04 20:05:30 +00:00
Joel Sherrill 96ecd879f8 2001-02-04 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Removed references to rtems/Makefile and
	rtems/score/Makefile.
2002-02-04 19:49:08 +00:00
Joel Sherrill 8e3caa52cd 2001-02-01 Mike Siers <mikes@poliac.com>
* pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing
	the link down too fast.
	NOTE: Mike reports successfully running at 56K baud on a direct link.
2002-02-01 16:51:07 +00:00
Joel Sherrill e6dec71c27 2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu.c: Enhancements and fixes for modifying the SR when changing
	the interrupt level.
	* cpu_asm.S: Fixed handling of FP enable bit so it is properly
	managed on a per-task basis, improved handling of interrupt levels,
	and made deferred FP contexts work on the MIPS.
	* rtems/score/cpu.h: Modified to support above changes.
2002-02-01 15:00:30 +00:00
Joel Sherrill 6d41a8747c 2002-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect 2002-01-23 changes.
2002-02-01 14:11:39 +00:00
Joel Sherrill be1feeedeb 2001-01-31 Joel Sherrill <joel@OARcorp.com>
* include/rtems/rtems/timer.h: Missed merging these modifications
	in previous merge of new timer functionality.
2002-02-01 14:09:51 +00:00
Joel Sherrill 485ed5cccd 2001-01-31 Mike Siers <mikes@poliac.com>
* pppd/rtemsdialer.h: New file missed in previous commit.
2002-02-01 14:04:45 +00:00
Joel Sherrill 5ec6f09189 2001-01-31 Mike Siers <mikes@poliac.com>
* Nice Update of PPPD support which eliminates the
	requiremetn that drivers be in the termios TASK_DRIVEN mode.
	Mike did significant testing and reports that it seems to be
	more stable and handle larger packets better.  This patch
	replaces the termios tasks with more general pppd network
	driver tasks.  The functions pppinput() and pppstart() get
	called from the interrupt service routine.
	* libc/termios.c: Added PPCDISC.
2002-01-31 21:42:36 +00:00
Joel Sherrill 0286b9f614 2001-01-31 Mike Siers <mikes@poliac.com>
* Nice Update of PPPD support which eliminates the
	requiremetn that drivers be in the termios TASK_DRIVEN mode.
	Mike did significant testing and reports that it seems to be
	more stable and handle larger packets better.  This patch
	replaces the termios tasks with more general pppd network
	driver tasks.  The functions pppinput() and pppstart() get
	called from the interrupt service routine.
	* Makefile.am, configure.ac, net/Makefile.am, net/bpf.h,
	net/ethernet.h, net/if.c, net/if.h, net/if_arp.h, net/if_dl.h,
	net/if_ethersubr.c, net/if_llc.h, net/if_loop.c, net/if_ppp.h,
	net/if_pppvar.h, net/if_types.h, net/netisr.h, net/ppp-comp.h,
	net/ppp_defs.h, net/pppcompress.h, net/radix.c, net/radix.h,
	net/raw_cb.c, net/raw_cb.h, net/raw_usrreq.c, net/route.c,
	net/route.h, net/rtsock.c, pppd/Makefile.am, pppd/README,
	pppd/STATUS, pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/ccp.h,
	pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h,
	pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c,
	pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h,
	pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
	pppd/pathnames.h, pppd/pppd.8, pppd/pppd.h, pppd/rtemsmain.c,
	pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/upap.c,
	pppd/upap.h, pppd/utils.c, pppd/example/README,
	pppd/example/netconfig.h, wrapup/Makefile.am: Modified.
	* net/bsd-comp.c, net/if_ppp.c, net/ppp-deflate.c, net/ppp.h,
	net/ppp_tty.c, net/pppcompress.c, net/zlib.c, net/zlib.h: New file.
	* modem/, modem/.cvsignore, modem/Makefile.am, modem/ppp.c,
	modem/ppp.h, modem/ppp_tty.c, modem/pppcompress.c: Subdirectory removed.
2002-01-31 21:42:11 +00:00
Joel Sherrill d8a78f4fb5 2002-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect 2002-01-23 changes.
2002-01-31 21:33:38 +00:00
Joel Sherrill 1e69b29461 2002-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: Removed.
	* rtems/score/Makefile.am: Removed.
	* configure.ac: Reflect changes above.
	* Makefile.am: Reflect changes above.
2002-01-31 21:33:01 +00:00
Joel Sherrill 845fac3384 2001-01-30 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Corrected so .h files from rtems/score/ are installed.
2002-01-30 22:46:17 +00:00
Joel Sherrill 1dba8de01a 2001-01-30 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Corrected so .h files from rtems/score/ are installed.
2002-01-30 22:18:04 +00:00
Joel Sherrill 14926c2e4b 2002-01-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: Removed.
	* rtems/score/Makefile.am: Removed.
	* configure.ac: Reflect changes above.
	* Makefile.am: Reflect changes above.
2002-01-30 17:48:22 +00:00
Joel Sherrill 8b25dc6bd0 2002-01-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: Removed.
	* rtems/score/Makefile.am: Removed.
	* configure.ac: Reflect changes above.
	* Makefile.am: Reflect changes above.
2002-01-30 17:45:23 +00:00
Joel Sherrill 7a01fba127 2002-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: Removed.
	* rtems/score/Makefile.am: Removed.
	* configure.ac: Reflect changes above.
	* Makefile.am: Reflect changes above.
2002-01-30 14:34:00 +00:00
Joel Sherrill dfca13fc63 2002-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect changes from 2002-01-23.
2002-01-30 14:33:30 +00:00
Joel Sherrill a94c2fbba4 2002-01-29 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
2002-01-29 18:18:26 +00:00
Joel Sherrill 422289e544 2001-01-29 Joel Sherrill <joel@OARcorp.com>
* Fixed bug where resetting a timer that was not at the head
	of one of the task timer chains resulted in the Timer Server
	task waking up too far in the future.
	* Added rtems_timer_get_information() directive to support testing.
	* src/timerserver.c, include/rtems/rtems/timer.h,
	* src/timergetinfo.c: New file.
	* src/Makefile.am: Modified to reflect above.
2002-01-29 18:18:14 +00:00
Joel Sherrill 59bcc90fee 2002-01-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: Removed.
	* rtems/score/Makefile.am: Removed.
	* configure.ac: Reflect changes above.
	AC_CONFIG_SRCDIR(asm.h).
2002-01-24 14:13:40 +00:00
Joel Sherrill c3a79faaf2 2002-01-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: Removed.
	* rtems/score/Makefile.am: Removed.
	* configure.ac: Reflect changes above.
2002-01-24 14:13:31 +00:00