Commit Graph
2333 Commits
Author SHA1 Message Date
Joel Sherrill aab4664d77 2003-10-22 Joel Sherrill <joel@OARcorp.com>
PR 511/filesystem
	* src/malloc.c: Add deferred free and protect against C Program Heap
	operations while in a dispatch disable critical section or ISR.
2003-10-22 16:53:55 +00:00
Joel Sherrill 08c09e2439 2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 509/filesystem
	* src/dosfs/fat.c: _fat_block_read and _fat_block_write return error
	codes instead of -1 in case of errors, as they are supposed to do
	according to the comments documenting these functions.
2003-10-22 16:35:18 +00:00
Joel Sherrill 897fe13f8c 2003-10-22 Joel Sherrill <joel@OARcorp.com>
PR 440/filesystem
	* src/dosfs/fat_fat_operations.c: Improve write speed with FAT12 and
	FAT16 filesystems. Previously merged on 4.6 branch.
2003-10-22 16:31:17 +00:00
Joel Sherrill a84c0fe0ec 2003-10-22 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Correct line length.
2003-10-22 12:38:28 +00:00
Ralf Corsepius ed4b894705 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-posix.m4: Add m4-quotes.
	Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
	* aclocal/canonical-host.m4: Remove.
	* configure.ac: Remove RTEMS_CANONICAL_HOST.
	* aclocal/sysv-ipc.m4: Remove reference to RTEMS_CANONICAL_HOST.
	* aclocal/canonical-target-name.m4: Use AC_CANONICAL_HOST instead of
	AC_CANONICAL_TARGET. Use $host instead of $target.
2003-10-21 15:17:21 +00:00
Ralf Corsepius 9ca05b1c8b 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CANONICAL_HOST.
2003-10-21 15:13:36 +00:00
Ralf Corsepius 5b2e19988f 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-multiprocessing.m4: Add m4-quotes.
	Remove RTEMS_CHECK_CPU.
	* aclocal/check-itron.m4: Add m4-quotes.
	Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
	* aclocal/check-networking.m4: Add m4-quotes.
	Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
	* aclocal/check-cpu.m4: Remove.
	* aclocal/canonical-target-name.m4: Add m4-quotes.
	* configure.ac: Merge-in former aclocal/check-cpu.m4.
2003-10-21 14:51:01 +00:00
Ralf Corsepius 8727808edf 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHECK_CPU.
2003-10-21 14:22:55 +00:00
Ralf Corsepius 91e46776a7 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/coremsgseize.c, src/coremsgsubmit.c:
	Remove unnecessary typecasts in assignments to
	thread->Wait.return_argument.
2003-10-21 14:20:05 +00:00
Ralf Corsepius e7bd66a799 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/cancelrun.c, src/pthreadexit.c, src/pthreadjoin.c,
	src/sigtimedwait.c: Remove unnecessary typecasts in assignments to
	thread->Wait.return_argument.
2003-10-21 09:39:11 +00:00
Ralf Corsepius a4e44c294f 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/Makefile.am: noinst_HEADERS += fat.h
2003-10-21 05:50:02 +00:00
Ralf Corsepius c788f380c6 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/msdos_file.c (msdos_file_read, msdos_file_write):
	Use '0' as initial value for ret instead of RC_OK.
2003-10-21 05:44:51 +00:00
Ralf Corsepius 93fabe272a 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/msdos_conv.c: Remove isupper, islower, toupper, tolower
	(Unused).
2003-10-21 05:32:10 +00:00
Ralf Corsepius b523336c9d 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/capture-cli.c: Reflect new rtems_monitor_command_arg_t.
2003-10-21 04:05:47 +00:00
Ralf Corsepius 77469f8615 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/rpc/Makefile.am: Remove __P from AM_CPPFLAGS.
	Rely on sys/cdefs.h providing it.
	* src/xdr/Makefile.am: Remove __P from AM_CPPFLAGS.
	Rely on sys/cdefs.h providing it.
