Commit Graph
5440 Commits
Author SHA1 Message Date
Joel Sherrill 9d069960d3 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/clock.h, rtems/src/clocktodtoseconds.c,
	rtems/src/clocktodvalidate.c: Add const to parameter.
2009-05-04 11:09:05 +00:00
Joel Sherrill 6aa8b5132d 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c, libmisc/stackchk/check.c: Eliminate warnings.
2009-05-03 23:57:19 +00:00
Joel Sherrill 1e3940d547 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/condtimedwait.c, posix/src/mutextimedlock.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/semopen.c: Silence warnings.
2009-05-03 23:10:02 +00:00
Chris Johns 57aa979e4f 2009-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h, libblock/include/rtems/bdbuf.h: Changed
        type of rtems_bdbuf_pool_configuration_size to size_t.

        * libblock/include/rtems/bdbuf.h, libblock/include/rtems/blkdev.h,
        libblock/include/rtems/diskdevs.h, libblock/src/bdbuf.c,
        libblock/src/blkdev.c, libblock/src/diskdevs.c: Buffer pool
        allocation is now cache aligned.  The cache functions are
        currently not available on all platforms so the cache line size is
        fixed to 32 bytes for now.  Changed various integer types which
        refer to block sizes, numbers and indexes.  Fixed logical block
        indexes in buffer get and read function.  It is now possible to
        delete logical disks.  Modified documentation
2009-04-29 08:51:07 +00:00
Chris Johns 164adeca64 2009-04-29 Chris Johns <chrisj@rtems.org>
* libcsupport/include/rtems/libio.h: Add rtems_off64_t for
        internal use. Update the internal off_t to the 64bit offset.

        * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c,
        libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_fifo.c,
        libfs/src/imfs/memfile.c, libfs/src/imfs/imfs_directory.c,
        libfs/src/imfs/imfs.h, libfs/src/imfs/deviceio.c: Change off_t to
        rtems_off64_t.

        * libmisc/shell/main_msdosfmt.c: Add an info level so the format
        code can tell the user what is happening. Add more options to
        control the format configuration.

        * libfs/src/dosfs/msdos_format.c: Add a print function to display
        the format progress and print statements. Select a better default
        cluster size depending on the size of the disk. This lowers the
        size of the FAT on large disks. Read and maintain the MRB
        partition information.

        * libfs/src/dosfs/dosfs.h, libfs/src/dosfs/fat.h,
        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/fat_file.h,
        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_conv.c,
        libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_file.c,
        libfs/src/dosfs/msdos_handlers_dir.c,
        libfs/src/dosfs/msdos_handlers_file.c,
        libfs/src/dosfs/msdos_init.c, libfs/src/dosfs/msdos_initsupp.c,
        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Add
        long file name support. Change off_t to rtems_off64_t.

        * libblock/include/rtems/ide_part_table.h: Add MRB partition table
        size.
2009-04-29 08:33:35 +00:00
Chris Johns 07d6fd513f 2009-04-29 Chris Johns <chrisj@rtems.org>
* libcsupport/include/rtems/libio.h: Add rtems_off64_t for
        internal use. Update the internal off_t to the 64bit offset.

        * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c,
        libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_fifo.c,
        libfs/src/imfs/memfile.c, libfs/src/imfs/imfs_directory.c,
        libfs/src/imfs/imfs.h, libfs/src/imfs/deviceio.c: Change off_t to
        rtems_off64_t.

        * libmisc/shell/main_msdosfmt.c: Add an info level so the format
        code can tell the user what is happening. Add more options to
        control the format configuration.

        * libfs/src/dosfs/msdos_format.c: Add a print function to display
        the format progress and print statements. Select a better default
        cluster size depending on the size of the disk. This lowers the
        size of the FAT on large disks. Read and maintain the MRB
        partition information.

        * libfs/src/dosfs/dosfs.h, libfs/src/dosfs/fat.h,
        libfs/src/dosfs/fat_file.c, libfs/src/dosfs/fat_file.h,
        libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_conv.c,
        libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_file.c,
        libfs/src/dosfs/msdos_handlers_dir.c,
        libfs/src/dosfs/msdos_handlers_file.c,
        libfs/src/dosfs/msdos_init.c, libfs/src/dosfs/msdos_initsupp.c,
        libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Add
        long file name support. Change off_t to rtems_off64_t.
2009-04-29 08:31:27 +00:00
Chris Johns 8c44190a91 2009-04-28 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: Flush the transfer sync event before
        blocking in a read.
2009-04-28 11:17:36 +00:00
Chris Johns 046fe12b33 2009-04-28 Chris Johns <chrisj@rtems.org>
* libnetworking/nfs/bootp_subr.c: Fixed PR1384. The route set in
        the initialise pass is not deleted so an exists error is
        returned. Ignore the error. Print the server address as an IP
        address not hex digits.

        * libnetworking/rtems/rtems_dhcp.c: Fixed
        PR1338. Close the socket, handle the returned event flags.
