Commit Graph

4605 Commits

Author SHA1 Message Date
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
082972afe7 2002-03-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Special treatment of the bare BSP.
	Add RTEMS_BSP_ALIAS. Add HAS_LIBBSP.
	* Makefile.am: Append libbsp.a to SRC conditionally.
2002-03-15 13:58:29 +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
db6cc07d1a 2001-03-08 Joel Sherrill <joel@OARcorp.com>
* mips-stub.c: Removed warnings.
2002-03-08 17:36:58 +00:00
Joel Sherrill
9d64bc733d 2001-03-08 Joel Sherrill <joel@OARcorp.com>
* start/start.S, startup/bspstart.c: Removed warnings.
2002-03-08 17:35:39 +00:00
Joel Sherrill
34f5067fef 2002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* shared/interrupts/installisrentries.c: Added support for debug
	exception vector.
	* shared/interrupts/isr_entries.S: Added support for debug exception
	vector.
2002-03-08 16:32:39 +00:00
Joel Sherrill
2f89140dba 2001-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mips-stub.c: Debugged & tweaked the gdb command processing,
	zbreak stuff, breakpoint and step code.  Implemented 'T' command
	support and debugged remote gdb support w/ the Mongoose bsp.
	Added the memory segment support.
	* memlimits.h: Disabled all contents in favor of memory sement
	support.  This file could probably go away.
	* rtems-stub-glue.c (rtems_gdb_index_to_stub_id()): New routine.
	rtems_gdb_stub_get_register_from_context(): Implemented MIPS version.
	rtems_gdb_stub_get_offsets(): Implemented MIPS version.
	* README: Updated.
2002-03-08 16:32:07 +00:00
Joel Sherrill
ffdc6591ee 2002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* startup/gdb-support.c: Added calls into the mips-support gdb stub
	for configuring the memory regions.  Any bsp that wants to use the
	gdbstub will need to do something similar.
	* startup/Makefile.am: Added shared/gdbstub directory to include path.
2002-03-08 16:26:03 +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
7f794ac789 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mongoosev/include/mongoose-v.h: Added cache constants.
	* mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve
	performance.
2002-03-01 16:29:15 +00:00
Joel Sherrill
3a78c2a4d7 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mongoosev/include/mongoose-v.h: Added cache constants.
	* mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve
	performance.
2002-03-01 16:25:00 +00:00
Joel Sherrill
5fa68868ae 2001-03-01 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected previous entry.
2002-03-01 16:24:36 +00:00
Joel Sherrill
cd6bec6cef 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* shared/gdbstub/README: Added text.
	* shared/gdbstub/mips-stub.c: Modified isr install routine to
	capture all exceptions.
2002-03-01 16:22:59 +00:00
Joel Sherrill
0ea3293739 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* start/start.S: Added kseg1 test to enable cache flush code
	* bsp_specs: Added -qnostartfile to disable including bsp's start.o
	* startup/bspstart.c: Made clear_cache actually work, tweaked cpu
	init to only turn on whats needed.
	* startup/gdb-support.c: Added calls to uart 2 for gdb stub I/O and
	a handy init function.
2002-03-01 16:21:52 +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
274fa77780 2002-02-28 Mike Panetta <ahuitzot@mindspring.com>
* console/sci.c, console/sci.h,
	console/console.c: Added new SCI driver.
	* start/start.c: Removed file.
	* start/start.S: New file, the asm portion of the updated start code.
	* start/configure.am: Added start.S, removed start.c
	* startup/start_c.c: New file, the C portion of the updated start code. 	Contains most of the code that was in the old start.c.
	* startup/configure.am: Added start_c.c to C_FILES.
	* include/bsp.h: Added include <rtems/bspIo.h>
2002-02-28 23:10:39 +00:00
Joel Sherrill
098cdaf63f 2002-02-28 Victor V. Vengerov <vvv@oktet.ru>
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted.
	* Makefile.am: Modified to reflect addition.
2002-02-28 20:50:34 +00:00
Joel Sherrill
1d42dcbcdb 2002-02-28 Victor V. Vengerov <vvv@oktet.ru>
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted.
	* configure.ac: Modified to reflect addition.
2002-02-28 20:44:18 +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
1bbe2e1dbb 2001-02-27 Joel Sherrill <joel@OARcorp.com>
* Significant modifications including adding thread support, the 'X'
	command, and reorganizing so that target CPU independent routines
	could be reused.
	* gdb_if.h: Added numerous prototypes.
	* mips-stub.c: Added thread support as well as 'X' command.
	Also noticed that the 'P' command was from the mips protocol.
	* rtems-stub-glue.c: New file.  This file contains all generic
	support which should be able to be reused on another target CPU.
2002-02-27 22:32:15 +00:00
Joel Sherrill
3f1c12435f 2001-02-27 Joel Sherrill <joel@OARcorp.com>
* startup/Makefile.am: Added rtems-stub-glue.c to C_FILES.
2002-02-27 22:18:47 +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
6953e68e51 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* mips-stub.c (handle_exception): Prototype changed to be an RTEMS
	entry point.  Added comments about possible need to flush cache.
	(mips_gdb_stub_install): New routine.
