Thomas Doerfler
cd4ed38422
* rtems/powerpc/registers.h: Added Freescale Book E Implementation
...
Standards (EIS) special purpose register definitions for MMU and L1
cache.
2009-02-27 11:06:21 +00:00
Joel Sherrill
ef1be69b65
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/new-exceptions/cpu.h, 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:44:59 +00:00
Ralf Corsepius
1cb54d1f38
#include <stdint.h> instead of <rtems/stdint.h>.
2008-12-11 00:47:56 +00:00
Joel Sherrill
5c8d42b7b2
2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/cpu.h: Move extern of bsp_clicks_per_usec so it is not
nested inside braces.
2008-09-14 23:17:13 +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
Ralf Corsepius
5d42c1b7bc
Convert to "bool".
2008-09-05 02:00:15 +00:00
Ralf Corsepius
8f5cdbb8ec
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/new-exceptions/cpu.h, rtems/score/cpu.h: Convert to "bool".
2008-09-05 01:59:18 +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
75da3f5599
Cosmetic indentation fixes.
2008-08-16 04:06:34 +00:00
Joel Sherrill
b281e425ab
2008-08-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/powerpc/registers.h: Removed obsolete defines MSR_, MSR_KERNEL
and MSR_USER. Added missing prototypes.
2008-08-14 15:24:51 +00:00
Joel Sherrill
334b3c1e83
2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/new-exceptions/cpu.h: Changed define
CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison
between signed and unsigned.
2008-08-05 13:32:27 +00:00
Thomas Doerfler
d3c321367c
Changed special purpose register inline functions to macros.
...
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
2008-07-18 15:56:48 +00:00
Till Straumann
3d28361d19
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* score/cpu/powerpc/rtems/new-exceptions/cpu.h:
use ppc_interrupt_get_disable_mask() to determine
which bits to set/clear from _CPU_ISR_Set_level().
2008-07-16 21:52:04 +00:00
Till Straumann
441c930dc1
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* score/cpu/powerpc/rtems/powerpc/registers.h:
added ppc_interrupt_get_disable_mask() inline function.
2008-07-16 21:47:04 +00:00
Thomas Doerfler
3c6fe2e7f9
added haleakala BSP contributed by Michael Hamel
2008-07-14 08:46:06 +00:00
Thomas Doerfler
767cdd8470
adapted for modified exception code
2008-07-11 10:04:40 +00:00
Till Straumann
06aab392f0
2008-07-10 Till Straumann <strauman@slac.stanford.edu>
...
* cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
cpukit/score/cpu/powerpc/rtems/score/cpu.h,
cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
Removed all macro definitions which depended on
the compiler defining a PPC CPU-model dependent
symbol.
Macros which were not used by cpukit have been
moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
2008-07-10 21:48:24 +00:00
Joel Sherrill
86101e3cca
Fix typo.
2008-04-28 18:14:14 +00:00
Joel Sherrill
7cdaed0d00
2008-04-28 Daron Chabot <daron.chabot@usask.ca>
...
* posix/src/keycreate.c, posix/src/pthreadequal.c,
rtems/src/semtranslatereturncode.c,
score/cpu/powerpc/rtems/score/powerpc.h,
score/src/threadblockingoperationcancel.c: Fix compilation errors
when --enable-rtems-debug is used.
2008-04-28 18:12:43 +00:00
Ralf Corsepius
3556e40610
2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/old-exceptions/cpu.h: Remove (Abandoned).
* rtems/score/cpu.h: Remove ref to rtems/old-exceptions/cpu.h.
* Makefile.am: Remove ref to rtems/old-exceptions/cpu.h.
2008-02-20 03:03:16 +00:00
Ralf Corsepius
d11ee737f8
Regenerate.
2008-02-20 03:03:04 +00:00
Ralf Corsepius
a320b269b1
Remove ref to rtems/old-exceptions/cpu.h.
2008-02-20 03:02:36 +00:00
Ralf Corsepius
70f326cf3f
Remove (Abandoned).
2008-02-20 02:59:59 +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
43b4c7aa51
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/powerpc/registers.h, rtems/score/cpu.h: Sweep to make sure grep
for COPYRIGHT passes.
2007-12-17 16:12:45 +00:00
Till Straumann
aeca15c87b
2007-12-03 Till Straumann <strauman@slac.stanford.edu>
...
* rtems/powerpc/registers.h: added definitions for MSR_CE,
MSR_DE (bookE).
2007-12-07 21:24:33 +00:00
Joel Sherrill
e7344db98f
2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/old-exceptions/cpu.h: Remove extra ifndef.
2007-12-06 23:23:05 +00:00
Joel Sherrill
2906c7a5b4
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
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:05 +00:00
Till Straumann
8dc42d3e8b
2007-12-03 Till Straumann <strauman@slac.stanford.edu>
...
* rtems/score/cpu.h: Added comment that GDB patch sim/2376
is needed for reading the time-base with the new (more
portable) method.
2007-12-03 23:20:30 +00:00
Joel Sherrill
282048a516
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/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:01 +00:00
Till Straumann
e72dc606b6
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
...
* rtems/score/cpu.h: Wonderful bookE doesn't have mftb/mftbu;
( CPU_Get_timebase_low() ) they only define the TBRU/TBRL SPRs
so we use these. Should work on all CPUs.
2007-12-01 00:47:13 +00:00
Joel Sherrill
e34ac1f3b8
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
rtems/score/cpu.h: Eliminate PowerPC specific elements from the CPU
Table. They have been replaced with variables named bsp_XXX as
needed.
2007-11-28 21:43:56 +00:00
Joel Sherrill
b8596d80e1
2007-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
posix/src/conddestroy.c, posix/src/condinit.c,
posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
posix/src/mutexattrgetprioceiling.c,
posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
posix/src/semclose.c, posix/src/semdestroy.c,
posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
Remove all pretense of POSIX MP support. The support in place was
only a shell. This should make maintenance easier.
* posix/include/rtems/posix/condmp.h,
posix/include/rtems/posix/mqueuemp.h,
posix/include/rtems/posix/mutexmp.h,
posix/include/rtems/posix/pthreadmp.h,
posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2007-11-28 18:35:31 +00:00
Till Straumann
61c98010e6
2007-11-13 Till Straumann <strauman@slac.stanford.edu>
...
* rtems/score/powerpc.h: Added a '__ppc_generic' CPU variant.
The goal would be making cpukit and hopefully libcpu work
for all (or at least most) CPUs/BSPs with -D__ppc_generic so
that eventually all tests [#if defined(<cpu_flavor>)] for CPU
flavors can be eliminated.
2007-11-14 05:19:59 +00:00
Till Straumann
6ae32a269e
2007-11-13 Till Straumann <strauman@slac.stanford.edu>
...
* rtems/powerpc/registers.h: Added SPR definitions for BookE
DECAR, TCR, TSR.
2007-11-14 04:26:00 +00:00
Thomas Doerfler
f610e83f53
compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged many different versions of new exception handling code to shared sources.
2007-07-10 16:00:28 +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
195e209a90
2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/ppc.h: Remove (Deprecated in 4.7).
* Makefile: Remove rtems/score/ppc.h.
2006-12-12 13:26:06 +00:00
Ralf Corsepius
cdc2fcb593
Regenerate.
2006-12-12 13:25:57 +00:00
Ralf Corsepius
7d16b75513
Remove rtems/score/ppc.h.
2006-12-12 13:25:47 +00:00
Ralf Corsepius
1598a7b044
Remove (Deprecated in 4.7).
2006-12-12 13:25:29 +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
a19034d902
2006-08-09 Joel Sherrill <joel@OARcorp.com>
...
* rtems/score/cpu.h: Because gcc implicitly uses floating point turn on
floating point for all threads if there is a hardware FPU.
2006-08-09 23:04:47 +00:00
Till Straumann
a031fc2272
* rtems/old-exceptions/cpu.h, rtems/powerpc/registers.h:
...
Checked inline assembly; added early-clobber '&' to output operands
of multi-instruction asms.
2006-07-13 00:36:15 +00:00
Joel Sherrill
5961b4c784
2006-01-16 Joel Sherrill <joel@OARcorp.com>
...
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
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:30 +00:00
Ralf Corsepius
2eb7d07e17
Regenerate.
2006-01-14 06:20:35 +00:00