Commit Graph

2264 Commits

Author SHA1 Message Date
Joel Sherrill
d9c3805a73 2003-09-04 Joel Sherrill <joel@OARcorp.com>
PR 479/rtems_misc
	* src/malloc.c: Per multiple standards realloc does not free the
	original memory if the allocation of the requested larger block
	fails.
2003-09-04 13:02:57 +00:00
Joel Sherrill
726b06f00f 2003-09-03 Joel Sherrill <joel@OARcorp.com>
* msdos_create.c: Remove unused variable warning.
2003-09-03 13:40:13 +00:00
Joel Sherrill
823f89eaa1 2003-09-02 Jiri Gaisler <jiri@gaisler.com>
PR 476/networking
	* machine/in_cksum.h: Fix in_cksum calculation on SPARC.
2003-09-02 21:31:16 +00:00
Joel Sherrill
fdb0378bf0 2003-09-02 Joel Sherrill <joel@OARcorp.com>
* src/open.c: Fix typo.
2003-09-02 21:03:26 +00:00
Joel Sherrill
a561f47be8 2003-09-02 Joel Sherrill <joel@OARcorp.com>
* src/malloc.c: Remove test define left in.
2003-09-02 21:02:29 +00:00
Joel Sherrill
d5031cbbca 2003-09-02 Ilya Alexeev <ilya@continuum.ru>
PR 472/filesystem
	src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined.
2003-09-02 21:01:21 +00:00
Ralf Corsepius
ac3786b4dc 2003-08-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Add RTEMS_API.
	AC_DEFAULT_PREFIX([/opt/rtems-][RTEMS_API]).
2003-08-29 00:06:15 +00:00
Joel Sherrill
d36c457fa8 2003-08-21 Till Straumann <strauman@slac.stanford.edu>
PR 457/bsps
	* rtems/powerpc/registers.h: Add a few definitions for the PowerPC
	thermal assistance unit.
2003-08-21 17:09:26 +00:00
Ralf Corsepius
30d5640fff 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-debug.m4: Remove.
	* aclocal/enable-rtems-debug.m4: New (Split out from rtems-debug.m4).
	* aclocal/check-rtems-debug.m4: New (Split out from rtems-debug.m4).
2003-08-18 09:45:40 +00:00
Ralf Corsepius
34e0a9f6d5 Remove bogus file src/list 2003-08-18 07:32:17 +00:00
Ralf Corsepius
c5f52e9725 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 449/rtems:
	* src/getegid.c: New (Copied from ../posix/src).
	* src/geteuid.c: New (Copied from ../posix/src).
	* src/getgid.c: New (Copied from ../posix/src).
	* src/getgroups.c: New (Copied from ../posix/src).
	* src/getlogin.c: New (Copied from ../posix/src).
	* src/getpgrp.c: New (Copied from ../posix/src).
	* src/getpid.c: New (Copied from ../posix/src).
	* src/getppid.c: New (Copied from ../posix/src).
	* src/getuid.c: New (Copied from ../posix/src).
	* src/setpgid.c: New (Copied from ../posix/src).
	* src/setsid.c: New (Copied from ../posix/src).
	* src/no_posix: Remove getpid and _getpid_r.
	* Makefile.am: Reflect changes above.
2003-08-18 07:31:32 +00:00
Ralf Corsepius
de85d7be56 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 449/rtems:
	* src/getegid.c: Remove (Moved to ../libcsupport/src).
	* src/geteuid.c: Remove (Moved to ../libcsupport/src).
	* src/getgid.c: Remove (Moved to ../libcsupport/src).
	* src/getgroups.c: Remove (Moved to ../libcsupport/src).
	* src/getlogin.c: Remove (Moved to ../libcsupport/src).
	* src/getpgrp.c: Remove (Moved to ../libcsupport/src).
	* src/getpid.c: Remove (Moved to ../libcsupport/src).
	* src/getppid.c: Remove (Moved to ../libcsupport/src).
	* src/getuid.c: Remove (Moved to ../libcsupport/src).
	* src/setpgid.c: Remove (Moved to ../libcsupport/src).
	* src/setsid.c: Remove (Moved to ../libcsupport/src).
	* Makefile.am: Reflect changes above
2003-08-18 07:30:16 +00:00
Ralf Corsepius
63a04f76c1 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/local.am: Remove "debug".
2003-08-18 06:57:29 +00:00
Ralf Corsepius
6a8e52d3aa 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Reflect having moved automake.
	pppd/Makefile.am: Reflect having moved automake.
	rtems_servers/Makefile.am: Reflect having moved automake.
	rtems_telnetd/Makefile.am: Reflect having moved automake.
	rtems_webserver/Makefile.am: Reflect having moved automake.
	wrapup/Makefile.am: Reflect having moved automake.
2003-08-16 12:12:10 +00:00
Joel Sherrill
f2547306a9 2003-08-14 Joel Sherrill <joel@OARcorp.com>
* src/mqueuenametoid.c, src/semaphorenametoid.c: Added ID to name
	lookup service and changed name of id/name translation status code.
	This propagated to multiple functions. The user API service added was
	rtems_object_id_to_name()
