Commit Graph

15996 Commits

Author SHA1 Message Date
Ralf Corsepius
697cdd9871 Add prototypes. Remove misc. C++-code pollution. 2008-07-29 09:17:28 +00:00
Ralf Corsepius
34b90a86f5 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
	  posix/src/prwlockrdlock.c: Use C-style comments.
2008-07-29 08:51:41 +00:00
Ralf Corsepius
7d53ba7fd8 Use C-style comments. 2008-07-29 08:51:16 +00:00
Thomas Doerfler
cc54cc9175 src/irq-legacy.c: Free allocated memory in hander remove
bootcard.c: Check if the heap fits into the work area
2008-07-29 07:11:21 +00:00
Chris Johns
af37ae0dd3 2008-07-29 Chris Johns <chrisj@rtems.org>
* tools/configure.ac: Add CFLAGS to workaround building errors on
	a 64bit AMD host.
2008-07-29 04:32:34 +00:00
Chris Johns
021cf6b58b 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/src/nvdisk.c: Fix block compile bug.
2008-07-29 03:55:03 +00:00
Chris Johns
c21c850ec7 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
	Update the comments.
2008-07-29 03:15:09 +00:00
Chris Johns
bafe97f479 2008-07-29 Chris Johns <chrisj@rtems.org>
* ide/pcmcia_ide.c: Updated to the libblock changes.
2008-07-29 03:08:38 +00:00
Chris Johns
e9e422e0a4 2008-07-29 Chris Johns <chrisj@rtems.org>
* smc/smc.c: Updated to the libblock changes.
2008-07-29 02:56:20 +00:00
Chris Johns
57df51f326 2008-07-29 Chris Johns <chrisj@rtems.org>
* block/block.c: Update to the libblock changes.
2008-07-29 02:46:22 +00:00
Chris Johns
3735f0859c 2008-07-29 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c: Updated to the libblock changes.

	* libchip/ide/ata.c: Change to use a mutex rather than disable
	pre-emption. Updated to the libblock changes.

	* libchip/ide/ata_internal.h: Updated to the new chains API.

	* libchip/ide/ide_controller.c: Updated to the libblock
	changes. Added come debug tracing.

	* libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h: Updated
	to the libblock changes.
2008-07-29 02:23:48 +00:00
Chris Johns
c4bd98c04d 2008-07-29 Chris Johns <chrisj@rtems.org>
* ide/ide.c: Updated to the rtems_* libblock changed.
2008-07-29 02:22:22 +00:00
Chris Johns
3899a5379f 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/Makefile.am: Removed src/show_bdbuf.c.

	* libblock/src/show_bdbuf.c: Removed.

	* libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
	Rewritten the bdbuf code. Remove pre-emption disable, score
	access, fixed many bugs and increased performance.

	* libblock/include/rtems/blkdev.h: Added
	RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
	comments. Added block and user fields to the sg buffer
	request. Move to rtems_* namespace.

	* libblock/include/rtems/diskdevs.h,
	cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
	capabilities field for drivers. Change rtems_disk_lookup to
	rtems_disk_obtain to match the release call. You do not lookup and
	release a disk, you obtain and release a disk.

	* libblock/include/rtems/ide_part_table.h,
	libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
	Move to rtems_* namespace.

	* libblock/include/rtems/nvdisk.h: Formatting change.

	* libblock/src/blkdev.c: Move to rtems_* namespace. Change
	rtems_disk_lookup to rtems_disk_obtain

	* libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
	support for the block number in the scatter/grather request
	struct. This allows non-continuous buffer requests for those
	drivers that can support increasing performance.

	* libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
	warnings. Added better error checking. Fixed some comments.

	* libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
	trace functions to help debugging upper layers. Use the new
	support for the block number in the scatter/grather request
	struct. This allows non-continuous buffer requests for those
	drivers that can support increasing performance.

	* libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
	API. Removed temporary hack and changed
	set_errno_and_return_minus_one to
	rtems_set_errno_and_return_minus_one. Move fat_buf_access from
	header and stopped it being inlined. Updated to libblock changes.

	* libfs/src/dosfs/fat_fat_operations.c,
	libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
	libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
	libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
	new chains API. Removed temporary hack and changed
	set_errno_and_return_minus_one to
	rtems_set_errno_and_return_minus_one. Updated to libblock changes.

	* libmisc/Makefile.am: Add new ls and rm command files.

	* libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
	libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
	libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
	libmisc/shell/vis.c, shell/vis.h: New.

	* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c: Fixed the usage call bug.

	* libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
	command.

	* libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
	commands with more features.

	* score/src/coremutex.c: Fix the strick order mutex code.

	* libmisc/shell/shell.c: Change shell tasks mode to be timeslice
	and no ASR.

	* sapi/include/confdefs.h: Change ata_driver_task_priority to
	rtems_ata_driver_task_priority. Add the new BD buf cache
	parameters with defaults.

	* score/src/interr.c: Do not return if the CPU halt call returns.
