Commit Graph

1759 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
2d5748f737 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove bogus cfg_subdirs.
	* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-26 12:59:48 +00:00
Joel Sherrill
5582de17d6 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-25 17:19:31 +00:00
Joel Sherrill
f36718c73a 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-25 17:10:18 +00:00
Joel Sherrill
2735b82335 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-25 17:00:20 +00:00
Joel Sherrill
7b0001f795 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* libc/ioman.c: Moved to libfs.
	* libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
	* libc/base_fs.c: Removed include of imfs.h and reworded comment
	to avoid being IMFS specific.
	* libc/libio.h: Removed prototype of IMFS_ops since it should
	not be in this file.
	* libc/mount.c: Removed IMFS specific configuration information.
	* libc/unmount.c: Removed include of imfs.h and reworded comment
	to avoid being IMFS specific.
2000-10-25 16:56:11 +00:00
Joel Sherrill
a0756c9aa0 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_config.c: New file containing IMFS configuration
	information split from libc/base_fs.c.
	* src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously.
	* src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
2000-10-25 16:51:22 +00:00
Joel Sherrill
7ec7cf7491 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, configure.in:  Introduce GNU canonicalization to libfs/.
	The approach is currently a bit of a hack as GNU canonicalization
	does not support the per-BSP build some of the other directories
	require.  As more of the tree is converted, this will become less
	of an issue.
2000-10-24 22:06:00 +00:00
Joel Sherrill
fda47cd1b9 2000-10-24 Alan Cudmore <alanc@linuxstart.com> and
Joel Sherrill <joel@OARcorp.com>

	* This is a major reworking of the mips64orion port to use
	gcc predefines as much as possible and a big push to multilib
	the mips port.  The mips64orion port was copied/renamed to mips
	to be more like other GNU tools.  Alan did most of the technical
	work of determining how to map old macro names used by the mips64orion
	port to standard compiler macro definitions.  Joel did the merge
	with CVS magic to keep individual file history and did the BSP
	modifications. Details follow:
	* Makefile.am: idtmon.h in mips64orion port not present.
	* asm.h: MIPS64ORION replaced with MIPS. Frame setup macros added.
	* cpu.c: Comments added.
	* cpu_asm.S: Conditionals changed.  MIPS ISA level 1 support added.
	First attempt at exception/interrupt processing for ISA level 1
	and minus any use of IDT/MON added.
	* idtcpu.h: Conditionals changed to use gcc predefines.
	* iregdef.h: Ditto.
	* cpu_asm.h: No real change.  Merger required commit.
	* rtems/Makefile.am: Ditto.
	* rtems/score/Makefile.am: Ditto.
	* rtems/score/cpu.h: Change MIPS64ORION to MIPS.
	* rtems/score/mips64orion.h: Change MIPS64ORION to MIPS.  Convert
	from using RTEMS_CPU_MODEL to gcc predefines to figre things out.
2000-10-24 21:48:33 +00:00
Joel Sherrill
fad00e765b 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT.
2000-10-20 13:29:24 +00:00
Joel Sherrill
5b59c4d46a 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore:
	New files.
2000-10-19 15:52:22 +00:00
Joel Sherrill
0da0dea224 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* lib/tftpDriver.c: add comments to handlers struct function pointers.
	* rtems/rtems_glue.c: move pointer arithmetic to be _after_
	pointer has been checked against NULL.
2000-10-19 15:33:03 +00:00
Joel Sherrill
e090b7e5de 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* rtems/score/cpu.h: define CPU_Exception_frame for rdbg.
	* m68302.h: Make buffer pointer in m302_SCC_bd volatile.
