Commit Graph

18134 Commits

Author SHA1 Message Date
Chris Johns
7275542171 2009-06-12 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/flashdisk.h,
        libblock/include/rtems/nvdisk.h, libblock/src/flashdisk.c,
        libblock/src/nvdisk.c: Change names to match the RAM disk change.
        * libcsupport/src/eval.c: Remove some warnings.
2009-06-12 02:59:18 +00:00
Chris Johns
7baa484300 2009-06-12 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: Update comments.
        * libblock/src/bdpart.c, libblock/src/ide_part_table.c: Get the
        device from the rdev field of the stat buf.
        * libcsupport/include/rtems/libio.h: Add a path length to evalpath
        handler. Add parent locations to rmmod and unlink handlers.
        * libcsupport/include/rtems/libio_.h: Add a path length to
        rtems_filesystem_evaluate_path. Add
        rtems_filesystem_evaluate_relative_path, rtems_filesystem_dirname,
        and rtems_filesystem_prefix_separators. Remove
        rtems_filesystem_evaluate_parent.
        * libcsupport/src/base_fs.c, libcsupport/src/chdir.c,
        libcsupport/src/chmod.c, libcsupport/src/chown.c,
        libcsupport/src/chroot.c, libcsupport/src/fchdir.c,
        libcsupport/src/link.c, libcsupport/src/mount.c,
        libcsupport/src/open.c, libcsupport/src/privateenv.c,
        libcsupport/src/readlink.c, libcsupport/src/unmount.c,
        libcsupport/src/utime.c, libcsupport/src/unmount.c,
        libcsupport/src/utime.c, libfs/src/devfs/devfs.h,
        libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devstat.c,
        libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c,
        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c,
        libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/ioman.c,
        libfs/src/pipe/pipe.c, libmisc/fsmount/fsmount.c,
        libnetworking/lib/ftpfs.c: Add the length parameter to the eval
        call.
        * libcsupport/src/eval.c: Add rtems_filesystem_prefix_separators,
        rtems_filesystem_dirname,
        rtems_filesystem_evaluate_relative_path. Add the length parameter
        to the eval call.
        * libcsupport/src/rmdir.c: Find the parent pathloc then the node
        pathloc from that node. Remove the call to find the parent given
        the node pathloc.
        * libcsupport/src/stat.c: Add the length parameter to the eval
        call. Set the device into the rdev field.
        * libcsupport/src/unlink.c: Find the parent pathloc then the node
        pathloc from that node. Remove the call to find the parent given
        the node pathloc.
        * libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Get the
        disk device number from the stat rdev field.
        * libfs/src/dosfs/msdos.h: Add the length parameter to the eval
        call. Add the parent pathloc to the rmnod handler.
        * libfs/src/dosfs/msdos_dir.c: Add the parent pathloc to the rmnod
        handler.
        * libfs/src/dosfs/msdos_eval.c: Add the length parameter to the
        eval and token call.
        * libfs/src/imfs/imfs_directory.c: Add the parent pathloc to the
        rmnod handler.
        * libfs/src/imfs/imfs_fchmod.c: Do not test the mode flags for
        only the allowed flags. Add the missing flags spec'ed in the POSIX
        standard.
        * libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_rmnod.c,
        libfs/src/imfs/imfs_unlink.c, libfs/src/imfs/memfile.c: Add the
        parent node. Currently ignored in the IMFS.
        * libfs/src/imfs/imfs_stat.c: Return the device number in the rdev
        field.
        * libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_symlink.c : Add
        the length parameter to the token call.
        * libfs/src/nfsclient/src/nfs.c: Add the length parameter to the
        eval call and parent node to the rmnod and unlink command.
        * libmisc/shell/internal.h: Remove the libc mounter decl to make
        public.
        * libmisc/shell/main_mount.c: Add support for hooking external
        mount support for new file systems.
        * libmisc/shell/shell.h: Add helper functions for the mount
        command.
2009-06-12 01:53:33 +00:00
Chris Johns
9e06eb1e96 2009-06-11 Roxana Leontie <roxana.leontie@gmail.com>
* cdtest/system.h: modified the number of max semaphores
          - test was failing before
2009-06-12 01:14:41 +00:00
Joel Sherrill
e73f8a1758 2009-06-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* network/network.c: Attempt to support csb637 PHY.
2009-06-11 20:03:14 +00:00
Joel Sherrill
34e648791e 2009-06-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/corespinlockwait.c: Mark timeout code which is not
	currently exercised by any API with the
	FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
2009-06-11 15:18:08 +00:00
Joel Sherrill
fe484f7d2e 2009-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Fix spacing.
2009-06-11 13:12:42 +00:00
Joel Sherrill
d15bae699d 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Fix minor error when application has its own
	initialization task table.
2009-06-10 17:10:59 +00:00
Joel Sherrill
7cd9cd89f9 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add mq_send to full queue from ISR case.
	* psxmsgq03/.cvsignore, psxmsgq03/Makefile.am, psxmsgq03/init.c,
	psxmsgq03/psxmsgq03.doc, psxmsgq03/psxmsgq03.scn, psxmsgq03/system.h: New files.