2002-02-08 23:27:26 +00:00
Joel Sherrill
63bce6324d 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* mongoosev/vectorisrs/vectorisrs.c: Fixed to use new frame format.
2002-02-08 23:25:33 +00:00
Joel Sherrill
d88661ccab 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* startup/Makefile.am: Now compile the gdb stub.
	* startup/bspstart.c: Fixed header block.
	* startup/gdb-support.c: New file in stub state.
2002-02-08 23:05:35 +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
fc82e71072 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* Makefile, stubinit.S, r46kstub.ld, ioaddr.h: Removed as unused
	with RTEMS.
	* r46kstub.c: Renamed to mips-stub.c.
	* mips-stub.c: New file -- was r46kstub.c.
	* memlimits.h: New file was limits.h.
	* limits.h: Removed.
	* r4600.h: Eliminated need for this file.
	* README: Updated.
 	* gdb_if.h: Added CVS Id.
	* mips-stub.c: Attempt to deal with MIPS1 versus MIPS3.
2002-02-08 21:26:00 +00:00
Joel Sherrill
fb63984771 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* Merged r46kstub.c into RTEMS distribution without modification.
	I got the code from Franz Fischer <Franz.Fischer@franz-fischer.de>
	who had used this with an old version of RTEMS with the mips64orion
	port of RTEMS.  After adding this to the repository, I will tailor
	this to work with the RTEMS exception processing model and trim
	no longer needed parts.
	* ChangeLog, gdb_if.h, ioaddr.h, limits.h, Makefile, mips_opcode.h,
	r4600.h, r46kstub.c, r46kstub.ld, README, stubinit.S:
2002-02-08 20:03:26 +00:00
Joel Sherrill
0ab873495a 2001-02-05 Joel Sherrill <joel@OARcorp.com>
* isr_entries.S: Removed comment incorrectly indicating this
	file was cpu_asm.S.
	* vectorexceptions.c (mips_dump_exception_frame): New routine
	broken out from default exception handler.
2002-02-05 21:06:13 +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
2276d25536 2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* include/lr33000.h, include/lr330x0.h, include/r3000.h, start/mg5.h:
	New files missed in previous commit.
	* timer/timer.c: Use rtems/bspIo.h not just bspIo.h.
2002-02-02 19:28:13 +00:00
Joel Sherrill
f562815a20 Fixed ChangeLog again :( 2002-02-01 19:36:57 +00:00
Joel Sherrill
6966421561 Fixed ChangeLog 2002-02-01 19:34:33 +00:00
Joel Sherrill
97f6256fd2 2002-02-01 Eric Valette <valette@crf.canon.fr>
* So many patches have been posted recently on the mailing list and 
	because we were unable to find correct solution to compile on various 
	linux distros (due to rpcgen incompatibilities), and because the coding 
	style of rdbg was rather inconsistant among various pieces of code, I 
	decided to:
	    1) make some cleaning regarding global coding style (using
	       indent + manual edits),
	    2) incorporate/review the paches send by various people
	       (S. Holford, T. Strauman),
	    3) Fix the bug due to varying rpcgen code generation
	       in remdeb_svc.c,
	    4) Remove some dead code,
	    5) Apply a patches enabling to call enterRdbg imediately
	       after rdbg initialization is done,

	NB : the paches is huge but it is mainly due to coding styke chnages. 
	Only few lines of codes have been really changed and they do not impact 
	rdbg functionnality (AFAIKT).

	* include/rdbg/servrpc.h, include/rdbg/i386/rdbg_f.h,
	include/rdbg/m68k/rdbg_f.h, include/rdbg/powerpc/rdbg_f.h,
	src/_servtgt.c, src/awk.svc, src/excep.c, src/ptrace.c, src/rdbg.c,
	src/remdeb.x, src/servbkpt.c, src/servcon.c, src/servrpc.c,
	src/servtgt.c, src/servtsp.c, src/servutil.c, src/i386/excep_f.c,
	src/i386/rdbg_f.c, src/i386/any/Makefile.am, src/i386/any/remdeb.h,
	src/i386/any/remdeb_svc.c, src/i386/any/remdeb_xdr.c,
	src/m68k/excep_f.c, src/m68k/rdbg_f.c, src/m68k/any/Makefile.am,
	src/m68k/any/remdeb.h, src/m68k/any/remdeb_svc.c,
	src/m68k/any/remdeb_xdr.c, src/powerpc/excep_f.c, src/powerpc/rdbg_f.c,
	src/powerpc/new_exception_processing/Makefile.am,
	src/powerpc/new_exception_processing/remdeb.h,
	src/powerpc/new_exception_processing/remdeb_svc.c,
	src/powerpc/new_exception_processing/remdeb_xdr.c: Modified.
2002-02-01 19:33:15 +00:00
Joel Sherrill
bdb86b4efe Fixed ChangeLog 2002-02-01 19:32:57 +00:00
Joel Sherrill
4cecaf6a12 2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/vectorexceptions.c: Use rtems/bspIo.h, not just
	bspIo.h.
2002-02-01 19:32:23 +00:00