Commit Graph

86 Commits

Author SHA1 Message Date
Joel Sherrill
479cbaf81d 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
	_CPU_Context_restore() because it does not return. Telling GCC this
	avoids generation of dead code.
2010-10-21 22:18:05 +00:00
Joel Sherrill
2f49bcfb01 2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
	* cpu_asm.c: Rename _Context_Switch_necessary to
	_Thread_Dispatch_necessary to more properly reflect the intent.
2010-07-30 18:52:16 +00:00
Joel Sherrill
4ef13360d6 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit
	* rtems/score/cpu.h, rtems/score/types.h: Refactoring of priority
	handling, to isolate the bitmap implementation of priorities in the
	supercore so that priority management is a little more modular. This
	change is in anticipation of scheduler implementations that can
	select how they manage tracking priority levels / finding the highest
	priority ready task. Note that most of the changes here are simple
	renaming, to clarify the use of the bitmap-based priority management.
2010-07-29 17:51:56 +00:00
Sebastian Huber
89b85e5100 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Include <rtems/score/types.h> first.
	* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-16 08:46:29 +00:00
Joel Sherrill
9418359d76 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.c, rtems/score/cpu.h: Add a per cpu data structure which
	contains the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:33:12 +00:00
Joel Sherrill
fe31ab22d2 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.c: Add include of config.h
2010-03-27 15:02:26 +00:00
Joel Sherrill
cca8379862 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
	consistently return void * and take a uintptr_t argument.
2009-02-12 15:55:55 +00:00
Joel Sherrill
c03e2bc8c7 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
	passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
	comments.
2009-02-11 21:45:05 +00:00
Joel Sherrill
3d0e458723 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.c, rtems/score/cpu.h, rtems/score/types.h: Corrections and
	updates.
2008-10-02 20:20:17 +00:00
Ralf Corsepius
6162bc2a1d 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Do not define boolean, single_precision,
	double_precision unless RTEMS_DEPRECATED_TYPES is given.
2008-09-11 14:10:16 +00:00
Ralf Corsepius
b7b6100115 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Include stdbool.h.
	Use bool as base-type for boolean.
2008-08-21 04:10:51 +00:00
Joel Sherrill
3c87adba3f 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:56 +00:00
Joel Sherrill
2fd427c792 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting
	parameter to indicate that the port uses the Simple Vectored
	Interrupt model or the Programmable Interrupt Controller Model. The
	PIC model is implemented primarily in the BSP and it is responsible
	for all memory allocation.
2008-06-05 14:30:07 +00:00
Joel Sherrill
95e7637f4c 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Remove most doxygen warnings.
2008-01-29 23:57:47 +00:00
Joel Sherrill
0ca6d0d938 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
2007-12-17 22:35:25 +00:00
Joel Sherrill
5c5d438602 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Style.
2007-12-11 23:42:15 +00:00
Joel Sherrill
de434b0234 2007-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Fix Doxygen.
2007-12-10 23:13:28 +00:00
Joel Sherrill
ee29de05bc 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:19:10 +00:00
Joel Sherrill
4b89ba70ea 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
	the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:22:55 +00:00
Ralf Corsepius
8ea0d7dabd 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	  Eliminate evil casts.
2007-04-17 05:58:04 +00:00
Ralf Corsepius
795da078a1 2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Remove unsigned64, signed64.
2006-11-17 05:58:06 +00:00
Joel Sherrill
22b3bedc4a 2006-01-16 Joel Sherrill <joel@OARcorp.com>
* rtems/asm.h, rtems/score/cpu.h, rtems/score/types.h: Part of a large
	patch to improve Doxygen output. As a side-effect, grammar and
	spelling errors were corrected, spacing errors were address, and some
	variable names were improved.
2006-01-16 15:12:12 +00:00
Ralf Corsepius
7a3f0188b5 2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Eliminate unsigned16, unsigned32.
2005-11-08 19:01:45 +00:00
Ralf Corsepius
c6ea319b12 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/asm.h: Remove private version of CONCAT macros.
	Include <rtems/concat.h> instead.
