Commit Graph

3390 Commits

Author SHA1 Message Date
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
Joel Sherrill
6fd829abaa 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to macros/, reflect new configure.in,
2000-10-31 21:21:26 +00:00
Joel Sherrill
846027b9b8 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Switch to GNU-canonicalization.
	* Makefile.am: Reflect changes to configure.in.
	* acinclude.m4: Remove.
2000-10-31 21:19:08 +00:00
Joel Sherrill
d60b3efa84 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Cleanup comments.
	* bsp_specs: Add qnolinkcmds.
2000-10-31 21:17:06 +00:00
Joel Sherrill
e3b7e5815f 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* target.cfg.in: Comment out RTEMS_HOST, RTEMS_CROSS_TARGET.
	* Makefile.am: Switch to GNU canonicalization.
2000-10-31 21:16:24 +00:00
Joel Sherrill
a2967717fe 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ChangeLog: New file.
	* Makefile.am: Switch to GNU-canonicalized autoconf macros.
	* configure.in: New file.
	* .cvsignore: Add aclocal.m4, configure.
2000-10-31 21:12:59 +00:00
Joel Sherrill
df3b242411 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* paranoia/paranoia.c: Commented out incorrect and conflicting
	prototype of read().
2000-10-31 16:40:03 +00:00
Joel Sherrill
57cfaad2f5 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* src/rpc/Makefile.am, src/rpc/auth_time.c, src/rpc/clnt_simple.c,
	src/rpc/clnt_tcp.c, src/rpc/clnt_udp.c, src/rpc/clnt_unix.c,
	src/rpc/get_myaddress.c, src/rpc/pmap_clnt.c, src/rpc/pmap_getmaps.c,
	src/rpc/pmap_getport.c, src/rpc/pmap_rmt.c, src/rpc/rtime.c,
	src/rpc/svc_tcp.c, src/rpc/svc_udp.c, src/rpc/svc_unix.c:
	Use of _read, _write, and _close as macros conflicted with
	newlib's use of these as routine names.  They were renamed to
	include "_RPC_" prefix.
2000-10-31 16:39:06 +00:00
Joel Sherrill
3e597933ff 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* machine/types.h: Added _CLOCKID_T_ and _TIMER_T_ to be in sync
	with newlib's <machine/types.h>.
	* rtems/rtems_bsdnet_internal.h: newlib now includes definition
	of struct itimerval in <sys/time.h>.
2000-10-31 16:37:16 +00:00
Joel Sherrill
7ede0e7698 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* sbrk.c: Corrected prototype to match newlib.
2000-10-31 16:35:52 +00:00
Joel Sherrill
72ad6aac90 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* include/confdefs.h: Replaced include of <sys/siginfo.h> with
	<signal.h> since that file no longer exists.
2000-10-31 16:35:16 +00:00
Joel Sherrill
781262bb5b 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* include/Makefile.am: Updated to reflect files merged into newlib.
	This resulted in some definitions moving to other files and thus
	some secondary effects in RTEMS source code.
	* include/unistd.h: Removed.  Now use newlib's.
	* include/rtems/posix/mqueue.h: Add include of <signal.h>.
	* include/rtems/posix/threadsup.h: Add include of <sys/signal.h>
	* src/execv.c: Corrected prototype to agree with newlib.
	* src/execve.c: Corrected prototype to agree with newlib.
	* src/execvp.c: Corrected prototype to agree with newlib.
	* src/psignal.c: Rewrote reference to <siginfo.h> in comment since
	that file no longer exists.
	* src/pthreadkill.c: Added include of <signal.h>.
	* src/sigaction.c: Added include of <signal.h>.
	* src/sigtimedwait.c: Rewrote reference to <siginfo.h> in comment since
	that file no longer exists.
	*
2000-10-31 16:33:48 +00:00
Joel Sherrill
c51af96e04 2000-10-29 Joel Sherrill <joel@OARcorp.com>
* startup/sbrk.c: Removed.  Redundant with shared version.
2000-10-29 20:11:07 +00:00
Joel Sherrill
8a19e809c7 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-27 14:05:19 +00:00
Joel Sherrill
d16ca93e7a 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: add lib/libbsp to the GNU canonicalized
	subdirectories, remove cfg_subdirs, cfg_subdirs1, hst_subdirs1.
	* Makefile.am: remove cfg_subdirs, cfg_subdirs1, hst_subdirs1.
	* ChangeLog: Fix typos.
2000-10-27 14:04:18 +00:00
Joel Sherrill
e83378d73e 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-27 13:59:24 +00:00