Commit Graph

6359 Commits

Author SHA1 Message Date
Joel Sherrill
d5136d9639 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>
* irq/irq_asm.S: Significant rework in attempt to make interrupts
	work.  They appear to be very close to correct but not 100%.
2002-07-17 17:17:53 +00:00
Joel Sherrill
3e2f5cc1e4 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>
* start/start.S: Added SWI_Handler.
2002-07-17 17:17:03 +00:00
Joel Sherrill
18e45af1c8 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>
* irq/bsp_irq_asm.S: Disable code to touch PIC.
2002-07-17 17:16:14 +00:00
Joel Sherrill
4f0b287a4a 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>
* rtems/score/cpu_asm.h: Enhanced to include register offsets.
	* Makefile.am: Install rtems/score/cpu_asm.h.
	* cpu.c: Significantly enhanced including the implementation of
	_CPU_ISR_Get_level.
	* cpu_asm.S: Improved behavior of context switch and interrupt
	dispatching.
	* rtems/score/arm.h: Improved the CPU model name determination.
	* rtems/score/cpu.h: Improved interrupt disable/enable functions.
2002-07-17 17:14:31 +00:00
Joel Sherrill
74c402a2a3 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>
* netinet/in.h, netinet/ip.h, netinet/ip_var.h, netinet/tcp.h:
	Modified to added packed attribute.o
2002-07-17 17:08:48 +00:00
Joel Sherrill
2b947a45d7 2002-07-16 Eric Norum <eric.norum@usask.ca>
* New driver for the Intel EtherExpressPro (82559ER) chip.
	* network/if_fxp.c, network/if_fxpreg.h, network/if_fxpvar.h,
	network/pci.h: New file.
	* network/Makefile.am: Modified to reflect above.
2002-07-16 22:37:13 +00:00
Joel Sherrill
cd66632f0b 2002-07-16 Eric Norum <eric.norum@usask.ca>
* console/console.c: Others on the rtems-users list have expressed
	concern about this run-time selection, so I've enclosed the changes
	in a #ifdef RTEMS_RUNTIME_CONSOLE_SELECT conditional.
2002-07-16 22:32:54 +00:00
Joel Sherrill
27ce64252d 2002-07-16 Eric Norum <eric.norum@usask.ca>
* comm/uart.c: I am using a PC-104 card with no video output.  I
	found that things would lock up if a printk was followed closely by
	a printf when BSPConsolePort = BSP_UART_COM2 and
	BSPPrintkPort = BSP_UART_COM1.  With this change in place,
	printf/printk calls can be intermingled with no apparent problems.
2002-07-16 22:30:11 +00:00
Joel Sherrill
dc3848d0bc 2002-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Added SR_IEO to context restore to fix isr disabled
	deadlock caused by interrupt arriving while dispatching.
2002-07-16 22:26:14 +00:00
Joel Sherrill
18c19a7106 2002-07-16 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/object.inl: Corrected typos in
	_Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
2002-07-16 22:22:15 +00:00
Ralf Corsepius
8166684def 2002-07-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config-ml.in: Imported from gcc-3.1.
	Change to match c/src/config-ml.in.
2002-07-06 07:11:58 +00:00
Ralf Corsepius
05f5bf25df Initial revision 2002-07-06 07:04:01 +00:00
Joel Sherrill
e90ff51fd8 2002-07-05 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/object.inl: Corrected implementation of
	_Objects_Open, _Objects_Close, and _Objects_Namespace_remove
	to be consistent with the inline implementation.
2002-07-05 18:15:41 +00:00
Joel Sherrill
485c9741ab 2002-07-05 Joel Sherrill <joel@OARcorp.com>
* src/dpmemident.c, src/msgqident.c, src/partident.c,
	src/ratemonident.c, src/regionident.c, src/semident.c,
	src/timerident.c: Corrected use of name parameter to
	be consistent with fixes implemented to string name processing
	which were committed with the POSIX Message Queue update.
2002-07-05 18:14:30 +00:00
Joel Sherrill
f845e96e7b 2002-07-05 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/cancel.h, src/cancel.c, src/cancelrun.c,
	src/mqueue.c, src/pthread.c, src/semaphore.c, src/setcancelstate.c,
	src/setcanceltype.c, src/testcancel.c:  Per PR164, corrected the
	behavior of thread cancellation and did some cleanup as a side-effect.
