Commit Graph

93 Commits

Author SHA1 Message Date
Ralf Corsepius
d4b5246079 2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/btimer.h: Introduce benchmark_timer_t.
	Let benchmark_timer_read return benchmark_timer_t.
2011-10-19 15:06:04 +00:00
Joel Sherrill
adae165b7a 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* include/rtems/userenv.h, score/src/threadhandler.c: Formatting.
	* sapi/src/exshutdown.c: Add comments.
2011-08-29 21:30:32 +00:00
Joel Sherrill
21242c252a 2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/bspIo.h, include/rtems/concat.h,
	include/rtems/endian.h, include/rtems/fs.h, include/rtems/irq.h,
	include/rtems/pci.h, include/rtems/userenv.h,
	libblock/include/rtems/flashdisk.h,
	libblock/include/rtems/nvdisk-sram.h,
	libblock/include/rtems/nvdisk.h, libcsupport/include/clockdrv.h,
	libcsupport/include/console.h, libcsupport/include/iosupp.h,
	libcsupport/include/spurious.h,
	libcsupport/include/motorola/mc68230.h,
	libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/error.h,
	libcsupport/include/rtems/framebuffer.h,
	libcsupport/include/rtems/gxx_wrappers.h,
	libcsupport/include/rtems/libcsupport.h,
	libcsupport/include/rtems/libio_.h,
	libcsupport/include/rtems/malloc.h,
	libcsupport/include/rtems/termiostypes.h,
	libcsupport/include/sys/statvfs.h, libcsupport/include/sys/termios.h,
	libcsupport/include/sys/utsname.h, libcsupport/include/zilog/z8036.h,
	libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h,
	libfs/src/imfs/imfs.h, libfs/src/pipe/pipe.h,
	libmisc/capture/capture-cli.h, libmisc/capture/capture.h,
	libmisc/cpuuse/cpuuse.h, libmisc/devnull/devnull.h,
	libmisc/devnull/devzero.h, libmisc/dumpbuf/dumpbuf.h,
	libmisc/fb/fb.h, libmisc/fb/mw_uid.h, libmisc/mouse/mouse_parser.h,
	libmisc/shell/shellconfig.h, libmisc/stringto/stringto.h,
	libmisc/untar/untar.h, libnetworking/memory.h, posix/include/aio.h,
	posix/include/mqueue.h, posix/include/semaphore.h,
	posix/include/rtems/posix/aio_misc.h,
	posix/include/rtems/posix/barrier.h,
	posix/include/rtems/posix/cond.h, posix/include/rtems/posix/config.h,
	posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/posixapi.h,
	posix/include/rtems/posix/priority.h,
	posix/include/rtems/posix/psignal.h,
	posix/include/rtems/posix/pthread.h,
	posix/include/rtems/posix/ptimer.h,
	posix/include/rtems/posix/rwlock.h,
	posix/include/rtems/posix/semaphore.h,
	posix/include/rtems/posix/sigset.h,
	posix/include/rtems/posix/spinlock.h,
	posix/include/rtems/posix/threadsup.h,
	posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
	posix/inline/rtems/posix/barrier.inl,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/priority.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/rwlock.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/spinlock.inl,
	posix/inline/rtems/posix/timer.inl, rtems/mainpage.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/timer.h,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/timer.inl,
	rtems/src/semtranslatereturncode.c, sapi/include/rtems/config.h,
	sapi/include/rtems/fatal.h, sapi/include/rtems/mptables.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/priority.h,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/priority.inl: Add @file Doxygen directives
	and descriptions to files which originated with RTEMS. This improves
	the file list page generated by Doxygen.
2011-06-24 17:52:58 +00:00
Ralf Corsepius
013fef84b8 2011-03-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bsd/sys/queue.h, include/rtems/bsd/sys/cdefs.h:
	Remove.
	* Makefile.am: Reflect changes above.
2011-03-24 11:21:58 +00:00
Sebastian Huber
babaedefa9 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems/irq-extension.h: Documentation.
	* libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
2011-03-07 13:54:44 +00:00
Ralf Corsepius
46d6e7a9f1 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/btimer.h: New.
	* Makefile.am: Add rtems/btimer.h
	* libcsupport/include/timerdrv.h: Reflect having split out functions
	  to rtems/btimer.h.
2011-02-09 06:15:53 +00:00
Joel Sherrill
dcf368747f 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/irq.h,
	score/cpu/i386/rtems/score/idtr.h,
	score/cpu/powerpc/rtems/powerpc/registers.h,
	score/src/objectidtoname.c, score/src/schedulerpriorityblock.c,
	score/src/schedulerpriorityschedule.c,
	score/src/schedulerpriorityunblock.c,
	score/src/schedulerpriorityyield.c, score/src/thread.c,
	score/src/threadchangepriority.c, score/src/threadclearstate.c,
	score/src/threadclose.c, score/src/threadcreateidle.c,
	score/src/threaddelayended.c, score/src/threaddispatch.c,
	score/src/threadget.c, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadloadenv.c,
	score/src/threadready.c, score/src/threadreset.c,
	score/src/threadrestart.c, score/src/threadresume.c,
	score/src/threadsetpriority.c, score/src/threadsetstate.c,
	score/src/threadsettransient.c, score/src/threadstackallocate.c,
	score/src/threadstackfree.c, score/src/threadstart.c,
	score/src/threadstartmultitasking.c, score/src/threadsuspend.c,
	score/src/threadtickletimeslice.c, score/src/threadyieldprocessor.c:
	Fix typo where license said found in found in.
