Commit Graph

18955 Commits

Author SHA1 Message Date
Joel Sherrill
031b57caa3 2009-10-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* cpukit/sapi/include/rtems/io.h: Documentation.
	* cpukit/sapi/src/ioregisterdriver.c: Call from interrupt context is
	an error.
	* cpukit/sapi/src/iounregisterdriver.c: Disable preemption during
	critical section.
2009-10-09 13:46:39 +00:00
Joel Sherrill
bbf6253a77 2009-10-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp40/init.c, sp40/sp40.doc, sp40/sp40.scn: New test cases.

	* spintrcritical09/init.c, spintrcritical10/init.c,
	spintrcritical11/init.c: Fixed potentially infinite loops.
2009-10-09 13:43:36 +00:00
Thomas Doerfler
4ee2c53f01 Makefile.am: Added interrupt server. 2009-10-09 13:00:08 +00:00
Ralf Corsepius
0c9bb8ad66 Regenerate. 2009-10-09 04:20:09 +00:00
Ralf Corsepius
b85a6f5501 Preps for gcc-4.4.2. 2009-10-09 04:17:52 +00:00
Ralf Corsepius
365dd6265f Regenerate. 2009-10-09 04:13:49 +00:00
Ralf Corsepius
627e28add0 Bump GDB_RPMREL. 2009-10-09 04:13:31 +00:00
Ralf Corsepius
7ba21a9bc4 New. 2009-10-09 04:05:25 +00:00
Ralf Corsepius
deebd0c05c Housekeeping. 2009-10-09 04:04:27 +00:00
Ralf Corsepius
301c09d303 Housekeeping. 2009-10-09 03:53:42 +00:00
Chris Johns
8e686a2448 2009-10-09 Chris Johns <chrisj@rtems.org>
* libmisc/shell/main_mknod.c: Fixed build problem with networking
        disabled.
2009-10-08 21:31:40 +00:00
Thomas Doerfler
578e6fe20d * mcf5282/include/mcf5282.h: add missing (x) params to four macros, added paranthesis around usage of x in some macros 2009-10-08 16:36:22 +00:00
Chris Johns
7357f5665b 2009-10-08 Chris Johns <chrisj@rtems.org>
* libchip/ide/ata.c, c/src/libchip/ide/ata_internal.h: Remove the
        multiblock support from the ATA driver. Multiblock at the disk
        level should not be a global policy as a disk may have more than
        one partition with different block sizes. An IDE driver could
        decide to use the feature with DMA but this a driver specific
        design choice. Fixed bugs relating to variable block sizes and
        large block transfer.
        * c/src/libchip/ide/ide_controller.c,
        c/src/libchip/ide/ide_ctrl_cfg.h, c/src/libchip/ide/ide_ctrl_io.h:
        Changed the block size to 32bits so blocks of 64K or bigger can be
        transfered in a single driver call.
2009-10-08 07:25:15 +00:00
Chris Johns
c1fc5d4709 2009-10-08 Chris Johns <chrisj@rtems.org>
* ide/ide.c: Fixed more IDE driver bugs. The driver can transfer
        64K in a single write on my test PC and qemu with this driver. The
        driver only checks the data ready bit at the start of each 512
        block being transfered. This has speed the transfer loop up. Fixed
        the timing so the BSP timer is used until RTEMS has started.
