Commit Graph

15 Commits

Author SHA1 Message Date
Ralf Corsepius
06225d5593 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* context_init.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:21:33 +00:00
Joel Sherrill
0566429284 2011-01-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* context_switch.S: Reverse registers.
2011-02-01 01:14:54 +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
4990792b2f 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* context_init.c, context_switch.S, cpu.c, cpu_asm.c: Add include of
	config.h
2010-03-27 15:02:02 +00:00
Ralf Corsepius
5bb38e1566 Whitespace removal. 2009-12-04 05:25:30 +00:00
Ralf Corsepius
e447c7d242 Whitespace removal. 2009-11-28 06:15: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
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
0e5b446af7 2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, rtems/score/cpu.h: Now performs context
	switches and many tests run.
	* context_init.c, context_switch.S, cpu.c, cpu_asm.c: New files.
2008-10-28 20:03:19 +00:00
Joel Sherrill
463454b084 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, ChangeLog, Makefile.am, preinstall.am, rtems/asm.h,
	rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/m32r.h,
	rtems/score/types.h: New files.
2008-10-02 21:55:54 +00:00