Commit Graph

165 Commits

Author SHA1 Message Date
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
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
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
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
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
b616350ec9 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* arm_exc_interrupt.S: 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:02 +00:00
Joel Sherrill
b2f251a8c2 2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/score/arm.h: Make it a warning not error that the FPU multilib
	is not supported yet.
2010-05-10 20:29:13 +00:00
Thomas Doerfler
78623bce98 add/adapt documentation 2010-04-08 10:13:46 +00:00
Joel Sherrill
58597dd29c 2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* arm_exc_abort.S: Fix warnings about TRUE/FALSE not defined.
2010-04-07 14:04:12 +00:00
Joel Sherrill
0acc9af342 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* arm_exc_abort.S, arm_exc_handler_high.c, arm_exc_handler_low.S,
	arm_exc_interrupt.S, cpu.c, cpu_asm.S: Add include of config.h
2010-03-27 15:01:19 +00:00
Thomas Doerfler
39c8fdb416 add support for lpc32xx 2010-01-12 15:03:22 +00:00
Thomas Doerfler
9db18ddc06 add support for ARM11, reimplement nested interrupts 2009-12-15 15:14:12 +00:00
Ralf Corsepius
5bb38e1566 Whitespace removal. 2009-12-04 05:25:30 +00:00
Joel Sherrill
13c5cea6e3 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/arm.h: Recognize ARMv7A.
2009-10-01 21:47:42 +00:00
Joel Sherrill
f98ce8b87c 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/arm.h: Recognize ARMv6J as needed by arm1136 variants.
2009-10-01 12:57:30 +00:00
Thomas Doerfler
5e61c80327 * rtems/score/cpu.h: Fix for inline asm in _CPU_Fatal_halt().
* rtems/asm.h: Added macro to define ARM functions.
	* cpu_asm.S, arm_exc_handler_low.S: Use macro from above.
2009-09-18 08:07:23 +00:00
Joel Sherrill
db0df7b6df 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Mark _CPU_Context_restore() as noreturn so the
	compiler will not generate code thinking it returns.
2009-08-19 16:39:05 +00:00
Thomas Doerfler
9364cf663f adding lpc24xx BSP parts 2009-07-17 15:16:50 +00:00
Thomas Doerfler
ebe76f940b removing unneeded files 2009-07-17 13:59:43 +00:00
Thomas Doerfler
632e4306dc exception handler maintenance 2009-07-17 13:50:31 +00:00
Joel Sherrill
4848b56083 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Remove warnings.
2009-05-05 19:37:10 +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
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
Joel Sherrill
df4fcaa0af 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove extraneous spaces.
2008-09-08 15:19:23 +00:00
Ralf Corsepius
6c283cbfb9 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Merge thumb/Makefile.am.
	* thumb/Makefile.am: Remove (superfluous).
2008-09-07 15:26:01 +00:00
Ralf Corsepius
db507c1665 Merge thumb/Makefile.am. 2008-09-07 15:24:36 +00:00
Ralf Corsepius
03a699d2af Remove (superfluous). 2008-09-07 15:24:24 +00:00
Ralf Corsepius
cfdef83443 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h: Convert to "bool".
2008-09-05 02:00:39 +00:00
Ralf Corsepius
5d42c1b7bc Convert to "bool". 2008-09-05 02:00:15 +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
Ralf Corsepius
30e2df697a Include stdbool.h. Use bool as base-type for boolean. 2008-08-21 04:10:35 +00:00
Ralf Corsepius
d82bd27951 Add missing prototypes. 2008-08-19 06:34:44 +00:00
Joel Sherrill
226b162699 2008-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Add void.
2008-08-18 22:18:07 +00:00
Joel Sherrill
547af382bd 2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Add comment.
2008-04-18 13:47:59 +00:00
Joel Sherrill
4f2cd78838 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Add arm_cpu_mode so ARM BSP can overrid default value for
	cpsr.
2008-04-17 22:42:03 +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
5ce8a0d4d5 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu_asm.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:34 +00:00
Joel Sherrill
c922ec6c65 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* thumb_isr.c: Style.
2007-12-11 23:03:29 +00:00
Joel Sherrill
1c62f16987 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Temporarily use C implementation of swap u32 for
	thumb mode.
2007-12-11 22:54:18 +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
248e29af68 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to
	save space.
2007-11-27 20:49:27 +00:00
Joel Sherrill
a3ff693ec2 2007-11-26 Ray Xu <rayx.cn@gmail.com>
* cpu.c, score/cpu.h: Fix headers. Remove extra inline definition.
	* cpu_asm.S: Note origin of Thumb support.
2007-11-26 19:59:17 +00:00
Joel Sherrill
f098bf131d 2007-11-26 Ray Xu <rayx.cn@gmail.com>
* thumb_isr.c: Remove extra debug information, Change function
	definition.
2007-11-26 19:56:21 +00:00
Joel Sherrill
bf0a3b24e0 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Fix headers.
2007-11-06 23:33:59 +00:00
Joel Sherrill
c7ca3c9e4e 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* thumb_isr.c: Fix headers.
2007-11-06 23:00:29 +00:00
Joel Sherrill
7afd0b130b 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore, ChangeLog, Makefile.am, thumb_isr.c: New files.
2007-11-06 22:53:06 +00:00