Commit Graph

134 Commits

Author SHA1 Message Date
Joel Sherrill
0067feb693 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* cpu_asm.S: When the type rtems_boolean was switched to the C99 bool,
	the size changed from 4 bytes to 1 byte. The interrupt dispatching
	code accesses two boolean variables for scheduling purposes and the
	assembly implementations of this code did not get updated.
2009-03-12 14:16:50 +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
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
5a5bfea588 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Use a constant for CPU_STACK_MINIMUM_SIZE so it
	can be used in cpp expressions. Using sizeof() requires actually
	compiling the file.
2008-06-04 14:55:01 +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
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
Joel Sherrill
e4d4eb9c54 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
	MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:36:04 +00:00
Ralf Corsepius
72b4469ed4 2007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Use uintptr_t instead of uint32_t.
2007-08-04 06:07:30 +00:00
Ralf Corsepius
8b56aa3dea 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2007-05-09 15:28:52 +00:00
Ralf Corsepius
f2c2caa5e9 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:43:02 +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
cf5f68d602 2006-06-02 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu.c: Added __mips==32 to fix build problems on those targets
	caused by the Bruce Robinson.
2006-06-10 12:33:12 +00:00
Greg Menke
7c99007641 B.Robinson MIPS patch 2006-06-08 18:03:55 +00:00
Ralf Corsepius
a3de1b48f6 2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c (_CPU_Initialize): Add fpu initialization.
2006-03-17 08:38:26 +00:00
Ralf Corsepius
01a76a6f9f 2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__.
	(Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
2006-03-17 05:24:30 +00:00
Joel Sherrill
ece004d72a 2006-01-16 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.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:44 +00:00
Joel Sherrill
3883f7e76c 2005-11-18 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Eliminate use of unsigned32.
2005-11-18 21:11:32 +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
Joel Sherrill
c163e3b918 2005-04-26 Joel Sherrill <joel@OARcorp.com>
* rtems/asm.h: Eliminate warnings.
2005-04-26 23:36:33 +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
b5cdddfaba 2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/mips/idtcpu.h, rtems/mips/iregdef.h, rtems/score/mips.h:
	Header guards cleanup.
2005-02-04 05:38:26 +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
5236cf0476 2005-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
PR rtems/752
	* rtems/mips/idtcpu.h rtems/mips/iregdef.h: New (relocated from .).
	New header guards.
	* idtcpu.h, iregdef.h: Remove.
	* Makefile.am: Reflect changes above.
2005-02-01 15:15:45 +00:00
Ralf Corsepius
5ff04815c3 2004-01-28 Ralf Corsepius <ralf.corsepiu@rtems.org>
* asm.h, rtems/score/cpu.h, rtems/score/mips.h, rtems/score/types.h:
	New header guards.
2005-01-28 15:53:32 +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
Joel Sherrill
28e9f4521a 2005-01-07 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Remove warnings.
2005-01-07 14:35:53 +00:00
Joel Sherrill
dc7f3476f5 Fix format. 2005-01-07 14:35:38 +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
Greg Menke
e1765dd452 PR 739 2005-01-04 19:17:20 +00:00
Greg Menke
0b2bcb1814 PR 737 2005-01-03 17:41:22 +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
Greg Menke
5194a28430 PR 730
* cpu_asm.S: Collected PR 601 changes for commit to cvshead
	for rtems-4.7
2004-12-06 20:29:51 +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
3c64bac0a3 2004-10-02 Ralf Corsepius <ralf_corsepius@rtems.org>
* rtems/score/cpu.h: Add doxygen preamble.
	* rtems/score/mips.h: Add doxygen preamble.
	* rtems/score/types.h: Add doxygen preamble.
2004-11-02 07:39:36 +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
Joel Sherrill
f392719925 2004-07-25 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Remove use of C++ style comments and make this compile
	again.
2004-07-25 14:33:17 +00:00
Ralf Corsepius
78d4816b49 2004-04-14 Ralf Corsepius <ralf_corsepius@rtems.org>
PR 605/bsps
	* cpu.c: Remove further c++ style comments having been missed in
	previous patch. Remove printf's entirely.
2004-04-14 12:02:06 +00:00
Joel Sherrill
c18134552a 2004-04-09 Joel Sherrill <joel@OARcorp.com>
PR 605/bsps
	* cpu.c: Do not use C++ style comments.
2004-04-09 14:52:40 +00:00
Ralf Corsepius
be2ed3e262 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:21:50 +00:00
Joel Sherrill
0c9eaefb7b 2004-04-03 Art Ferrer <arturo.b.ferrer@nasa.gov>
PR 598/bsps
	* cpu_asm.S, rtems/score/cpu.h: Add save of floating point
	status/control register on context switches. Missing this register
	was causing intermittent floating point errors.
2004-04-03 16:29:13 +00:00