summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-12-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill39-222/+78
* 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-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill4-20/+7
* 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 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-0/+10
* 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-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill26-333/+119
* 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-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-30/+10
* 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-012007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-0/+24
* 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-11-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill4-103/+11
* 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-282007-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+2
* 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-272007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-0/+9
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to save space.
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-8/+6
* 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-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-15/+6
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the MIPS CPU Table and define another mechanism for drivers to obtain this information.
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-13/+6
* rtems/score/cpu.h: Eliminate the interrupt_table_segment and interrupt_table_offset fields in the i386 CPU Table since they are never read.
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-9/+5
* rtems/score/cpu.h: Eliminate the interrupt_vector_table field in the m68k CPU Table since it is never read.
2007-11-262007-11-26 Ray Xu <rayx.cn@gmail.com>Joel Sherrill4-1/+13
* cpu.c, score/cpu.h: Fix headers. Remove extra inline definition. * cpu_asm.S: Note origin of Thumb support.
2007-11-262007-11-26 Ray Xu <rayx.cn@gmail.com>Joel Sherrill2-27/+14
* thumb_isr.c: Remove extra debug information, Change function definition.
2007-11-142007-11-13 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-3/+25
* 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-142007-11-13 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-0/+24
* rtems/powerpc/registers.h: Added SPR definitions for BookE DECAR, TCR, TSR.
2007-11-062007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-0/+5
* cpu.c: Fix headers.
2007-11-062007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-2/+13
* thumb_isr.c: Fix headers.
2007-11-062007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill4-0/+205
* .cvsignore, ChangeLog, Makefile.am, thumb_isr.c: New files.
2007-11-062007-11-03 Ray Xu <rayx.cn@gmail.com>Joel Sherrill6-17/+150
* cpu.c, cpu_asm.S, score/cpu.h : add support for ARM<->THUMB veneer thumb new dir to controll CPSR/SPRS in thumb mode 2007-05-09 Ray Xu <rayx.cn@gmail.com> * cpu.c: move do_data_abort() to libbsp/arm/shared/abort/ implement a compact do_data_abort() in simple_abort.c
2007-11-022007-11-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-2/+21
* score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h, score/include/rtems/score/context.h, score/src/threadhandler.c: Fix stack so gdb backtrace does not print corrupted frame message after _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the SPARC implementation and I made it more general.
2007-09-102007-09-10 Alain Schaefer <alani@easc.ch>Joel Sherrill2-4/+21
* cpu_asm.S: Fix two problems: - CC bit has been clobbered and was not correctly restored - bfin hardware does not allow to read instructions from the L1
2007-09-102007-09-10 Alain Schaefer <alani@easc.ch>Joel Sherrill2-0/+33
* rtems/bfin/bf533.h: Add more definitions.
2007-08-042007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+47
* rtems/score/m68k.h: Add stubs for mcf5307, mcf5407, mcfv4e.
2007-08-042007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+4
* rtems/score/cpu.h: Use uintptr_t instead of uint32_t.
2007-08-042007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+3
* score/cpu/mips/rtems/score/cpu.h: Use uintptr_t instead of uint32_t.
2007-07-312007-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* cpu_asm.S, rtems/score/cpu.h, rtems/score/m68k.h: Replace M68K_COLDFIRE_ARCH with __mcoldfire__.
2007-07-31Replace M68K_COLDFIRE_ARCH with __mcoldfire__.Ralf Corsepius3-20/+19
2007-07-10compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged ↵Thomas Doerfler1-0/+2
many different versions of new exception handling code to shared sources.
2007-06-212007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-1/+6
* cpu.c: Comment out may_alias so this compiles without a compiler error.
2007-06-212007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-15/+85
* cpu.c: Merge patch from Till Straumann which would work except gcc core dumps with an ICE when may_alias is used in this code. I filed a GCC PR and reduced optimization to -O0 and it does run again.
2007-05-312007-05-31 Alain Schaefer <alani@easc.ch>Joel Sherrill2-5/+12
* rtems/score/cpu.h: Modifiy inline assembly language constraints to use a data register as the CTL/STI instructions requires. This is not only more correct, it avoids GCC PR31787.
2007-05-242007-05-24 Alain Schaefer <alani@easc.ch>Joel Sherrill2-1/+5
* rtems/score/cpu.h: Fix incorrect interrupt mask.
2007-05-222007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill12-27/+1
* 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-152007-05-09 Ray Xu <rayx@gmail.com>Joel Sherrill2-150/+10
* cpu.c: move do_data_abort() to libbsp/arm/shared/abort/ implement a compact do_data_abort() in simple_abort.c
2007-05-102007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill4-6/+108
PR 1237/rtems * cpu.c, cpu_asm.S, rtems/score/cpu.h: Add logic to prevent stack creep when interrupts occur at a sufficient rate that the interrupted thread never gets to clean its stack. This patch ensures that an interrupted thread will not nest ISR dispatches on its stack.
2007-05-09Include <rtems/stdint.h> instead of <stdint.h>.Ralf Corsepius1-1/+1
2007-05-092007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius22-16/+44
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2007-04-172007-04-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-160/+163
* rtems/bfin/bf533.h: Fix warnings about constants being too large.
2007-04-172007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-0/+18
* rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
2007-04-17Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius3-9/+9
Eliminate evil casts.
2007-04-172007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* cpu.c, rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius3-8/+8
2007-04-172007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+2
* cpu.c: Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-172007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+12
* rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
2007-04-17Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius2-6/+6
Eliminate evil casts.
2007-04-172007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+6
* rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
2007-04-17Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius1-3/+3
Eliminate evil casts.
2007-04-17Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius2-6/+6
Eliminate evil casts.