Commit Graph

1027 Commits

Author SHA1 Message Date
Ralf Corsepius
d00ca42931 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h, rtems/score/sparc64.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:25:21 +00:00
Ralf Corsepius
3631c234d8 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/powerpc/registers.h, rtems/score/cpu.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:24:09 +00:00
Ralf Corsepius
69aa2c61b1 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:23:20 +00:00
Ralf Corsepius
0e9008738c 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h, rtems/score/m68k.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:22:30 +00:00
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
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
Ralf Corsepius
c05f6238b9 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, sse_test.c, rtems/score/cpu.h, rtems/score/i386.h,
	rtems/score/interrupts.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:14:20 +00:00
Ralf Corsepius
01850cde14 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/asm.h, rtems/score/cpu.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:13:08 +00:00
Ralf Corsepius
566fa34827 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:11:57 +00:00
Ralf Corsepius
0b6cb0cd0b 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* avr/power.h: Revert previous patch.
2011-02-11 09:11:00 +00:00
Ralf Corsepius
60cde416df 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, avr/interrupt.h, avr/power.h, rtems/score/cpu.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:09:21 +00:00
Ralf Corsepius
9f9371f562 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:08:14 +00:00
Ralf Corsepius
9ddff29e12 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, irq.c, rtems/score/lm32.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:57:36 +00:00
Ralf Corsepius
05d72d5e09 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* context.c, cpu.c, rtems/score/cpu.h, rtems/score/sh.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:56:10 +00:00
Ralf Corsepius
f8958d9c7d 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/score/mips.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:54:08 +00:00
Ralf Corsepius
e4a2a21f8d 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h, rtems/score/sparc.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:52:39 +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
Sebastian Huber
7171baf72b 2011-01-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: Changed Freescale EIS prefix.  More
	Freescale EIS defines.  Added MSR_IS, MSR_DS, and MSR_PMM defines.
2011-01-31 15:46:13 +00:00
Joel Sherrill
dcf368747f 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/irq.h,
	score/cpu/i386/rtems/score/idtr.h,
	score/cpu/powerpc/rtems/powerpc/registers.h,
	score/src/objectidtoname.c, score/src/schedulerpriorityblock.c,
	score/src/schedulerpriorityschedule.c,
	score/src/schedulerpriorityunblock.c,
	score/src/schedulerpriorityyield.c, score/src/thread.c,
	score/src/threadchangepriority.c, score/src/threadclearstate.c,
	score/src/threadclose.c, score/src/threadcreateidle.c,
	score/src/threaddelayended.c, score/src/threaddispatch.c,
	score/src/threadget.c, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadloadenv.c,
	score/src/threadready.c, score/src/threadreset.c,
	score/src/threadrestart.c, score/src/threadresume.c,
	score/src/threadsetpriority.c, score/src/threadsetstate.c,
	score/src/threadsettransient.c, score/src/threadstackallocate.c,
	score/src/threadstackfree.c, score/src/threadstart.c,
	score/src/threadstartmultitasking.c, score/src/threadsuspend.c,
	score/src/threadtickletimeslice.c, score/src/threadyieldprocessor.c:
	Fix typo where license said found in found in.
2011-01-28 20:24:54 +00:00
Sebastian Huber
20109f3089 2011-01-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: Added BOOKE_PIR define.
2011-01-26 15:20:46 +00:00
Joel Sherrill
031785a6cd 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.S: _Thread_Executing was not used.
2011-01-04 15:33:31 +00:00
Sebastian Huber
db26513608 2010-11-23 Gedare Bloom <giddyup44@yahoo.com>
PR 1719/cpukit
	* arm_exc_abort.S: Avoid "bx" instruction to support ARMv4 and below.