2000-10-19 15:32:20 +00:00
Joel Sherrill
d71c6c1f0e 2000-10-18 Chris Johns <ccj@acm.org>
* libfs created.
	* src, src/imfs, wrapup: New directories.
	* ChangeLog, Makefile.am, README, configure.in, src/Makefile.am,
	wrapup/Makefile.am: New files.
	* src/imfs/deviceio.c, src/imfs/imfs_getchild.c,
	src/imfs/imfs_readlink.c, src/imfs/imfs.h, src/imfs/imfs_gtkn.c,
	src/imfs/imfs_rmnod.c, src/imfs/imfs_chown.c,
	src/imfs/imfs_handlers_device.c, src/imfs/imfs_stat.c,
	src/imfs/imfs_creat.c, src/imfs/imfs_handlers_directory.c,
	src/imfs/imfs_symlink.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_handlers_link.c, src/imfs/imfs_unixstub.c,
	src/imfs/imfs_directory.c, src/imfs/imfs_handlers_memfile.c,
	src/imfs/imfs_unlink.c, src/imfs/imfs_eval.c, src/imfs/imfs_init.c,
	src/imfs/imfs_unmount.c, src/imfs/imfs_fchmod.c,
	src/imfs/imfs_initsupp.c, src/imfs/imfs_utime.c, src/imfs/imfs_fcntl.c,
	src/imfs/imfs_link.c, src/imfs/memfile.c, src/imfs/imfs_fdatasync.c,
	src/imfs/imfs_mknod.c, src/imfs/miniimfs_init.c, src/imfs/imfs_free.c,
	src/imfs/imfs_mount.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_ntype.c:
	New files. Moved from libc.
2000-10-18 18:10:55 +00:00
Joel Sherrill
45c3da3b36 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Set CONFIGURE_INIT_TASK_STACK_SIZE to 0
	if there is no Classic API Initialization Tasks Table defined.
2000-10-18 18:08:32 +00:00
Joel Sherrill
552051f0ef 2000-10-18 Chris Johns <ccj@acm.org>
* pppd/ipxcp.c: Fixed a typo.
2000-10-18 16:25:48 +00:00
Joel Sherrill
3815a2b73c 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* libc/Makefile.am: Added mallocfreespace.c.
	* libc/mallocfreespace.c: New file based on work by Nick Simon
	<Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
	* libc/libcsupport.h: Added prototype for malloc_free_space().
2000-10-18 15:02:06 +00:00
Joel Sherrill
b541e1f860 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c, include/rtems/rtems/region.h,
	include/rtems/rtems/types.h, src/Makefile.am: Added
	region_get_information() and information control block.
	* src/regiongetinfo.c: New file.
2000-10-18 14:59:18 +00:00
Joel Sherrill
252565f24d 2000-10-18 Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
* src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
	Added _Heap_Get_information() and information control block.
	* src/heapgetinfo.c: New file.
2000-10-18 14:57:12 +00:00
Joel Sherrill
e6babd7e08 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
	handler.  Most fcntl() operations can be performed with no
	filesystem support.
	* ChangeLog: Corrected comment.
2000-10-18 13:08:22 +00:00
Joel Sherrill
54ba5aaad6 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S, rtems/score/cpu.h: Modified to better support
	multilibing.  These changes result in the code being able to
	compile with the default gcc settings.  It is not functional
	in this configuration but does compile.
2000-10-18 12:58:29 +00:00
Joel Sherrill
38e5a9f021 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* rtems/score/c4x.h: Modified to properly multilib.  This required
	using only macros predefined by gcc.
2000-10-18 12:57:00 +00:00
Joel Sherrill
399c2e5d5a 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Modified code that accounts for initialization
	task/threads with greater than minimum stack sizes so it would
	compile even if optional APIs are disabled.
2000-10-18 12:55:58 +00:00
Joel Sherrill
563ed952ce 2000-10-12 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Account for initialization tasks and
	threads which use larger than minimum stack sizes.
2000-10-12 19:44:30 +00:00
Joel Sherrill
6c6818678b 2000-10-12 John S Gwynne <jgwynne@mrcday.com>
* sim.h: These changes enable RTEMS to automatically generate
	the ram_init file used by gdb with the BDM patches. The 332 has
	on-board chip select lines (for RAM and FLASH) that must be
	configured before use of these peripherals. These patches parse
	data from start.c where the chip select lines are configured in
	the runtime executable and automatically generates the gdb
	initialization file using the same settings. A great time saver.
	A similar file, ram_init_FW (flash writable), is also generated
	that the flash programming tool uses.
	* BSP/start/start.c: Must be modified to support above.
	* BSP/start/ram_init.ld, BSP/start/ram_init.sed: New files.
