Commit Graph

1855 Commits

Author SHA1 Message Date
Joel Sherrill
4b2d7c607c 2001-03-29 Joel Sherrill <joel@OARcorp.com>
* Per PR126, configuration structures now match docs.
	* include/rtems/rtems/config.h: Use public data types.
2002-04-02 23:42:20 +00:00
Joel Sherrill
51301198fb 2002-03-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/rcmd.c: Replace __rtems w/ __rtems__.
2002-04-01 13:27:46 +00:00
Joel Sherrill
894d01c2d4 2001-03-29 Joel Sherrill <joel@OARcorp.com>
* Per PR147 addressed problems when reseting and inserting a timer
	into a timer chain that did not honor time passage since the last
	time the timer server was scheduled and the new insertion.
	* include/rtems/rtems/timer.h, src/timerreset.c, src/timerserver.c,
	src/timerserverfireafter.c, src/timerserverfirewhen.c: Broke up
	the "reset server" routine into a set of very specific routines
	that allowed the server to be unscheduled, timer chains to be
	"synchronized" with the current time before inserting a new timer.
2002-03-29 15:32:18 +00:00
Joel Sherrill
21c468b7b7 2002-03-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpu.c: Replace NO_TABLE_MOVE-support by external function
	(code moved to libcpu/sparc/tbr/tbr.c).
	* cpu.h: Replace NO_TABLE_MOVE-support by external function
	(code moved to libcpu/sparc/tbr/tbr.h).
	* sparc.h: Add sparc_init_tbr (implemented in libcpu/sparc/tbr/tbr.c).
2002-03-29 14:17:58 +00:00
Joel Sherrill
96e6a86cd3 2001-03-28 Joel Sherrill <joel@OARcorp.com>
* PR132 requested some tinkering ot lower memory.
	* include/confdefs.h: Lowered footprint of device driver table
	and statically configure user extensions.  Now if no static
	extensions are configured, then the table is not instantiated.
2002-03-28 19:32:16 +00:00
Joel Sherrill
652aa3068a 2001-03-28 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Define fix_syscall_errno() to nothing so MP links.
2002-03-28 18:10:55 +00:00
Joel Sherrill
9fff6bfac6 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/fat_file.c: Remove bsp.h.
	fat_file_write(.. const char*buf ..).
	* src/dosfs/fat_file.h: fat_file_write(.. const char*buf ..).
2002-03-28 13:52:49 +00:00
Joel Sherrill
7273b6e166 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:54:58 +00:00
Joel Sherrill
ae5a0ce158 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:53 +00:00
Joel Sherrill
00a9ac1d59 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/rpcsvc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/rpc/PSD.doc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/xdr/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:50 +00:00
Joel Sherrill
01d48bf8ea 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* arpa/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* kern/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* lib/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* machine/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* net/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* netinet/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* nfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* pppd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sys/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* vm/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:43 +00:00
Joel Sherrill
05b8b60829 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* src/dosfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/imfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:35 +00:00
Joel Sherrill
b449267bfd 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:48:39 +00:00
Joel Sherrill
1960925df0 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:46:40 +00:00
Joel Sherrill
c43484bf54 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:46:37 +00:00
Joel Sherrill
ef7ceb4f5e 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:45:40 +00:00
Joel Sherrill
58c3d04eb7 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:45:34 +00:00
Joel Sherrill
87e106c130 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:45:31 +00:00
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