Commit Graph

21633 Commits

Author SHA1 Message Date
Joel Sherrill
7424c3ee86 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for task driven drivers.
	* termios05/.cvsignore, termios05/Makefile.am, termios05/init.c,
	termios05/termios05.doc, termios05/termios05.scn,
	termios05/termios_testdriver_taskdriven.c,
	termios05/termios_testdriver_taskdriven.h: New files.
2010-07-01 14:35:00 +00:00
Sebastian Huber
6c0fcd4a39 2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Removed
	rtems_filesystem_mount_table_control.
	* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c,
	libcsupport/src/mount.c libcsupport/src/statvfs.c,
	libcsupport/src/unmount.c, libmisc/shell/main_mount.c: Documentation.
	Removed rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Added
	rtems_filesystem_mount_iterate().  Changed return type of
	rtems_filesystem_iterate().  Removed rtems_filesystem_nodes_equal().
2010-07-01 13:05:18 +00:00
Sebastian Huber
59673224e0 2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/nfs.c,
	libfs/src/nfsclient/src/librtemsNfs.h: Renamed
	rtems_nfsfs_initialize() in rtems_nfs_initialize().
	* sapi/include/confdefs.h: Reflect changes above.  Renamed
	*_miniIMFS in *_MINIIMFS.  Renamed *_NFSFS in *_NFS.
2010-07-01 09:51:50 +00:00
Joel Sherrill
7c658feb2e 2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1472/cpukit
	* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_initialize.c, libcsupport/src/realloc.c,
	libcsupport/src/rtems_memalign.c: Remove malloc boundary code. It has
	not been used since before 4.6 and is bitrotted.
	* libcsupport/src/malloc_boundary.c: Removed.
2010-06-30 15:36:48 +00:00
Joel Sherrill
efc253fa86 2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
* psximfs01/init.c: Fix warning introduced.
2010-06-30 14:41:56 +00:00
Joel Sherrill
3356041470 2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
* umon/tfsDriver.c: Remove extra brace.
2010-06-30 14:32:36 +00:00
Jennifer Averett
667d1651c0 2010-06-30 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* umon/tfsDriver.c: Corrected filesystem mknod entry to call the
	default handler.
2010-06-30 14:01:17 +00:00
Jennifer Averett
6683a58d6e 2010-06-30 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added
	filesystem default mknod method.
	* libfs/src/defaults/default_mknod.c: New file.
2010-06-30 13:58:56 +00:00
Joel Sherrill
71a5e5a113 2010-06-30 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1595/tests
	* psximfs01/init.c: Fix warnings.
2010-06-30 13:54:15 +00:00
Sebastian Huber
2d108f88e2 2010-06-30 Peter Dufault <dufault@hda.com>
PR 1588/cpukit
	* start/start.S: Renamed defines SR0 .. SR15 in
	PPC_SR0 ..  PPC_SR15.
2010-06-30 07:43:56 +00:00
Sebastian Huber
390dadd2c5 2010-06-30 Peter Dufault <dufault@hda.com>
PR 1588/cpukit
	* rtems/powerpc/registers.h: Renamed defines SR0 .. SR15 in
	PPC_SR0 ..  PPC_SR15.
2010-06-30 07:43:00 +00:00
Jennifer Averett
b11296fb38 2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* umon/tfsDriver.c: Changed NULL methods in filesystem tables to be
	default methods.
2010-06-29 19:45:53 +00:00
Jennifer Averett
d010b9d7cf 2010-06-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added include of
	bspopts to resolve compilation problem.
2010-06-29 19:44:06 +00:00
Jennifer Averett
dace9ed18b 2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am,
	libfs/src/defaults/default_chown.c,
	libfs/src/defaults/default_evalpath.c,
	libfs/src/defaults/default_freenode.c,
	libfs/src/defaults/default_fsmount.c,
	libfs/src/defaults/default_link.c,
	libfs/src/defaults/default_mount.c,
	libfs/src/defaults/default_rename.c,
	libfs/src/defaults/default_statvfs.c,
	libfs/src/defaults/default_symlink.c,
	libfs/src/defaults/default_unlink.c,
	libfs/src/defaults/default_utime.c, libfs/src/devfs/devfs_init.c,
	libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c,
	libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems.c,
	wrapup/Makefile.am: Fixed typo in default names. Added default
	methods into filesystem tables.
	* libfs/src/defaults/default_close.c,
	libfs/src/defaults/default_evaluate_link.c,
	libfs/src/defaults/default_fpathconf.c,
	libfs/src/defaults/default_fsunmount.c,
	libfs/src/defaults/default_open.c,
	libfs/src/defaults/default_unmount.c: New files.