2003-08-14 21:01:43 +00:00
Joel Sherrill
6185a0d37f 2003-08-14 Joel Sherrill <joel@OARcorp.com>
* src/extensionident.c: Added ID to name lookup service and changed
	name of id/name translation status code. This propagated to multiple
	functions. The user API service added was rtems_object_id_to_name()
2003-08-14 21:01:36 +00:00
Joel Sherrill
1e2e6fe0f9 2003-08-14 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, include/rtems.h, include/rtems/rtems/status.h,
	src/dpmemident.c, src/msgqident.c, src/partident.c,
	src/ratemonident.c, src/regionident.c, src/semident.c,
	src/taskident.c, src/timerident.c: Added ID to name lookup service
	and changed name of id/name translation status code. This propagated
	to multiple functions. The user API service added was
	rtems_object_id_to_name()
	* src/rtemsidtoname.c: New file.
2003-08-14 21:01:34 +00:00
Joel Sherrill
ff08b80878 2003-08-14 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, include/rtems/score/object.h,
	include/rtems/score/objectmp.h, src/objectmp.c, src/objectnametoid.c:
	Added ID to name lookup service and changed name of id/name
	translation status code. This propagated to multiple functions. The
	user API service added was rtems_object_id_to_name()
	* src/objectidtoname.c: New file.
2003-08-14 21:01:30 +00:00
Joel Sherrill
236b701440 2003-08-14 Joel Sherrill <joel@OARcorp.com>
PR 408/filesystem
	* cpuuse/cpuuse.c: Added sync() service. As part of adding this
	service, the new RTEMS service rtems_iterate_over_all_threads() was
	also added. This new service makes it easier to iterate over all the
	tasks/threads in a system and perform an action on them. This change
	is to use the new thread iteration service.
2003-08-14 20:25:28 +00:00
Joel Sherrill
17c6686753 2003-08-14 Joel Sherrill <joel@OARcorp.com>
PR 408/filesystem
	* score/Makefile.am, score/include/rtems/score/thread.h: Added
	sync() service. As part of adding this service, the
	new RTEMS service rtems_iterate_over_all_threads() was also added.
	This new service makes it easier to iterate over all the
	tasks/threads in a system and perform an action on them.
	* score/src/iterateoverthreads.c: New file.
	* ChangeLog: Fixed screwup.
2003-08-14 20:04:18 +00:00
Joel Sherrill
3fd8dcf4cc 2003-08-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Add fileio to list of interactive tests.
2003-08-14 20:01:36 +00:00
Joel Sherrill
a82413d3f3 2003-08-14 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, include/rtems/score/thread.h: Add fileio to list of
	interactive tests.
2003-08-14 20:01:02 +00:00
Joel Sherrill
bed55af1ee 2003-08-14 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add fileio to list of interactive tests.
	* src/sync.c: New file.
2003-08-14 20:00:46 +00:00
Joel Sherrill
f6c6bc8f95 2003-08-14 Joel Sherrill <joel@OARcorp.com>
PR 455/bsps
	* rtems/score/cpu.h: Added missing CPU_swap_u16().
2003-08-14 13:17:53 +00:00
Joel Sherrill
b56c1a3ab7 2003-08-14 Joel Sherrill <joel@OARcorp.com>
PR 92/rtems
	* Makefile.am, src/alarm.c, src/psignal.c: Added ualarm() and usleep().
	* src/ualarm.c, src/usleep.c: New files.
2003-08-14 13:08:58 +00:00
Ralf Corsepius
41a530752c 2003-08-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* fsmount/Makefile.am: Fix path to automake-includes.
2003-08-14 10:20:36 +00:00
Joel Sherrill
a46dac5daa 2003-08-13 Joel Sherrill <joel@OARcorp.com>
* fsmount/.cvsignore: New file.
2003-08-13 17:49:22 +00:00
Joel Sherrill
652b53a1fa 2003-08-11 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Removed duplicate entry.
2003-08-11 19:43:10 +00:00
Ralf Corsepius
7dcc3feefc 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-08-11 14:20:43 +00:00
Ralf Corsepius
b31b35f436 2003-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add libmisc/fsmount/Makefile.
2003-08-08 07:03:07 +00:00
Jennifer Averett
ce275cffd6 2003-08-06 Thomas Doerfler<Thomas.Doerfler@imd-systems.de>
PR 369/filesystem
	* Makefile.am, shell/cmds.c, wrapup/Makefile.am: sample application to
	show the use of the DOSFS functions
	* fsmount/Makefile.am, fsmount/README, fsmount/fsmount.c,
	fsmount/fsmount.h: New files.
2003-08-06 19:14:14 +00:00
Jennifer Averett
1d2dbec76d 2003-08-06 Till Strauman <strauman@slac.stanford.edu>
PR 435/networking
	* rtems/rtems_showifstat.c: rtems_showifstat misses printing
	the netmask
2003-08-06 14:39:16 +00:00
Jennifer Averett
8d49b7c43f 2003-08-05 <djc915@mail.usask.ca>
PR 443/filesystem
	* src/imfs/deviceio.c: deviceio.c mishandles return codes
