Commit Graph

21451 Commits

Author SHA1 Message Date
Joel Sherrill
b3eb018574 2010-07-02 Bharath Suri <bharath.s.jois@gmail.com>
PR 1600/testing
	* spfifo04/init.c, spfifo04/spfifo04.doc, spfifo04/spfifo04.scn,
	spfifo04/Makefile.am: New files to improve coverage on fifo/pipe
	routines
	* Makefile.am, configure.ac: Add new test.
2010-07-02 18:07:12 +00:00
Joel Sherrill
5143105e73 2010-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test_cat.c: Does not need posix specific macros.
2010-07-02 17:20:54 +00:00
Joel Sherrill
3f42281e30 2010-07-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
* psxfile01/Makefile.am, psxfile01/psxfile01.scn, psxfile01/test.c:
	Remove tests which put NULL entries in file handlers.
2010-07-01 21:15:07 +00:00
Joel Sherrill
962571e914 2010-07-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libfs/src/dosfs/msdos_handlers_dir.c,
	libfs/src/dosfs/msdos_handlers_file.c, libfs/src/imfs/imfs_fifo.c,
	libfs/src/imfs/imfs_handlers_device.c,
	libfs/src/imfs/imfs_handlers_directory.c,
	libfs/src/imfs/imfs_handlers_link.c,
	libfs/src/imfs/imfs_handlers_memfile.c,
	libfs/src/imfs/miniimfs_init.c, libfs/src/rfs/rtems-rfs-rtems-dev.c,
	libfs/src/rfs/rtems-rfs-rtems-dir.c,
	libfs/src/rfs/rtems-rfs-rtems-file.c: Turn NULLs into default
	handlers.
2010-07-01 20:18:41 +00:00
Joel Sherrill
9787ee22a1 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/asm.h, rtems/score/cpu.h: cpu.h defines were not available to
	assembly programs. This resulted in percpu.h (when included from
	assembly) not being able to detect that the MIPS does not have a
	dedicated software managed interrupt stack.
2010-07-01 19:43:29 +00:00
Joel Sherrill
0d923d9705 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/_rename_r.c, libcsupport/src/getdents.c,
	libcsupport/src/unlink.c, libcsupport/src/utime.c,
	libcsupport/src/writev.c: Remove remaining checks for missing
	handlers.
2010-07-01 17:47:48 +00:00
Joel Sherrill
1fe4042000 2010-07-01 Bharath Suri <bharath.s.jois@gmail.com>
PR 1598/testing
	* Makefile.am, configure.ac, psxpasswd01/init.c,
	psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: Add testing
	for POSIX user database (e.g. /etc/group and /etc/passwd) access
	routines which are implemented in libcsupport/src/getpwent.c.
	* psxpasswd02/.cvsignore, psxpasswd02/Makefile.am, psxpasswd02/init.c,
	psxpasswd02/psxpasswd02.doc, psxpasswd02/psxpasswd02.scn: New files.
2010-07-01 17:26:37 +00:00
Joel Sherrill
c40d3c4b02 2010-07-01 Vinu Rajashekhar <vinutheraj@gmail.com>
PR 1597/cpukit
	* psx13/psx13.scn, psx13/test.c, psxstat/psxstat.scn,
	psxstat/test.c: Add lchown() and utimes().
2010-07-01 17:24:35 +00:00
Joel Sherrill
98b785e66c 2010-07-01 Vinu Rajashekhar <vinutheraj@gmail.com>
PR 1597/cpukit
	* libcsupport/Makefile.am, libcsupport/src/chown.c: Add lchown() and
	utimes().
	* libcsupport/src/lchown.c, libcsupport/src/utimes.c: New files.
2010-07-01 17:22:03 +00:00
Joel Sherrill
58f0937509 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp68/init.c: Add alignment to region_area. Fix spelling.
2010-07-01 17:00:33 +00:00
Joel Sherrill
cfcdb5b218 2010-07-01 Vinu Rajashekhar <vinutheraj@gmail.com>
PR 1529/cpukit
	* utime.c: Change file access time and modified time to
	current time if pointer to struct utimbuf is NULL.
	* imfs_utime.c: Upon successful completion, imfs_utime() marks
	the time of the last file status change, st_ctime, to be updated.
2010-07-01 16:29:17 +00:00
Joel Sherrill
f56f8e298a 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/rtems_memalign.c, score/include/rtems/score/heap.h:
	Remove stray references to malloc boundary.
2010-07-01 15:39:59 +00:00
Joel Sherrill
5ef1164ca3 2010-07-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1594/filesystem
	* libfs/src/imfs/memfile.c: Include assert.h
2010-07-01 15:39:23 +00:00
Joel Sherrill
e72bc2981d 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/getegid.c, libcsupport/src/gxx_wrappers.c,
	libcsupport/src/issetugid.c: Formatting and spacing.
2010-07-01 15:37:48 +00:00
Jennifer Averett
92119ed344 2010-07-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/src/chdir.c, libcsupport/src/chmod.c,
	libcsupport/src/chown.c, libcsupport/src/close.c,
	libcsupport/src/eval.c, libcsupport/src/fchdir.c,
	libcsupport/src/fchmod.c, libcsupport/src/fchown.c,
	libcsupport/src/fcntl.c, libcsupport/src/fdatasync.c,
	libcsupport/src/freenode.c, libcsupport/src/fstat.c,
	libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
	libcsupport/src/ioctl.c, libcsupport/src/link.c,
	libcsupport/src/lseek.c, libcsupport/src/mknod.c,
	libcsupport/src/mount.c, libcsupport/src/open.c,
	libcsupport/src/read.c, libcsupport/src/readlink.c,
	libcsupport/src/readv.c, libcsupport/src/rmdir.c,
	libcsupport/src/stat.c, libcsupport/src/statvfs.c,
	libcsupport/src/symlink.c, libcsupport/src/unlink.c,
	libcsupport/src/unmount.c, libcsupport/src/write.c: Removed
	filesystem checks for NULL methods checks from the main posix
	rountines. These are now required to have at a miminum default
	routines in the tables.
2010-07-01 15:12:38 +00:00
Joel Sherrill
98e16aad39 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add tests for file lock stubs as well as
	various POSIX methods that access UID, PID, and GID.
	* psxfilelock01/.cvsignore, psxfilelock01/Makefile.am,
	psxfilelock01/init.c, psxfilelock01/psxfilelock01.doc,
	psxfilelock01/psxfilelock01.scn, psxid01/.cvsignore,
	psxid01/Makefile.am, psxid01/init.c, psxid01/psxid01.doc,
	psxid01/psxid01.scn: New files.
2010-07-01 14:40:14 +00:00
Joel Sherrill
f938d598de 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for GCC C++ library helpers.
	* gxx01/.cvsignore, gxx01/Makefile.am, gxx01/gxx01.doc,
	gxx01/gxx01.scn, gxx01/gxx_wrappers.h, gxx01/init.c: New files.
2010-07-01 14:37:46 +00:00
Joel Sherrill
028aa0630b 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios04/termios_testdriver_intr.c: Task driven IO now works.
2010-07-01 14:35:54 +00:00
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