2008-07-29 02:21:15 +00:00
Ralf Corsepius
1b39f1892b 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RPCGEN, RPCTOOLS.
2008-07-27 07:15:14 +00:00
Ralf Corsepius
73c0717887 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove doxygen comments.
2008-07-27 07:10:46 +00:00
Ralf Corsepius
079c3edba8 Remove doxygen comments. 2008-07-27 07:10:37 +00:00
Ralf Corsepius
8b8b0cb7c4 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add -ansi to RTEMS_PROG_CC_FOR_TARGET.
2008-07-27 06:55:12 +00:00
Ralf Corsepius
c39e66459c Add -ansi to RTEMS_PROG_CC_FOR_TARGET. 2008-07-27 06:55:02 +00:00
Ralf Corsepius
724f501db1 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove doxygen comments.
	Remove bogus BUILT_SOURCES.
2008-07-27 06:53:47 +00:00
Ralf Corsepius
05e0ce0c46 Remove doxygen comments.
Remove bogus BUILT_SOURCES.
2008-07-27 06:53:33 +00:00
Ralf Corsepius
feb447e94d Allow empty configdirs. 2008-07-27 06:50:08 +00:00
Ralf Corsepius
f449548408 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4 (_RTEMS_OUTPUT_SUBDIRS): Allow empty configdirs.
2008-07-27 06:49:54 +00:00
Ralf Corsepius
61216b12c3 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Remove doxygen
	comments.
	* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-07-27 06:47:16 +00:00
Ralf Corsepius
9622f254f3 Require AC_DISABLE_OPTION_CHECKING.
AC_PREREQ(2.62).
2008-07-27 06:47:01 +00:00
Ralf Corsepius
3b0a915cf1 Remove doxygen comments. 2008-07-27 06:46:40 +00:00
Ralf Corsepius
476c9f47d8 Don't install windmc.1 if windmc is not available. 2008-07-27 06:25:12 +00:00
Joel Sherrill
bc3283c986 2008-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* preinstall.am: New file.
2008-07-24 18:24:22 +00:00
Thomas Doerfler
de3864ec4b *** empty log message *** 2008-07-24 14:53:14 +00:00
Thomas Doerfler
d4886a0695 Changed bsp_get_workarea() to bsp_get_work_area() and
added support for an optional separate heap area.
2008-07-24 14:52:55 +00:00
Thomas Doerfler
075d81772d New function rtems_interrupt_handler_iterate()
for system information and diagnostics
2008-07-24 12:45:23 +00:00
Thomas Doerfler
2e2c640ec1 Support for new rtems_interrupt_handler_iterate() function. 2008-07-24 12:44:26 +00:00
Joel Sherrill
a39cf49f3a 2008-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1291/cpukit
	* posix_users/semaphores.t: Update to reflect absolute time.
2008-07-23 22:32:19 +00:00
Joel Sherrill
75d16dd808 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/Makefile.am, shell/rtems.t: Add pthread command.
2008-07-23 22:07:16 +00:00
Joel Sherrill
e6ee171252 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_script.c: Clean up code for command not found
	including the error message.