2010-06-29 19:37:28 +00:00
Joel Sherrill
cd90b9c959 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Remove AC_CHECK_SIZEOF([void *]).
2010-06-29 18:53:19 +00:00
Joel Sherrill
263ab4bcb9 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, score/include/rtems/score/percpu.h: Add
	__RTEMS_SIZEOF_VOID_P__ to cpuopts.h so percpu.h has this information
	available during build and after installation.
2010-06-29 18:51:49 +00:00
Joel Sherrill
8980996edd 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq_asm.S: Rename rtems_per_cpu_info.
2010-06-29 17:45:34 +00:00
Jennifer Averett
438983d25c 2010-06-29 Joel Sherrill <Joel.Sherrill@OARcorp.com>
* configure.ac: Added AC_CHECK_SIZEOF macro.
2010-06-29 13:49:06 +00:00
Sebastian Huber
55c3939bbb 2010-06-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/lib/tftpDriver.c: rtems_tftp_ops and
	rtems_tftp_handlers are now const and static.
	* libnetworking/rtems/tftp.h: Removed
	rtems_bsdnet_initialize_tftp_filesystem and rtems_tftp_ops.
2010-06-29 13:03:31 +00:00
Joel Sherrill
76950a6f48 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/defaults/default_chown.c,
	libfs/src/defaults/default_evalpath.c,
	libfs/src/defaults/default_fchmod.c,
	libfs/src/defaults/default_fcntl.c,
	libfs/src/defaults/default_fdatasync.c,
	libfs/src/defaults/default_freenode.c,
	libfs/src/defaults/default_fsmount.c,
	libfs/src/defaults/default_fstat.c,
	libfs/src/defaults/default_fsync.c,
	libfs/src/defaults/default_ftruncate.c,
	libfs/src/defaults/default_ioctl.c,
	libfs/src/defaults/default_link.c,
	libfs/src/defaults/default_lseek.c,
	libfs/src/defaults/default_mount.c,
	libfs/src/defaults/default_read.c,
	libfs/src/defaults/default_readlink.c,
	libfs/src/defaults/default_rename.c,
	libfs/src/defaults/default_rmnod.c,
	libfs/src/defaults/default_statvfs.c,
	libfs/src/defaults/default_symlink.c,
	libfs/src/defaults/default_unlink.c,
	libfs/src/defaults/default_utime.c,
	libfs/src/defaults/default_write.c: Add include of rtems/seterr.h
2010-06-29 01:53:18 +00:00
Joel Sherrill
56cdd5e88f 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* spsize/size.c: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
2010-06-29 00:40:29 +00:00
Joel Sherrill
646e7b0d2a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* shared/score/interrupt.S: Add a per cpu data structure which contains
	the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:39:44 +00:00
Joel Sherrill
61b1c413b7 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
	sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Add a per cpu data
	structure which contains the information required by RTEMS for each
	CPU core. This encapsulates information such as thread executing,
	heir, idle and dispatch needed.
2010-06-29 00:39:41 +00:00
Joel Sherrill
5048a0a0b8 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* mpc5xx/irq/irq.c, mpc5xx/irq/irq_asm.S,
	new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c: Add a per cpu data structure
	which contains the information required by RTEMS for each CPU core.
	This encapsulates information such as thread executing, heir, idle
	and dispatch needed.
2010-06-29 00:39:39 +00:00
Joel Sherrill
da4d03d084 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* porting/interrupts.t: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
2010-06-29 00:39:27 +00:00
Joel Sherrill
51bd2e5f21 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* irq/irq.c: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
2010-06-29 00:38:29 +00:00
Joel Sherrill
5a0b7914c8 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* shared/irq/exception.S: Add a per cpu data structure which contains
	the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:38:20 +00:00
Joel Sherrill
15519cba23 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* shared/irq/irq.c, shared/irq/irq_asm.S: Add a per cpu data structure
	which contains the information required by RTEMS for each CPU core.
	This encapsulates information such as thread executing, heir, idle
	and dispatch needed.
2010-06-29 00:38:13 +00:00
Joel Sherrill
11e8bc5f0f 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* configure.ac, posix/src/killinfo.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalsetprocesssignals.c,
	posix/src/psignalunblockthread.c, posix/src/pthreadcreate.c,
	posix/src/pthreadkill.c, posix/src/pthreadsigmask.c,
	rtems/src/signalsend.c, rtems/src/taskmode.c, score/Makefile.am,
	score/preinstall.am, score/include/rtems/system.h,
	score/include/rtems/score/context.h, score/include/rtems/score/isr.h,
	score/include/rtems/score/thread.h, score/src/isr.c,
	score/src/isrthreaddispatch.c, score/src/thread.c,
	score/src/threaddispatch.c, score/src/threadloadenv.c: Add a per cpu
	data structure which contains the information required by RTEMS for
	each CPU core. This encapsulates information such as thread
	executing, heir, idle and dispatch needed.
	* score/include/rtems/score/percpu.h, score/src/percpu.c: New files.