2009-10-08 07:15:08 +00:00
Chris Johns
eb649786c8 2009-10-08 Chris Johns <chrisj@rtems.org>
* Makefile.am, preinstall.am: Added statvfs.h.
        * libcsupport/Makefile.am: Add statvfs.c.
        * libcsupport/include/sys/statvfs.h, libcsupport/src/statvfs.c:
        New.
        * libcsupport/include/rtems/libio.h: Add a file system handler for
        the statvfs call.
        * libfs/src/devfs/devfs_init.c, libfs/src/dosfs/msdos_init.c,
        libfs/src/imfs/imfs_init.c, libfs/src/nfsclient/src/nfs.c: Set the
        statvfs handler to NULL.
        * include/rtems/fs.h: Add a second node access field for the RFS
        file system to hold a directory offset while the existing field
        holds the inode number. This save a rescan of the directory when
        working with directories.
        * libblock/include/rtems/bdbuf.h: Added references and user fields
        to the buffer descriptor.
        * libblock/src/bdbuf.c: Added dynamic buffer support for different
        block sizes. Fixed a number of bugs.
        * libblock/src/blkdev.c: Release the disk device on an error.
        * libblock/src/diskdevs.c: Set the block size to the media block
        size during initialisation of the disk device.
        * libblock/src/flashdisk.c, libblock/src/nvdisk.c,
        libblock/src/ramdisk.c: Updated the drivers to handle variable
        block sizes.
        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Release any
        buffers when an error occurs. The FAT buffer layer hangs onto a
        single buffer while mounted. This should be fixed.
        * sapi/inline/rtems/chain.inl: Added rtems_chain_set_off_chain,
        rtems_chain_is_node_off_chain, and rtems_chain_previous.
        * score/inline/rtems/score/chain.inl: Added _Chain_Set_off_chain,
        and _Chain_Is_node_off_chain.
        * libmisc/shell/main_ln.c, libmisc/shell/main_mknod.c,
        libmisc/shell/mknod-pack_dev.c, libmisc/shell/mknod-pack_dev.h:
        New shell commands.
        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added ln and
        mknod commands.
        * libmisc/shell/hexdump-display.c: Fixed the reopen bug which
        showed up as a free with a bad pointer.
        * libmisc/shell/main_mount.c: List the user adding file system
        when listing the available file systems to mount.
        * libmisc/shell/utils-cp.c: Remove the fixed static copy buffer
        and use a large dynamic buffer.
        * score/inline/rtems/score/address.inl, score/src/coremsgsubmit.c,
        score/src/objectallocate.c, score/src/objectfree.c: Remove
        warnings.
