Commit Graph

7668 Commits

Author SHA1 Message Date
Jennifer Averett
77c4089f32 2003-08-06 Thomas Doerfler<Thomas.Doerfler@imd-systems.de>
PR 369/filesystem
	* Makefile.am, shell/cmds.c, wrapup/Makefile.am: sample application to
	show the use of the DOSFS functions
	* fsmount/Makefile.am, fsmount/README, fsmount/fsmount.c,
	fsmount/fsmount.h: New files.
2003-08-06 21:55:47 +00:00
cvs2git
a97ee41919 This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-08-06 19:20:52 UTC Jennifer Averett <Jennifer.Averett@OARcorp.com> '2003-08-06	Thomas Doerfler<Thomas.Doerfler@imd-systems.de>':
    c/src/tests/samples/fileio/Makefile.am
    c/src/tests/samples/fileio/fileio.doc
    c/src/tests/samples/fileio/init.c
    c/src/tests/samples/fileio/system.h
    cpukit/libmisc/fsmount/Makefile.am
    cpukit/libmisc/fsmount/README
    cpukit/libmisc/fsmount/fsmount.c
    cpukit/libmisc/fsmount/fsmount.h
Cherrypick from master 2003-06-18 15:15:48 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2003-06-18	Ralf Corsepius <corsepiu@faw.uni-ulm.de>':
    bootstrap
    config.sub
2003-08-06 19:20:53 +00:00
Jennifer Averett
e8f496809f 2003-08-06 Till Strauman <strauman@slac.stanford.edu>
PR 435/networking
	* rtems/rtems_showifstat.c: rtems_showifstat misses printing
	the netmask
2003-08-06 14:44:28 +00:00
Jennifer Averett
ca15cda0f2 2003-08-05 <djc915@mail.usask.ca>
PR 443/filesystem
	* src/imfs/deviceio.c: deviceio.c mishandles return codes
2003-08-05 20:25:02 +00:00
Jennifer Averett
3605c4eb22 2003-08-05 Till Strauman <strauman@slac.stanford.edu>
PR 437/bsps
	* irq/irc.c: calls to bspIo/printk must not use '%i' format which is
	apparently not supported
        * pci/pci.c: calls to bspIo/printk must not use '%i' format which is
	apparently not supported
2003-08-05 19:54:27 +00:00
Jennifer Averett
10ec9ae7f7 2003-08-05 Till Strauman <strauman@slac.stanford.edu>
PR 436/rtems_misc
	* monitor/mon-monitor.c: monitor registered commands list manipulation bugs
2003-08-05 19:06:56 +00:00
Jennifer Averett
8ae3c6e833 Fixed Changelog comments. 2003-08-05 16:02:50 +00:00
Jennifer Averett
f114f9d03c 2003-08-05 Till Strauman <strauman@slac.stanford.edu>
PR 442/filesystem
	* src/open.c: file never closed if ftruncate() fails in open()
2003-08-05 15:54:28 +00:00
Jennifer Averett
e53906487f 2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 439/filesystem
	*src/dosfs/fat_file.c: flush temporary buffer when closing files
2003-08-05 14:50:07 +00:00
Jennifer Averett
b008fdc5c1 2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 441/filesystem
	*src/dosfs/msdos.h: add rename support to DOSFS
	*src/dosfs/msdos_create.c: add rename support to DOSFS
	*src/dosfs/msdos_file.c: add rename support to DOSFS
	*src/dosfs/msdos_init.c: add rename support to DOSFS
	*src/dosfs/msdos_mknod.c: add rename support to DOSFS
2003-08-05 14:16:22 +00:00
Jennifer Averett
c213219ab9 2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 441/filesystem
	*src/dosfs/msdos.h: add rename support to DOSFS
	*src/dosfs/msdos_create.c: add rename support to DOSFS
	*src/dosfs/msdos_file.c: add rename support to DOSFS
	*src/dosfs/msdos_init.c: add rename support to DOSFS
	*src/dosfs/msdos_mknod.c: add rename support to DOSFS
2003-08-05 14:08:04 +00:00
Joel Sherrill
d5fa273e0e 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 288/rtems
	* support/new_exception_processing/cpu.c: _ISR_Nest_level is now
	properly maintained and does not reside in SPRG0.
