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
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
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
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
Ralf Corsepius
a4f9124168
2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c: Warning removal.
2010-05-23 05:47:27 +00:00
Joel Sherrill
f086af89dd
2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* context.c, cpu.c: Add include of config.h
2010-03-27 15:02:35 +00:00
Ralf Corsepius
5bb38e1566
Whitespace removal.
2009-12-04 05:25:30 +00:00
Joel Sherrill
94dd4f6cdf
2009-02-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/sh.h: SH2E and SH3E have a DSP rather than an FPU. They
are not compatible. We currently only support the FPU found on the
SH3 and SH4.
2009-02-17 20:39:44 +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
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
8baeb42d2d
2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cpu.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit
now.
2008-09-30 16:23:34 +00:00
Joel Sherrill
d66a6cbf66
2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am: Move duplicated context switch code to score/cpu. This
has been used to run tests on the simulator BSP as SH1, SH2, and SH4.
* context.c: New file.
2008-09-25 19:32:41 +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
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
07f20cb14b
2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h: Add missing prototype.
2008-08-19 12:07:39 +00:00
Ralf Corsepius
6932bceeeb
Add missing prototype.
2008-08-19 12:07:28 +00:00
Joel Sherrill
3c87adba3f
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:56 +00:00
Joel Sherrill
2fd427c792
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting
parameter to indicate that the port uses the Simple Vectored
Interrupt model or the Programmable Interrupt Controller Model. The
PIC model is implemented primarily in the BSP and it is responsible
for all memory allocation.
2008-06-05 14:30:07 +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
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
1e2072e423
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
SuperH CPU Table and define another mechanism for drivers to obtain
this information.
2007-11-26 23:01:34 +00:00
Joel Sherrill
60f016f59d
2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
executive initialization.
2007-05-22 20:57:34 +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
8ea0d7dabd
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:58:04 +00:00
Ralf Corsepius
b60dc89330
Use Context_Control_fp* instead of void* for fp_contexts.
...
Eliminate evil casts.
2007-04-17 05:57:57 +00:00
Ralf Corsepius
63a88eb0bc
Regenerate.
2007-01-08 08:43:28 +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
94690433ea
2006-08-10 Joel Sherrill <joel@OARcorp.com>
...
* cpu.c, rtems/score/sh.h: Recognize sh2e variant so multilibs will all
compile.
2006-08-10 21:56:54 +00:00
Joel Sherrill
ece004d72a
2006-01-16 Joel Sherrill <joel@OARcorp.com>
...
* rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
As a side-effect, grammar and spelling errors were corrected, spacing
errors were address, and some variable names were improved.
2006-01-16 15:12:44 +00:00
Ralf Corsepius
2eb7d07e17
Regenerate.
2006-01-14 06:20:35 +00:00
Ralf Corsepius
e24ae58a97
Regenerate.
2006-01-13 08:43:48 +00:00
Ralf Corsepius
4e971660a1
Remove all-local.
2006-01-12 09:57:43 +00:00
Ralf Corsepius
6ce2a66b94
Regenerate.
2006-01-12 04:24:13 +00:00
Ralf Corsepius
dbe8e5194c
Cleanups
2006-01-12 04:19:28 +00:00
Ralf Corsepius
01e8632d3f
2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* rtems/score/types.h: Eliminate unsigned16.
2006-01-11 07:25:14 +00:00
Ralf Corsepius
210e006c83
Eliminate unsigned32.
2006-01-11 07:24:46 +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
Ralf Corsepius
476114f5e9
Auto-generated update.
2005-02-19 17:08:36 +00:00
Ralf Corsepius
8fab7fa939
Cosmetics.
2005-02-19 06:30:55 +00:00
Ralf Corsepius
22ddca1f4a
2005-02-19 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h: Remove traces from NO_CPU.
2005-02-19 06:29:39 +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
7f70d1b75d
New header guard.
2005-01-28 15:56:09 +00:00
Ralf Corsepius
de7ebd0693
2004-01-28 Ralf Corsepius <ralf.corsepiu@rtems.org>
...
* asm.h, rtems/score/cpu.h, rtems/score/sh.h, rtems/score/sh_io.h,
rtems/score/types.h: New header guards.
2005-01-28 15:53:40 +00:00