2010-11-23 15:59:18 +00:00
Sebastian Huber
71c8457dc0 2010-11-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Set alignment requirements according to AAPCS.
2010-11-22 13:06:46 +00:00
Joel Sherrill
02591de7de 2010-11-16 Gedare Bloom <giddyup44@yahoo.com>
* rtems/score/sparc64.h: Fix typo.
2010-11-16 23:22:47 +00:00
Joel Sherrill
fc8a8aab53 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove unused variable reported by clang.
2010-11-16 17:41:56 +00:00
Joel Sherrill
2e5a8933c1 2010-11-06 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1715/cpukit
	* rtems/score/cpu.h: Fix typo on _CPU_Context_Restart_self.
2010-11-06 22:32:06 +00:00
Sebastian Huber
4b25ab8b9c 2010-10-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: Added HID2 define.  Fixed comments.
2010-10-29 07:32:30 +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
a3bb1addc1 2010-09-26 Yann Sionneau <yann@minet.net>
PR 1697/cpukit
	* rtems/score/cpu.h: lm32 really needs aligned stack. Recent changes
	highlighted that this macro was incorrect.
2010-09-26 23:43:47 +00:00
Joel Sherrill
b999676af0 2010-08-20 <yann.sionneau@telecom-sudparis.eu>
* rtems/score/lm32.h: Add lm32_read_interrupts().
2010-08-20 21:24:16 +00:00
Joel Sherrill
517d63f206 2010-08-19 Gedare Bloom <giddyup44@yahoo.com>
PR 1681/cpukit
	* rtems/score/cpu.h: With the percpu patch, ASM uses
	INTERRUPT_STACK_HIGH instead of _CPU_Interrupt_stack_high. The
	sparc64 was still using the old variable, which was declared in its
	cpu.h file. This patch comments out the declaration and switch to
	using INTERRUPT_STACK_HIGH.
2010-08-19 12:11:42 +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
f2edf67da7 2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
	* irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
	to more properly reflect the intent.
2010-07-30 18:52:14 +00:00
Joel Sherrill
bfc76f9e1b 2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
	* cpu_asm.S: Rename _Context_Switch_necessary to
	_Thread_Dispatch_necessary to more properly reflect the intent.
2010-07-30 18:52:12 +00:00
Joel Sherrill
a44edd152f 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit
	* 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:52:00 +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
4ac56fbbd1 2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Assembler compatibility fixes.
2010-07-27 11:03:38 +00:00
Sebastian Huber
6ff1925393 2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Assembler compatibility fixes.
2010-07-27 10:57:31 +00:00
Sebastian Huber
8bd26f1695 2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/asm.h: Fixed header guard.
	* rtems/score/cpu.h: Assembler compatibility fixes.
2010-07-27 10:51:12 +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
Sebastian Huber
af16a7d29a 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/new-exceptions/cpu.h: Removed file.
	* Makefile.am, preinstall.am: Reflect change above.
	* rtems/score/cpu.h: Include <rtems/score/types.h> first.  Added
	contents of <rtems/new-exceptions/cpu.h>.
	* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-16 08:45:02 +00:00
Sebastian Huber
f7bac00b18 2010-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Removed CPU_ENABLE_C_ISR_DISPATCH_IMPLEMENTATION
	define.
2010-07-06 07:52:36 +00:00
Joel Sherrill
9787ee22a1 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/asm.h, rtems/score/cpu.h: cpu.h defines were not available to
	assembly programs. This resulted in percpu.h (when included from
	assembly) not being able to detect that the MIPS does not have a
	dedicated software managed interrupt stack.
2010-07-01 19:43:29 +00:00
Sebastian Huber
390dadd2c5 2010-06-30 Peter Dufault <dufault@hda.com>
PR 1588/cpukit
	* rtems/powerpc/registers.h: Renamed defines SR0 .. SR15 in
	PPC_SR0 ..  PPC_SR15.
2010-06-30 07:43:00 +00:00
Joel Sherrill
6d42b4c60a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.S, 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:34:00 +00:00
Joel Sherrill
8e407adb28 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* 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:58 +00:00
Joel Sherrill
b275a14463 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* rtems/new-exceptions/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:15 +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
9939ecc412 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* irq.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:31:47 +00:00
Joel Sherrill
1ef0afe60a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.S, rtems/asm.h, 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:31:09 +00:00