summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-161-298/+0
| | | | | | | | * rtems/new-exceptions/cpu.h: Removed file. * Makefile.am, preinstall.am: Reflect change above. * rtems/score/cpu.h: Include <rtems/score/types.h> first. Added contents of <rtems/new-exceptions/cpu.h>. * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-291-16/+0
| | | | | | | | PR 1573/cpukit * rtems/new-exceptions/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.
* Whitespace removal.Ralf Corsepius2009-12-041-5/+5
|
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-111-12/+0
| | | | | | * 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.
* Convert to "bool".Ralf Corsepius2008-09-051-4/+4
|
* 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-051-1/+1
| | | | | | * rtems/new-exceptions/cpu.h: Changed define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison between signed and unsigned.
* 2008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-161-2/+2
| | | | | | * 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().
* adapted for modified exception codeThomas Doerfler2008-07-111-7/+3
|
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-101-2/+2
| | | | | | | | | | | * 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.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-9/+0
| | | | | | | * 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-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-031-15/+0
| | | | | | | | | | * 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-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-281-21/+1
| | | | | | | * 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.
* 2006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-161-3/+2
| | | | | | | * 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.
* (CPU_HARDWARE_FP, CPU_ALL_TASKS_ARE_FP,Ralf Corsepius2005-02-181-47/+0
| | | | CPU_IDLE_TASK_IS_FP): Remove.
* (CPU_PROVIDES_IDLE_THREAD_BODY, CPU_STACK_GROWS_UP, CPU_STRUCTURE_ALIGNMENT, ↵Ralf Corsepius2005-02-181-67/+0
| | | | CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES, CPU_BIG_ENDIAN, CPU_LITTLE_ENDIAN): Remove
* 2005-02-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-181-2/+4
| | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h (rtems_cpu_table): Sync defines between {old|new}-exceptions.
* (Context_Control, Context_Control_fp, CPU_Interrupt_frame): Remove.Ralf Corsepius2005-02-181-110/+0
|
* (CPU_STACK_MINIMUM_SIZE, CPU_ALIGNMENT, CPU_HEAP_ALIGNMENT, ↵Ralf Corsepius2005-02-161-53/+0
| | | | CPU_PARTITION_ALIGNMENT, CPU_STACK_ALIGNMENT): Remove.
* 2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-161-6/+0
| | | | * rtems/new-exceptions/cpu.h: Remove CPU_MINIMUM_STACK_FRAME_SIZE.
* (_CPU_Bitfield_Find_first_bit, _CPU_Priority_Mask, ↵Ralf Corsepius2005-02-151-86/+0
| | | | _CPU_Priority_bits_index): Remove.
* 2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-151-4/+0
| | | | | * rtems/new-exceptions/cpu.h (_CPU_msrs): Remove (Unused). * rtems/old-exceptions/cpu.h (_CPU_msrs): Remove (Unused).
* (_CPU_ISR_install_vector, _CPU_Initialize, _CPU_Install_interrupt_stack, ↵Ralf Corsepius2005-02-151-73/+0
| | | | _CPU_Context_switch, _CPU_Context_restore, _CPU_Context_save_fp, _CPU_Context_restore_fp, _CPU_Fatal_error): Remove.
* (_CPU_Context_Initialize, _CPU_Context_Restart_self, _CPU_Context_Fp_start, ↵Ralf Corsepius2005-02-151-78/+0
| | | | _CPU_Context_Initialize_fp): Remove.
* (rtems_cpu_configuration_get_clicks_per_usec, ↵Ralf Corsepius2005-02-151-10/+0
| | | | rtems_cpu_configuration_get_exceptions_in_ram): Remove.
* (CPU_swap_u32, CPU_swap_u16): Remove.Ralf Corsepius2005-02-151-39/+1
|
* New header guards.Ralf Corsepius2005-01-281-3/+3
|
* *_swap_u32( uint32_t ).Ralf Corsepius2005-01-241-2/+2
|
* 2004-09-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-09-291-4/+1
| | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h: i960 obsoleted and all references removed.
* 2004-04-12 David Querbach <querbach@realtime.bc.ca>Joel Sherrill2004-04-121-1/+1
| | | | | * asm.h, rtems/new-exceptions/cpu.h, rtems/score/ppc.h: addition of MPC555 support as part of the addition of the SS555 BSP.
* 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-301-69/+69
| | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h, rtems/powerpc/registers.h: Convert to using c99 fixed size types.
* 2003-09-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-261-7/+0
| | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h: Obsoleting HP PA-RISC port and removing all references.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h, rtems/powerpc/registers.h, rtems/score/ppc.h, rtems/score/types.h: URL for license changed.
* 2003-07-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-07-181-2/+13
| | | | | | PR 288/rtems * rtems/new-exceptions/cpu.h: _ISR_Nest_level is now properly maintained and does not reside in SPRG0.
* 2002-11-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-11-061-39/+0
| | | | | | | | | * rtems/new-exceptions/cpu.h: Remove sections on CPU_INLINE_ENABLE_DISPATCH and CPU_UNROLL_ENQUEUE_PRIORITY. * rtems/old-exceptions/cpu.h: Remove sections on CPU_INLINE_ENABLE_DISPATCH and CPU_UNROLL_ENQUEUE_PRIORITY. * rtems/score/cpu.h: Insert sections on CPU_INLINE_ENABLE_DISPATCH and CPU_UNROLL_ENQUEUE_PRIORITY.
* 2002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-311-1/+5
| | | | * rtems/new-exceptions/cpu.h: Removed warnings.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-1/+8
| | | | | | | | | | | | | | | | | | | | | * rtems/new-exceptions/cpu.h: 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-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-181-10/+7
| | | | | | | | | | | | * asm.h: Include cpuopts.h instead of targopts.h. * rtems/new-exceptions/cpu.h: Relocated from libbsp/powerpc/support/new_exception_processing/rtems/score/cpu.h * rtems/old-exceptions/cpu.h: Relocated from c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h * rtems/powerpc/registers.h: Relocated and renamed from libcpu/powerpc/shared/include/cpu.h. * rtems/score/cpu.h: New. * Makefile.am: Reflect changes above.
* 2001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-031-1/+1
| | | | | * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/cpu.h: Account for name change.
* 2001-11-28 Joel Sherrill <joel@OARcorp.com>,Joel Sherrill2001-11-281-0/+7
| | | | | | | | | | 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-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-11-201-0/+968
* support/new_exception_processing/configure.ac, support/new_exception_processing/rtems/score/c_isr.inl, support/new_exception_processing/rtems/score/cpu.h, support/old_exception_processing/configure.ac, support/old_exception_processing/rtems/score/c_isr.inl, support/old_exception_processing/rtems/score/cpu.h, support/old_exception_processing/rtems/score/ppc_offs.h: New files missed in previous commit.