Commit Graph

1759 Commits

Author SHA1 Message Date
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
Joel Sherrill
5a6ad2a2e9 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/itronsys/Makefile.am: Remove.
	* include/rtems/Makefile.am: Remove.
	* include/rtems/itron/Makefile.am: Remove.
	* inline/rtems/Makefile.am: Remove.
	* inline/rtems/itron/Makefile.am: Remove.
	* macros/rtems/Makefile.am: Remove.
	* macros/rtems/itron/Makefile.am: Remove.
	* include/Makefile.am: handle subdirs.
	* inline/Makefile.am: handle subdirs.
	* macros/Makefile.am: handle subdirs.
	* configure.ac: Reflect changes above.
2001-10-16 13:29:41 +00:00
Joel Sherrill
3bcc0d8913 2001-10-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpu.c: Fix #ifdefs, add missing #endif.
2001-10-15 17:58:07 +00:00
Joel Sherrill
9f6c06322a 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* include/chain.h: Fixed typo.
2001-10-12 21:10:49 +00:00
Joel Sherrill
cc13fa3245 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
2001-10-12 21:03:15 +00:00
Joel Sherrill
57624a1661 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* shared/ppctypes.h: Fixed typo.
2001-10-12 20:57:47 +00:00
Joel Sherrill
2a691da6aa 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* include/rtems/directives.h: Fixed typo.
2001-10-12 20:57:31 +00:00
Joel Sherrill
d7aecdc8f8 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:47:00 +00:00
Joel Sherrill
4d22f1a5b0 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:37:33 +00:00
Joel Sherrill
7d953c2d08 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* asm.h, cpu.c, rtems.c, rtems/score/cpu.h, rtems/score/sh.h,
	rtems/score/sh_io.h, rtems/score/shtypes.h: Consistency changes
	and made sure there were no includes from the libcpu tree.
2001-10-12 17:46:47 +00:00
Joel Sherrill
bc5fc7a6f4 2001-10-12 Alexandra Kossovsky <sasha@oktet.ru>
* cpu.c, rtems/score/cpu.h, rtems/score/sh.h: Modified to
	support SH4.  Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
	who did the original SH port.
2001-10-12 17:40:22 +00:00
Joel Sherrill
f64f18160c 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: _CPU_Context_save_fp in was incorrectly in conditional
	compilation block with (CPU_HARDWARE_FP == FALSE).  Reported by
	Wayne Bullaughey <wayne@wmi.com>.
2001-10-12 17:11:40 +00:00
Joel Sherrill
aee474b0cf 2001-10-12 Mike Siers <mikes@poliac.com>
* Update to stable working state.  Congratulations Mike! :)
	* modem_example: Directory removed.
	* modem_example/16550.h, modem_example/README, modem_example/modem.c,
	modem_example/modem.h, modem_example/ppp.c, modem_example/ppp.h,
	modem_example/pppcompress.c: Files removed.
	* pppd/example/pppd.options: New file.
	* pppd/README, pppd/STATUS, pppd/cbcp.c, pppd/cbcp.h, pppd/chat.c,
	pppd/pppd.h, pppd/rtemsmain.c: Updated.
2001-10-12 13:43:05 +00:00
Joel Sherrill
38db58f82b 2001-10-11 Mike Siers <mikes@poliac.com>
* libc/termios.c: Fixed a memory leak in the termios
	software.  Basically the tty open function was allocating an input
	raw buffer, an output raw buffer, and a cooked buffer that were
	not getting released.  I have attached a patch for the latest
	snapshot.  The patch also has a fix to ensure the tty link list
	is updated correctly when a tty is closed.
2001-10-11 21:21:43 +00:00
Joel Sherrill
df25c9989b 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:36:23 +00:00
Joel Sherrill
6638798649 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:07:37 +00:00
Joel Sherrill
d9b0b86670 2001-10-10 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_getchild.c: Correct length of static string
	as reported by Ibragimov Ilya <ibr@oktet.ru>.
2001-10-11 13:16:24 +00:00
Joel Sherrill
ceead58b56 2001-10-10 Joel Sherrill <joel@OARcorp.com>
* libc/printk.c (printNum): Properly handle a maxwidth of 0
	as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
2001-10-10 18:42:07 +00:00
Joel Sherrill
d805c4961d 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* dummy/dummy.c: Now a useful configuration that starts main().
	* wrapup/Makefile.am: Include a base level configuration in
	RTEMS library.
2001-09-28 23:15:51 +00:00
Joel Sherrill
194b5c708d 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* src/mqueueopen.c, src/semopen.c: Clarify type on va_arg.
2001-09-28 23:14:08 +00:00
Joel Sherrill
0387547451 2001-09-27 Jiri Gaisler <jiri@gaisler.com>
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
	bug has been there all the time, but only hits the leon bsp since the
	leon cpu has a 5-stage pipeline (erc32 has 4 stages).
2001-09-28 14:09:41 +00:00
Joel Sherrill
0e053e83ae 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* include/Makefile.am: Use 'PREINSTALL_FILES ='.
	* inline/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* macros/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:36:26 +00:00
Joel Sherrill
3f56f22c7f 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
	* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
	* macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:36:12 +00:00