Commit Graph

4875 Commits

Author SHA1 Message Date
Joel Sherrill
732d4db3eb 2000-11-25 Joel Sherrill <joel@OARcorp.com>
* custom/Makefile.am: Updated to add jmr3904.cfg
	* custom/jmr3904.cfg: New file.
2000-11-25 18:45:13 +00:00
Joel Sherrill
eeabe7797c changed version to ss-20001121 2000-11-21 15:20:02 +00:00
Joel Sherrill
ab6a7745a1 changed version to ss-20001121 2000-11-21 15:15:24 +00:00
Joel Sherrill
d543c5debd 2000-11-20 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added new sparc variations (erc32, leon, and Tharsys).
2000-11-21 14:06:08 +00:00
Joel Sherrill
669a6dc364 2000-11-21 Jiri Gaisler <jgais@ws.estec.esa.nl>
* cpu_asm.S: Fix for CPUs with FPU revision B or C.
2000-11-21 14:03:17 +00:00
Joel Sherrill
a1c86a4c51 2000-11-21 Jiri Gaisler <jgais@ws.estec.esa.nl>
* erc32sonic/erc32sonic.c: Minor modifications which enable
	network interface to come up and work for some time before
	getting an error in the SONIC driver.  The error is a bit random,
	sometimes MCLGET (m, M_WAIT) tries to access memory way outside the
	available ram (and traps) while sometimes there is a panic due
	to RBAE/RXEN.
2000-11-21 14:02:17 +00:00
Jennifer Averett
c9fcb34015 2000-11-17 Jennifer Averett <jennifer@OARcorp.com>
* psxstat/test.c, psxstat/psxstat.scn: Forced inode numbers
	to remain consistant across platforms and bsps by forcing
	a mount point in front of all paths.

2000-11-17	Jennifer Averret <jennifer@OARcorp.com>

	* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-20 14:34:17 +00:00
Jennifer Averett
ee95538746 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-20 13:58:55 +00:00
Joel Sherrill
51252af93d 2000-11-20 Joel Sherrill <joel@OARcorp.com>
* itrontask01/system.h: Configure enough stack memory.
2000-11-20 13:36:20 +00:00
Joel Sherrill
bde7e18ea0 2000-11-20 Dmitry Kargapolov <dk@gentex.ru>
* libc/mount.c: Make sure there is space allocated for a device name
	in the mount table entry.
2000-11-20 13:29:21 +00:00
Jennifer Averett
2e3ce06b7f 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-17 21:29:31 +00:00
Jennifer Averett
1e566bbb1c 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-17 19:06:40 +00:00
Jennifer Averett
13e47e2e6b 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* src/imfs/imfs_eval.c: Always return imaginary node at mount points.
2000-11-17 18:46:03 +00:00
Jennifer Averett
4b0d1ab39b 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* libc/mount.c (search_mt_for_mount_point): Deleted routine.
	* libc/mount.c (Is_node_fs_root): Replacement for above that
	accounts for the imaginary root node being returned by the
	filesystem evaluation routine.
	* libc/unmount.c (unmount): Account for imaginary root node
	being returned and improved variable names to clarify code.
	* libc/unmount.c (file_systems_below_this_mountpoint):  Body of
	routine replaced to account for imaginary root node being returned.
2000-11-17 18:42:02 +00:00
Joel Sherrill
ee6d2050d1 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* gccnewlib/gccnewlib.add: Fix typo in URL.
2000-11-16 13:54:18 +00:00
Joel Sherrill
1033e273a4 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-host.m4: Abandon changequotes (autoconf-2.49b).
	* aclocal/check-newlib.m4: Let check message refer to RTEMS newlib.
	* aclocal/rtems-debug.m4: Fix formating and contents of the check's
	help string.
	* aclocal/rtems-top.m4: Remove AC_ARG_WITH(target-subdir).
2000-11-15 21:56:52 +00:00
Joel Sherrill
39cdc26ed9 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.inc.in: Use * instead of *_FOR_TARGET (BUG-FIX).
2000-11-15 21:56:14 +00:00
Joel Sherrill
8c47d5098c 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/leon2.cfg: Removed defines that are now generated
	in a non-BSP specific manner.
2000-11-15 21:48:40 +00:00
Joel Sherrill
1abb56be5a 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Cleanup.
2000-11-15 21:47:01 +00:00
Joel Sherrill
4445e3c435 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Cleanup.
2000-11-15 21:46:47 +00:00
Joel Sherrill
5a6cfac2bc 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shgen.c: Set default Phi to 20MHz (BUG-FIX).
2000-11-15 21:43:42 +00:00
Joel Sherrill
c34ac29529 2000-11-13 Joel Sherrill <joel@OARcorp.com>
* psxmount/psxmount.scn, psxmount/test.c: Correct spelling.
2000-11-15 21:41:04 +00:00
Joel Sherrill
ca4060826d 2000-11-14 Jiri Gaisler <jgais@ws.estec.esa.nl>
* Makefile.am, configure.in: Added support for instruction
	cache enabling based on CPU model.
	* cache/.cvsignore, cache/Makefile.am, cache/cache.c,
	cache/cache_.h: New files.
