Commit Graph
59 Commits
Author SHA1 Message Date
Joel Sherrill 90a5d194a2 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/src/printk.c:
	* libcsupport/src/printk_plugin.c: New file.
	include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
	libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
	libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
	rtems/src/ratemonreportstatistics.c: Added capability to specify
	your own "printf" routine to various reporting functions.  This
	added an XXX_with_plugin as the underlying implementation for
	  + rtems_rate_monotonic_report_statistics
	  + rtems_stack_checker_report_usage
	  + rtems_cpu_usage_report
	As demonstration, the http netdemo can now print out stack
	and cpu usage reports.
2007-09-06 22:51:25 +00:00
Ralf Corsepius 8eea24b8d3 2007-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bspIo.h, include/rtems/pci.h:
	Add extern "C" guards. Reported by
	Robert S. Grimes <rsg@alum.mit.edu>.
2007-07-26 06:12:29 +00:00
Ralf Corsepius cd9564e1cd Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:29:14 +00:00
Ralf Corsepius b8a6285b67 New. 2007-05-10 07:19:35 +00:00
Ralf Corsepius 5515a75820 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bsd/sys/queue.h: New (Copied from
	  libnetworking/sys/queue.h).
2007-05-10 04:35:41 +00:00
Ralf Corsepius 7a4e32f453 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/endian.h: New (Copied from
	  libnetworking/machine/endian.h).
2007-05-09 16:27:09 +00:00
Thomas Doerfler d59cae9773 adapted BSP "motorola_powerpc" to support MVME24xx 2007-04-09 14:30:49 +00:00
Ralf Corsepius f2a6ee017c 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/pci.h: Further stdint.h fixed-size types.
2007-03-31 01:10:35 +00:00
Ralf Corsepius ee2371896d 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/pci.h: Use stdint.h fixed size-types.
2007-03-30 07:23:12 +00:00
Ralf Corsepius 7ecaafa0d8 Abandon DEPRECATED_TYPES. 2006-12-13 07:21:53 +00:00
Ralf Corsepius cc349f036a 2005-11-10 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/rtems/stdint.h: Disable RTEMS proprietary fixed-size types.
2005-11-10 05:26:07 +00:00
Ralf Corsepius 1a58501609 2005-10-31 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 840/rtems:
	* include/rtems/irq.h: Fix several typos.
2005-10-31 14:14:32 +00:00
Ralf Corsepius 585cba912e 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/rtems/concat.h: Add EXPAND0, CONCAT0.
2005-10-27 07:23:53 +00:00
Jennifer Averett e01c480dfa 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am, preinstall.am: Added a common irq.h
	* include/rtems/irq.h: New file.
2005-05-17 14:38:37 +00:00
Jennifer Averett b3b6c41d66 2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>
* include/rtems/pci.h: Name change to support common PCI interface
2005-05-04 19:42:12 +00:00
Joel Sherrill 4b9d865afe 2005-03-14 Joel Sherrill <joel@OARcorp.com>
* include/rtems/pci.h: Continue PCI API unification. All use
	pci_find_device().
2005-03-14 21:48:18 +00:00
Joel Sherrill b3f80031c7 2005-03-04 Joel Sherrill <joel@OARcorp.com>
* include/rtems/pci.h: Clean up and reformatting. Make PCI initialize
	function part of the unified PCI API.
2005-03-04 21:47:36 +00:00
Joel Sherrill a71e623822 2005-02-17 Joel Sherrill <joel@OARcorp.com>
* include/rtems/pci.h: Merge differences from
	libbsp/powerpc/shared/pci/pci.h.
2005-02-17 16:30:00 +00:00
Ralf Corsepius 4d3b1bb254 2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/rtems/tar.h: New.
2005-02-07 13:16:15 +00:00
Ralf Corsepius 8ff51798d0 New header guards. 2005-01-28 05:14:20 +00:00
Ralf Corsepius 36e925891d 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/rtems/userenv.h: Set up LOGIN_NAME_MAX iff not having been
	defined before.
2005-01-28 02:07:41 +00:00
Ralf Corsepius 9d7259a7cf 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/rtems/stdint.h: Add signed8, signed16, signed32,
	unsigned8, unsigned16, unsigned32.