2003-08-05 20:26:09 +00:00
Jennifer Averett
2d99235e7e 2003-08-05 Till Strauman <strauman@slac.stanford.edu>
PR 436/rtems_misc
	* monitor/mon-monitor.c: monitor registered commands list manipulation bugs
2003-08-05 18:59:56 +00:00
Jennifer Averett
d29cb934ab 2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 440/filesystem
	* src/dosfs/fat_fat_operations.c: Improve write data speed for DOSFS FAT12/FAT16 systems
2003-08-05 18:08:57 +00:00
Jennifer Averett
92b8547be2 2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 439/filesystem
	* src/dosfs/fat_fat_operations.c: Improve write data speed for DOSFS FAT12/FAT16 systems
2003-08-05 18:05:20 +00:00
Jennifer Averett
45b185e082 Fixed Change log comments. 2003-08-05 16:03:50 +00:00
Jennifer Averett
1d4e666008 2003-08-05 Till Strauman <strauman@slac.stanford.edu>
PR 442/filesystem
	* src/open.c: file never closed if ftruncate() fails in open()
2003-08-05 15:50:11 +00:00
Jennifer Averett
2e4d84a84e 2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 439/filesystem
	*src/dosfs/fat_file.c: flush temporary buffer when closing files
2003-08-05 14:50:53 +00:00
Jennifer Averett
e0b7cbb4f4 2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 439/filesystem
	*src/dosfs/fat_file.c: flush temporary buffer when closing files
2003-08-05 14:45:46 +00:00
Jennifer Averett
db39db45d3 2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 441/filesystem
	*src/dosfs/msdos.h: add rename support to DOSFS
	*src/dosfs/msdos_create.c: add rename support to DOSFS
	*src/dosfs/msdos_file.c: add rename support to DOSFS
	*src/dosfs/msdos_init.c: add rename support to DOSFS
	*src/dosfs/msdos_mknod.c: add rename support to DOSFS
2003-08-05 14:17:41 +00:00
Jennifer Averett
2e7b6dbbb5 2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 441/filesystem
	*src/dosfs/msdos.h: add rename support to DOSFS
	*src/dosfs/msdos_create.c: add rename support to DOSFS
	*src/dosfs/msdos_file.c: add rename support to DOSFS
	*src/dosfs/msdos_init.c: add rename support to DOSFS
	*src/dosfs/msdos_mknod.c: add rename support to DOSFS
2003-08-05 14:05:56 +00:00
Ralf Corsepius
4078e82ae5 2003-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged into ../configure.ac).
	* .cvsignore, Makefile.am, pppd/Makefile.am,
	rtems_servers/Makefile.am, rtems_telnetd/Makefile.am,
	rtems_webserver/Makefile.am, wrapup/Makefile.am:
	Reflect having merged configure.ac into ../configure.ac
2003-07-25 06:15:38 +00:00
Joel Sherrill
ff393f2c85 2003-07-24 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 434/filesystem
	* src/imfs/imfs_init.c: Modified to return error code
	* src/imfs/miniimfs_init.c: Modified to return error code
	* src/imfs/imfs_initsup.c: Modified to set error upon memory failure.
2003-07-24 22:35:12 +00:00
Jennifer Averett
1e4d4f85d8 2003-07-24 jennifer averett <jennifer.averett@OARcorp.com>
PR 434/filesystem
	* src/imfs/imfs_init.c: Modified to return error code
	* src/imfs/miniimfs_init.c: Modified to return error code
	* src/imfs/imfs_initsup.c: Modified to set error upon memory failure.
2003-07-24 19:54:55 +00:00
Joel Sherrill
1ede24cc01 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 288/rtems
	* rtems/new-exceptions/cpu.h: _ISR_Nest_level is now properly
	maintained and does not reside in SPRG0.
2003-07-18 17:25:02 +00:00
Joel Sherrill
fbbe5fde57 2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 430/rtems
	* include/rtems/score/watchdog.h: _Watchdog_Ticks_since_boot should
	be a VOLATILE variable.
	* src/watchdoginsert.c: 'restart' algorithm needs to enforce
	reloading the list head in case a TICK interrupt during ISR_Flash()
	modified the list.  This is achieved by a proper VOLATILE cast.
	Also _Watchdog_Sync_count++ should be protected by _ISR_Disable
	(prevent corruption in case ISR calls watchdoginsert)
	* src/watchdogadjust.c: ISR protection added.
	* src/watchdogtickle.c: ISR protection added.
	NOTE: PowerPC BSPs using the new exception processing MUST BE UPDATED
	to maintain _ISR_Nest_level. See also PR288 which provides fixes
	for the affected BSPs distributed with RTEMS.
2003-07-18 14:47:55 +00:00
Joel Sherrill
d62cfdfa84 2003-07-16 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Correct format.
2003-07-16 19:30:25 +00:00
Ralf Corsepius
ae49cd6a3b 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Remove bogus $(MULTISUBDIR).
2003-07-15 15:10:51 +00:00
Ralf Corsepius
69b40b058b 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Remove bogus $(MULTISUBDIR).
2003-07-15 15:07:23 +00:00