Sebastian Huber
fdd9de8001
2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
PR 1799/bsps
* new-exceptions/bspsupport/ppc_exc_async_normal.S: New file.
* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
new-exceptions/bspsupport/ppc_exc_prologue.c,
new-exceptions/bspsupport/vectors.h: Added support for SPE.
* configure.ac, preinstall.am, Makefile.am: Added support for qoriq
BSPs.
2011-07-21 15:03:31 +00:00
Ralf Corsepius
f9acc339fe
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c,
mpc5xx/ictrl/ictrl.c, mpc5xx/timer/timer.c,
mpc6xx/altivec/vec_sup.c, mpc6xx/clock/c_clock.c,
mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/pte121.c,
mpc8260/timer/timer.c, mpc8xx/timer/timer.c, new-exceptions/cpu.c,
new-exceptions/bspsupport/ppc_exc_initialize.c,
ppc403/clock/clock.c, ppc403/console/console.c,
ppc403/console/console.c.polled, ppc403/console/console405.c,
ppc403/irq/ictrl.c, ppc403/tty_drv/tty_drv.c,
rtems/powerpc/cache.h, shared/include/powerpc-utility.h, shared/src/cache.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:46:53 +00:00
Till Straumann
c7f8408d31
2009-12-01 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_initialize.c,
new-exceptions/bspsupport/vectors.h:
Added AltiVec support (save/restore volatile vregs
across exceptions).
2009-12-02 01:41:57 +00:00
Ralf Corsepius
359e537416
Whitespace removal.
2009-11-30 05:09:41 +00:00
Joel Sherrill
9b974cf425
2009-02-13 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* new-exceptions/cpu.c: Correct prototype of _CPU_Initialize.
2009-02-13 14:20:58 +00:00
Ralf Corsepius
39d08d55e9
Convert to "bool".
2008-09-06 17:36:55 +00:00
Till Straumann
6ce3f7b7e2
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/cpu.c: propagate R2 to all task contexts
even if the ABI is SVR4. Cannot hurt...
2008-07-16 22:04:06 +00:00
Till Straumann
d60239f6c8
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/cpu.c: use ppc_interrupt_get_disable_mask()
to determine which bits to set/clear from _CPU_Context_Initialize().
2008-07-16 21:57:55 +00:00
Thomas Doerfler
25a92bc1ed
adapted powerpc exception code
2008-07-11 10:02:12 +00:00
Joel Sherrill
4216c573e3
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* mpc5xx/console-generic/console-generic.c, mpc8260/timer/timer.c,
new-exceptions/cpu.c, old-exceptions/cpu.c: 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:37 +00:00
Till Straumann
bbc87852db
Never allow the FPU to be switched on for integer-only tasks
...
(new gcc may use FP regs implicitely).
2006-06-19 19:57:01 +00:00
Ralf Corsepius
cc043dc3d2
2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* new-exceptions/cpu.c, rtems/powerpc/powerpc.h:
Remove CPU_MINIMUM_STACK_FRAME_SIZE.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead.
* rtems/powerpc/powerpc.h: Add PPC_MINIMUM_STACK_FRAME_SIZE.
2005-02-17 04:23:18 +00:00
Ralf Corsepius
21a6869c26
2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* new-exceptions/cpu.c: Add CPU_MINIMUM_STACK_FRAME_SIZE.
2005-02-16 09:07:47 +00:00
Ralf Corsepius
5bd1219753
2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* new-exceptions/cpu.c (_CPU_ISR_install_vector): New.
2005-02-15 16:33:27 +00:00
Ralf Corsepius
3e5a93cc86
2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* cpu.c, cpu_asm.S, irq_stub.S: #include <rtems/powerpc/powerpc.h>.
2005-02-14 04:44:17 +00:00
Ralf Corsepius
f05b2ac0bc
Remove duplicate white lines.
2004-04-21 16:01:48 +00:00
Ralf Corsepius
6128a4aa5e
Remove stray white spaces.
2004-04-21 10:43:04 +00:00
Ralf Corsepius
3239698d1f
Remove stray white spaces.
2004-04-15 13:26:21 +00:00
Ralf Corsepius
9347024d81
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* cpu.c: Convert to using c99 fixed size types.
2004-03-31 03:45:46 +00:00
Joel Sherrill
9563a3a59d
2003-09-04 Joel Sherrill <joel@OARcorp.com>
...
* cpu.c, cpu_asm.S: URL for license changed.
2003-09-04 18:52:41 +00:00
Joel Sherrill
129b4a792b
2003-07-18 Till Straumann <strauman@slac.stanford.edu>
...
PR 288/rtems
* support/new_exception_processing/cpu.c: _ISR_Nest_level is now
properly maintained and does not reside in SPRG0.
2003-07-23 17:40:02 +00:00
Joel Sherrill
ab504d3415
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
...
PR 356/bsps
* cpu.c: This patch makes RTEMS/PowerPC eabi compliant.
2003-03-18 19:22:33 +00:00
Joel Sherrill
18a1f5a9f9
2002-11-01 Joel Sherrill <joel@OARcorp.com>
...
* cpu.c: Currently only the mpc8260 BSP supports interrupt nesting.
NOTE: These needs to be generalized as the patch is applied to other
BSPs.
2002-11-01 21:55:52 +00:00
Joel Sherrill
830e5f74ea
2001-05-14 Till Straumann <strauman@slac.stanford.edu>
...
* cpu.c: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
2002-05-14 17:45:53 +00:00
Joel Sherrill
75ad73760f
2001-11-28 Joel Sherrill <joel@OARcorp.com>,
...
This was tracked as PR91.
* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
is used to specify if the port uses the standard macro for this (FALSE).
A TRUE setting indicates the port provides its own implementation.
* rtems/score/c_isr.inl: Deleted and contents merged into cpu.c.
* cpu.c: Received contents of c_isr.inl.
* Makefile.am: Deleted reference to c_isr.inl.
2001-11-28 18:15:51 +00:00
Joel Sherrill
590aba4f1a
2001-10-12 Joel Sherrill <joel@OARcorp.com>
...
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h, mpc8xx/clock/clock.c,
mpc8xx/timer/timer.c, new_exception_processing/cpu.c,
new_exception_processing/cpu.h, new_exception_processing/cpu_asm.S,
old_exception_processing/cpu.c, old_exception_processing/cpu.h,
old_exception_processing/cpu_asm.S, old_exception_processing/rtems.S:
Fixed typo.
2001-10-12 21:03:53 +00:00
Joel Sherrill
acc25eec35
Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
...
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00