| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* new-exceptions/cpu.c: use ppc_interrupt_get_disable_mask()
to determine which bits to set/clear from _CPU_Context_Initialize().
|
|
|
|
|
|
|
|
|
| |
* 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.)
|
|
|
|
|
| |
* shared/include/powerpc-utility.h: Added
GET_INTERRUPT_MASK macro.
|
|
|
|
| |
* mpc6xx/clock/c_clock.c: Add fast idle.
|
|
|
|
|
| |
updated haleakala BSP
added MPC55xx BSP
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc.S: must disable
interrupts prior to restoring SRRs (thanks to Sebastian Huber)
|
|
|
|
| |
* new-exceptions/bspsupport/README: added more information
|
| |
|
|
|
|
|
| |
provides common assembler macros and inline functions for low-level
code.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, preinstall.am: Adding mcf5329 BSP and CPU
support.
* mcf532x/include/mcf532x.h: New file.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* mcf52235/include/mcf52235.h: New.
* preinstall.am, configure.ac, Makefile.am: Add 52235 support.
|
| |
|
|
|
|
|
| |
* ppc403/tty_drv/tty_drv.c, ppc403/console/console405.c:
../ictrl/ictrl.h has gone; include ../irq/ictrl.h
|
|
|
|
|
| |
* mpc83xx/include/mpc83xx.h: or is not a good name for any name in
C/C++. See iso646.h for the reason.
|
| |
|
| |
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_bspsupp.h: added
comment about the semantics of the return value of
ppc_exc_handler_t.
|
|
|
|
|
| |
* new-exceptions/bspsupport/irq.c: moved malloc/free
outside of irq-protected critical section.
|
|
|
|
|
|
| |
* s3c24xx/clock/clockdrv.c: Use
rtems_configuration_get_microseconds_per_tick() rather than obsolete
BSP_Configuration reference.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* mpc8260/console-generic/console-generic.c,
mpc8xx/console-generic/console-generic.c: Remove all references to
console_reserve_resources and termios_reserve_resources.
|
|
|
|
| |
* ppc403/console/console.c: Correct include path.
|
|
|
|
|
| |
* sh7750/sci/console.c: Remove all references to
console_reserve_resources and termios_reserve_resources.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
need to crand not cror when testing lower priority locks
during machine-check handling.
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
need to andc with irq mask when disabling interrupts.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* configure.ac: Deactivate old-exceptions.
|
|
|
|
| |
* preinstall.am: Add e500_mmu.h
|
|
|
|
|
|
| |
* Makefile.am, e500/, e500/mmu, e500/mmu/mmu.c,
e500/mmu/e500_mmu.h: added code for PPC E500
TLB manipulation.
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/irq.c: When unhooking
and ISR only disable IRQs at the PIC if we are
unhooking the last ISR.
|
|
|
|
|
| |
* Makefile.am: don't normally build-in test code
(ppc_exc_test.c).
|