Commit Graph

3405 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Joel Sherrill
1f14ff427a 2000-11-03 Chris Johns <ccj@acm.org>
* network/README.cs8900, network/cs8900.c, network/cs8900.h: New files.
	* network/Makefile.am: Modified to reflect above.
2000-11-03 15:19:05 +00:00
Joel Sherrill
b5c5030965 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonicalize-tools.m4, aclocal/check-tool.m4,
	aclocal/prog-cc.m4, aclocal/prog-cxx.m4:  Replace AC_CHECK_TOOL
	with an RTEMS specific but more restrictive autoconf macro.
2000-11-02 22:56:23 +00:00
Joel Sherrill
be59f363f3 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* stubdr/Makefile.am: Replace leaf.cfg w/ automake/lib.am.
2000-11-02 22:48:52 +00:00
Joel Sherrill
63b347b7ae 2000-11-02 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Remove -Tlinkcmds from *link rule.
2000-11-02 22:48:20 +00:00
Joel Sherrill
a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill
8262fda71b 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, and
	libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.
2000-11-01 21:29:47 +00:00
Joel Sherrill
fed03bc9e4 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c: assoc.h, error.h, libio_.h,
	libio.h, and libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.
	Also removed obsolete references to STACK_CHECKER_ON.
2000-11-01 21:22:48 +00:00
Joel Sherrill
fd152eb2e6 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: assoc.h, error.h,
	libio_.h, libio.h, and libcsupport.h moved from libc to
	lib/include/rtems and now must be referenced as <rtems/XXX.h>.   
	Header file order was cleaned up while doing this.
	Also removed obsolete references to STACK_CHECKER_ON.
2000-11-01 21:22:47 +00:00
Joel Sherrill
12c074d8bd 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, and
	libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.
	Also removed obsolete references to STACK_CHECKER_ON.
2000-11-01 21:22:04 +00:00
Joel Sherrill
978d328264 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* bsplibc.c: assoc.h, error.h, libio_.h, libio.h, and
	libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.
2000-11-01 21:21:25 +00:00
Joel Sherrill
1ae05bffa4 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/82378zb.c, startup/FPGA.c: assoc.h, error.h, libio_.h,
	libio.h, and libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.
2000-11-01 21:20:47 +00:00
Joel Sherrill
e253b4d7c5 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* shared/bsppretaskinghook.c: assoc.h, error.h, libio_.h, libio.h,
	and libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.
2000-11-01 21:20:01 +00:00
Joel Sherrill
042e156dc6 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Removed incorrectly placed entry.
2000-11-01 21:19:24 +00:00
Joel Sherrill
eba2e4f7b3 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
	and libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.
2000-11-01 21:19:23 +00:00
Joel Sherrill
2af54bf6c0 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* configure.in: Added include/rtems subdirectory.
2000-11-01 21:08:32 +00:00
Joel Sherrill
3ba74c733f 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
	libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
	libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
	libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
	libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
	libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
	libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
	libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
	libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
	libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
	libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
	libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
	libc/utime.c, libc/write.c:
	assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
	from libc to lib/include/rtems and now must be referenced as
	<rtems/XXX.h>.
	* include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
	* include/rtems/assoc.h, include/rtems/error.h,
	include/rtems/libcsupport.h, include/rtems/libio.h,
	include/rtems/libio_.h: New/moved files.
2000-11-01 21:08:14 +00:00
Joel Sherrill
ce28b28312 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* malloctest/task1.c: assoc.h, error.h, libio_.h, libio.h, and
	libcsupport.h moved from libc to lib/include/rtems and now must
	be referenced as <rtems/XXX.h>.
2000-11-01 21:03:37 +00:00
Joel Sherrill
c058578355 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* src/imfs/Makefile.am, src/imfs/deviceio.c, src/imfs/imfs_chown.c,
	src/imfs/imfs_config.c, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_directory.c, src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c,
	src/imfs/imfs_free.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_gtkn.c,
	src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_link.c,
	src/imfs/imfs_mknod.c, src/imfs/imfs_mount.c, src/imfs/imfs_readlink.c,
	src/imfs/imfs_rmnod.c, src/imfs/imfs_stat.c, src/imfs/imfs_symlink.c,
	src/imfs/imfs_unixstub.c, src/imfs/imfs_unlink.c,
	src/imfs/imfs_unmount.c, src/imfs/imfs_utime.c, src/imfs/ioman.c,
	src/imfs/memfile.c, src/imfs/miniimfs_init.c:
	assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
	from libc to lib/include/rtems and now must be referenced as
	<rtems/XXX.h>.  Now we do not have to reach up and over to
	libc to pick them up.
2000-11-01 21:02:46 +00:00
Joel Sherrill
974d6ad83c 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to GNU canonicalized autoconf macros.
2000-10-31 21:23:09 +00:00
Joel Sherrill
3d4e62feda 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bsp_specs: Add qnolinkcmds.
2000-10-31 21:22:43 +00:00