2000-11-15 21:40:05 +00:00
Joel Sherrill
cb887486ef 2000-11-14 Jiri Gaisler <jgais@ws.estec.esa.nl>
* shared/src/cache_manager.c
	(rtems_cache_invalidate_multiple_instruction_lines): If
	CPU_INSTRUCTION_CACHE_ALIGNMENT is defined but 0, then there is
	an instruction cache but no notion of line size.
2000-11-15 21:38:55 +00:00
Joel Sherrill
23bdd25eef 2000-11-14 Jiri Gaisler <jgais@ws.estec.esa.nl>
* wrapup/Makefile.am: Pick up cache code from libcpu and pick
	up .o's instead of .rel's from libcpu.
2000-11-15 21:35:01 +00:00
Joel Sherrill
477e2d195f 2000-11-14 Jiri Gaisler <jgais@ws.estec.esa.nl>
* cpu.c, rtems/cpu/sparc.h: Make floating point optional based
	on gcc arguments.  Do not initialize FP context if there is
	no FPU.  Flush instruction cache after installing RTEMS trap handler.
2000-11-15 21:33:35 +00:00
Joel Sherrill
603f30f144 2000-11-14 Jiri Gaisler <jgais@ws.estec.esa.nl>
* startup/boardinit.S: St 32-bit ram width by default.
2000-11-15 18:14:06 +00:00
Joel Sherrill
f5f54cfa54 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* ChangeLog, .cvsignore, Makefile.am, bspclean.c, bspstart.c,
	gnatcommon.c, start.S:  New files.  Largely moved from ERC32
	BSP to be able to be shared with LEON and other SPARC BSPs.
2000-11-13 23:00:51 +00:00
Joel Sherrill
f6ef823a22 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* network/sonic.c: Added ipalign() routine to align the
	received packet so that the ip header is on a 32-bit boundary.
	Necessary for cpu's that do not allow unaligned loads and stores
	and when the 32-bit DMA mode is used.
2000-11-13 22:58:36 +00:00
Joel Sherrill
a44f9ca520 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
	Modified to reflect addition of LEON BSPs as well as the
	no-FP ERC32 variant.
2000-11-13 22:51:54 +00:00
Joel Sherrill
cd0324cf7b 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* custom/Makefile.am: Modified to reflect addition of files.
	* custom/erc32.cfg: Modified to support addition of no-FP ERC32 variant.
	* custom/erc32nfp.cfg, custom/leon1.cfg, custom/leon2.cfg: New file.
2000-11-13 22:48:24 +00:00
Joel Sherrill
599b8b26f0 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* Makefile.am, configure.in: Added shared directory as part
	of enhancing ERC32 and adding LEON.
2000-11-13 22:41:50 +00:00
Joel Sherrill
b21b0ab3e7 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs,
	configure.in, times, clock/.cvsignore, clock/Makefile.am,
	clock/ckinit.c, console/.cvsignore, console/Makefile.am,
	console/console.c, console/consolereserveresources.c,
	console/debugputs.c, gnatsupp/.cvsignore,
	gnatsupp/Makefile.am, gnatsupp/gnatsupp.c,
	include/.cvsignore, include/Makefile.am, include/bsp.h,
	include/coverhd.h, include/leon.h, start/.cvsignore,
	start/Makefile.am, startup/.cvsignore, startup/Makefile.am,
	startup/boardinit.S, startup/linkcmds, startup/setvec.c,
	startup/spurious.c, timer/.cvsignore, timer/Makefile.am,
	timer/timer.c, tools/.cvsignore, tools/Makefile.am,
	tools/configure.in, tools/runtest.in, wrapup/.cvsignore,
	wrapup/Makefile.am: New file.
2000-11-13 22:40:29 +00:00
Joel Sherrill
3eec211fd2 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* ChangeLog, .cvsignore, Makefile.am, bspclean.c, bspstart.c,
	gnatcommon.c, start.S:  New files.  Largely moved from ERC32
	BSP to be able to be shared with LEON and other SPARC BSPs.
