Commit Graph
1936 Commits
Author SHA1 Message Date
Joel Sherrill 03e3f92aa4 2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am:
	* libcsupport/src/isatty_r.c: New file.
2009-05-06 15:27:55 +00:00
Thomas Doerfler 1df2277d75 added cpukit/libmisc/uuid/README 2009-05-06 11:27:39 +00:00
Joel Sherrill 43776b57f6 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/part.h,
	rtems/inline/rtems/rtems/region.inl: Fix warnings.
2009-05-05 21:17:28 +00:00
Joel Sherrill f16a6fe73a 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/heap.h,
	score/inline/rtems/score/address.inl,
	score/inline/rtems/score/heap.inl,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/priority.inl,
	score/inline/rtems/score/tod.inl: Remove warnings.
2009-05-05 19:37:28 +00:00
Joel Sherrill c27951f23d 2009-05-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/system.h: Added
	RTEMS_COMPILER_DEPRECATED_ATTRIBUTE define.
2009-05-05 14:29:55 +00:00
Thomas Doerfler a4e752ce0c Update 2009-05-05 13:36:07 +00:00
Thomas Doerfler 8e590b4d3b updated Changelog 2009-05-05 12:58:00 +00:00
Joel Sherrill 2aa80144f3 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/telnetd.h: Spacing.
2009-05-04 14:52:34 +00:00
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 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
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
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 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
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
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 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
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 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
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
Joel Sherrill 78fe9589ad 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/rtems/rtems_bsdnet_internal.h: Re-add boolean when
	building BSD code. This is used by at least one of the BSD NIC
	drivers I am currently porting. I am trying out
2009-02-19 19:27:58 +00:00
Joel Sherrill 4e54befe7b 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add halt command to
	shell which results in the shutting RTEMS down.
	* libmisc/shell/main_halt.c: New file.
2009-02-19 18:54:00 +00:00
Joel Sherrill e399e9d607 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1377/shell
	* libmisc/shell/main_netstats.c: Remove #if 0 which should not have
	been there anyway.
2009-02-17 15:09:57 +00:00
Joel Sherrill 3aaf4797d0 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h, score/include/rtems/score/thread.h,
	score/src/threadidlebody.c: Change prototype of IDLE thread to
	consistently return void * and take a uintptr_t argument.
2009-02-12 15:56:42 +00:00
Joel Sherrill 45d107ecfc 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c: Eliminate _CPU_Thread_dispatch_pointer and passing
	address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
2009-02-11 21:48:42 +00:00
Joel Sherrill 65e8f257c6 2009-02-11 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1374/misc
	* libmisc/stackchk/check.c: Fix printk formatting string.
2009-02-11 19:33:44 +00:00
Joel Sherrill a0d22251b2 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c: Interrupts are guaranteed to be disabled by
	boot_card(), do not do it here as well.
2009-02-11 19:30:24 +00:00
Ralf Corsepius a45054b9d7 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/kernel.h: Remove PSEUDO_*
	(Unused, not in FreeBSD).
2009-02-11 03:40:12 +00:00
Ralf Corsepius 86dab8c19b 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/kernel.h: Remove struct linker_set (Unused).
2009-02-11 03:37:30 +00:00
Ralf Corsepius aa71c073a7 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_loop.c: Remove PSEUDO_SET (Unused).
2009-02-11 03:36:19 +00:00