2011-01-28 20:24:54 +00:00
Ralf Corsepius
de93598d19 2010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/tar.h, libcsupport/include/tar.h: Remove.
	* configure.ac: Require toolchain to provide tar.h.
	* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.h:
	Use <tar.h> instead of <rtems/tar.h>.
2010-06-13 03:36:58 +00:00
Chris Johns
29e92b090c 2010-05-31 Chris Johns <chrisj@rtems.org>
* libcsupport/Makefile.am: Add mount-mgr.c.
        * libcsupport/src/mount-mgr.c: New.
        * include/rtems/fs.h: Added rtems_filesystem_location_mount.
        * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New
        mount interface. It is similar to Linux.
        * libcsupport/include/rtems/libio_.h: Remove the
        init_fs_mount_table call.
        * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use
        the new mount call. Remove setting the root node in the global
        pathloc. Mount does this now.
        * libcsupport/src/privateenv.c: Remove the hack to set the root
        mount table entry in the environment.
        * libcsupport/src/unmount.cL Free the target string.
        * libblock/src/bdpart-mount.c: New mount API.

        * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c,
        libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h,
        libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h,
        libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c,
        libfs/src/imfs/miniimfs_init.c,
        libfs/src/nfsclient/src/librtemsNfs.h,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h,
        libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h,
        libnetworking/rtems/tftp.h: New mount_h API.

        * libfs/src/devfs/devfs_eval.c: Local include of extern ops.
        * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount
        me call and fixed the initialisation to happen when mounting.

        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount
        filesystem files.

        * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to
        the new mount table values.

        * libmisc/shell/main_mount_ftp.c,
        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c,
        libmisc/shell/main_mount_tftp.c: Removed.

        * libmisc/shell/main_mount.c: Use the new mount API. Also access
        the file system table for the file system types.

        * libnetworking/lib/tftpDriver.c: Updated to the new mount
        API. Fixed to allow mounting from any mount point. Also can now
        have more than file system mounted.

        * sapi/include/confdefs.h: Add file system configuration support.
2010-05-31 13:56:37 +00:00
Ralf Corsepius
4045c26e51 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* include/rtems/pci.h: Rename pci_config into rtems_pci_config_t.
2009-12-11 12:53:48 +00:00
Ralf Corsepius
33c3b54d57 Whitespace removal. 2009-11-29 11:57:23 +00:00
Thomas Doerfler
60e5832e23 interrupt handler type change 2009-10-21 13:24:35 +00:00
Chris Johns
eb649786c8 2009-10-08 Chris Johns <chrisj@rtems.org>
* Makefile.am, preinstall.am: Added statvfs.h.
        * libcsupport/Makefile.am: Add statvfs.c.
        * libcsupport/include/sys/statvfs.h, libcsupport/src/statvfs.c:
        New.
        * libcsupport/include/rtems/libio.h: Add a file system handler for
        the statvfs call.
        * libfs/src/devfs/devfs_init.c, libfs/src/dosfs/msdos_init.c,
        libfs/src/imfs/imfs_init.c, libfs/src/nfsclient/src/nfs.c: Set the
        statvfs handler to NULL.
        * include/rtems/fs.h: Add a second node access field for the RFS
        file system to hold a directory offset while the existing field
        holds the inode number. This save a rescan of the directory when
        working with directories.
        * libblock/include/rtems/bdbuf.h: Added references and user fields
        to the buffer descriptor.
        * libblock/src/bdbuf.c: Added dynamic buffer support for different
        block sizes. Fixed a number of bugs.
        * libblock/src/blkdev.c: Release the disk device on an error.
        * libblock/src/diskdevs.c: Set the block size to the media block
        size during initialisation of the disk device.
        * libblock/src/flashdisk.c, libblock/src/nvdisk.c,
        libblock/src/ramdisk.c: Updated the drivers to handle variable
        block sizes.
        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Release any
        buffers when an error occurs. The FAT buffer layer hangs onto a
        single buffer while mounted. This should be fixed.
        * sapi/inline/rtems/chain.inl: Added rtems_chain_set_off_chain,
        rtems_chain_is_node_off_chain, and rtems_chain_previous.
        * score/inline/rtems/score/chain.inl: Added _Chain_Set_off_chain,
        and _Chain_Is_node_off_chain.
        * libmisc/shell/main_ln.c, libmisc/shell/main_mknod.c,
        libmisc/shell/mknod-pack_dev.c, libmisc/shell/mknod-pack_dev.h:
        New shell commands.
        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added ln and
        mknod commands.
        * libmisc/shell/hexdump-display.c: Fixed the reopen bug which
        showed up as a free with a bad pointer.
        * libmisc/shell/main_mount.c: List the user adding file system
        when listing the available file systems to mount.
        * libmisc/shell/utils-cp.c: Remove the fixed static copy buffer
        and use a large dynamic buffer.
        * score/inline/rtems/score/address.inl, score/src/coremsgsubmit.c,
        score/src/objectallocate.c, score/src/objectfree.c: Remove
        warnings.
