Commit Graph

1746 Commits

Author SHA1 Message Date
Joel Sherrill
e6dc43dac4 2001-12-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use RTEMS_ENV_RTEMSCPU.
2001-12-20 17:32:10 +00:00
Joel Sherrill
b804d632c0 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
	add casts to Objects_Id in _Objects_Build_ids to avoid implicit
	typecasts from enum to int16 on bit16 targets (here: h8300).
2001-12-20 17:30:18 +00:00
Joel Sherrill
2539cdcd28 2001-12-18 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Allow chdir() to work on TFTP `directories'
	(path names with a / at the end) while disallowing open() operations
	on TFTP `directories'.
2001-12-19 18:11:07 +00:00
Joel Sherrill
989b9383f8 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/posix/Makefile.am: Add multilib support.
	* wrapup/itron/Makefile.am: Add multilib support.
	* wrapup/rtems/Makefile.am: Add multilib support.
	* Makefile.am: Add multilib support.
2001-12-19 14:37:05 +00:00
Joel Sherrill
ca837f8ac6 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Add multilib support.
2001-12-19 14:36:53 +00:00
Joel Sherrill
d8c7657414 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Add multilib support.
	* optman/Makefile.am: Add multilib support.
2001-12-19 14:36:48 +00:00
Joel Sherrill
e9718415b4 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add multilib support.
2001-12-19 14:36:28 +00:00
Joel Sherrill
624c881ae0 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* optman/Makefile.am: Add multilib support.
	* src/Makefile.am: Add multilib support.
2001-12-19 14:35:14 +00:00
Joel Sherrill
9201e6bdaf 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* optman/Makefile.am: Add multilib support. Remove ASM4FLAGS.
	* src/Makefile.am: Add multilib support.
2001-12-19 14:34:59 +00:00
Joel Sherrill
7e950a4420 2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* asm.h: include cpuopts.h instead of targopts.h
	* rtems/score/arm.h: Use __arm__.
2001-12-18 14:09:49 +00:00
Joel Sherrill
86d9ca28ed 2001-12-07 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Restore write capability.
2001-12-07 12:59:12 +00:00
Joel Sherrill
c43d7bd117 2001-11-30 Jennifer Averett <jennifer@OARcorp.com>
This was tracked as PR88.
	* libc/scandir.c: Fixed to perform cleanup on error conditions.
2001-11-30 12:03:15 +00:00
Joel Sherrill
89ee0b6936 2001-11-28 Joel Sherrill <joel@OARcorp.com>,
This was tracked as PR91.
	* include/rtems/score/isr.h, inline/rtems/score/isr.inl,
	macros/rtems/score/isr.inl: Modified to allow any port to provide
	its own implementation of the macro _ISR_Is_in_progress.  If the
	port overrides this macro, it must provide a non-inlined function
	implementation.
2001-11-28 18:28:24 +00:00
Joel Sherrill
4db3028304 2001-11-28 Joel Sherrill <joel@OARcorp.com>,
This was tracked as PR91.
	* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
	is used to specify if the port uses the standard macro for this (FALSE).
	A TRUE setting indicates the port provides its own implementation.
2001-11-28 18:16:00 +00:00
Joel Sherrill
75ad73760f 2001-11-28 Joel Sherrill <joel@OARcorp.com>,
This was tracked as PR91.
	* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
	is used to specify if the port uses the standard macro for this (FALSE).
	A TRUE setting indicates the port provides its own implementation.
	* rtems/score/c_isr.inl: Deleted and contents merged into cpu.c.
	* cpu.c: Received contents of c_isr.inl.
	* Makefile.am: Deleted reference to c_isr.inl.
2001-11-28 18:15:51 +00:00
Joel Sherrill
c1b61c5906 2001-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Remove HAS_IMFS.
2001-11-28 00:24:29 +00:00
Joel Sherrill
f667aaecf0 2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Cleanup.
2001-11-26 14:34:09 +00:00
Joel Sherrill
4efd0f6610 2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* arpa/Makefile.am: Remove stray lines.
2001-11-26 14:34:00 +00:00
Joel Sherrill
a862d15b19 2001-11-20 Joel Sherrill <joel@OARcorp.com>
* support/new_exception_processing/configure.ac,
	support/new_exception_processing/rtems/score/c_isr.inl,
	support/new_exception_processing/rtems/score/cpu.h,
	support/old_exception_processing/configure.ac,
	support/old_exception_processing/rtems/score/c_isr.inl,
	support/old_exception_processing/rtems/score/cpu.h,
	support/old_exception_processing/rtems/score/ppc_offs.h: New files
	missed in previous commit.
