Commit Graph

1479 Commits

Author SHA1 Message Date
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
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
bfac6a7577 2000-10-18 Chris Johns <ccj@acm.org>
* libfs created.
	* libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
	libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
	libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
	libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
	libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
	libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
	libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
	libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
	libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
	libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
	libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
	Moved to libfs/src/imfs.
	* Makefile.am: Modified to reflect above.
2000-10-18 16:53:57 +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
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
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
Joel Sherrill
2c6a049139 2000-09-20 Joel Sherrill <joel@OARcorp.com>
* src/objectgetbyindex.c: Do not enable dispatching on an
	error path it was not disabled on.
2000-09-20 13:27:01 +00:00
Joel Sherrill
a4e45452c3 2000-09-12 Joel Sherrill <joel@OARcorp.com>
* rtems/score/i386.h: Corrected "#elsif" to be "#elif".
2000-09-12 20:51:59 +00:00
Joel Sherrill
9d4dacc8a0 2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use += to set up AM_CPPFLAGS.
2000-09-12 12:51:20 +00:00
Joel Sherrill
5fa62fc47e 2000-09-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/rtems/Makefile.am: Use PROJECT_TOPdir in path to size_rtems.
2000-09-06 15:32:10 +00:00
Joel Sherrill
93175058d7 2000-09-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/Makefile.am: Use PROJECT_TOPdir in path to genoffsets.
2000-09-06 15:30:37 +00:00
Joel Sherrill
4e41273c71 2000-09-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/Makefile.am: Use PROJECT_TOPdir in path to gensize.
2000-09-06 15:30:23 +00:00
Joel Sherrill
6e3f4b2ed1 2000-09-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ChangeLog: Cleanup.
2000-09-06 15:29:02 +00:00
Joel Sherrill
7f2c3e381a 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/rpc/Makefile.am, src/xdr/Makefile.am: Include compile.am
2000-09-05 16:08:02 +00:00
Joel Sherrill
9b28bea577 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am, lib/Makefile.am, libc/Makefile.am,
	net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am,
	pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am,
	rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
2000-09-05 16:07:35 +00:00
Joel Sherrill
9eb89a1ed7 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/Makefile.am: Include compile.am
2000-09-05 16:04:13 +00:00
Joel Sherrill
bdcf02d460 2000-09-05 Joel Sherrill <joel@OARcorp.com>
* rtems/rtems_syscall.c: Changed from O_NONBLOCK to internal
	RTEMS_LIBIO_FLAGS_NO_DELAY to avoid O_NONBLOCK/O_NDELAY confusion
	and to work with the converted flags.
2000-09-05 15:47:44 +00:00
Joel Sherrill
5a9a5ecbc5 2000-09-05 Joel Sherrill <joel@OARcorp.com>
* libio.c: Added O_NONBLOCK to list of flags.
2000-09-05 15:46:02 +00:00
Joel Sherrill
d7118fd9f5 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am.
2000-09-05 15:38:09 +00:00
Joel Sherrill
e09c1b7129 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am, formatting.
	* rtems/Makefile.am: formatting.
	* rtems/score/Makefile.am: formatting.
2000-09-05 15:36:13 +00:00
Joel Sherrill
e2b3b5d6b9 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am, remove duplicate includes.
2000-09-05 15:35:59 +00:00