2009-10-08 07:07:36 +00:00
Ralf Corsepius
607d272570 Make pci_[read|write]_config* static inline, again. 2009-10-01 12:20:28 +00:00
Ralf Corsepius
0392f9779f 2009-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/pci.h: Add another missing prototype.
2009-10-01 12:17:36 +00:00
Ralf Corsepius
199037b404 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/pci.h: Add missing prototype.
2009-09-30 13:25:07 +00:00
Joel Sherrill
1b0c122b5b 2009-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/pci.h: Revert extern inline patch.
2009-09-28 21:00:47 +00:00
Joel Sherrill
e1c9abde95 2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/pci.h: Change extern inline to static inline.
2009-09-25 17:52:06 +00:00
Joel Sherrill
c85ab23ab7 2009-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h,
	libcsupport/src/fs_null_handlers.c: Null handlers are now const.
	* libi2c/libi2c.c, libi2c/libi2c.h: Documentation. Do not create
	semaphores on the fly.
	* cpukit/libblock/src/bdpart.c: Fixed format specifier.
	* cpukit/libblock/include/rtems/bdbuf.h, rtems/include/rtems.h,
	rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h,
	rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h, rtems/include/rtems/rtems/sem.h,
	rtems/include/rtems/rtems/semmp.h, rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h,
	rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h,
	rtems/inline/rtems/rtems/support.inl: Documentation.
	* include/rtems/irq-extension.h: Documentation. Added API for
	interrupt servers.
2009-08-05 18:17:12 +00:00
Joel Sherrill
ce57509cbd 2009-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/bspIo.h, libcsupport/Makefile.am: Add putk().
	* libcsupport/src/putk.c: New file.
2009-06-16 13:34:35 +00:00
Joel Sherrill
4670d91898 2009-05-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Doxygen.in: Fixed project name.  Added project number.  Enabled auto
	brief.  Disabled include graphs.
	* include/rtems/irq-extension.h, libblock/include/rtems/bdpart.h,
	libblock/include/rtems/bdbuf.h, libblock/include/rtems/bdpart.h,
	libblock/include/rtems/blkdev.h, libblock/include/rtems/diskdevs.h,
	libblock/include/rtems/ramdisk.h, libblock/src/bdbuf.c,
	libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/ramdisk.c:
	Documentation.
	* libblock/src/bdpart.c: Documentation.  Fixed NULL pointer access.
2009-05-15 12:52:12 +00:00
Thomas Doerfler
b074e80e19 Added functions to translate integers to/from byte streams. 2009-05-05 12:50:43 +00:00
Ralf Corsepius
0bff7f84c8 New. 2009-02-20 16:12:53 +00:00
Joel Sherrill
aad655835a 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/irq-extension.h, include/rtems/irq.h: Spelling errors
	and spacing.
2009-02-19 19:29:19 +00:00
Ralf Corsepius
5726c42b3f Remove (Abandoned). 2008-12-17 06:41:21 +00:00
Thomas Doerfler
06c3530efc libnetworking/rtems/rtems_glue.c: Copy nothing if rtems_bsdnet_parse_driver_name() if namep is NULL.
include/rtems/status-checks.h: Added prefix "RTEMS" for all macros. Doxygen style comments.  Cleanup.
2008-10-10 15:56:32 +00:00
Joel Sherrill
23c3f72e4d 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/bspIo.h, libcsupport/Makefile.am: Add genchark() for
	polled debug input from the same device as printk().
	* libcsupport/src/getchark.c: New file.
2008-09-22 21:47:04 +00:00
Joel Sherrill
85bca3f228 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems/status-checks.h: Fixed integer conversion warning.
2008-08-20 17:29:37 +00:00
Thomas Doerfler
075d81772d New function rtems_interrupt_handler_iterate()
for system information and diagnostics
2008-07-24 12:45:23 +00:00
Thomas Doerfler
224aebb3b8 added BSP to m68k
adapted PPC exception code
2008-07-11 10:07:00 +00:00
Joel Sherrill
a5d5c746f0 2008-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/rtems/status-checks.h: Fix style.
2008-07-10 15:05:31 +00:00
Thomas Doerfler
eed0491225 added irq-extension.h declarations 2008-07-10 12:56:31 +00:00
Thomas Doerfler
3210dcb39d Macros for status code and return value checks. 2008-07-10 06:05:12 +00:00
Thomas Doerfler
bf95ccb506 Added const qualifier to various pointers and data tables to
reduce size of data area.
	IMFS: Fixed creation of symbolic links to avoid a compiler warning.
	DOSFS: Use LibBlock instead of read() to read the boot record.
2008-05-27 10:34:15 +00:00
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