2003-10-21 04:01:46 +00:00
Ralf Corsepius 62f082938c 2003-10-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Check for sys/cdefs.h.
	* aclocal/env-rtems-cpu.m4: Add project_includedir.
	Deprecate PROJECT_INCLUDE.  Change project_includedir to
	$(PROJECT_ROOT)/include for multilibs.
2003-10-17 08:17:55 +00:00
Joel Sherrill 17f1ffbe0f 2003-10-13 Joel Sherrill <joel@OARcorp.com>
* src/cleanuppop.c, src/cleanuppush.c: Protect use of
	_Workspace_Allocate and _Workspec_Free.
2003-10-13 21:37:54 +00:00
Joel Sherrill ff247b6862 2003-10-02 Phil Torre <ptorre@zetron.com>
PR 504/rtems
	* include/rtems/score/coremutex.h: Add fatal error check for a task
	blocking on a mutex when thread dispatching is disabled.
2003-10-02 12:40:23 +00:00
Joel Sherrill 6cff0f87fa 2003-10-02 Phil Torre <ptorre@zetron.com>
PR 504/rtems
	* src/newlibc.c: Fix memory allocation of libc extension so it is
	dispatch disabled safe See PR for detailed explanation.
2003-10-02 12:39:05 +00:00
Joel Sherrill 1aa101ba9b 2003-09-26 Joel Sherrill <joel@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h: Obsoleting HP
	PA-RISC port and removing all references.
2003-09-26 21:56:51 +00:00
Joel Sherrill 3b1c100448 2003-09-26 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Obsoleting HP PA-RISC port and removing all
	references.
2003-09-26 21:56:41 +00:00
Joel Sherrill 024fd916dc 2003-09-26 Joel Sherrill <joel@OARcorp.com>
* cpu/hppa1.1/.cvsignore, cpu/hppa1.1/ChangeLog,
	cpu/hppa1.1/Makefile.am, cpu/hppa1.1/configure.ac, cpu/hppa1.1/cpu.c,
	cpu/hppa1.1/cpu_asm.S, cpu/hppa1.1/rtems/.cvsignore,
	cpu/hppa1.1/rtems/score/.cvsignore, cpu/hppa1.1/rtems/score/cpu.h,
	cpu/hppa1.1/rtems/score/cpu_asm.h, cpu/hppa1.1/rtems/score/hppa.h,
	cpu/hppa1.1/rtems/score/types.h: Removed.
2003-09-26 21:35:21 +00:00
Joel Sherrill d4c40786f6 2003-09-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 495/rtems_misc
	* capture/capture-cli.c, monitor/mon-command.c, monitor/mon-config.c,
	monitor/mon-monitor.c, monitor/mon-object.c, monitor/mon-symbols.c,
	monitor/monitor.h, shell/cmds.c: Move to making libmisc 16/32 bit
	clean.
2003-09-26 17:42:45 +00:00
Joel Sherrill 1f5a1afeae 2003-09-26 Till Strauman <strauman@slac.stanford.edu>
PR 498/rtems
	* src/printk.c: RTEMS printk() does not support the %i format which is
	used by a lot of driver/BSP etc. code. The trivial patch allows %i/%I
	as an alias for %d/%D.
2003-09-26 17:37:55 +00:00
Joel Sherrill 0f07ee7434 2003-09-26 Joel Sherrill <joel@OARcorp.com>
PR 492/filesystem
	* src/dosfs/fat_file.c: Fix inconsistent types in va_args call.
2003-09-26 17:19:21 +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
Ralf Corsepius 27a78054d6 2003-09-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in include/Makefile.am.
	* include/Makefile.am: Remove.