2000-10-12 12:50:43 +00:00
Joel Sherrill
bebf0438d6 2000-09-29 Stephan Merker <merker@decrc.abb.de>
* include/rtems/rtems/ratemon.h, src/ratemonperiod.c,
	src/ratemontimeout.c: Add next_length field so period length
	can be changed by the the sequence period(X), period(not X)
	with no intervening cancel or expiration.
2000-09-29 14:48:17 +00:00
Joel Sherrill
f6630d445a 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* monitor/mon-driver.c: Accounted for addition of "_entry" to
	fields in rtems_driver_address_table.
2000-09-28 20:23:34 +00:00
Joel Sherrill
2e61938324 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* include/rtems/io.h (rtems_driver_address_table): Added "_entry"
	to all names.
	* src/io.c: Accounted for above.
2000-09-28 20:22:40 +00:00
Joel Sherrill
9c3fa30a11 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* libc/libio.h (rtems_filesystem_file_handlers_r,
	rtems_filesystem_operations_table): Added _h to all structure
	fields to indicate they are "handlers".
	* libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
	libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
	libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
	libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
	libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
	libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
	libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
	libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
	Modified to reflect above name change.
2000-09-28 20:19:23 +00:00
Joel Sherrill
527b508c94 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* rtems_webserver/Makefile.am, rtems_webserver/base64.c,
	rtems_webserver/base64.c: Renamed base64.c to wbase64.c.
	* rtems_webserver/sock.c: Added file missed in merger.
2000-09-28 20:08:07 +00:00
Joel Sherrill
5ff9c0886a 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* rtems_webserver/Makefile.am, rtems_webserver/base64.c,
	rtems_webserver/base64.c: Renamed base64.c to wbase64.c.
	* rtems_webserver/sock.c: Added file missed in merger.
2000-09-28 19:11:35 +00:00
Joel Sherrill
a8d650c524 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
	targopts.h to reduce dependency on BSP.
2000-09-25 18:59:36 +00:00
Joel Sherrill
14b5387b8e 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* rtems/score/hppa.h: Switched to using cpuopts.h not
	targopts.h to reduce dependency on BSP.
2000-09-25 18:58:50 +00:00
Joel Sherrill
3e0f6985d1 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* rtems/score/a29k.h, rtems/score/cpu.h: Switched to using
	cpuopts.h not targopts.h to reduce dependency on BSP.
2000-09-25 18:58:26 +00:00
Joel Sherrill
4b60bd3408 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* machine/types.h, pppd/pppd.h, rtems/rtems_bsdnet_internal.h,
	rtems_webserver/webmain.c: machine/types.h  should not have
	included rtems.h.  It is now including precisely the
	least amount of low level, yet portable .h files to get
	the basic RTEMS types defined.  This rippled into other
	files since rtems_bsdnet_internal.h used machine/types.h to include
	rtems.h.
2000-09-22 20:38:57 +00:00
Joel Sherrill
a74e94a25e 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* src/xdr/xdr_float.c: Added A29K support.
2000-09-22 20:36:49 +00:00
Joel Sherrill
fb327db319 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* libc/newlibc.c: Removed _A29K specific ifdef.
2000-09-22 20:35:12 +00:00
Joel Sherrill
bbfdedd86d 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* amd.ah, cpu.c, cpu_asm.S, register.ah, sig.S, rtems/score/cpu.h:
	Updated and fixed minor things. Commented out offensive assembly
	and made applications link.
2000-09-22 20:34:15 +00:00
Joel Sherrill
d1c8305071 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, cpu_asm.S, psmacro.ah, rtems/score/cpu.h:
	First attempt to compile with GNU tools.  Minor modifications
	to compile enough to get to assembler errors.
2000-09-22 13:59:42 +00:00