2000-11-13 22:31:22 +00:00
Joel Sherrill
270042352b 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* Makefile.am, configure.in, gnatsupp/Makefile.am,
	gnatsupp/gnatsupp.c, include/Makefile.am, include/bsp.h,
	start/Makefile.am, startup/Makefile.am, startup/setvec.c,
	wrapup/Makefile.am:
	* erc32sonic: New directory.
	* erc32sonic/Makefile.am, erc32sonic/erc32sonic.c,
	erc32sonic/.cvsignore: New files.
	* include/erc32.h: New file.
	* startup/boardinit.S: New file.
	Big update of SPARC support for ERC32 and LEON.
	Added support for ERC32 without floating point.
	Added SONIC support as configured on Tharsys ERC32 board.
	The bsp's share various code in the shared directory:
	   gnat-support, start-up code, etc.
	To decrease the foot-print, I removed the 16 kbyte start-up
	stack that was put in .bss and never reused once the system
	was up. The stack is now put between the heap and the
	workspace. To reclaim it, the user can do a rtems_region_extend
	to merge the stack to the heap region once the system is up.
2000-11-13 22:29:14 +00:00
Joel Sherrill
7f5213d042 2000-11-13 Joel Sherrill <joel@OARcorp.com>
* clock_driver_stub.c: This is a stub of a clock driver that
	is sufficient for linking the ticker application.  Some
	simulators do not have a soruce for a clock tick.  Also
	this can be used while constructing a BSP so everything links.
2000-11-13 14:59:22 +00:00
Joel Sherrill
7cc96f530f 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, console/Makefile.am, include/Makefile.am,
	start/Makefile.am: VPATH was not setup correctly
2000-11-10 14:43:24 +00:00
Joel Sherrill
ff11b0147a 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ampolish: Generate ACLOCAL_AMFLAGS = -I .../aclocal.
2000-11-10 14:26:48 +00:00
Joel Sherrill
ecd5441123 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: catch -enable-rtemsbsp (Allowed by autoconf).
	Autoconf allows one to pass -enable-*, but this file expected --enable*.
2000-11-10 14:25:44 +00:00
Joel Sherrill
b2e4f3a824 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/Cygwin-posix.cfg: Add -U__STRICT_ANSI__ to LIBC_DEFINES.
2000-11-10 14:24:36 +00:00
Joel Sherrill
5dc2b66d71 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/libio.c: Special treatment of O_NDELAY for Cygwin.
2000-11-10 14:23:46 +00:00
Joel Sherrill
5fa72058de 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove trailing '/' from RPM_SPECSdir.
2000-11-10 14:16:08 +00:00
Joel Sherrill
2dbd07f8dc 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/gcc-pipe.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf
	standard).
	* aclocal/gcc-specs.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf
	standard).
	* aclocal/multilib.m4: Fix m4-quoting (BUG-FIX).
	* aclocal/check-bsp-cache.m4: Fix m4-quoting (autoconf-2.49b).
	* aclocal/prog-cc.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf
	standard), replace CC_FOR_TARGET with CC (BUG-FIX).
2000-11-09 17:04:53 +00:00
Joel Sherrill
5913d94de8 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-itron.m4: Remove changequotes (autoconf-2.49b).
	* aclocal/enable-posix.m4: Remove changequotes (autoconf-2.49b), use
	$host instead of $target (BUG-FIX).
	* configure.in: Use $target and $host instead of $target_alias and
	$host_alias (autoconf-2.49b).
	* aclocal/check-newlib.m4: Remove CC_FOR_TARGET (BUG-FIX)
	* aclocal/sysv-ipc.m4: Move AC_DEFINE outside of AC_CACHE (BUG-FIX)

	NOTES:
	* autoconf-2.49b depredicates using changequotes.
	* The changes to configure.in are due to cleanups in
	autoconf-2.49b's implemention of canonicalization. With
	autoconf-2.1x it wasn't always clear, when to use $xxx or
	$xxx_alias. Now this is clear.
2000-11-09 17:01:25 +00:00
Joel Sherrill
bd914b4650 2000-11-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Adapt m4-quoting to autoconf-2.49b, use $host
	instead of $target to setup RPM_CPU, move chmod 755 buildall to
	AC_OUTPUT's extra-cmds.
2000-11-09 16:51:47 +00:00
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
3bb7e6d582 2000-11-09 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, clock/Makefile.am, clock/.cvsignore, wrapup/Makefile.am:
	Added include of stub clock driver so ticker would link.
2000-11-09 14:26:26 +00:00
Joel Sherrill
1938317448 2000-11-09 Joel Sherrill <joel@OARcorp.com>
* configure.in, Makefile.am, clock/Makefile.am, clock/.cvsignore,
	wrapup/Makefile.am: Added include of stub clock driver so ticker
	would link.
2000-11-09 14:26:25 +00:00
Joel Sherrill
b6076b01db changed version to ss-20001103 2000-11-03 15:43:59 +00:00
Joel Sherrill
ba41dfdee5 2000-11-02 Joel Sherrill <joel@OARcorp.com>
* include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
	so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
	POSIX_BOTTOM_REACHED() are actually included.
2000-11-03 15:39:55 +00:00