summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-162010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-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-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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.
2009-12-04Whitespace removal.Ralf Corsepius1-5/+5
2009-02-112009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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.
2008-09-05Convert to "bool".Ralf Corsepius1-4/+4
2008-08-052008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-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-162008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-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().
2008-07-11adapted for modified exception codeThomas Doerfler1-7/+3
2008-07-102008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-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-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-162006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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.
2005-02-18(CPU_HARDWARE_FP, CPU_ALL_TASKS_ARE_FP,Ralf Corsepius1-47/+0
CPU_IDLE_TASK_IS_FP): Remove.
2005-02-18(CPU_PROVIDES_IDLE_THREAD_BODY, CPU_STACK_GROWS_UP, CPU_STRUCTURE_ALIGNMENT, ↵Ralf Corsepius1-67/+0
CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES, CPU_BIG_ENDIAN, CPU_LITTLE_ENDIAN): Remove
2005-02-182005-02-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+4
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h (rtems_cpu_table): Sync defines between {old|new}-exceptions.
2005-02-18(Context_Control, Context_Control_fp, CPU_Interrupt_frame): Remove.Ralf Corsepius1-110/+0
2005-02-16(CPU_STACK_MINIMUM_SIZE, CPU_ALIGNMENT, CPU_HEAP_ALIGNMENT, ↵Ralf Corsepius1-53/+0
CPU_PARTITION_ALIGNMENT, CPU_STACK_ALIGNMENT): Remove.
2005-02-162005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-6/+0
* rtems/new-exceptions/cpu.h: Remove CPU_MINIMUM_STACK_FRAME_SIZE.
2005-02-15(_CPU_Bitfield_Find_first_bit, _CPU_Priority_Mask, ↵Ralf Corsepius1-86/+0
_CPU_Priority_bits_index): Remove.
2005-02-152005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+0
* rtems/new-exceptions/cpu.h (_CPU_msrs): Remove (Unused). * rtems/old-exceptions/cpu.h (_CPU_msrs): Remove (Unused).
2005-02-15(_CPU_ISR_install_vector, _CPU_Initialize, _CPU_Install_interrupt_stack, ↵Ralf Corsepius1-73/+0
_CPU_Context_switch, _CPU_Context_restore, _CPU_Context_save_fp, _CPU_Context_restore_fp, _CPU_Fatal_error): Remove.
2005-02-15(_CPU_Context_Initialize, _CPU_Context_Restart_self, _CPU_Context_Fp_start, ↵Ralf Corsepius1-78/+0
_CPU_Context_Initialize_fp): Remove.
2005-02-15(rtems_cpu_configuration_get_clicks_per_usec, ↵Ralf Corsepius1-10/+0
rtems_cpu_configuration_get_exceptions_in_ram): Remove.
2005-02-15(CPU_swap_u32, CPU_swap_u16): Remove.Ralf Corsepius1-39/+1
2005-01-28New header guards.Ralf Corsepius1-3/+3
2005-01-24*_swap_u32( uint32_t ).Ralf Corsepius1-2/+2
2004-09-292004-09-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-4/+1
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h: i960 obsoleted and all references removed.
2004-04-122004-04-12 David Querbach <querbach@realtime.bc.ca>Joel Sherrill1-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-302004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-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-262003-09-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-7/+0
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h: Obsoleting HP PA-RISC port and removing all references.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-182003-07-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-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-062002-11-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-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-312002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+5
* rtems/new-exceptions/cpu.h: Removed warnings.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-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-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-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.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-282001-11-28 Joel Sherrill <joel@OARcorp.com>,Joel Sherrill1-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-202001-11-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+0
* 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.
2001-10-222001-10-22 Andy Dachs <a.dachs@sstl.co.uk>Joel Sherrill1-2/+6
* Makefile.am, README, configure.ac, new_exception_processing/cpu.h, shared/include/cpu.h, shared/include/cpuIdent.c, shared/src/cache.c: Added mpc8260 support.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+0
* 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-04-062001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill1-0/+14
* mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am, mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h: New files. * configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, new_exception_processing/cpu.h, shared/include/byteorder.h, wrapup/Makefile.am: This is conversion of the mpc8xx CPU to the "new exception processing model."
2001-01-032001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+5
* new_exception_processing/cpu.h, old_exception_processing/cpu.c: old_exception_processing/cpu.h, Added _CPU_Initialize_vectors(). In particular, spurious vector initialization had to be moved on old exception processing model.
2000-07-03Interrupt stack is allocated in _ISR_Handler_initialization notJoel Sherrill1-1/+1
_Interrupt_Manager_initialization.
1999-12-21Moved PPC_Set_decrementer() and PPC_Get_timebase_register() toJoel Sherrill1-32/+0
old_exception_processing tree.
1999-12-02Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.Joel Sherrill1-240/+239
As part of this effort, the mpc750 libcpu code is now shared with the ppc6xx.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1999-11-05This is another pass at making sure that nothing outside the BSPJoel Sherrill1-0/+9
unnecessarily uses any variables defined by the BSP. On this sweep, use of BSP_Configuration and Cpu_table was eliminated. A significant part of this modification was the addition of macros to access fields in the RTEMS configuration structures. This is necessary to strengthen the division between the BSP independent parts of RTEMS and the BSPs themselves. This started after comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-04The files in libcpu should not be directly dependent on any BSP. InJoel Sherrill1-1/+4
particular, using bsp.h, or getting information from the BSP which should properly be obtained from RTEMS is forbidden. This is necessary to strengthen the division between the BSP independent parts of RTEMS and the BSPs themselves. This started after comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>. The changes primarily eliminated the need to include bsp.h and peeking at BSP_Configuration. The use of Cpu_table in each BSP needs to be eliminated.