2005-01-24 16:13:15 +00:00
Joel Sherrill bd6566e6ad 2004-11-10 Joel Sherrill <joel@oarcorp.com>
* include/rtems/pci.h: BSPs use the name BSP_pci_configuration not pci.
	Also need to address that this largely duplicates
	libbsp/powerpc/pci/pci.h but that file is not used when both are
	included due to the same double inclusion protection.
2004-11-10 23:57:58 +00:00
Ralf Corsepius bffdb8281b 2004-11-05 Ralf Corsepius <ralf_corsepiu@rtems.org>
* configure.ac: Remove RTEMS_USES_INTTYPES_H. Require inttypes.h.
	* include/rtems/stdint.h: Remove "wild guesses", require inttypes.h.
	* libcsupport/include/inttypes.h: Cleanup.
	* libcsupport/include/stdint.h: Cleanup.
2004-11-05 11:34:49 +00:00
Ralf Corsepius a5777f043d 2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Rework stdint.h/inttypes.h support.
	Add RTEMS_USES_STDINT_H. Add RTEMS_USES_INTTYPES_H.
	Remove NEED_STDINT_H. Remove NEED_INTTYPES_H.
	Remove termios-flag detection.
	* libcsupport/Makefile.am: Install include/stdint.h and
	include/inttypes.h for NEWLIB only.
	* libcsupport/include/stdint.h: Rework; Now newlib specific.
	* libcsupport/src/termios.c: Make newlib specific.
	* include/rtems/stdint.h: Rework; Now wrapper to <stdint.h>.
2004-04-13 15:15:28 +00:00
Ralf Corsepius 2f4c86f83e 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
PR 561/rtems
	* include/rtems/concat.h: New.
	* Makefile.am: Add include/rtems/concat.h.

	PR/589 rtems
	* Makefile.am: Add include/rtems/pci.h.

	* Makefile.am: Include automake/compile.am.
	* configure.ac: RTEMS_TOP([..],[]).
2004-03-29 12:43:20 +00:00
Ralf Corsepius 1db1bc55a2 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
PR/589 rtems
	* include/rtems/pci.h: New (Moved from c/src/libchip/network/pci.h).
2004-03-23 12:21:47 +00:00
Ralf Corsepius 2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Ralf Corsepius 71e66df3ce 2003-09-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in include/Makefile.am.
	* include/Makefile.am: Remove.
	* configure.ac: Reflect having removed include/Makefile.am and
	librpc/include/Makefile.am.
2003-09-24 08:11:33 +00:00
Joel Sherrill 09fd8ce53c 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/rtems/bspIo.h, include/rtems/fs.h, include/rtems/userenv.h:
	URL for license changed.
2003-09-04 19:00:04 +00:00
Ralf Corsepius f4e204cbfa 2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 409:
	* include/Makefile.am: Add rtems/stdint.h
	* include/rtems/stdint.h: New.
2003-05-27 16:17:31 +00:00
Ralf Corsepius 97831b7013 2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/libio.h: Remove.
2002-11-18 23:55:24 +00:00
Ralf Corsepius 2d3c472b0f 2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/userenv.h: Rely upon <limits.h> for
	_POSIX_LOGIN_NAME_MAX.
2002-11-15 14:50:44 +00:00
Eric Norum 108bab3ee7 Add vprintk function for kernel printing from routines
which have already obtained the va_list pointer.
2002-10-30 19:47:03 +00:00
Ralf Corsepius fed6210d43 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Include $(top_srcdir)/automake/*.am.
2002-06-17 09:27:44 +00:00
Joel Sherrill 34fd745700 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/bspIo.h: Fix cpp-guards, remove references to i386.
2002-04-08 18:27:53 +00:00
Joel Sherrill 1960925df0 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:46:40 +00:00
Joel Sherrill 64b1f81052 2002-01-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Apply @subdirs. Remove POSIX_SUBDIRS. Remove
	ITRON_SUBDIRS.
	* configure.ac: Rework enable_unixlib handling.
	Add RTEMS_MULTILIBS to cpuopts.h.
	* include/Makefile.am: Add rtems/fs.h, rtems/userenv.h.
	Add $(PROJECT_INCLUDE)/rtems. Remove libio_.h.
2002-01-16 22:53:30 +00:00
Joel Sherrill dd2906e7e3 2002-01-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Add install-hook.
	Remove SIZE_RTEMS.
	* include/rtems/fs.h: New, extracted from libio_.h.
	* include/rtems/userenv.h: New. extracted from libio_.h.
2002-01-08 12:04:22 +00:00
Joel Sherrill 20db683f78 2002-01-06 Joel Sherrill <joel@OARcorp.com>
* wrapup/.cvsignore: Readded.
	* include/.cvsignore: New file.
2002-01-06 20:22:06 +00:00
Joel Sherrill 8217c40656 2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AS_IF instead of if/then/else.
	Add AC_DEFINE_UNQUOTED(RTEMS_UNIX) for RTEMS_CPU==unix.
	Add AC_DEFINE_UNQUOTED(RTEMS_UNIXLIB) for RTEMS_CPU==unix.
	Add include/Makefile to CONFIG_FILES.
	Add AC_ENABLE_MULITLIB.
	Remove wrapup/rtems, wrapup/itron, wrapup/posix.
	Remove */optman/Makefile from CONFIG_FILES.
	* Makefile.am: Add include to SUBDIRS.
	* rtems/Makefile.am: Remove optman from SUBDIRS.
	* sapi/Makefile.am: Remove optman from SUBDIRS.
	* include/Makefile.am: New file.
	* include/rtems/bspIo.h: Relocated from lib/include.
	* include/rtems/libio_.h: Relocated from lib/include.