2003-09-24 07:49:21 +00:00
Ralf Corsepius c53c680690 *** empty log message *** 2003-09-22 13:18:36 +00:00
Ralf Corsepius c6d35fa59f 2003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/monitor.h:
	Add rtems_monitor_commands[] (Illegally applied by shell/).
	Remove ifdef(__mips64) (Make broken code visible again).
	* monitor/mon-command.c: Add several ifndef RTEMS_UNIX to avoid
	warnings.
	* monitor/mon-monitor.c: Remove RTEMS_CPU_HAS_16_BIT_ADDRESSES (Make
	broken code visible again).
	* shell/cmds.c: Remove local decls of rtems_monitor_commands[].
2003-09-22 13:14:26 +00:00
Ralf Corsepius 330dbdb055 2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/monitor.h: Remove STREQ, STNEQ (pollute namespace),
	RTEMS_MONITOR_PROMPT (pollutes namespace, useless).
	* monitor/mon-command.c: Add RTEMS_MONITOR_PROMPT.
	* monitor/mon-monitor.c: Apply private version of STREQ.
2003-09-19 12:48:15 +00:00
Ralf Corsepius e7f38e8237 2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/symbols.h: Convert to private header.
	* monitor/monitor.h: Don't include symbols.h.
	Add forward decls. for symbols from symbols.h.
	* monitor/Makefile.am: Don't install symbols.h.
	* monitor/mon-symbols.c: Include "symbols.h".
2003-09-19 11:54:00 +00:00
Jennifer Averett 1e2eec8694 2003-09-15 Jay Monkman <jtm@smoothsmoothie.com>
PR 482/networking
	* rtems/rtems_glue.c: Network interfaces cant be taken down
2003-09-15 14:32:52 +00:00
Jennifer Averett 4e0576c023 2003-09-15 Jennifer Averett <jennifer@OARcorp.com>
PR 481/networking
	* net/ethernet.h, net/if_arp.h, netinet/if_ether.h: Network structs
	should be packed
2003-09-15 14:28:11 +00:00
Jennifer Averett a56c338500 2003-09-15 Jay Monkman <jtm@smoothsmoothie.com>
PR 482/networking
	* rtems/rtems_glue.c: Network interfaces cant be taken down
2003-09-15 14:04:37 +00:00
Ralf Corsepius d36b31523d 2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 489/rtems
	* include/rtems/score/thread.h: Change struct
	Thread_Control_struct.libc_reent to using struct _reent*.
	* inline/rtems/score/thread.inl: Reflect change above.
2003-09-15 01:01:51 +00:00
Ralf Corsepius 7bd88b5495 2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 489/rtems
	* src/newlibc.c: Reflect struct Thread_Control_struct.libc_reent
	having changed from void * to struct _reent*.