2002-07-05 18:13:18 +00:00
Joel Sherrill
4a2b4f0b61 2002-07-05 Joel Sherrill <joel@OARcorp.com>
* cpu.c, irq.c, rtems/score/cpu.h: Filled in something that was
	marked XXX.
2002-07-05 18:10:25 +00:00
Joel Sherrill
2540208c66 2002-07-05 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Filled in something that was marked XXX.
2002-07-05 18:09:59 +00:00
Joel Sherrill
4f234daac3 2002-07-05 Joel Sherrill <joel@OARcorp.com>
* psxcancel/Makefile.am, psxcancel/init.c, psxcancel/psxcancel.scn:
	Updated as part of PR164 which reported problems with the RTEMS
	implementation of pthread_cancel.
2002-07-05 18:07:49 +00:00
Ralf Corsepius
02ccf4afcf 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New.
	* Makefile.am: Remove tar-installation.
	Prepend @exec@ to SUBDIRS.
	* configure.ac: Switch to AC_CONFIG_SRCDIR([optman]).
	Add RTEMS_ENABLE_MULTIPROCESSING.
	Add RTEMS_CONFIG_SUBDIR([exec]...).
2002-07-05 16:19:31 +00:00
Ralf Corsepius
1b16e63c4f 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/multilib.am: Add install-multi.
	* aclocal/rtems-top.m4: Reflect new RTEMS_TOPdir to detecting
	version.m4.
	Add --with-project-root.
	Reflect --with-project-root to setting up PROJECT_ROOT.
	* aclocal/env-rtemscpu.m4: Reflect new RTEMS_TOPdir (HACK).
	* aclocal/check-cpu.m4:  Reflect new RTEMS_TOPdir.
	* aclocal/check-bsps.m4: Reflect new RTEMS_TOPdir.
2002-07-05 16:13:07 +00:00
Ralf Corsepius
51b4875ac0 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(..).
2002-07-05 15:55:12 +00:00
Ralf Corsepius
705a070160 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../..).
2002-07-05 15:55:09 +00:00
Ralf Corsepius
af81910b44 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../../../..).
2002-07-05 15:54:50 +00:00
Joel Sherrill
c3bb68a1bf 2002-07-04 Joel Sherrill <joel@OARcorp.com>
* Jump table for single entry point removed.
	* spsize/size.c:  Modified to reflect above.
2002-07-04 16:23:52 +00:00
Joel Sherrill
37cd592b0f 2002-07-04 Joel Sherrill <joel@OARcorp.com>
* Jump table for single entry point removed.
	* include/rtems/directives.h, src/entrytable.c: Removed.
	* include/Makefile.am, src/Makefile.am, src/exinit.c:  Modified to
	reflect above.
2002-07-04 16:22:54 +00:00
Joel Sherrill
b977ea9d16 2002-07-04 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Remove reference to deprecated rtems.c.
2002-07-04 14:41:37 +00:00
Ralf Corsepius
445c0a0629 2002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Eliminate TMPINSTALL_FILES.
	Remove $(OBJS) from all-local.
2002-07-04 08:56:18 +00:00
Ralf Corsepius
d16af04313 2002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Add $(LIB) to all-local.
2002-07-04 05:43:53 +00:00
Ralf Corsepius
2984cf1bc7 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: explicitly create $(ARCH) when building $(LIB).
	Add bsplib_DATA = $(LIB).
2002-07-03 20:16:01 +00:00
Ralf Corsepius
e6938b4d26 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.c: Remove.
	* Makefile.am: Reflect changes above.
2002-07-03 03:38:34 +00:00
Ralf Corsepius
84fa1878ab 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.c: Remove.
	* Makefile.am: Reflect changes above.
2002-07-03 03:32:09 +00:00
Ralf Corsepius
3cf5a99223 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.S: Remove.
	* Makefile.am: Reflect changes above.
2002-07-03 03:17:35 +00:00
Joel Sherrill
2e2bfa0c70 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* src/bdbuf.c:  Modified as part of above.
2002-07-01 22:37:58 +00:00
Joel Sherrill
9fbe22ccd3 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* src/cre_mbf.c, src/cre_sem.c, src/eventflags.c, src/fmempool.c,
	src/itronsem.c, src/mbox.c, src/msgbuffer.c, src/port.c, src/task.c,
	src/vmempool.c:  Modified as part of above.
