summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-162-2/+21
| | | | | * new-exceptions/cpu.c: use ppc_interrupt_get_disable_mask() to determine which bits to set/clear from _CPU_Context_Initialize().
* 2008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-162-10/+35
| | | | | | | | | * new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added a test to TEST_LOCK_crit so that a context switch is always prevented if MSR_CE is not set in the interrupt mask. (Support mode where the user wants to leave MSR_CE always enabled but abstains from calling OS primitives from the exception handler.)
* 2008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-162-1/+13
| | | | | * shared/include/powerpc-utility.h: Added GET_INTERRUPT_MASK macro.
* 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-162-17/+35
| | | | * mpc6xx/clock/c_clock.c: Add fast idle.
* updated gen83xx BSPThomas Doerfler2008-07-1429-180/+8118
| | | | | updated haleakala BSP added MPC55xx BSP
* added haleakala BSP contributed by Michael HamelThomas Doerfler2008-07-1413-72/+680
|
* Cleanup.Ralf Corsepius2008-07-149-54/+0
|
* adapted powerpc exception codeThomas Doerfler2008-07-1115-802/+983
|
* added mcf548x BSP supportThomas Doerfler2008-07-116-0/+4116
|
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-102-2/+9
| | | | | | | * mpc6xx/mmu/pte121.c: use general "memory" clobber rather than memory input operand in inline assembly ("m" doesn't do what the manual says; see discussion on gcc mailing list around 2008/3/30)
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-105-138/+26
| | | | | | | | | | * ChangeLog, mpc8xx/clock/clock.c, ppc403/clock/clock.c, ppc403/irq/ictrl.h, rtems/powerpc/powerpc.h: Removed all macro definitions which depended on the compiler defining a PPC CPU-model dependent symbol from files in cpukit. Macros which were not used by cpukit have been moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
* *** empty log message ***Till Straumann2008-07-101-0/+17
|
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-104-7/+99
| | | | | | | | | | | | | | | | | | | | | | | | | * new-exceptions/bspsupport/ppc_exc_asm_macros.S, new-exceptions/bspsupport/ppc_exc_bspsupp.h, new-exceptions/bspsupport/ppc_exc_hdl.c, new-exceptions/bspsupport/vectors_init.c: fixed and enabled stack-switching algorithm which figures out if we already run on the ISR stack rather than relying on the _ISR_Nest_level. Added 'ppc_exc_crit_always_enabled' variable which defines the semantics of critical interrupts. Added a test to TEST_LOCK_crit so that calling ppc_exc_wrapup() (and possibly the dispatcher) is always skipped if the BSP/user wants to leave critical interrupts always enabled (at the expense of having no OS support). changed TEST_LOCK_mchk so that asynchronous machine-check handlers never call ppc_exc_wrapup() (and the dispatcher). We don't want to disable MSR_ME ever (to avoid checkstops) and hence asynchronous MEs must not use OS services anyways. added and commented new variables 'ppc_exc_intr_stack_size' 'ppc_exc_crit_always_enabled'.
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-101-0/+20
| | | | | * new-exceptions/bspsupport/ppc_exc.S: must disable interrupts prior to restoring SRRs (thanks to Sebastian Huber)
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-101-0/+16
| | | | * new-exceptions/bspsupport/README: added more information
* changed names of internal macrosThomas Doerfler2008-07-101-37/+50
|
* Includes standard header files,Thomas Doerfler2008-07-102-3/+496
| | | | | provides common assembler macros and inline functions for low-level code.
* 2008-07-04 Matthew Riek <matthew.riek@ibiscomputer.com.au>Joel Sherrill2008-07-045-1/+179
| | | | | | | * Makefile.am, mcf532x/include/mcf532x.h, shared/cache/cache_.h: Add cache support for 5329. Enable the cache in copyback and write-through so we can assume that in BSP. * mcf532x/cache/cachepd.c: New file.
* 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>Joel Sherrill2008-06-205-0/+4483
| | | | | | * Makefile.am, configure.ac, preinstall.am: Adding mcf5329 BSP and CPU support. * mcf532x/include/mcf532x.h: New file.
* 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>Chris Johns2008-06-195-3377/+3383
| | | | | | | | * mcf52235/include/mcf52235.h: Removed. Moved to the more generic mcf5223x.h. * mcf5223x/include/mcf5223x.h: New. Was mcf52235.h. * Makefile.am, configure.ac, preinstall.am: Changed from mcf52235 to mcf5223x.
* 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>Chris Johns2008-06-115-0/+3386
| | | | | * mcf52235/include/mcf52235.h: New. * preinstall.am, configure.ac, Makefile.am: Add 52235 support.
* speed inprovements in mpc83xx tsec driverThomas Doerfler2008-05-272-1/+13
|
* 2008-05-22 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-233-2/+7
| | | | | * ppc403/tty_drv/tty_drv.c, ppc403/console/console405.c: ../ictrl/ictrl.h has gone; include ../irq/ictrl.h
* 2008-05-16 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-162-1/+10
| | | | | * mpc83xx/include/mpc83xx.h: or is not a good name for any name in C/C++. See iso646.h for the reason.
* disabled debugging outputThomas Doerfler2008-05-152-1/+6
|
* adapted gen83xx to new boardThomas Doerfler2008-05-157-37/+108
|
* 2008-05-14 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-142-0/+16
| | | | | | * new-exceptions/bspsupport/ppc_exc_bspsupp.h: added comment about the semantics of the return value of ppc_exc_handler_t.
* 2008-05-14 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-142-3/+11
| | | | | * new-exceptions/bspsupport/irq.c: moved malloc/free outside of irq-protected critical section.
* 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-062-1/+7
| | | | | | * s3c24xx/clock/clockdrv.c: Use rtems_configuration_get_microseconds_per_tick() rather than obsolete BSP_Configuration reference.
* 2008-05-06 Ray Xu <rayx.cn@gmail.com>Joel Sherrill2008-05-0615-3/+1618
| | | | | | | | | | | * Makefile.am, configure.ac, preinstall.am, s3c2400/include/s3c2400.h: Add CPU type s3c2410. Add a new s3c24xx common file shared between s3c2400 and s3c2410. Most content is moved from s3c2400 now. Some were changed to include <s3c24xx.h> instead of <s3c2400.h>. * s3c2410/include/s3c2410.h, s3c2410/irq/bsp_irq_asm.S, s3c2410/irq/irq.h, s3c24xx/clock/clockdrv.c, s3c24xx/clock/support.c, s3c24xx/include/s3c24xx.h, s3c24xx/irq/bsp_irq_init.c, s3c24xx/irq/irq.c, s3c24xx/irq/irq.h, s3c24xx/timer/timer.c: New files.
* 2008-04-24 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-04-243-16/+6
| | | | | | * mpc8260/console-generic/console-generic.c, mpc8xx/console-generic/console-generic.c: Remove all references to console_reserve_resources and termios_reserve_resources.
* 2008-04-24 Nigel Spon <nigel@adi.co.nz>Joel Sherrill2008-04-242-1/+5
| | | | * ppc403/console/console.c: Correct include path.
* 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-04-232-17/+5
| | | | | * sh7750/sci/console.c: Remove all references to console_reserve_resources and termios_reserve_resources.
* 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-04-237-13/+8
| | | | | | | | * mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h, mpc8260/console-generic/console-generic.c, mpc8260/include/console.h, mpc8xx/console-generic/console-generic.c, mpc8xx/include/console.h: Remove all references to console_reserve_resources and termios_reserve_resources.
* removed references to outdated "old-exception-handling" PPC supportThomas Doerfler2008-04-072-7/+7
|
* 2008-03-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-202-0/+16
| | | | | | | | | * new-exceptions/bspsupport/irq.c: don't disable irqs at the interrupt controller (PIC) during initialization -- this caused problems where some BSPs's BSP_disable_irq_at_pic() routine did not ignore IRQ lines associated with cascaded PICs. Rely on the BSP (BSP_setup_the_pic()) to provide a good initial setup.
* 2008-03-13 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-135-38/+296
| | | | | | | | | | | | | | | * new-exceptions/bspsupport/ppc_exc_asm_macros.h, new-exceptions/bspsupport/ppc_exc.S, new-exceptions/bspsupport/README, new-exceptions/bspsupport/ppc_exc_hdl.c: Thomas Doerfler clarified (thanks!) that raising an exception and executing the 1st instruction is not an atomical operation. I added a fix to the code that checks if a lower-priority interrupt is under way: we now not only test if the 'lock' variable was set but also check if the interrupted PC points to the 'write lock' instruction. Added more comments and updated README.
* 2008-03-11 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-122-1/+7
| | | | | | * new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix; need to crand not cror when testing lower priority locks during machine-check handling.
* 2008-03-05 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-062-1/+6
| | | | | * new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix; need to andc with irq mask when disabling interrupts.
* Regenerate.Ralf Corsepius2008-02-191-12/+0
|
* 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-191-0/+11
| | | | | | | | | | | * old-exceptions/README, old-exceptions/TODO, old-exceptions/cpu.c, old-exceptions/cpu_asm.S, old-exceptions/irq_stub.S, old-exceptions/ppccache.c, old-exceptions/rtems/score/ppc_offs.h, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/vectors/align_h.S ppc403/vectors/vectors.S: Remove (Abandoned). * Makefile.am: Remove refs to files above. Eliminate OLD_EXCEPTIONS. * configure.ac: Remove OLD_EXCEPTIONS.
* Remove (Abandoned).Ralf Corsepius2008-02-1911-3083/+0
|
* Remove OLD_EXCEPTIONS.Ralf Corsepius2008-02-191-2/+0
|
* Remove refs to OLD_EXCEPTIONS.Ralf Corsepius2008-02-191-33/+3
|
* Temporarily re-add OLD_EXCEPTIONS.Ralf Corsepius2008-02-191-0/+2
|
* 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-192-12/+4
| | | | * configure.ac: Deactivate old-exceptions.
* 2008-02-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-152-0/+8
| | | | * preinstall.am: Add e500_mmu.h
* 2008-02-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-02-094-0/+959
| | | | | | * Makefile.am, e500/, e500/mmu, e500/mmu/mmu.c, e500/mmu/e500_mmu.h: added code for PPC E500 TLB manipulation.
* 2008-01-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-01-102-14/+23
| | | | | | * new-exceptions/bspsupport/irq.c: When unhooking and ISR only disable IRQs at the PIC if we are unhooking the last ISR.
* 2007-12-11 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-122-1/+5
| | | | | * Makefile.am: don't normally build-in test code (ppc_exc_test.c).