2003-09-15 00:58:13 +00:00
Ralf Corsepius 65fd5ae089 2003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/sync.c: Don't undef __STRICT_ANSI__.
	Use struct _reent (struct reent doesn't exist)
2003-09-13 03:47:05 +00:00
Ralf Corsepius 7ce9bacd6a 2003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 486/rtems
	* src/newlib.c: Unconditionally include <stdio.h>
2003-09-13 03:41:34 +00:00
Joel Sherrill f4631c4794 2003-09-11 Joel Sherrill <joel@OARcorp.com>
PR 488/rtems
	* src/taskcreate.c, src/tasks.c: Ensure notepads are zeroed.
2003-09-11 16:49:34 +00:00
Joel Sherrill 8dbb19ab83 2003-09-09 Ralf Corsepius <ralf_corsepius@rtems.com>
PR 487/filesystem
	* src/dosfs/fat_file.c: Correct typing per gcc 3.3 warnings.
2003-09-09 12:56:13 +00:00
Joel Sherrill 8a420a3e95 2003-09-08 Derick Hammond <derick@perkinstechnologies.com.au>
PR 484/rtems
	* src/threadcreateidle.c: Idle task name was initialized incorrectly.
2003-09-08 21:07:03 +00:00
Joel Sherrill d2ac7c314c 2003-09-08 Mikec Ivica <mikici@acm.org>
* inline/rtems/score/userext.inl, macros/rtems/score/userext.inl:
	Add missing cast.
2003-09-08 21:02: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
Joel Sherrill dd687d977e 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/rtems/debug.h, include/rtems/seterr.h,
	include/rtems/system.h, include/rtems/score/address.h,
	include/rtems/score/apiext.h, include/rtems/score/apimutex.h,
	include/rtems/score/bitfield.h, include/rtems/score/chain.h,
	include/rtems/score/context.h, include/rtems/score/copyrt.h,
	include/rtems/score/coremsg.h, include/rtems/score/coremutex.h,
	include/rtems/score/coresem.h, include/rtems/score/heap.h,
	include/rtems/score/interr.h, include/rtems/score/isr.h,
	include/rtems/score/mpci.h, include/rtems/score/mppkt.h,
	include/rtems/score/object.h, include/rtems/score/objectmp.h,
	include/rtems/score/priority.h, include/rtems/score/stack.h,
	include/rtems/score/states.h, include/rtems/score/sysstate.h,
	include/rtems/score/thread.h, include/rtems/score/threadmp.h,
	include/rtems/score/threadq.h, include/rtems/score/tod.h,
	include/rtems/score/tqdata.h, include/rtems/score/userext.h,
	include/rtems/score/watchdog.h, include/rtems/score/wkspace.h,
	inline/rtems/score/address.inl, inline/rtems/score/chain.inl,
	inline/rtems/score/coremsg.inl, inline/rtems/score/coremutex.inl,
	inline/rtems/score/coresem.inl, inline/rtems/score/heap.inl,
	inline/rtems/score/isr.inl, inline/rtems/score/mppkt.inl,
	inline/rtems/score/object.inl, inline/rtems/score/objectmp.inl,
	inline/rtems/score/priority.inl, inline/rtems/score/stack.inl,
	inline/rtems/score/states.inl, inline/rtems/score/sysstate.inl,
	inline/rtems/score/thread.inl, inline/rtems/score/threadmp.inl,
	inline/rtems/score/tod.inl, inline/rtems/score/tqdata.inl,
	inline/rtems/score/userext.inl, inline/rtems/score/watchdog.inl,
	inline/rtems/score/wkspace.inl, macros/rtems/score/address.inl,
	macros/rtems/score/chain.inl, macros/rtems/score/coremsg.inl,
	macros/rtems/score/coremutex.inl, macros/rtems/score/coresem.inl,
	macros/rtems/score/heap.inl, macros/rtems/score/isr.inl,
	macros/rtems/score/mppkt.inl, macros/rtems/score/object.inl,
	macros/rtems/score/objectmp.inl, macros/rtems/score/priority.inl,
	macros/rtems/score/stack.inl, macros/rtems/score/states.inl,
	macros/rtems/score/sysstate.inl, macros/rtems/score/thread.inl,
	macros/rtems/score/threadmp.inl, macros/rtems/score/tod.inl,
	macros/rtems/score/tqdata.inl, macros/rtems/score/userext.inl,
	macros/rtems/score/watchdog.inl, macros/rtems/score/wkspace.inl,
	src/apiext.c, src/chain.c, src/coremsg.c, src/coremsgbroadcast.c,
	src/coremsgclose.c, src/coremsgflush.c, src/coremsgflushsupp.c,
	src/coremsgflushwait.c, src/coremsginsert.c, src/coremsgseize.c,
	src/coremsgsubmit.c, src/coremutex.c, src/coremutexflush.c,
	src/coremutexseize.c, src/coremutexsurrender.c, src/coresem.c,
	src/coresemflush.c, src/coresemseize.c, src/coresemsurrender.c,
	src/coretod.c, src/coretodset.c, src/coretodtickle.c,
	src/coretodtoseconds.c, src/coretodvalidate.c, src/heap.c,
	src/heapallocate.c, src/heapextend.c, src/heapfree.c,
	src/heapgetinfo.c, src/heapsizeofuserarea.c, src/heapwalk.c,
	src/interr.c, src/isr.c, src/iterateoverthreads.c, src/mpci.c,
	src/object.c, src/objectallocate.c, src/objectallocatebyindex.c,
	src/objectclearname.c, src/objectcomparenameraw.c,
	src/objectcomparenamestring.c, src/objectcopynameraw.c,
	src/objectcopynamestring.c, src/objectextendinformation.c,
	src/objectfree.c, src/objectget.c, src/objectgetbyindex.c,
	src/objectgetisr.c, src/objectgetnext.c, src/objectgetnoprotection.c,
	src/objectidtoname.c, src/objectinitializeinformation.c,
	src/objectmp.c, src/objectnametoid.c, src/objectshrinkinformation.c,
	src/thread.c, src/threadchangepriority.c, src/threadclearstate.c,
	src/threadclose.c, src/threadcreateidle.c, src/threaddelayended.c,
	src/threaddispatch.c, src/threadevaluatemode.c, src/threadget.c,
	src/threadhandler.c, src/threadidlebody.c, src/threadinitialize.c,
	src/threadloadenv.c, src/threadmp.c, src/threadq.c,
	src/threadqdequeue.c, src/threadqdequeuefifo.c,
	src/threadqdequeuepriority.c, src/threadqenqueue.c,
	src/threadqenqueuefifo.c, src/threadqenqueuepriority.c,
	src/threadqextract.c, src/threadqextractfifo.c,
	src/threadqextractpriority.c, src/threadqextractwithproxy.c,
	src/threadqfirst.c, src/threadqfirstfifo.c,
	src/threadqfirstpriority.c, src/threadqflush.c, src/threadqtimeout.c,
	src/threadready.c, src/threadreset.c, src/threadresettimeslice.c,
	src/threadrestart.c, src/threadresume.c, src/threadrotatequeue.c,
	src/threadsetpriority.c, src/threadsetstate.c,
	src/threadsettransient.c, src/threadstackallocate.c,
	src/threadstackfree.c, src/threadstart.c,
	src/threadstartmultitasking.c, src/threadsuspend.c,
	src/threadtickletimeslice.c, src/threadyieldprocessor.c,
	src/userext.c, src/watchdog.c, src/watchdogadjust.c,
	src/watchdoginsert.c, src/watchdogremove.c, src/watchdogtickle.c,
	src/wkspace.c: URL for license changed.
2003-09-04 18:56:05 +00:00
Joel Sherrill 0b5e8c7073 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h, rtems/score/types.h, rtems/score/unix.h:
	URL for license changed.
2003-09-04 18:55:10 +00:00
Joel Sherrill 85ab70f452 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/sparc.h,
	rtems/score/types.h: URL for license changed.
2003-09-04 18:55:09 +00:00
Joel Sherrill 7f28803d7c 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* asm.h, cpu.c, rtems/score/cpu.h, rtems/score/sh.h,
	rtems/score/sh_io.h, rtems/score/types.h: URL for license changed.
2003-09-04 18:55:08 +00:00
Joel Sherrill 90e393f206 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
	rtems/powerpc/registers.h, rtems/score/ppc.h, rtems/score/types.h:
	URL for license changed.
2003-09-04 18:55:07 +00:00
Joel Sherrill c2a459478f 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpu.c, cpu_asm.c, rtems/score/cpu.h, rtems/score/cpu_asm.h,
	rtems/score/or32.h, rtems/score/types.h: URL for license changed.
2003-09-04 18:55:04 +00:00
Joel Sherrill f226687ec3 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpu.c, cpu_asm.c, rtems/score/cpu.h, rtems/score/cpu_asm.h,
	rtems/score/no_cpu.h, rtems/score/types.h: URL for license changed.
2003-09-04 18:55:02 +00:00