2002-07-01 22:35:43 +00:00
Joel Sherrill
2e2cf92151 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* src/__times.c: Corrected from previous attempt to cleanup.
2002-07-01 22:35:07 +00:00
Joel Sherrill
3c46587833 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* include/rtems/posix/key.h, src/cond.c, src/condinit.c, src/intr.c,
	src/key.c, src/keycreate.c, src/keydelete.c, src/killinfo.c,
	src/mqueue.c, src/mqueuecreatesupp.c, src/mutex.c, src/mutexinit.c,
	src/psignal.c, src/pthread.c, src/semaphore.c,
	src/semaphorecreatesupp.c:  Modified as part of above.
2002-07-01 22:33:47 +00:00
Joel Sherrill
90015e7f86 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* include/rtems.h, inline/rtems/rtems/region.inl,
	macros/rtems/rtems/region.inl, src/dpmem.c, src/dpmemcreate.c,
	src/msg.c, src/msgqcreate.c, src/part.c, src/partcreate.c,
	src/ratemon.c, src/ratemoncreate.c, src/region.c, src/regioncreate.c,
	src/regiondelete.c, src/regionextend.c, src/regiongetinfo.c,
	src/regiongetsegment.c, src/regiongetsegmentsize.c,
	src/regionident.c, src/regionreturnsegment.c, src/rtemstimer.c,
	src/sem.c, src/semcreate.c, src/taskcreate.c, src/taskident.c,
	src/tasks.c, src/timercreate.c: Modified as part of above.
2002-07-01 22:32:31 +00:00
Joel Sherrill
0577ec1d78 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* include/confdefs.h, src/exinit.c, src/extension.c, src/itronapi.c,
	src/posixapi.c, src/rtemsapi.c:  Modified as part of above.
2002-07-01 22:31:29 +00:00
Joel Sherrill
ef9505a92f 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* include/Makefile.am, include/rtems/score/coremsg.h,
	include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
	include/rtems/score/object.h, include/rtems/score/threadq.h,
	inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
	macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
	src/coremutex.c, src/coresem.c, src/mpci.c,
	src/objectcomparenameraw.c, src/objectextendinformation.c,
	src/objectinitializeinformation.c, src/objectnametoid.c,
	src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
	src/threadqextractwithproxy.c: Modified as part of above.
	* include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
	files.
2002-07-01 22:30:12 +00:00
Joel Sherrill
3a05d15f4b 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Fixed comments and renamed
	CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK to
	CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK to be consistent with other code.
2002-07-01 22:23:55 +00:00
Joel Sherrill
f14b925ac0 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* m68k-stub.c: Eliminated multi-line asm statements for gcc 3.x.
2002-07-01 22:21:52 +00:00
Joel Sherrill
17083dbe6c 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* rtems-stub-glue.c: Corrected use of
	_Objects_Information_table now that it is a two dimensional
	array based upon API and class.
2002-07-01 22:21:03 +00:00
Joel Sherrill
63977bb4d3 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* capture/capture-cli.c, cpuuse/cpuuse.c, monitor/mon-monitor.c,
	monitor/mon-object.c, monitor/monitor.h: Corrected use of
	_Objects_Information_table now that it is a two dimensional
	array based upon API and class.  In addition, in the monitor,
	corrected an error which occured when a target has 64 bit pointers.
2002-07-01 22:19:33 +00:00
Joel Sherrill
ee13a74e4c 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* stackchk/check.c: Corrected use of
	_Objects_Information_table now that it is a two dimensional
	array based upon API and class.
2002-07-01 22:18:13 +00:00
Joel Sherrill
8d3b3be411 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* rtems_webserver/misc.c: Per PR236 eliminate definition of strnlen().
2002-07-01 22:16:57 +00:00
Joel Sherrill
ce8e6a8bb7 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* src/_servtgt.c, src/ptrace.c: Corrected use of
	_Objects_Information_table now that it is a two dimensional
	array based upon API and class.
2002-07-01 22:14:25 +00:00
Joel Sherrill
35290c995b 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* unlimited/test1.c: Corrected use of _Objects_Information_table
	now that it is a two dimensional array based upon API and class.
2002-07-01 22:13:03 +00:00
Joel Sherrill
21bbb925a9 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* sp29/init.c: Corrected definitions for task stack usage.
2002-07-01 22:11:44 +00:00
Joel Sherrill
a9047a0f9b 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: _Thread_queue_Extract_table removed.
2002-07-01 22:11:15 +00:00
Joel Sherrill
33d17195ca 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* setup.def: Update gcc3 RPMs for new patches.
2002-07-01 22:09:56 +00:00