2005-10-27 07:29:04 +00:00
Ralf Corsepius
8fab7fa939 Cosmetics. 2005-02-19 06:30:55 +00:00
Ralf Corsepius
babf5758c4 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Split out preinstallation rules.
	* preinstall.am: New (Split out from Makefile.am).
2005-02-08 15:45:55 +00:00
Ralf Corsepius
1f24914a41 2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 754/rtems
	* rtems/asm.h: New (relocated from .).
	* asm.h: Remove (moved to rtems/asm.h).
	* Makefile.am: Reflect changes above.
2005-02-04 05:25:15 +00:00
Ralf Corsepius
a8cb90e9e9 2004-01-28 Ralf Corsepius <ralf.corsepiu@rtems.org>
* asm.h, rtems/score/cpu.h, rtems/score/cpu_asm.h,
	rtems/score/no_cpu.h, rtems/score/types.h: New header guards.
2005-01-28 15:53:34 +00:00
Ralf Corsepius
609b924793 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Remove signed8, signed16, signed32,
	unsigned8, unsigned16, unsigned32.
2005-01-24 16:10:39 +00:00
Ralf Corsepius
ec8973ed48 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
2005-01-24 05:43:40 +00:00
Ralf Corsepius
b9b531f9ff 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/types.h: #include <rtems/stdint.h>.
2005-01-24 03:54:22 +00:00
Ralf Corsepius
2bc236ba0d 2005-01-07 Ralf Corsepius <ralf.corsepius@freenet.de>
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
2005-01-07 06:03:01 +00:00
Ralf Corsepius
f346774df6 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove build-variant support.
2005-01-01 10:31:38 +00:00
Ralf Corsepius
af413e957e 2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Use __rtems_score_types_h as preprocessor
	guard.
2004-11-21 11:06:03 +00:00
Ralf Corsepius
b8ed8a9f52 2004-11-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* asm.h: Add doxygen preamble.
2004-11-21 08:25:23 +00:00
Ralf Corsepius
77d3533f22 2004-10-02 Ralf Corsepius <ralf_corsepius@rtems.org>
* rtems/score/cpu.h: Add doxygen preamble.
	* rtems/score/cpu_asm.h: Add doxygen preamble.
	* rtems/score/types.h: Add doxygen preamble.
2004-11-02 07:39:45 +00:00
Joel Sherrill
90550fe52b 2004-09-29 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: i960 obsoleted and all references removed.
2004-09-29 20:32:16 +00:00
Ralf Corsepius
8bdec9c378 2004-04-06 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Remove (Merged into$(top_srcdir)/configure.ac).
	* Makefile.am: Don't include multilib.am.
	Reflect merging configure.ac into $(top_srcdir)/configure.ac.
2004-04-06 02:17:46 +00:00
Ralf Corsepius
5f8d82b773 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* Makefile.am: Install asm.h to $(includedir)/rtems.
2004-04-01 14:09:00 +00:00
Ralf Corsepius
c346f33d6d 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h: Convert to using c99 fixed size types.
2004-03-30 11:49:14 +00:00
Ralf Corsepius
d3b09bf4e6 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: RTEMS_TOP([../../../..]).
2004-03-29 12:59:18 +00:00
Ralf Corsepius
7ea5560702 2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Move RTEMS_TOP one subdir down.
2004-01-21 16:05:27 +00:00
Ralf Corsepius
3d1de205f6 2004-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add PREINSTALL_DIRS.
2004-01-19 07:29:05 +00:00
Ralf Corsepius
8956e27932 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
	Add PREINSTALL_FILES to CLEANFILES.
2004-01-14 05:31:43 +00:00
Ralf Corsepius
36e48b12c7 2004-01-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Requires automake >= 1.8.1.
2004-01-12 07:18:55 +00:00
Ralf Corsepius
f08808ee91 2004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am, again.
2004-01-11 05:40:53 +00:00
Ralf Corsepius
ec8c1949f0 2004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Convert to using automake compilation rules.
2004-01-11 02:37:03 +00:00
Ralf Corsepius
7fccd6d655 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES.
2003-12-12 13:02:24 +00:00
Ralf Corsepius
810720b633 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
2003-12-12 03:28:02 +00:00
Ralf Corsepius
60f7da25f0 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove TMPINSTALL_FILES.
2003-12-01 04:38:56 +00:00