2009-04-28 11:12:03 +00:00
Chris Johns d8b74dbebd 2009-04-28 Chris Johns <chrisj@rtems.org>
* sapi/include/confdefs.h: Add a prototype for Init with C linkage
        and define Init task command line arguments if confdefs.h provides
        an Init entry point.
2009-04-28 06:39:24 +00:00
Ralf Corsepius 89ddf5165a 2009-04-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Disable LIBSHELL for unix targets.
2009-04-15 08:36:13 +00:00
Ralf Corsepius 8a02424004 2009-04-15 Wei-Tsun Sun <wsun013@gmail.com>
* libcsupport/src/malloc_initialize.c: Add dummy
	  RTEMS_Malloc_Initialize.
2009-04-15 08:34:45 +00:00
Till Straumann db93c2ffe0 2009-04-14 Till Straumann <strauman@slac.stanford.edu>
* libnetworking/rtems/rtems_mii_ioctl_kern.c: poll BMSR twice
	to clear latched link-status low.
2009-04-15 03:44:41 +00:00
Joel Sherrill 7c4c284c4a 2009-04-14 Michael Walle <michael@walle.cc>
* cpu.h: corrected the registers in Context_Control and
	in CPU_Interrupt_frame to correspond to the saved frame in cpu_asm.S
   	Also switched on CPU_ISR_PASSES_FRAME_POINTER.
 	* cpu_asm.S: Moved the restore part of _CPU_Context_switch for
	easier reading.  Fixed _CPU_Context_restore, it now moves the
	argument and branches to a label in _CPU_Context_switch.  Removed
	unnecessary saves of registers in context switch and irq handling.
	Rewrote irq code to call the C helper.  Added some documentation
	* irq.c: New file derived from c4x and nios2.
2009-04-14 13:44:29 +00:00
Joel Sherrill 67ae7bb6f7 Fix attribution. 2009-04-14 13:41:33 +00:00
Thomas Doerfler e4bd96ec40 removed obsolete references to login.h 2009-04-14 10:22:53 +00:00
Thomas Doerfler 7dad664b75 *** empty log message *** 2009-04-14 09:22:34 +00:00
Thomas Doerfler cbd1e8799f adapt copyright statements 2009-04-14 08:50:03 +00:00
Thomas Doerfler 1cb5aa1483 Fixed return codes of open handler.
Request reply after data write connection close.
2009-04-14 08:49:12 +00:00
Joel Sherrill 504fadbb1a 2009-04-06 Michael Walle <michael@walle.cc>
* cpu_asm.S: We cannot use any other register than r0 without saving
	them to the stack. (_ISR_Handler clears r0 right at the beginning)
2009-04-06 21:23:51 +00:00
Ralf Corsepius 52f8e7aa0d 2009-04-02 Ralf Corsépius <ralfcorsepius@rtems.org>
* aclocal/check-rtems-debug.m4: Add missing ','.
2009-04-02 11:49:51 +00:00
Joel Sherrill 9eab99a82c 2009-03-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/symlink.c: Check if path evaluation handler exists.
	* libnetworking/lib/ftpfs.c: Cleanup.
2009-03-30 17:05:23 +00:00
Joel Sherrill 2649eef33a 2009-03-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Makefile.am, preinstall.am, libmisc/Makefile.am,
	libmisc/shell/shell.c, libmisc/shell/shell.h, telnetd/check_passwd.c,
	telnetd/telnetd.c, telnetd/telnetd.h:
	Generalized login check.
	* libmisc/shell/login.h, libmisc/shell/login_check.c,
	libmisc/shell/login_prompt.c: New files.
	* libmisc/stackchk/check.c: Changed format for blown stack message.
	* libcsupport/src/libio_sockets.c: Removed superfluous cast.
	* libnetworking/rtems/ftpfs.h: Documentation.
2009-03-27 15:31:52 +00:00
Joel Sherrill 8a775c27fc 2009-03-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Makefile.am, preinstall.am, libmisc/Makefile.am,
	libmisc/shell/shell.c, libmisc/shell/shell.h, telnetd/check_passwd.c,
	telnetd/telnetd.c, telnetd/telnetd.h:
	Generalized login check.
	* libmisc/shell/login.h, libmisc/shell/login_check.c,
	libmisc/shell/login_prompt.c: New files.
	* libmisc/stackchk/check.c: Changed format for blown stack message.
	* libcsupport/src/libio_sockets.c: Removed superfluous cast.
	* libnetworking/rtems/ftpfs.h: Documentation.
2009-03-27 13:45:31 +00:00
Thomas Doerfler 8916bdc71b * libmisc/shell/shell.h: Pointer to
oparations table for mount command is now const.
        * libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h: Rewrite of
        the FTP file system which implements now the trivial command state
        machines of RFC 959.  For the data transfer passive (= default) and
        active (= fallback) modes are now supported.
        * libmisc/shell/main_mount_ftp.c: Update for FTP file system changes.