2009-06-10 17:09:54 +00:00
Joel Sherrill
293a0a41d2 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test.
	* sp54/.cvsignore, sp54/Makefile.am, sp54/init.c, sp54/sp54.doc,
	sp54/sp54.scn: New files.
2009-06-10 17:09:34 +00:00
Joel Sherrill
5f6a4a24fa 2009-06-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* heapwalk/init.c: Add test code for first free block pointer not
	aligned.
2009-06-10 15:28:10 +00:00
Joel Sherrill
e050d9ae5a 2009-06-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/heapwalk.c: Verify addresses are aligned.
2009-06-08 22:50:27 +00:00
Joel Sherrill
93f4ac264c 2009-06-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* heapwalk/init.c: Add more cases.
2009-06-08 22:49:58 +00:00
Joel Sherrill
25686a5718 2009-06-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add sp52 and sp53 based upon bug report
	from Sergio Faustino <sergio.faustino@edisoft.pt> regarding moving
	the time of day forward not making server based timers fire.
	* sp52/.cvsignore, sp52/Makefile.am, sp52/init.c, sp52/sp52.doc,
	sp52/sp52.scn, sp53/.cvsignore, sp53/Makefile.am, sp53/sp53.doc,
	sp53/sp53.scn: New files.
2009-06-08 21:05:20 +00:00
Joel Sherrill
f4812a03e3 2009-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* heapwalk/init.c: Add more automated corruption capability.
2009-06-06 18:52:54 +00:00
Till Straumann
5cb7096bde 2009-06-05 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	implemented multicast support.
2009-06-06 00:49:41 +00:00
Joel Sherrill
c30fcf522c 2009-06-05 Santosh G Vattam <vattam.santosh@gmail.com>
* heapwalk/heapwalk.scn, heapwalk/init.c: Add a test case.
2009-06-05 22:17:52 +00:00
Joel Sherrill
b360885dfd 2009-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am, pxa255/clock/clock.c, pxa255/ffuart/ffuart.c,
	pxa255/irq/bsp_irq_init.c, pxa255/timer/timer.c: Fix typos and update
	timer.
2009-06-05 22:10:43 +00:00
Joel Sherrill
7a5c013c1e 2009-06-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* pxa255/clock/clock.c: Add ON_SKYEYE option to enable fast idle mode.
2009-06-05 12:56:55 +00:00
Joel Sherrill
bab15ed4b9 2009-06-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, include/bspopts.h.in: Add ON_SKYEYE option to at least
	enable fast idle mode. Also added some standard BSP options.
2009-06-05 12:56:33 +00:00
Joel Sherrill
397e144c68 2009-06-04 Xi Yang <hiyangxi@gmail.com>
* startup/bspstart.c: Eliminate unused variables.
2009-06-04 18:37:54 +00:00
Joel Sherrill
d7a915dade 2009-06-04 Xi Yang <hiyangxi@gmail.com>
* Makefile.am, configure.ac, preinstall.am: New Gumstix BSP and PXA255
	support.
	* pxa255/clock/clock.c, pxa255/ffuart/ffuart.c, pxa255/include/bits.h,
	pxa255/include/ffuart.h, pxa255/include/pxa255.h,
	pxa255/irq/bsp_irq_asm.S, pxa255/irq/bsp_irq_init.c,
	pxa255/irq/irq.c, pxa255/irq/irq.h, pxa255/pmc/pmc.c,
	pxa255/timer/timer.c: New files.
2009-06-04 16:33:31 +00:00
Joel Sherrill
2c9fde8bdb 2009-06-04 Xi Yang <hiyangxi@gmail.com>
* Makefile.am: New Gumstix BSP.
	* custom/gumstix.cfg: New file.
2009-06-04 16:33:04 +00:00
Joel Sherrill
d2884e60e4 2009-06-04 Xi Yang <hiyangxi@gmail.com>
* acinclude.m4: New Gumstix BSP.
2009-06-04 16:24:00 +00:00
Joel Sherrill
6e27be70e1 2009-06-04 Xi Yang <hiyangxi@gmail.com>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	preinstall.am, console/uarts.c, include/bsp.h, include/bspopts.h.in,
	include/tm27.h, start/start.S, startup/bspstart.c, startup/linkcmds,
	startup/memmap.c: New files.
2009-06-04 16:23:11 +00:00
Ralf Corsepius
efb0cf6947 2009-06-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* loopback/init.c: Add missing initializers.
2009-06-04 06:50:04 +00:00
Joel Sherrill
985ad2f818 Add PR 1420. 2009-06-03 14:13:03 +00:00
Ralf Corsepius
b3a9e9016b 2009-06-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/assoc.h,
	libcsupport/include/rtems/malloc.h: Add extern "C" {} guards.
	* libcsupport/include/rtems/libio_.h: Move extern "C" {} guards.
