Commit Graph
100 Commits
Author SHA1 Message Date
Chris Johns 8192e4ff61 2008-08-07 Chris Johns <chrisj@rtems.org>
* libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
	to see if the 'to' path was a directory and removed the directory.

	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv command.

	* libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
2008-08-07 02:23:11 +00:00
Chris Johns 24625412d2 2008-08-06 Chris Johns <chrisj@rtems.org>
* smc/smc.c: Fix the fix. The field is bufnum.
2008-08-06 09:39:10 +00:00
Chris Johns 6f162ed27a 2008-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
	the new bdbuf code.
2008-08-06 04:38:53 +00:00
Chris Johns b7898e271c 2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
	after the realloc.
2008-08-06 04:17:46 +00:00
Chris Johns 904ced08bb 2008-08-06 Till Straumann <strauman@slac.stanford.edu>
* libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
	than release it.
2008-08-06 04:04:59 +00:00
Chris Johns f031251cee 2008-08-02 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Remove
	rtems_blkdev_request count and start references. Use
	RTEMS_BLKDEV_START_BLOCK.
2008-08-02 06:26:29 +00:00
Chris Johns 2eb89adc33 2008-08-02 Chris Johns (chrisj@rtems.org>
* libblock/include/rtems/blkdev.h: Remove count and start from
	rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.

	* libblock/src/bdbuf.c: Add read ahead blocks always consecutive
	comment. Change count to bufnum and remove start references. Sort
	the transfer list so blocks are consecutive where possible.

	* libblock/src/blkdev.c, libblock/src/nvdisk.c,
	libblock/src/ramdisk.c: Change count to bufnum and remove start
	references.
2008-08-02 06:23:45 +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
Chris Johns 5396467fb8 2008-07-09 Chris Johns <chrisj@rtems.org>
* doc/user/chains.t: New.

	* doc/ada_user/ada_user.texi, doc/user/Makefile.am,
	doc/user/c_user.texi, doc/user/dirstat.texi: Updated for the
	chains documentation.
2008-07-09 02:50:28 +00:00
Chris Johns 6a58ad76d5 2008-07-03 Chris Johns <chrisj@rtems.org>
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
	interface that is supported.

	* cpukit/libcsupport/Makefile.am,
	cpukit/libcsupport/preinstall.am: Remove chain.h header
	references.

	* cpukit/sapi/include/rtems/chain.h,
	cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
	interface.

	* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
	include the new chains interface.

	* cpukit/libfs/src/imfs/imfs.h,
	cpukit/libfs/src/imfs/imfs_creat.c,
	cpukit/libfs/src/imfs/imfs_debug.c,
	cpukit/libfs/src/imfs/imfs_directory.c,
	cpukit/libfs/src/imfs/imfs_fsunmount.c,
	cpukit/libfs/src/imfs/imfs_getchild.c,
	cpukit/libfs/src/imfs/imfs_load_tar.c,
	cpukit/libfs/src/imfs/imfs_rmnod.c,
	cpukit/libfs/src/imfs/memfile.c,
	cpukit/libfs/src/nfsclient/src/nfs.c,
	cpukit/libcsupport/include/rtems/libio.h,
	cpukit/libcsupport/src/malloc_deferred.c,
	cpukit/libcsupport/src/mount.c,
	cpukit/libcsupport/src/privateenv.c,
	cpukit/libcsupport/src/unmount.c: Change to the new chains
	interface.

	* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
2008-07-03 02:07:29 +00:00
Chris Johns 72d2ec4da4 2008-07-03 Chris Johns <chrisj@rtems.org>
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
	interface that is supported.

	* cpukit/libcsupport/Makefile.am,
	cpukit/libcsupport/preinstall.am: Remove chain.h header
	references.

	* cpukit/sapi/include/rtems/chain.h,
	cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
	interface.

	* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
	include the new chains interface.

	* cpukit/libfs/src/imfs/imfs.h,
	cpukit/libfs/src/imfs/imfs_creat.c,
	cpukit/libfs/src/imfs/imfs_debug.c,
	cpukit/libfs/src/imfs/imfs_directory.c,
	cpukit/libfs/src/imfs/imfs_fsunmount.c,
	cpukit/libfs/src/imfs/imfs_getchild.c,
	cpukit/libfs/src/imfs/imfs_load_tar.c,
	cpukit/libfs/src/imfs/imfs_rmnod.c,
	cpukit/libfs/src/imfs/memfile.c,
	cpukit/libfs/src/nfsclient/src/nfs.c,
	cpukit/libcsupport/include/rtems/libio.h,
	cpukit/libcsupport/src/malloc_deferred.c,
	cpukit/libcsupport/src/mount.c,
	cpukit/libcsupport/src/privateenv.c,
	cpukit/libcsupport/src/unmount.c: Change to the new chains
	interface.

	* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
2008-07-03 01:37:38 +00:00
Chris Johns b9c38ed727 2008-07-03 Chris Johns <chrisj@rtems.org>
* ata.c: Change to the Chains API.
2008-07-03 01:34:27 +00:00
Chris Johns e806f13e28 2008-07-03 Chris Johns <chrisj@rtems.org>
* c/src/lib/libbsp/powerpc/score603e/startup/genpvec.c: Change to
	the Chains API.
2008-07-03 01:30:18 +00:00
Chris Johns 8d26950fca 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* startup/cfinit.c, startup/init52235.c: Missed the last patch.
2008-06-19 06:27:29 +00:00
Chris Johns d488f12bc9 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* custom/mcf52235.cfg: Change to mcf5223x.
2008-06-19 05:48:01 +00:00
Chris Johns eaaade27f3 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf5223x/include/mcf5223x.h: New.
2008-06-19 05:46:45 +00:00
Chris Johns 9374e9b082 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/README, mcf52235/gdb-init, mcf52235/clock/clock.c,
	mcf52235/console/console.c, mcf52235/include/bsp.h,
	mcf52235/include/coverhd.h, mcf52235/start/start.S,
	mcf52235/startup/bspclean.c, mcf52235/startup/bspstart.c,
	mcf52235/startup/linkcmds, mcf52235/timer/timer.c: Cleaned up
	white space and code formmated to adhere to RTEMS standards. Fixed
	a bug in the nano seconds since last tick support. Fixed a bug
	with the location of the start stack (no longer within
	.bss). Removed double definition of IPSBAR and some type defs
	etc.. Added timing test overhead results.
2008-06-19 05:46:19 +00:00
Chris Johns 8f25cec8bb 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
	than a number.
2008-06-19 05:40:20 +00:00
Chris Johns 775f8e52e8 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/include/mcf52235.h: Removed. Moved to the more generic
	mcf5223x.h.
	* mcf5223x/include/mcf5223x.h: New. Was mcf52235.h.
	* Makefile.am, configure.ac, preinstall.am: Changed from mcf52235
	to mcf5223x.
2008-06-19 05:38:57 +00:00
Chris Johns 805cddc0c4 hris Johns <chrisj@rtems.org>
* cpukit/sapi/include/confdefs.h: Add missing quote to string to
	remove warning.

	* cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
	priority level for large memory Coldfires.
2008-06-16 23:37:42 +00:00
Chris Johns a552181af9 2008-06-10 Chris Johns <chrisj@rtems.org>
* score/include/rtems/score/priority.h: Let the CPU define the
	maximum and minimum priority levels to reduce the amount of memory
	thread chains use.
2008-06-11 08:19:53 +00:00
Chris Johns e339d8b718 hris Johns <chrisj@rtems.org>
* cpu_asm.S: Add Coldfire FPU support.
	* rtems/score/m68k.h: Change the Coldfire CPU defines to be based
	on the instruction set. Add Tiny RTEMS support to the small memory
	model RTEMS processors.
	* rtems/score/cpu.h: Handle the new Tiny RTEMS support.
2008-06-11 08:19:13 +00:00
Chris Johns 84fff68d09 hris Johns <chrisj@rtems.org>
* custom/av5282.cfg, custom/csb360.cfg, custom/gen68302.cfg,
	custom/gen68340.cfg, custom/gen68360.cfg, custom/mcf5206elite.cfg,
	custom/mcf5235.cfg, custom/mrm332.cfg, custom/mvme136.cfg,
	custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg,
	custom/mvme167.cfg, custom/ods68302.cfg, custom/sim68000.cfg,
	custom/simcpu32.cfg, custom/uC5282.cfg: Change CCFLAGS to use the
	-mcpu= option for Coldfires now supported in GCC 4.3.0.

2008-06-10	Matthew Riek <matthew.riek@ibiscomputer.com.au>

	* custom/mcf52235.cfg: New.
2008-06-11 08:17:27 +00:00
Chris Johns 9af830802d 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/include/mcf52235.h: New.
	* preinstall.am, configure.ac, Makefile.am: Add 52235 support.
2008-06-11 08:07:48 +00:00
Chris Johns 56e8ee4ebd 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* shared/m68kbspgetworkarea.c: Fix extern type to RamSize.
	* shared/m68kpretaskinghook.c: Do not handle the RAM allocation if
	the BSP is handling it.
	* acinclude.m4: Add the mcf52235 BSP.
2008-06-11 08:06:30 +00:00
Chris Johns b7ad0ed12b 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am: Add shared/m68kbspgetworkarea.c to sources.
	* configure.ac: Add RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION.
	* include/bsp.h: Add include bspopts.h.
	* start/start.S: Formatting changes.
	* startup/bspstart.c: Updated to use the shared BSP support.
2008-06-11 08:03:50 +00:00
Chris Johns 3aac2db317 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs,
	clock/clock.c, configure.ac, console/console.c, gdb-init,
	include/bsp.h, include/bspopts.h.in, include/coverhd.h,
	include/tm27.h, preinstall.am, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/cfinit.c, startup/init52235.c,
	startup/linkcmds, timer/timer.c: New.
2008-06-11 07:59:03 +00:00
Chris Johns 288f1c33c9 2008-05-29 Chris Johns <chrisj@rtems.org>
* include/bsp.h: FEC unit numbers based on 0 not 1. Change the
	interface name to fec0.
2008-05-29 06:01:33 +00:00
Chris Johns 5a2b5b22c8 2008-05-01 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/nvdisk-sram.h,
	libblock/include/rtems/nvdisk.h,
	libblock/src/nvdisk-sram.c,
	libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
	* Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
	the NV disk driver.
2008-05-01 04:15:36 +00:00
Chris Johns 50303dfbd1 2008-05-01 Maarten Van Es <maarten@mind.be>
* libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
	interface for rtems_dhcp_failsafe.
	* libnetworking/rtems/rtems_dhcp.h: Added interface for
	rtems_dhcp_failsafe.

2008-05-01  Arnout Vandecappelle <arnout@mind.be>

	* libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
	return on timeout in bootpc_call().  Removed panic()s.
	* libnetworking/rtems/rtems_glue.c: Fix the cast for the
	SIOCAIFADDR ioctl call.
	* libnetworking/rtems/rtems_dhcp_failsafe.c,
	libnetworking/rtems/rtems_dhcp_failsafe.h: New.
	* libnetworking/Makefile.am, libnetworking/preinstall.am: Added
	rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
2008-05-01 02:57:49 +00:00
Chris Johns 55c64fc9cd 2008-04-12 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.c, libmisc/shell/shell.h,
	libmisc/shell/shell_script.c: Add support to echo the commands to
	stdout. This is useful with the -v script option to show commands
	as the run. Also added support to chdir to the directory the task
	invoking the script is in.
	* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
	* libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
	support.
2008-04-11 22:57:54 +00:00
Chris Johns 8c422e2346 2008-04-08 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.c: Copy the cmd line to a buffer to split
	into argv parts. Was using the command line history buffer so the
	history was being corrupted.
2008-04-08 04:53:26 +00:00
Chris Johns ea90df234a 2008-04-03 Chris Johns <chrisj@rtems.org>
* libfs/src/nfsclient/src/librtemsNfs.h,
	libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
	external to RTEMS and even if in the cpukit it should not cross
	reference in this way.
	* libmisc/shell/shell_getchar.c: New. Taken from the monitor.
	* libmisc/Makefile.am: Add shell_getchar.c and clean up a little
	in the shell area.
	* libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
	support.
2008-04-03 03:13:24 +00:00
Chris Johns 5fd92cccfd 2008-03-29 Chris Johns <chrisj@rtems.org>
* librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
	reported to the mailing list by Pierre Kestener
	(pierre.kestener@cea.fr).
2008-03-29 05:08:24 +00:00
Chris Johns 990458b684 2008-03-29 Chris Johns <chrisj@rtems.org>
* networking/testing.t: Cleaned up the patch from Ian.
2008-03-29 05:01:30 +00:00
Chris Johns 52053579d6 2008-03-29 Chris Johns <chrisj@rtems.org>
* networking/testing.t: Patch from Ian Caddy to document the
	routes debug information.
2008-03-29 04:39:56 +00:00
Chris Johns a61cc6c28f 2008-01-05 Chris Johns <chrisj@rtems.org>
* libchip/flash/am29lv160.c: Update the blank check error message
	to say there is an error.
2008-01-05 06:59:11 +00:00
Chris Johns a5de1ef5fc 2008-01-05 Chris Johns <chrisj@rtems.org>
* configure.ac: Fix typo in the strict order mutex CPU OPTs test.
	* libmisc/shell/shell.c: Handle '#' comment characters correctly.
	* libblock/include/rtems/flashdisk.h: Add docmentation about the
	control fields. Add more control fields to handle the flash when
	full.
	* libblock/src/flashdisk.c: Fix the descriptor erase test so it
	detects a descriptor is erased. Add support for unavailable blocks
	the user can configure. Print the used list as a diag. Fix the bug
	when a page is detected as failed and present on more than one
	queue. Add a count to the queues so queue length can be used to
	manage compaction.
2008-01-05 06:57:17 +00:00
Chris Johns 107f4d3446 2007-12-22 Chris Johns <chrisj@rtems.org>
* nfsclient/src/nfs.c, nfsclient/src/rpcio.c: Adjust the length of
	the hello message. Just one line but still a little too long.
2007-12-22 08:29:36 +00:00
Chris Johns e85eb70bc7 2007-12-14 Chris Johns <chrisj@rtems.org>
* gdb-init: Make the first hb temporary.
	* network/network.c: Add support for reading the MAC address from
	the FEC if set by the boot monitor. dBug does not do this unless
	the network is used which is a shame.
2007-12-22 08:28:57 +00:00
Chris Johns 1ff9922df0 2007-12-22 Chris Johns <chrisj@rtems.org>
* configure.ac: fixed bug that always enabled strict order
	mutexes.
	* score/inline/rtems/score/coremutex.inl: Fixed coding standard.
	* score/src/coremutex.c: Add the holder's thread to the lock_mutex
	list if the mutex is initialised locked.
	* libnetworking/rtems/rtems_glue.c: Changed semaphore error
	message to show the error is an rtems-net error.
	* libmisc/monitor/mon-network.c: Removed warnings.
	* telnetd/icmds.c: Changed shell_* to rtems_shell_*.
	* score/Makefile.am: Fixed typo that stopped 'make tags' working.
	* libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
	libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
	libmisc/shell/fts.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
	libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
	libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
	libmisc/shell/warnx.c: New. Ported from BSD.
	* libmisc/shell/shellconfig.h: Add the cp command.
	* libmisc/Makefile.am: Add the new files to the shell.
	* libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
	support.
	* libblock/src/flashdisk.c: Fixed disk drive count size setting
	bug.
2007-12-22 08:27:18 +00:00
Chris Johns 4657943527 2007-12-17 Chris Johns <chrisj@rtems.org>
* libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
	libmisc/shell/main_unmount.c: New.
	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
	blksync, msdosfmt, and unmount commands.
2007-12-17 07:20:04 +00:00
Chris Johns d2a488f7dd 2007-12-17 Chris Johns <chrisj@rtems.org>
* testsuites/samples/fileio/init.c: Change shell_* to
	rtems_shell_*. Add the mount file-system type of msdos.
2007-12-17 00:40:20 +00:00
Chris Johns ba72882bff 2007-12-17 Chris Johns <chrisj@rtems.org>
* rtems4.8/.cvsignore, rtems4.8/arm/.cvsignore,
	rtems4.8/avr/.cvsignore, rtems4.8/bfin/.cvsignore,
	rtems4.8/h8300/.cvsignore, rtems4.8/i386/.cvsignore,
	rtems4.8/m68k/.cvsignore, rtems4.8/mips/.cvsignore,
	rtems4.8/mipstx39/.cvsignore, rtems4.8/powerpc/.cvsignore,
	rtems4.8/sh/.cvsignore, rtems4.8/sparc/.cvsignore,
	rtems4.8/tic4x/.cvsignore: New.
2007-12-17 00:39:10 +00:00
Chris Johns fa0533a2df 2007-12-17 Chris Johns <chrisj@rtems.org>
* custom/mcf5235.cfg, custom/mrm332.cfg, custom/pc386.cfg: Split
	the make-exe and make-cxx-exe into bsp-link-c, bsp-link-cxx and
	bsp-post-link make macros. This allow external autotools support.
2007-12-17 00:35:52 +00:00
Chris Johns 2eeb648c35 2007-12-17 Chris Johns <chrisj@rtems.org>
* libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
	system opts table.
	* libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
	system opts table.
	* libmisc/Makefile.am: Add the mount command and supporting files.
	* libmisc/preinstall.am: Rebuilt.
	* libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
	libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
	libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
	libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
	libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
	libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
	libmisc/shell/main_help.c, libmisc/shell/main_id.c,
	libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
	libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
	libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
	libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
	libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
	libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
	libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
	libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
	libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
	libmisc/shell/write_file.c: Move all shell_* types, variables and
	functions to rtems_shell_* to avoid namespace clashes with
	applications. The is an RTEMS shell after all.
	* libmisc/shell/shell.h, libmisc/shell/internal.h,
	libmisc/shell/shellconfig.h: Move all shell_* types, variables and
	functions to rtems_shell_* to avoid namespace clashes with
	applications. Add the mount command supporting types.
	* libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
	libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
	libmisc/shell/main_mount_tftp.c: New.
2007-12-17 00:12:01 +00:00
Chris Johns 30088aac5b 2007-12-12 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
	Add RTEMS license details.
2007-12-14 06:02:42 +00:00
Chris Johns 3c68c6c8b7 2007-12-12 Chris Johns <chrisj@rtems.org>
* Makefile.am, preinstall.am: Added
	libblock/include/rtems/flashdisk.h to the installed header list.
	* libblock/Makefile.am: Add flashdisk.c to the files to build.
	* libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
	New.
2007-12-14 04:58:04 +00:00
Chris Johns f3bf21f2cf 2007-12-14 Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Add libflash.a to the libbsp library.
	* libchip/Makefile.am, libchip/preinstall.am: Add the flash chip support.
	* libchip/flash, libchip/flash/am29lv160.c,
	libchip/flash/am29lv160.h: New.
2007-12-14 04:54:57 +00:00
Chris Johns 2199d748f5 2007-12-14 Chris Johns <chrisj@rtems.org>
* gdb-init: Add the show-exception.
2007-12-14 04:52:24 +00:00
Chris Johns 06bd7c74b1 2007-12-12 Chris Johns <chrisj@rtems.org>
* Makefile.am: Added libmisc/shell/shellconfig.h to the installed
	header list.
	* libmisc/shell/shell_cmdset.c: Let the Initial command add occur
	in any order rather than before any commands have been added. Also
	made the command's strings be copies rather than references.
	* sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2007-12-12 10:10:38 +00:00
Chris Johns dec8f84375 2007-12-03 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.h: Added comments for the parameters to the
	shell_init function.
	* libmisc/shell/shell.c: Only set cflags if tcflags is
	non-zero. This means the shell can use the current cflags settings
	and the application does not need to know the baudrate etc.
	* libmisc/capture/capture.h: Fix the comment.
2007-12-03 02:22:35 +00:00
Chris Johns 7ace3828e5 2007-12-03 Chris Johns <chrisj@rtems.org>
* console/console.c: Set the baud rate for stdin to 19200 when
	opening the console. This is the default rate for the dbug
	monitor.
	* gdb-init: New.
2007-12-03 02:16:25 +00:00
Chris Johns 7b57da65ad 2007-11-29 Chris Johns <chrisj@rtems.org>
* iostream/Makefile.am: Change the executable name so it does not
      create a file which is the same name as the standard header file.
      * iostream/system.h: Need to increase the number of semaphores for
      the libstdc++ runtime.
2007-12-03 02:11:16 +00:00
Chris Johns dd0e6bf6d6 2007-11-29 Chris Johns <chrisj@rtems.org>
* iostream/Makefile.am: Change the executable name so it does not
	create a file which is the same name as the standard header file.
	* iostream/system.h: Need to increase the number of semaphores for
	the libstdc++ runtime.
2007-11-29 06:40:47 +00:00
Chris Johns cb32666020 2007-11-22 Chris Johns <chrisj@rtems.org>
* m68k/mcf5235/include/mcf5235.h: Remove '/' from define label.
2007-11-22 04:40:41 +00:00
Chris Johns 263d3fc734 Remove C++ comment. 2007-09-24 02:35:07 +00:00
Chris Johns 2e2cbfa933 2007-0823 Chris Johns <chisj@rtems.org>
* mingw-path.nsi: Change the forward slashes to back slashes for
        Windows.
2007-08-22 23:52:43 +00:00
Chris Johns a23427e7b7 2007-08-21 Chris Johns <chrisj@rtems.org>
* capture/init.c, capture/system.h, capture/test1.c: Removed CRs
        from files. Committed incorrectly.
2007-08-21 10:49:31 +00:00
Chris Johns 598aab1fe5 2007-08-20 Chris Johns <chisj@rtems.org>
* filewrite.nsi, getparameters.nsi, instance-check.nsi,
        mingw-path.nsi, sm-dummy.nsi, strslash.nsi, strstr.nsi,
        options.nsi: Added the shared between the 2 installer scripts.

        * msys-path.nsi: Fixed the last LF bug.

        * rtems-autotools.nsi, rtems-tools.nsi: Fixed the instance check,
        added a start menu, remove pages from target installers.

        * rtems.ini: Fixed the URL links. Added support link.

        * rtems_logo.bmp: Trimmed a little more to get a better image.

        * ba-wrap.sh: Stop on a error.

        * build-exes.sh: Use the option parameter variables. Change the
        order the section appear in the installer.
2007-08-20 02:12:48 +00:00
Chris Johns 8db468ffde 2007-08-17 Chris Johns <chrisj@rtems.org>
* Makefile.am, README, configure.ac, capture/.cvsignore,
	capture/Makefile.am, capture/capture.doc, capture/capture.scn,
	capture/init.c, capture/system.h, capture/test1.c: Add a sample
	test for the capture engine.
2007-08-17 01:07:10 +00:00
Chris Johns 1374fd3f07 2007-08-17 Chris Johns <chrisj@rtems.org>
* libmisc/capture/README: Minor copyright change.
	* libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
	libmisc/capture/capture.h: Fixed the memory leak when lots of
	tasks are being created and deleted. Improved the trigger
	interface so all task type actions can be caught.
2007-08-17 00:54:16 +00:00
Chris Johns f41dd23165 2007-08-13 Chris Johns <chrisj@rtems.org>
* score/include/rtems/score/object.h: Point the
	OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
2007-08-13 03:36:48 +00:00
Chris Johns 56f6b90763 2007-08-03 Chris Johns <chisj@rtems.org>
* rtems_logo.bmp: Clipped to get the correct proportions
        in the installer's header.

        * upload.sh: Install only the specific build installers.

        * rtems.ini: Change to show the actual web paths.

        * version: Build 15.

        * build-exes.sh, msys-path.nsi, rtems-autotools.nsi,
        rtems-tools.nsi: Fixed MSYS path detection. Fixed the uninstaller
        registry data. Changed the way the top level is generated. Now all
        the sections are added no matter what target is specified.
2007-08-04 06:24:12 +00:00
Chris Johns f6cd0dbead 2007-07-28 Chris Johns <chisj@rtems.org>
* README, build-rpms.sh, rtems.ini, build-exes.sh,
        rtems-tools.nsi: Updated to the new 4.8 build plus a new
        installer.

        * autoconf.def, automake.def, ba-wrap.sh, build-autotools.sh,
        msys-path.nsi, rtems-autotools.nsi, target-section-text,
        upload.sh, version: New to version 4.8. Autotools is built when
        installing.
2007-07-28 08:31:57 +00:00
Chris Johns 735892e345 2007-07-27 Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Create archive from a file for hosts
	with a limited command line size.
2007-07-27 03:58:04 +00:00
Chris Johns 0630d52751 2007-07-27 Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Create archive from a file for hosts with
	a limited command line size.
2007-07-27 03:55:49 +00:00
Chris Johns 8d8e6e7d9d 2007-07-27i Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Create archive from a file for hosts with
	a limited command line size.
2007-07-27 03:51:31 +00:00
Chris Johns 6232750181 2007-07-27 Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Create archive from a file for hosts with
	a limited command line size.
2007-07-27 03:50:16 +00:00
Chris Johns 8462ac8a98 2006-09-29 Chris Johns <chrisj@rtems.org>
* libmisc/monitor/mon-command.c: Flush stdout after updating the
	command line.
2006-09-28 14:57:07 +00:00
Chris Johns 8dec18146c Flush stdout after updating the command line. 2006-09-28 14:44:50 +00:00
Chris Johns cb66894ed0 Remove extra CRLF. 2006-09-11 12:14:53 +00:00
Chris Johns b52f628e4f Remove extra CRLF. 2006-09-11 12:00:59 +00:00
Chris Johns 8f1e494813 Remove extra CRLF. 2006-09-11 11:52:08 +00:00
Chris Johns c2f22829d1 2006-09-06 Chris Johns <chrisj@rtems.org>
* pppd/pppd.h: Fix the bug in name change. The UNTIMEOUT
        macro did not use the ppp version.
2006-09-06 12:55:52 +00:00
Chris Johns b59eff1c13 Fix the bug in name change. The UNTIMEOUT macro did not use the ppp version. 2006-09-06 05:13:42 +00:00
Chris Johns 4b88b73b1b Default to not building bsps. Too many problems. 2006-09-03 10:50:36 +00:00
Chris Johns 896247d5e6 Handle the noarch rpms. Dump the file list. 2006-08-27 12:46:13 +00:00
Chris Johns 2ba11f8c75 Set the prefix into the MSYS fstab, This is a hack but it works. 2006-08-27 12:45:28 +00:00
Chris Johns e25ff2c625 Ignore more build output files. 2006-08-27 12:44:47 +00:00
Chris Johns 5ceb567e4b Build the autotools for each RTEMS target. 2006-08-27 12:44:08 +00:00
Chris Johns 4f5d2dfcf1 Move the target list into a shared file. 2006-08-27 12:43:13 +00:00
Chris Johns d867214daa 2006-08-22 Chris Johns <chrisj@rtems.org>
* rtems4.7/avr/gcc-sources.add: Add the 4.0.3 patch.
        * patches/gcc-core-4.0.3-rtems-20060822.diff:
        The .exe for the versioned execuable for MinGW.
2006-08-22 12:08:05 +00:00
Chris Johns f78916176c Add the 4.0.3 patch. 2006-08-22 11:57:36 +00:00
Chris Johns e5e88aab51 The .exe for the versioned execuable for MinGW. 2006-08-22 11:57:03 +00:00
Chris Johns ef5059395e Change the rpm to use the version. 2006-08-22 11:41:51 +00:00
Chris Johns 5428a43e2f Add a version for rtems.
Add checking messages.
2006-08-22 11:41:31 +00:00
Chris Johns a2d7c41101 Move the build to host tools out of the target root, 2006-08-21 22:29:53 +00:00
Chris Johns 7272828382 Fix the path in the batch file to the installed path. 2006-08-20 23:02:44 +00:00
Chris Johns 8a1c14be10 Renamed the spec file. 2006-08-18 11:28:17 +00:00
Chris Johns 0e872e6a2b Updated the specs file. 2006-08-18 11:27:56 +00:00
Chris Johns 0e61a811af Move to rtems.specs.in. 2006-08-17 05:51:36 +00:00