2003-07-23 18:07:04 +00:00
Joel Sherrill
36e95a8703 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 288/rtems
	* rtems/new-exceptions/cpu.h: _ISR_Nest_level is now properly
	maintained and does not reside in SPRG0.
2003-07-18 17:23:40 +00:00
Joel Sherrill
b997f52a40 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 288/rtems
	* irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
	maintained and any BSP which does not do so will trip a panic in the
	shared code.
2003-07-18 17:22:33 +00:00
Joel Sherrill
89304265b9 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 288/rtems
	* startup/bspstart.c: _ISR_Nest_level is now properly maintained.
2003-07-18 17:21:54 +00:00
Joel Sherrill
adc5f630f2 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 288/rtems
	* irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
	maintained.
2003-07-18 17:21:27 +00:00
Joel Sherrill
bf939b0c02 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 415/bsps
	* pci/detect_raven_bridge.c, startup/bspstart.c:
	This patch reverts enabling MCP interrupts for the motorola_powerpc
	BSPs. REASON: pci config space scanning (as e.g. done by the DEC
	Ethernet driver) would raise machine check exceptions.
2003-07-18 17:05:39 +00:00
Joel Sherrill
552af999ba 2003-07-18 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 429/bsps
	PR 432/bsps
	* network/elnk.c: Due to a bug in the driver, if multiple packets
	are queued onto an elnk board, the ISR will deadlock the device with
	a tx complete interrupt.  Lighter tx loads are not affected as they
	end up submitting single packets to the device.
2003-07-18 15:52:07 +00:00
Joel Sherrill
734d1c5da8 2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 428/bsps
	PR 432/bsps
	* pci/pcibios.c, pci/pcibios.h: Added BSP_pci_Find_Device() which
	is copied from motorola_shared.
2003-07-18 15:51:38 +00:00
Joel Sherrill
367a0e2089 2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 428/bsps
	PR 432/bsps
	* bootloader/pci.c: Re-instated code that prevents remapping small
	IO regions, which if remapped would cause i8259 registers to move
	out from under the #define'd base addresses.
	* startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
	megs, I incorrectly had extended it which would cause problems with
	PCI devices that defined prefetchable memory.
2003-07-18 15:48:54 +00:00
Joel Sherrill
cfc257fcb6 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 430/rtems
	* include/rtems/score/watchdog.h: _Watchdog_Ticks_since_boot should
	be a VOLATILE variable.
	* src/watchdoginsert.c: 'restart' algorithm needs to enforce
	reloading the list head in case a TICK interrupt during ISR_Flash()
	modified the list.  This is achieved by a proper VOLATILE cast.
	Also _Watchdog_Sync_count++ should be protected by _ISR_Disable
	(prevent corruption in case ISR calls watchdoginsert)
	* src/watchdogadjust.c: ISR protection added.
	* src/watchdogtickle.c: ISR protection added.
	NOTE: PowerPC BSPs using the new exception processing MUST BE UPDATED
	to maintain _ISR_Nest_level. See also PR288 which provides fixes
	for the affected BSPs distributed with RTEMS.
2003-07-18 14:47:36 +00:00
Joel Sherrill
8f51fa52e2 2003-07-18 Joel Sherrill <joel@OARcorp.com>
PR 426/ada
	* configure.ac, samples/Makefile.am: Remove base_mp from 4.6 branch.
	* samples/base_mp/.cvsignore, samples/base_mp/Makefile.am,
	samples/base_mp/config.h, samples/base_mp/mptest.adb,
	samples/base_mp/mptest.ads, samples/base_mp/node1/.cvsignore,
	samples/base_mp/node1/Makefile.am, samples/base_mp/node1/base_mp.scn,
	samples/base_mp/node2/.cvsignore, samples/base_mp/node2/Makefile.am,
	samples/base_mp/node2/base_mp.scn: Removed.
2003-07-18 14:22:14 +00:00
Joel Sherrill
de65a87536 Fixed formatting so scripts work. 2003-07-18 14:14:40 +00:00
Ralf Corsepius
0333258449 2003-07-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/rdbg.c: Use memset instead of bzero (deprecated).
	* src/servtsp.c: Ditto.