2008-07-23 20:28:13 +00:00
Joel Sherrill
bd5762ddfc 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
	libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
	libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
	libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
	libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
	internal routine. This makes it possible to also print string names
	of POSIX objects. Adjust task report to realign since we can have
	longer names.
2008-07-23 19:51:08 +00:00
Joel Sherrill
6c71b25364 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
	body is now completely configured via the Configuration table.
2008-07-23 17:25:31 +00:00
Thomas Doerfler
be78809c94 usee inttypes.h for output format specifiers 2008-07-23 08:03:28 +00:00
Till Straumann
36ba3fc4d1 2008-07-22 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c, include/bsp.h:
	define BSP_PPC403_CLOCK_HOOK_EXCEPTION
	so that we hook the timer exception rather than going
	through the interrupt dispatcher.
2008-07-23 06:54:18 +00:00
Till Straumann
b7d1f290d7 2008-07-22 Till Straumann <strauman@slac.stanford.edu>
* ppc403/clock/clock.c: Added (conditionally compiled)
	code so that a BSP can choose to hook the timer exception
	directly rather than going through the interrupt dispatcher.
2008-07-23 06:50:00 +00:00
Till Straumann
479f25550b 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Removed MSR_CE from interrupt
	mask - this was set for testing but should not be
	in the mask by default.
2008-07-22 06:11:34 +00:00
Till Straumann
aee685a3df 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am, irq/irq_init.c:
	Use low-level exception handling support from
	new-exceptions/bspsupport.
2008-07-22 05:52:05 +00:00
Till Straumann
336495b9c0 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Removed SPRG0 warning - this BSP
	is OK.

	Use interrupt stack limits from linker script.

	No need to reserve space beyond '_end'. linkcmds now
	reserves space below '_end'.

	Use low-level exception handling support from
	new-exceptions/bspsupport.
2008-07-22 05:50:57 +00:00
Till Straumann
e1095fc521 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* dlentry/dlentry.S: load R13 with _SDA_BASE_ so that
	SVR4-ABI access of short data area works. No support
	for R2/sdata2/eabi, so far but that would be easy
	(atm R2 is loaded with got address IIRC).
2008-07-22 05:47:31 +00:00
Till Straumann
54b617a0ab 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/linkcmds: fixed sdata/sbss areas -- these
	must be contiguous for SVR4 complicant access via R13.
	Use kludged layout so that sbss, bss, sbss2 are all
	contiguous and zeroed by dlentry.S.

	Provide _SDA_BASE_ and _SDA2_BASE_ for loading R13 (and
	R2 if anyone wants to use EABI).

	Make sure interrupt stack is never in heap area by
	moving it below '_end'.

	Provide symbols for start + end of interrupt stack.
2008-07-22 05:44:58 +00:00
Till Straumann
c607d50e70 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* console/consolelite.c: use base address from RTEMS_XPARAMETERS_H
	rather than hardcoded hex number.
2008-07-22 05:30:21 +00:00
Till Straumann
13512ec229 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception,h,
	new-exceptions/raw_exception.c: Added more vectors for PPC405:
	watchdog, fpu-unavail, apu-unavail, itlbmiss, dtlbmiss, debug.
2008-07-21 20:38:06 +00:00
Joel Sherrill
f45169a95f 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: This BSP is OK with SPRG0.
2008-07-18 22:10:26 +00:00
Till Straumann
e620c556a3 2008-07-18 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed warning about SPRG0
	now being used for IRQ mask; this BSP is OK.
2008-07-18 19:09:30 +00:00
Joel Sherrill
f5119be40a 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1291/cpukit
	* psx05/init.c, psxmsgq01/init.c: As part of addressing timeouts and
	POSIX services taking relative instead of absolute time for timeouts,
	these tests were updated.
2008-07-18 18:47:30 +00:00
Joel Sherrill
acb4bed0e9 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix_users/mutex.t: Add ETIMEDOUT.
2008-07-18 18:46:28 +00:00