Commit Graph

21 Commits

Author SHA1 Message Date
Ralf Corsepius
901ffaca0b 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* context_init.c, cpu.c, varvects.h, rtems/score/cpu.h,
	rtems/score/m32c.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:20:50 +00:00
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
65636918c8 2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* context_init.c, context_switch.S, cpu.c: Now builds multilib. R8C
	paths produce warnings for now.
2010-05-10 20:08:50 +00:00
Joel Sherrill
ceda5c27e0 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* context_init.c: Eliminate warnings.
2010-04-25 22:17:35 +00:00
Joel Sherrill
c9f5531cc7 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* context_init.c, context_switch.S, cpu.c, cpu_asm.c, varvects.S: Add
	include of config.h
2010-03-27 15:01:57 +00:00
Ralf Corsepius
5bb38e1566 Whitespace removal. 2009-12-04 05:25:30 +00:00
Ralf Corsepius
28352faecf Whitespace removal. 2009-11-29 13:51:53 +00:00
Joel Sherrill
97f46a8070 2009-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Make heap alignment 4 which is greater than
	CPU_ALIGNMENT but minimum for heap.
2009-09-11 00:08: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
Joel Sherrill
9cf17fb8cf 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Use a 16 bit object id on this target.
2009-02-11 19:35:30 +00:00
Joel Sherrill
e64a143b27 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* varvects.h: Fix prototype.
2009-01-05 19:58:41 +00:00
Ralf Corsepius
1cb54d1f38 #include <stdint.h> instead of <rtems/stdint.h>. 2008-12-11 00:47:56 +00:00
Ralf Corsepius
383871acea Fix typo. 2008-12-07 11:25:55 +00:00
Joel Sherrill
55b115ec90 2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* context_init.c, context_switch.S, cpu.c, cpu_asm.c: Correct file
	headers.
2008-10-28 21:44:58 +00:00
Joel Sherrill
f517be08f1 2008-10-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* context_switch.S, cpu_asm.c, rtems/score/cpu.h: Add support for
	restarting the currently executing thread. Fine tune alignment factor
	as two-byte aligned and use this for critical structures.
2008-10-13 17:07:57 +00:00
Joel Sherrill
ed6e947180 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, ChangeLog, Makefile.am, context_init.c, context_switch.S,
	cpu.c, cpu_asm.c, preinstall.am, varvects.S, varvects.h, rtems/asm.h,
	rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/m32c.h,
	rtems/score/types.h: New files.
2008-10-02 21:32:44 +00:00