2009-06-03 03:39:44 +00:00
Ralf Corsepius
529ab9156b Move extern "C" {} guards. 2009-06-03 03:39:07 +00:00
Ralf Corsepius
b0ddb61d0a Add extern "C" {} guards. 2009-06-03 03:38:38 +00:00
Joel Sherrill
148e6219ec Fix formatting. 2009-06-02 22:20:46 +00:00
Joel Sherrill
3b8dfa66e7 2009-06-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* at91rm9200/dbgu/dbgu.c: Needed carriage return on newline.
2009-06-02 22:20:16 +00:00
Joel Sherrill
e7bde49248 2009-06-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, preinstall.am, console/uarts.c,
	include/bsp.h, startup/memmap.c: Add support for /dev/fbcons which is
	a console type output only device to print to the LCD screen. The
	video controller (SED) and fonts are copied from MicroMonitor and
	proper attribution is made in those files and confirmed by Ed Sutter.
	* console/fbcons.c, console/font8x16.h, console/sed1356.c,
	console/sed1356_16bit.h, include/sed1356.h: New files.
2009-06-02 22:19:44 +00:00
Eric Norum
14eefeabaa As per Freescale chip errata, disable buffered writes. 2009-06-02 21:13:44 +00:00
Ralf Corsepius
222f86844e Regenerate. 2009-06-02 13:21:13 +00:00
Ralf Corsepius
cd94be4ec9 2009-06-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Fix breakage having been introduced in previous patch.
2009-06-02 13:21:04 +00:00
Joel Sherrill
931dd976bc 2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h, score/src/threadinitialize.c,
	score/src/threadreset.c, score/src/threadresume.c,
	score/src/threadsuspend.c: Nesting count on thread suspension is only
	supported from ITRON API so disable if ITRON is disabled.
2009-06-01 21:44:01 +00:00
Joel Sherrill
46a67b1981 2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h, score/src/threadhandler.c: Merge
	conditional code from main and init/fini C++ constructors so the body
	of this method reads better. Mark thread prototypes which are not
	currently exercised by any APIs with
	FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
2009-06-01 14:50:31 +00:00
Chris Johns
57be444e59 2009-05-30 Chris Johns <chrisj@rtems.org>
* ide/ide.c: Add initialisation code to reset the IDE devices and
        to probe them and display their model numbers. Also add code to
        display the probing to aid bring up new hardware.

        * ide/idecfg.c: Add the --ide-show command to show probing type
        accessing when finding devices on the configured IDE buses.
2009-05-30 04:49:26 +00:00
Chris Johns
b30c618ab1 2009-05-30 Chris Johns <chrisj@rtems.org>
* c/src/libchip/ide/ata.c: Fixed the bug that ignored slave
        devices on an IDE bus and cleaned up the initialisation register
        call.
2009-05-30 04:48:30 +00:00
Joel Sherrill
33ab74dabe 2009-05-29 Roxana Leontie <roxana.leontie@gmail.com>
* Makefile.am, preinstall.am: Install tty_drv.h
2009-05-29 12:39:47 +00:00
Joel Sherrill
a319ab0471 2009-05-25 Allan Hessenflow <allanh@kallisti.com>
* start/start.S: Correct call to boot_card to meet bfin abi by
	clearing l0 - l3 and allocating some stack space.
2009-05-28 20:55:46 +00:00
Joel Sherrill
7c8d65e835 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1415/cpukit
	* rtems/src/semcreate.c, rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/coremutex.inl, score/src/coremutex.c:
	Address two paths where a task with a priority above the ceiling
	could obtain a priority ceiling mutex.
2009-05-28 20:38:12 +00:00
Joel Sherrill
86abd5b984 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/bsp-alias.m4: Add csb637 as variant of csb337.
2009-05-28 20:09:16 +00:00
Joel Sherrill
6aaab51b92 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/csb637.cfg: New file.
2009-05-28 20:08:43 +00:00
Joel Sherrill
b767616d2d 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, README, configure.ac, preinstall.am, start/start.S,
	startup/memmap.c: Add csb637 as alias and variant.
	* startup/linkcmds.csb637: New file.
2009-05-28 20:08:20 +00:00
Joel Sherrill
b11e05fe0f 2009-05-27 Michael Walle <michael@walle.cc>
* shared/start/start.S: Export crt0 symbol because the debug.S uses
	that.
2009-05-27 15:36:09 +00:00
Joel Sherrill
8d64f08eb8 2009-05-27 Fernando Nicodemos <fgnicodemos@terra.com.br>
* at91rm9200/clock/clock.c: Add support for nanoseconds since last
	tick. The resolution is not that high but better than nothing.
2009-05-27 14:34:24 +00:00
Joel Sherrill
22ed4172f7 2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtc.h: New RTC driver interface.
	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added RTC command.
	* libmisc/shell/main_rtc.c: New file.
2009-05-27 14:23:23 +00:00
Joel Sherrill
72fe60735b 2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* clock/rtc.c, clock/tod.h: Update for new RTC driver interface.
2009-05-27 14:22:10 +00:00
Joel Sherrill
7e0bd6ee20 2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* tod.h, tod.c: Update for new RTC driver interface.
2009-05-27 14:21:29 +00:00