2003-07-18 05:21:40 +00:00
Joel Sherrill
c4abc88385 2003-07-17 Joel Sherrill <joel@OARcorp.com>
PR 433/tools
	* mips-stub.c: Patch from C. M. Heard <heard@pobox.com> described as:

	The purpose of the patch is to make the stub ignore all
	characters except '+' (ack) or '-' (nak) when it has transmitted a
	packet and expects an acknowledgment. Without the patch,
	putpacket() will retransmit each time it receives anything other
	than '+' when expecting an ack, and that, bitter experience has
	found, frequently results in the stub failing to sync up when
	initially attaching to gdb.

	I think that rtems users will notice significant improvement in
	the of the mips stub if this patch is incorporated in the
	distribution; certainly I did in my stand-aline environment. I
	should hasten to add that it is only an improvement and not a 100%
	cure for synchronization problems because '+' characters can (and
	do) during as message data, and it's still possible for these to
	be mistaken as acks. I have no idea how to fix that short of
	redesigning the gdb-remote protocol.
2003-07-17 21:59:00 +00:00
Joel Sherrill
4c29889520 2003-07-17 Joel Sherrill <joel@OARcorp.com>
PR 425/ada
	* Makefile.am, configure.ac, sptests/Makefile.am: Remove all Ada tests
	that do not build from 4.6 branch.
	* mptests/.cvsignore, mptests/Makefile.am, mptests/mp01/.cvsignore,
	mptests/mp01/Makefile.am, mptests/mp01/config.h,
	mptests/mp01/mp01.adb, mptests/mp01/mptest.adb,
	mptests/mp01/mptest.ads, mptests/mp01/node1/.cvsignore,
	mptests/mp01/node1/Makefile.am, mptests/mp01/node1/mp01.scn,
	mptests/mp01/node2/.cvsignore, mptests/mp01/node2/Makefile.am,
	mptests/mp01/node2/mp01.scn, mptests/mp02/.cvsignore,
	mptests/mp02/mptest.adb, mptests/mp02/mptest.ads,
	mptests/mp02/node1/.cvsignore, mptests/mp02/node1/mp02.scn,
	mptests/mp02/node2/.cvsignore, mptests/mp02/node2/mp02.scn,
	mptests/mp03/.cvsignore, mptests/mp03/mptest.adb,
	mptests/mp03/mptest.ads, mptests/mp03/node1/.cvsignore,
	mptests/mp03/node1/mp03.scn, mptests/mp03/node2/.cvsignore,
	mptests/mp03/node2/mp03.scn, mptests/mp04/.cvsignore,
	mptests/mp04/mptest.adb, mptests/mp04/mptest.ads,
	mptests/mp04/node1/.cvsignore, mptests/mp04/node1/mp04.scn,
	mptests/mp04/node2/.cvsignore, mptests/mp04/node2/mp04.scn,
	mptests/mp05/.cvsignore, mptests/mp05/mptest.adb,
	mptests/mp05/mptest.ads, mptests/mp05/node1/.cvsignore,
	mptests/mp05/node1/mp05.scn, mptests/mp05/node2/.cvsignore,
	mptests/mp05/node2/mp05.scn, mptests/mp06/.cvsignore,
	mptests/mp06/mptest.adb, mptests/mp06/mptest.ads,
	mptests/mp06/node1/.cvsignore, mptests/mp06/node1/mp06.scn,
	mptests/mp06/node2/.cvsignore, mptests/mp06/node2/mp06.scn,
	mptests/mp07/.cvsignore, mptests/mp07/mptest.adb,
	mptests/mp07/mptest.ads, mptests/mp07/node1/.cvsignore,
	mptests/mp07/node1/mp07.scn, mptests/mp07/node2/.cvsignore,
	mptests/mp07/node2/mp07.scn, mptests/mp08/.cvsignore,
	mptests/mp08/mptest.adb, mptests/mp08/mptest.ads,
	mptests/mp08/node1/.cvsignore, mptests/mp08/node1/mp08.scn,
	mptests/mp08/node2/.cvsignore, mptests/mp08/node2/mp08.scn,
	mptests/mp09/.cvsignore, mptests/mp09/mptest.adb,
	mptests/mp09/mptest.ads, mptests/mp09/node1/.cvsignore,
	mptests/mp09/node1/mp09.scn, mptests/mp09/node2/.cvsignore,
	mptests/mp09/node2/mp09.scn, mptests/mp10/.cvsignore,
	mptests/mp10/mptest.adb, mptests/mp10/mptest.ads,
	mptests/mp10/node1/.cvsignore, mptests/mp10/node1/mp10.scn,
	mptests/mp10/node2/.cvsignore, mptests/mp10/node2/mp10.scn,
	mptests/mp11/.cvsignore, mptests/mp11/mptest.adb,
	mptests/mp11/mptest.ads, mptests/mp11/node1/.cvsignore,
	mptests/mp11/node1/mp11.scn, mptests/mp11/node2/.cvsignore,
	mptests/mp11/node2/mp11.scn, mptests/mp12/.cvsignore,
	mptests/mp12/mptest.adb, mptests/mp12/mptest.ads,
	mptests/mp12/node1/.cvsignore, mptests/mp12/node1/mp12.scn,
	mptests/mp12/node2/.cvsignore, mptests/mp12/node2/mp12.scn,
	mptests/mp13/.cvsignore, mptests/mp13/mptest.adb,
	mptests/mp13/mptest.ads, mptests/mp13/node1/.cvsignore,
	mptests/mp13/node1/mp13.scn, mptests/mp13/node2/.cvsignore,
	mptests/mp13/node2/mp13.scn, mptests/mp14/.cvsignore,
	mptests/mp14/mptest.adb, mptests/mp14/mptest.ads,
	mptests/mp14/node1/.cvsignore, mptests/mp14/node1/mp14.scn,
	mptests/mp14/node2/.cvsignore, mptests/mp14/node2/mp14.scn: Removed.