2001-11-20 20:53:39 +00:00
Joel Sherrill
94ab166c67 2001-11-20 Joel Sherrill <joel@OARcorp.com>
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
	invoke the global constructors via __main.  Reported as tested by
	Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
	<vvv@oktet.ru> in conjunction with a new set of tool RPMs
	(gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
2001-11-20 18:22:35 +00:00
Joel Sherrill
ffcb102fd9 2001-11-14 Joel Sherrill <joel@OARcorp.com>
* shared/ppc.h: The mpc8260 uses the new exception processing model
	and thus does not need to define PPC_USE_SPRG.
2001-11-14 20:45:36 +00:00
Joel Sherrill
2b5c094f1c 2001-11-14 Andrew Dachs <A.Dachs@SSTL.co.uk>
* shared/ppc.h: mpc8260 has double FPU not single FPU.
2001-11-14 20:16:53 +00:00
Joel Sherrill
95e0ca9337 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* shared/asm.h, shared/ppc.h: Added PPC405 support.
2001-11-08 23:32:59 +00:00
Joel Sherrill
47901d84b3 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR49.
	*  src/imfs/imfs_directory.c: Do not calculate the offset twice.
2001-11-08 00:24:55 +00:00
Joel Sherrill
bc2db66fcb 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
	* libc/chdir.c: Check for search/execute permissions on chdir.
	This requires passing RTEMS_LIBIO_PERMS_SEARCH to
	rtems_filesystem_evaluate_path().
2001-11-07 23:54:59 +00:00
Joel Sherrill
4afc28ad11 2001-11-07 Joel Sherrill <joel@OARcorp.com>
Discovered while fixing PR36 reported by Todor.Todorov@barco.com.
	* include/rtems/itron/object.h: Corrected _ITRON_Objects_Get()
	to use _Objects_Get_by_index().
2001-11-07 22:54:43 +00:00
Joel Sherrill
c31c15c16c 2001-11-07 Joel Sherrill <joel@OARcorp.com>
Reported by Todor.Todorov@barco.com and tracked as PR36.
	* include/rtems/score/object.h: Added prototype for
	_Objects_Get_by_index().
	* src/objectget.c, src/objectgetisr.c: Corrected procedure for
	getting index from Id so it is correct and optimal for both single
	and multiprocessor configurations.
2001-11-07 22:42:04 +00:00
Joel Sherrill
fa2f979000 2001-10-26 Victor V. Vengerov <vvv@oktet.ru>
* src/imfs/imfs_load_tar.c: Minor modification so this will
	compile with gcc-2.95.3 with the arguments "-m5200 -O4".
2001-10-26 19:40:07 +00:00
Joel Sherrill
1e4968e4d7 2001-10-26 Joel Sherrill <joel@OARcorp.com>
* libc/libio.c: Cleanup of initialization per suggestion from
	Eric Norum.
2001-10-26 19:22:03 +00:00
Joel Sherrill
9c30d6a9a6 2001-10-25 Jennifer Averett <jennifer@OARcorp.com>
* libc/unmount.c: Primarily restructuring and clean up to address
	procedures which did not do what their name implied.  Also addressed
	problem situation where unmount fails and the filesystem was
	inconsistent.  The mounted filesystem could have been left hanging.
2001-10-25 17:41:07 +00:00
Joel Sherrill
1af7963479 2001-10-25 Jennifer Averett <jennifer@OARcorp.com>
* libc/libio.c: Initialize more fields to NULL/0 during initialiation.
	* include/rtems/libio_.h: Fix freenode macro so it works for sockets
	which do not have the full set of filesystem operations and are
	initialized via something other than open().
2001-10-25 17:38:55 +00:00
Joel Sherrill
23d0e0c891 2001-10-23 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/rtems/asr.nil: Fixed typo.
2001-10-23 20:48:36 +00:00
Joel Sherrill
21a369d4a6 2001-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* macros/Makefile.am: Replace INLINES w/ MACROS (Fix stupid typo in
	previous patch).
2001-10-23 20:22:35 +00:00
Joel Sherrill
3ac78af928 2001-10-22 Andy Dachs <a.dachs@sstl.co.uk>
* shared/ppc.h: Added mpc8260 support.
2001-10-22 13:45:15 +00:00
Joel Sherrill
6244ab4e0f 2001-10-22 Joel Sherrill <joel@OARcorp.com>
* src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
	pollutes the application namespace.
2001-10-22 11:55:44 +00:00
Joel Sherrill
0c40eb3064 2001-10-18 Till Straumann <strauman@SLAC.Stanford.EDU>
* libc/open.c, libc/close.c:  Moved freenode from open to
	  close.
2001-10-19 17:37:24 +00:00
Joel Sherrill
dfe5a4e353 2001-10-18 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Properly handles ../ components in chdir() and
	open() operations within the TFTP file system.
2001-10-18 18:48:55 +00:00
Joel Sherrill
efb5450a87 2001-10-17 Till Straumann <strauman@SLAC.Stanford.EDU>
* These changes were discussed and reviewed by many people but the
	primary people were Jennifer Averett <jennifer@OARcorp.com>
	and Eugeny Mints <jack@oktet.ru>.
        * libc/utime.c: Add missing call to rtems_filesystem_freenode()
	at verification that utime is supported by the filesystem.
        * libc/link.c: Remove calls to freenode when the node was
	not successfully allocated.
        * libc/unmount.c: In the method file_systems_below_this_mountpoint()
	added calls to correctly free fs_root_loc when a failure occurs.
	* libc/open.c: Add freenode calls upon failure.
	* libc/open.c, lib/libc/close.c: (PENDING -- NOT INCLUDED THIS TIMER)
	Modifications the move the freenode from open() to close() (also part
	of this patch) are pending further discussion.
2001-10-17 17:57:42 +00:00
Joel Sherrill
7660ccd8fc 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use RTEMS_CPU_SUBDIRS to make autoconf-2.52 happy.
2001-10-17 13:12:45 +00:00
Joel Sherrill
6cbc30609b 2001-10-16 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Add stamp-h.in.
2001-10-17 13:12:44 +00:00
Joel Sherrill
4ef484fed4 2001-10-16 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Add stamp-h.in.
2001-10-17 13:11:28 +00:00
Joel Sherrill
f11615f156 2001-10-16 Joel Sherrill <joel@OARcorp.com>
* include/Makefile.am: Fixed path to cpuopts-tmp.h.
2001-10-17 13:10:28 +00:00
Joel Sherrill
8670008cb1 2001-10-16 Chris Johns <ccj@acm.org>
* imfs/imfs_load_tar.c: Changed the code around to remove an
	internal compiler error on the Coldfire target.
2001-10-16 19:06:11 +00:00
Joel Sherrill
059a371409 2001-10-16 Chris Johns <ccj@acm.org>
* include/confdefs.h, include/rtems/config.h, include/rtems/io.h,
	optman/no-io.c, src/exinit.c, src/io.c: Added a device driver
	register/unregister interface to allow device drivers to be
	installed and removed at runtime. This means you do not need devices
	present in the device table when you build.
2001-10-16 19:05:29 +00:00
Joel Sherrill
49ed8e7758 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/zilog/Makefile.am: Remove.
	* include/motorola/Makefile.am: Remove.
	* include/sys/Makefile.am: Remove.
	* include/rtems/Makefile.am: Remove.
	* include/Makefile.am: Handle subdirs, require automake-1.5
	* Makefile.am: Require automake-1.5.
2001-10-16 18:50:03 +00:00
Joel Sherrill
81d4759187 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AC_CONFIG_SUBDIRS for posix and itron.
	Reflect changes to configuration of rtems, score and sapi subdirs.
2001-10-16 13:31:45 +00:00
Joel Sherrill
fc56625171 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am: Remove.
	* include/rtems/rtems/Makefile.am: Remove.
	* include/Makefile.am: Handle subdirs, require automake-1.5.
	* inline/rtems/Makefile.am: Remove.
	* inline/rtems/rtems/Makefile.am: Remove.
	* inline/Makefile.am: Handle subdirs, require automake-1.5.
	* macros/rtems/Makefile.am: Remove.
	* macros/rtems/rtems/Makefile.am: Remove.
	* macros: Handle subdirs, require automake-1.5.
	* Makefile.am: require automake-1.5.
2001-10-16 13:31:30 +00:00
Joel Sherrill
a11e5d35cd 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am: Remove.
	* include/Makefile.am: Handle subdirs, require automake-1.5.
	* inline/rtems/Makefile.am: Remove.
	* inline/Makefile.am: Handle subdirs, require automake-1.5.
	* macros/rtems/Makefile.am: Remove.
	* Makefile.am: require automake-1.5.
2001-10-16 13:31:15 +00:00
Joel Sherrill
ff61414ac8 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am: Remove.
	* include/rtems/Makefile.am: Remove.
	* include/Makefile.am: Handle subdirs, require automake-1.5.
	* macros/rtems/Makefile.am: Remove.
	* macros/rtems/score/Makefile.am: Remove.
	* macros/Makefile.am: Handle subdirs, require automake-1.5.
	* inline/rtems/Makefile.am: Remove.
	* inline/rtems/score/Makefile.am: Remove.
	* inline/Makefile.am: Handle subdirs, require automake-1.5.
	* Makefile.am: require automake-1.5
2001-10-16 13:30:52 +00:00
Joel Sherrill
5be35eecb4 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/sys/Makefile.am: Remove.
	* include/rtems/Makefile.am: Remove.
	* include/rtems/posix/Makefile.am: Remove.
	* include/Makefile.am: Handle subdirs.
	* inline/rtems/Makefile.am: Remove.
	* inline/rtems/posix/Makefile.am: Remove.
	* inline/Makefile.am: Handle subdirs.
	* macros/rtems/Makefile.am: Remove.
	* macros/rtems/posix/Makefile.am: Remove.
	* macros/Makefile.am: Handle subdirs.
	* configure.ac: Reflect changes above.
2001-10-16 13:30:22 +00:00