Commit Graph

128 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
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
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
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
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
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
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
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
bf0a3b24e0 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Fix headers.
2007-11-06 23:33:59 +00:00
Joel Sherrill
661e5de43b 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* cpu.c, cpu_asm.S, score/cpu.h : add support for ARM<->THUMB veneer
          thumb  new dir to controll CPSR/SPRS in thumb mode

2007-05-09      Ray Xu <rayx.cn@gmail.com>

        * cpu.c: move do_data_abort() to libbsp/arm/shared/abort/
          implement a compact do_data_abort() in simple_abort.c
2007-11-06 22:51:08 +00:00
Joel Sherrill
91e07d0d89 2007-05-09 Ray Xu <rayx@gmail.com>
* cpu.c: move do_data_abort() to libbsp/arm/shared/abort/
          implement a compact do_data_abort() in simple_abort.c
2007-05-15 17:59:47 +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
9374ed491f 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:11:31 +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
ea1d598f08 2006-09-11 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Remove warning.
2006-09-11 21:41:36 +00:00
Jay Monkman
7a4b5cb404 Fixed ARM Data Abort handling. 2006-06-02 21:48:05 +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
Jay Monkman
e0f60887e5 2005-09-15 Jay Monkman
PR 365/rtems
	* rtems/score/arm.h, rtems/score/cpu.h: Removed unused ARM_HAS_CLZ
	macro
2005-09-15 18:44:19 +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
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
60f6375cd5 2004-01-28 Ralf Corsepius <ralf.corsepiu@rtems.org>
* asm.h, rtems/score/arm.h, rtems/score/cpu.h,
	rtems/score/cpu_asm.h, rtems/score/types.h: New header guards.
2005-01-28 15:53:18 +00:00