2009-10-08 07:07:36 +00:00
Ralf Corsepius
cdf0be65ed Regenerate 2009-10-07 09:02:12 +00:00
Ralf Corsepius
baf0a66ed4 BINUTILS_VERS = 2.19.92. 2009-10-07 09:01:04 +00:00
Ralf Corsepius
7ad77d2951 New. 2009-10-07 06:54:10 +00:00
Ralf Corsepius
2cd6377acc Regenerate. 2009-10-07 06:52:08 +00:00
Ralf Corsepius
fb406b57ea Switch back to gnu.org hosted sources. 2009-10-07 06:51:32 +00:00
Ralf Corsepius
b26f0a19bc GDB_VERS = 7.0 2009-10-07 06:50:12 +00:00
Ralf Corsepius
2b22160ffe Hack around gdb >= 7.0 trying to globally install syscall/*linux.xml. 2009-10-07 06:49:32 +00:00
Joel Sherrill
7b1df57761 2009-10-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/ioregisterdriver.c: Reowork so this is a context switch
	disable critical section not interrupt disable critical section.
	Hopefully eliminated dead code which showed up in coverage runs.
2009-10-06 22:42:48 +00:00
Thomas Doerfler
133bffb9be various changes 2009-10-06 19:56:07 +00:00
Joel Sherrill
63e99db572 2009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sptests/spintrcritical09/init.c, sptests/spintrcritical10/init.c,
	sptests/spintrcritical11/init.c: Fixed potentially infinite loops.
	* sp20/system.h: Increased micro seconds per tick in order to be more
	independent of the console output speed.
2009-10-05 15:01:59 +00:00
Joel Sherrill
456a77680c 2009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sapi/include/rtems/io.h, sapi/src/ioregisterdriver.c: Documenation.
	rtems_io_lookup_name() is now deprecated.  Added
	rtems_io_driver_io_error().  rtems_io_register_driver() is now
	thread-safe.
2009-10-05 15:00:53 +00:00
Joel Sherrill
37f9717a4b 2009-10-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/ide/ata.c: Revert previous change. Not all ARM BSPs use a
	shared irq.h yet and this breaks a significant number of them.
2009-10-05 14:39:26 +00:00
Thomas Doerfler
b3e228e681 add missing files 2009-10-05 11:05:05 +00:00
Thomas Doerfler
2c4d98748c renamed lpc24xx BSPs, reorganized linkcmds 2009-10-05 10:33:31 +00:00
Thomas Doerfler
aa5ddd3d77 renamed lpc24xx BSPs 2009-10-05 10:32:55 +00:00
Thomas Doerfler
24dc66c6ef renamed config files 2009-10-05 10:32:28 +00:00
Joel Sherrill
bbb96ceb16 2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/ratemonreportstatistics.c: owner field is always set so
	safe to use.  Reformat.
	* rtems/src/regionresizesegment.c: Always evaluate the blocked queue
	if the resize succeeded.
	* rtems/src/tasksetnote.c: Spacing.
2009-10-04 22:15:00 +00:00
Joel Sherrill
ff3c06a529 2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/psignal.h: Add extern for ualarm timer.
	* posix/src/alarm.c, posix/src/ualarm.c: Change from switch to if since
	many enumerated values have no action.
	* posix/src/psignal.c: Initialize ualarm and alarm timers.
2009-10-04 22:08:43 +00:00
Joel Sherrill
d05ec0f773 2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp07/sp07.scn, sp09/init.c, sp09/screen01.c,
	sp09/sp09.scn, sp28/init.c, sp62/init.c, sp62/sp62.scn, sp64/init.c,
	sp64/sp64.scn: Add more test cases highlighted on SPARC at -O2, x86
	at -Os and m68k at -Os. Fix typos.
2009-10-04 22:02:18 +00:00
Thomas Doerfler
64a3d8bb57 add missing file 2009-10-03 09:43:14 +00:00
Ralf Corsepius
3a3be12c1a 2009-10-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/openpic/openpic.c: Make openpic_writefield
	static inline (Get rid of GCC warning).
2009-10-03 04:47:45 +00:00
Ralf Corsepius
e24a5a031f 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp54/init.c: Use rtems_build_id to make building Objects_Id
	RTEMS_USE_16_BIT_OBJECT clean.
2009-10-02 16:50:30 +00:00
Ralf Corsepius
7093646b95 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-driver.c: Fix warning if
	defined(RTEMS_USE_16_BIT_OBJECT).
2009-10-02 15:54:47 +00:00
Thomas Doerfler
1a32895534 * Makefile.am, irq/irq_config.h, irq/irq_init.c, irq/irq.h:
add basic IRQ support (for decrementer)

        * start/start.S, startup/cmain.c, startup/linkcmds: add support
        for sdata* sections

        * startup/bsppanic.c: some cleanup
2009-10-02 13:39:12 +00:00
Ralf Corsepius
aac23ec795 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-prmisc.c: Fix warning if
	defined(RTEMS_USE_16_BIT_OBJECT).
2009-10-02 13:33:00 +00:00
Joel Sherrill
2697272499 2009-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* hello/init.c: Remove call to devFS_Show() which had accidentally
	gotten committed.
2009-10-02 11:50:39 +00:00
Joel Sherrill
dda7c828a0 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, termios01/termios_testdriver.c: Do not use
	CONSOLE_USE_INTERRUPTS. That is in use by BSPs and we should not use
	it.
	* termios02/.cvsignore, termios02/Makefile.am, termios02/init.c,
	termios02/termios02.doc, termios02/termios02.scn: New files.
	termios02 is a test for tcdrain().
2009-10-01 23:52:36 +00:00
Joel Sherrill
58236c8ffa 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* aclocal/bsp-alias.m4: Add BSP for GDB ARM simulator so we can easily
	experiment with and debug different ARM architectural variations.
2009-10-01 21:49:22 +00:00
Joel Sherrill
880d394223 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* acinclude.m4: Add BSP for GDB ARM simulator so we can easily
	experiment with and debug different ARM architectural variations.
2009-10-01 21:48:53 +00:00
Joel Sherrill
44bb5cd0cb 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, ChangeLog, Makefile.am, bsp_specs, configure.ac,
	preinstall.am, console/.cvsignore, console/console-io.c,
	include/.cvsignore, include/bsp.h, include/irq.h, include/swi.h,
	start/.cvsignore, start/start.S, startup/.cvsignore,
	startup/bspreset.c, startup/bspstart.c, startup/linkcmds,
	startup/syscalls.c: New files.
2009-10-01 21:48:42 +00:00
Joel Sherrill
13c5cea6e3 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/arm.h: Recognize ARMv7A.
2009-10-01 21:47:42 +00:00
Joel Sherrill
73d04fe8e6 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add new BSP variants for ARM simulator in GDB.
	* custom/arm1136jfs.cfg, custom/arm1136js.cfg, custom/arm7tdmi.cfg,
	custom/arm920.cfg, custom/armcortexa9.cfg: New files.
2009-10-01 21:35:38 +00:00
Joel Sherrill
3926b0550e 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/ide/ata.c: Use simple vectored CPU macro to select interrupt
	model.
2009-10-01 20:56:32 +00:00
Joel Sherrill
f98ce8b87c 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/arm.h: Recognize ARMv6J as needed by arm1136 variants.
2009-10-01 12:57:30 +00:00
Ralf Corsepius
60b728b5c2 2009-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1445/BSPs
	* shared/pci/pcibios.c: Rename indirect_pci_* into BSP_pci_*.
2009-10-01 12:26:49 +00:00