2003-07-17 20:14:56 +00:00
Ralf Corsepius
8bf968925d 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/multi.m4: Don't add --enable-multilib.
	Rename AC_ENABLE_MULTILIB into AM_ENABLE_MULTILIB.
	Increment serial to 103 (automake's multi.m4 version + 100).
	* configure.ac: Use AM_ENABLE_MULTILIB instead of
	AC_ENABLE_MULTILIB.

2003-07-03	Joel Sherrill <joel@OARcorp.com>

	* aclocal/version.m4: Updated to rtems-4.6.0pre4.
2003-07-15 14:31:18 +00:00
Ralf Corsepius
e4bfc9760a 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config-ml.in: Partial sync with gcc-3.4's config-ml.in.
	Add "autoconf-2.5x unquoting" hack.
2003-07-15 14:26:44 +00:00
Chris Johns
4a33e89691 PR431. MSDOS Volume semaphore timeout is now NO TIMEOUT. MSDOS volume opertations will wait for ever. 2003-07-14 23:19:00 +00:00
Chris Johns
a075bd7ed6 MSDOS Volume semaphore timeout is now NO TIMEOUT. MSDOS volume opertations will wait for ever. 2003-07-14 23:11:50 +00:00
Ralf Corsepius
9a9b17d0ba Merger from trunk 2003-07-09 10:26:23 +00:00
Ralf Corsepius
a4b8cd020c Merger from trunk 2003-07-09 10:17:48 +00:00
Joel Sherrill
cd9dac06f6 2003-07-08 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Correct typo.
2003-07-08 17:17:53 +00:00
Joel Sherrill
6a8bab6a69 2003-07-08 Joel Sherrill <joel@OARcorp.com>
PR 418/ada
	* rtems.adb: Add missing all keyword to derefence pointer.
2003-07-08 16:38:46 +00:00
Joel Sherrill
581a89ed79 2003-07-08 Joel Sherrill <joel@OARcorp.com>
PR 416/bsps
	* ppc403/ictrl/ictrl.c (ictrl_isr): We acknolwegde the interrupt in
	interrupt controller (clr_exisr(mask)) before calling the interrupt
	handler that will acnowledge the interrupt source. This results in
	the interrupt beeing seen a second time by the interrupt controller.
	Reported and fixed by El Kolli Yacine <yacine.elkolli@crf.canon.fr>.
2003-07-08 16:09:24 +00:00
Joel Sherrill
b7d37d6e28 2003-07-08 Joel Sherrill <joel@OARcorp.com>
PR 419/rtems
	* src/termios.c: Removed warning.
2003-07-08 15:28:40 +00:00
Ralf Corsepius
bf7d076d0c 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/fat.c: include config-header "config.h".
	* src/dosfs/fat_fat_operations.c: Ditto.
	* src/dosfs/fat_file.c: Ditto.
	* src/dosfs/msdos_conv.c: Ditto.
2003-07-08 08:58:02 +00:00
Ralf Corsepius
b9e230a278 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/capture-cli.c: Add config-header support.
	* capture/capture.c: Add config-header support.
	* cpuuse/cpuuse.c: Add config-header support.
	* devnull/devnull.c: Add config-header support.
	* dummy/dummy.c: Add config-header support.
	* dumpbuf/dumpbuf.c: Add config-header support.
	* monitor/mon-command.c: Add config-header support.
	* monitor/mon-config.c: Add config-header support.
	* monitor/mon-dname.c: Add config-header support.
	* monitor/mon-driver.c: Add config-header support.
	* monitor/mon-extension.c: Add config-header support.
	* monitor/mon-itask.c: Add config-header support.
	* monitor/mon-manager.c: Add config-header support.
	* monitor/mon-monitor.c: Add config-header support.
	* monitor/mon-mpci.c: Add config-header support.
	* monitor/mon-object.c: Add config-header support.
	* monitor/mon-prmisc.c: Add config-header support.
	* monitor/mon-queue.c: Add config-header support.
	* monitor/mon-server.c: Add config-header support.
	* monitor/mon-symbols.c: Add config-header support.
	* monitor/mon-task.c: Add config-header support.
	* mw-fb/mw_fb.c: Add config-header support.
	* mw-fb/mw_uid.c: Add config-header support.
	* rtmonuse/rtmonuse.c: Add config-header support.
	* serdbg/serdbg.c: Add config-header support.
	* serdbg/serdbgio.c: Add config-header support.
	* serdbg/termios_printk.c: Add config-header support.
	* shell/cmds.c: Add config-header support.
	* stackchk/check.c: Add config-header support.
	* untar/untar.c: Add config-header support.
2003-07-08 08:38:15 +00:00
Joel Sherrill
9cde23bcc7 2003-07-03 Joel Sherrill <joel@OARcorp.com>
* SUPPORT: Fix Mark Johannes' email address.
2003-07-07 19:19:19 +00:00
Joel Sherrill
75063f00bc 2003-07-07 Joel Sherrill <joel@OARcorp.com>
PR 417/rtems
	* src/coresemsurrender.c: Correct incorrect check for maximum_count
	reported by Sergei Organov <osv@topconrd.ru>.
2003-07-07 18:03:05 +00:00
Ralf Corsepius
380282933b 2003-07-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_BSP from RTEMS_CHECK_MULTIPROCESSING.
2003-07-07 15:44:54 +00:00
Joel Sherrill
6624214e65 2003-07-03 Joel Sherrill <joel@OARcorp.com>
* VERSION: Updated to rtems-4.6.0pre4.
2003-07-03 15:38:10 +00:00
Joel Sherrill
fefbe6162e 2003-07-03 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-4.6.0pre4.
2003-07-03 15:38:09 +00:00
Joel Sherrill
32e44f36e0 Fixed formatting so scripts work. 2003-07-03 15:37:16 +00:00
Joel Sherrill
b64d50c680 Fixed formatting. 2003-07-02 16:31:06 +00:00
Chris Johns
901c84a986 Patch by Chris Johns <cjohns@cybertec.com.au> adding the rtems_termios_bufsize call. 2003-07-02 14:17:25 +00:00
Chris Johns
8e308413f2 Patch from Victor V. Vengerov <vvv@oktet.ru> to remove Linux code. 2003-07-02 14:04:55 +00:00
Chris Johns
d9c2dce0fd Patch from Victor V. Vengerov <vvv@oktet.ru> to remove Linux code. 2003-07-02 13:58:38 +00:00
Chris Johns
86ca3f8388 Comment have been updated. 2003-07-02 13:55:40 +00:00
Joel Sherrill
fb6d373515 2003-06-30 Joel Sherrill <joel@OARcorp.com>
* console-polled.c: Corrected comments in header.
2003-06-30 18:31:46 +00:00