2002-01-04 17:57:28 +00:00
Joel Sherrill 1af7963479 2001-10-25 Jennifer Averett <jennifer@OARcorp.com>
* libc/libio.c: Initialize more fields to NULL/0 during initialiation.
	* include/rtems/libio_.h: Fix freenode macro so it works for sockets
	which do not have the full set of filesystem operations and are
	initialized via something other than open().
2001-10-25 17:38:55 +00:00
Joel Sherrill d6c20ff373 2001-08-17 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
	is defined on GNU/Linux (RedHat 6.2 distribution).
	* libc/unixlibc.c: Added stubs for rtems_io_register_name() and
	rtems_io_lookup_name() so UNIX port would compile the IO manager
	sptest that registers /dev/null.
2001-08-17 21:59:28 +00:00
Joel Sherrill 87fb080d75 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
	so they can be part of the private environment.
2001-05-24 22:04:03 +00:00
Joel Sherrill d8a9155512 2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>
* include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
	Private environment and chroot() enhancements and fixes.  Comments:
	  + privateenv has been modified to let at chroot() to be more
	    POSIX like Sergei Organov recommended.
	  + A task owner lets that rtems_set_private_env() will be
	    called twice or more times.
	  + chroot() can be called without a previous
	    rtems_set_private_env(); (transpanrently)
	  + The second call of rtems_set_private_env() makes a internal
	    chroot("/") into global imfs_root.
	  + chroot() runs like chdir() without a previous chdir("/") with
	    the global root.
	  + The current directory can be in a wrong place like Linux and
	    many other Unices.
2001-04-20 21:11:25 +00:00
Joel Sherrill 2a929cc871 2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es>
* Alternate email is correo@fernando-ruiz.com
	* libc/privateenv.c: New file.
	* include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
	libc/unmount.c: Moved default umask, current working directory,
	root, and links followed count into a structure "user environment"
	that can then be treated as a unit.  This enable giving unique
	copies of these to individual threads or collection of threads.
2001-01-25 15:59:58 +00:00
Joel Sherrill 3ba74c733f 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
	libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
	libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
	libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
	libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
	libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
	libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
	libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
	libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
	libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
	libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
	libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
	libc/utime.c, libc/write.c:
	assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
	from libc to lib/include/rtems and now must be referenced as
	<rtems/XXX.h>.
	* include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
	* include/rtems/assoc.h, include/rtems/error.h,
	include/rtems/libcsupport.h, include/rtems/libio.h,
	include/rtems/libio_.h: New/moved files.
2000-11-01 21:08:14 +00:00
Joel Sherrill 9c3fa30a11 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* libc/libio.h (rtems_filesystem_file_handlers_r,
	rtems_filesystem_operations_table): Added _h to all structure
	fields to indicate they are "handlers".
	* libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
	libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
	libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
	libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
	libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
	libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
	libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
	libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
	Modified to reflect above name change.
2000-09-28 20:19:23 +00:00
Joel Sherrill 1bce637587 Added printk as a generic, shared routine. 2000-06-12 16:37:04 +00:00
Joel Sherrill 08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00