2009-03-26 14:11:53 +00:00
Joel Sherrill 434bc85b02 2009-03-12 Santosh G Vattam <vattam.santosh@gmail.com>
PR 1378/filesystem
	* libfs/src/imfs/deviceio.c: IMFS device lseek should return the
	current offset.
2009-03-12 21:13:15 +00:00
Joel Sherrill 47261f496c 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* ftpd/ftpd.h: Add extern C.
2009-03-12 15:34:29 +00:00
Joel Sherrill a1bc675103 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1393/cpukit
	* posix/src/mutextranslatereturncode.c: Add entry to table for
	CORE_MUTEX_RELEASE_NOT_ORDER.
2009-03-12 15:32:58 +00:00
Joel Sherrill 0067feb693 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* cpu_asm.S: When the type rtems_boolean was switched to the C99 bool,
	the size changed from 4 bytes to 1 byte. The interrupt dispatching
	code accesses two boolean variables for scheduling purposes and the
	assembly implementations of this code did not get updated.
2009-03-12 14:16:50 +00:00
Ralf Corsepius d0b800178d Conditionally build __assert(). 2009-03-11 17:27:01 +00:00
Ralf Corsepius d020f6f3db Check for __assert(). 2009-03-11 17:26:47 +00:00
Ralf Corsepius 947e877111 Fix typo. 2009-03-11 17:26:27 +00:00
Ralf Corsepius 986f39b398 2009-03-11 Ralf Corsépius <ralfcorsepius@rtems.org>
* configure.ac: Check of __assert().
	* libcsupport/src/__assert.c: Conditionally build __assert().
2009-03-11 17:25:54 +00:00
Ralf Corsepius d273023204 2009-03-10 Ralf Corsépius <ralfcorsepius@rtems.org>
* configure.ac: Check for creat().
	* libcsupport/src/creat.c: Build conditionally.
2009-03-10 07:13:19 +00:00
Ralf Corsepius a746013918 Check for creat(). 2009-03-10 07:13:08 +00:00
Ralf Corsepius 0ba07a0642 Build conditionally. 2009-03-10 07:12:50 +00:00
Joel Sherrill f855b9e3d8 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1376/filesystem
	* libcsupport/include/rtems/libio.h, libfs/src/dosfs/fat_file.c,
	libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/imfs/deviceio.c,
	libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c,
	libfs/src/imfs/imfs_fifo.c, libfs/src/imfs/memfile.c,
	libfs/src/nfsclient/src/nfs.c: lseek handlers should return off_t.
2009-03-09 14:11:23 +00:00
Joel Sherrill 17175bbd3d 2009-03-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/heap.inl: Use the correct fields and do end
	- begin.
2009-03-06 20:08:20 +00:00
Joel Sherrill eb7ee96a75 2009-03-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/malloc_initialize.c: Fixed invalid function
	parameter.
2009-03-05 12:16:22 +00:00
Joel Sherrill b7f49f7ed4 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.S: Eliminate extern of unused variables.
2009-03-02 18:34:12 +00:00
Joel Sherrill 7246c8e997 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc_initialize.c, score/Makefile.am,
	score/include/rtems/score/protectedheap.h,
	score/inline/rtems/score/heap.inl: Get total heap size correct when
	using unified C Program Heap and RTEMS Workspace.
	* score/src/pheapgetsize.c: New file.
2009-03-02 18:10:34 +00:00
Joel Sherrill e93d791135 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* rtems/src/semcreate.c: Classic Semaphores allow both priority inherit
	and ceiling attributes to be set on semaphore create. These
	attributes are mutually exclusive and this should be an error.
2009-03-02 16:12:41 +00:00
Joel Sherrill f547bc8a1f 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove stray semi-colon.
2009-03-02 12:12:17 +00:00
Joel Sherrill fd234b864c 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: AVR stack grows down.
2009-02-27 18:19:33 +00:00
Thomas Doerfler cd4ed38422 * rtems/powerpc/registers.h: Added Freescale Book E Implementation
Standards (EIS) special purpose register definitions for MMU and L1
	cache.
2009-02-27 11:06:21 +00:00
Thomas Doerfler 06f8e558b7 * libmisc/shell/shell.c, libmisc/shell/shell.h: Changed type for
boolean values from 'int' to 'bool'.  Added option 'login' to enable or
	disable a login prompt.  Changed intialization of global shell
	environment to static initialization.  Changed stack size type to
	'size_t' conforming to classic API.

	* libmisc/shell/shellconfig.h: Fixed some typos.
2009-02-27 11:03:57 +00:00
Ralf Corsepius 0bff7f84c8 New. 2009-02-20 16:12:53 +00:00
Ralf Corsepius 730f141a61 Regenerate. 2009-02-20 14:29:23 +00:00
Ralf Corsepius d7f6e5cc40 2009-02-20 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/sys/priority.h: New.
	* Makefile.am: Add include/sys/priority.h
2009-02-20 14:28:45 +00:00
Ralf Corsepius b4a22096bd Add include/sys/priority.h. 2009-02-20 14:27:38 +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