2010-06-29 00:34:12 +00:00
Joel Sherrill
6d42b4c60a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.S, rtems/score/cpu.h: Add a per cpu data structure which
	contains the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:34:00 +00:00
Joel Sherrill
8e407adb28 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* rtems/score/cpu.h: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
2010-06-29 00:33:58 +00:00
Joel Sherrill
b275a14463 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* rtems/new-exceptions/cpu.h: Add a per cpu data structure which
	contains the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:33:15 +00:00
Joel Sherrill
9418359d76 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.c, rtems/score/cpu.h: Add a per cpu data structure which
	contains the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:33:12 +00:00
Joel Sherrill
9939ecc412 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* irq.c, rtems/score/cpu.h: Add a per cpu data structure which contains
	the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:31:47 +00:00
Joel Sherrill
1ef0afe60a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.S, rtems/asm.h, rtems/score/cpu.h: Add a per cpu data
	structure which contains the information required by RTEMS for each
	CPU core. This encapsulates information such as thread executing,
	heir, idle and dispatch needed.
2010-06-29 00:31:09 +00:00
Joel Sherrill
b616350ec9 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* arm_exc_interrupt.S: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
2010-06-29 00:31:02 +00:00
Joel Sherrill
46cce26f70 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/libio_sockets.c: Use
	rtems_set_errno_and_return_minus_one() where it was missed before.
2010-06-28 23:12:10 +00:00
Joel Sherrill
45fcb767c3 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__brk.c, libcsupport/src/__gettod.c,
	libcsupport/src/__times.c, libcsupport/src/fchdir.c,
	libcsupport/src/ftrylockfile.c, libcsupport/src/getpwent.c,
	libcsupport/src/gxx_wrappers.c, libcsupport/src/libio_sockets.c,
	libcsupport/src/pipe.c: Use rtems_set_errno_and_return_minus_one()
	where it was missed before.
2010-06-28 22:14:35 +00:00
Joel Sherrill
1d33ecab00 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/error.h, libcsupport/src/error.c: Clean up
	so rtems_panic() can be a noreturn method. This eliminates some
	unreachable and thus untestable code.
2010-06-28 22:13:55 +00:00
Joel Sherrill
89b897f020 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtime/psxtime.scn, psxtime/test.c: Add test for passing a null
	pointer.
2010-06-28 21:00:15 +00:00
Joel Sherrill
ef87186893 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Remove reference to RTEMS_OBJECT_FORMAT.
2010-06-28 19:53:00 +00:00
Joel Sherrill
6cc69f188b 2010-06-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libcsupport/src/termios.c: Formatting.
2010-06-28 18:48:32 +00:00
Joel Sherrill
43efb633ba 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test to exercise IMFS behaviour with
	files of maximum sizes.
	* psximfs01/.cvsignore, psximfs01/Makefile.am, psximfs01/init.c,
	psximfs01/psximfs01.doc, psximfs01/psximfs01.scn: New files.
2010-06-28 18:48:25 +00:00
Joel Sherrill
03a47f6e06 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Revert changes related to uncommitted test
	under development.
2010-06-28 17:15:44 +00:00
Joel Sherrill
33ece501be 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, malloctest/init.c, termios03/init.c,
	termios03/termios03.scn: Handle some of the VKILL and VERASE cases.
2010-06-28 17:05:25 +00:00
Joel Sherrill
170f26aa17 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Add const.
2010-06-28 14:33:34 +00:00
Joel Sherrill
c55bbe806e 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp69/Makefile.am: Really needs spin.c
2010-06-28 14:28:40 +00:00
Joel Sherrill
ecefc8ea52 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1591/bsps
	* preinstall.am: Regenerate.
2010-06-28 14:25:29 +00:00
Joel Sherrill
b6eaf42933 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise termios RX and TX
	interrupt driven IO support.
	* termios04/.cvsignore, termios04/Makefile.am, termios04/init.c,
	termios04/termios04.doc, termios04/termios04.scn,
	termios04/termios_testdriver_intr.c,
	termios04/termios_testdriver_intr.h: New files.
2010-06-28 14:23:19 +00:00
Joel Sherrill
0308c02853 2010-06-26 Bharath Suri <bharath.s.jois@gmail.com>
PR 1592/testing
	* Makefile.am, configure.ac: Changes to incorporate sperror01,
	sperror02, sperror03
	* sperror01/init.c, sperror02/init.c: New tests to exercise
	rtems_error routine
	* sperror03/init.c: New test to exercise rtems_panic routine
2010-06-28 14:03:45 +00:00