| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Avoid use of small-data area, since it is not supported in the ELFv2 ABI
by GCC.
Update #3082.
|
|
|
|
|
|
| |
Make sure also the size is cache aligned since otherwise we may have
some overlap with the next allocation block. A cache invalidate on this
area would be fatal.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add CPU port type CPU_Exception_frame and function
_CPU_Exception_frame_print().
The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh,
sparc64, and v850 use an empty default implementation of
_CPU_Exception_frame_print().
Add rtems_exception_frame and rtems_exception_frame_print().
Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal()
with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc,
and sparc for unexpected exceptions.
Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the
BSP_PRINT_EXCEPTION_CONTEXT define used in the default
bsp_fatal_extension().
Add test sptests/spfatal26.
|
|
|
|
|
|
|
|
|
| |
Add ppc_exc_print_frame_and_context() which prints an exception frame
and the context via printk().
The global exception handler will call now rtems_fatal() with source
RTEMS_FATAL_SOURCE_POWERPC_EXCEPTION. The fatal code will contain the
pointer value to the exception frame.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit covers at least PR2020, 2022, and 2023. This
patch adds all of the code for both BSPs, modifications
to libcpu/powerpc for the ppc440, and some updates to the
BSPs from follow up review and testing.
These BSPs should be good baselines for future development.
The configurations used by Ric are custom and have a non-standard
NIC. They also do not have a UART. Thus the current console
driver just prints to a RAM buffer.
The NIC and UART support are left for future work. When the UART
support is added, moving the existing "to RAM" console driver to
a shared location is likely desirable because boards with no debug
UART port are commonly deployed. This would let printk() go to RAM.
|
|
|
|
|
| |
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc555x.h,
mpc55xx/include/fsl-mpc556x.h, mpc55xx/include/fsl-mpc567x.h,
mpc55xx/include/regs-edma.h, mpc55xx/include/regs-mmu.h: New files.
* Makefile.am, M preinstall.am: Reflect changes above.
* mpc55xx/dspi/dspi.c: Update due to API changes.
* mpc55xx/include/edma.h, mpc55xx/edma/edma.c: Rework to support
multiple eDMA modules. Removed complex error interrupt handling.
* mpc55xx/include/esci.h, mpc55xx/esci/esci.c: Support interrupt mode
and printk(). Use configure options.
* mpc55xx/include/irq.h: More defines. API changes.
* mpc55xx/include/mpc55xx.h: API changes.
* mpc55xx/include/reg-defs.h: Added register defines.
* mpc55xx/include/regs.h: Use new register header files.
* mpc55xx/include/siu.h: Fixed includes.
* mpc55xx/misc/fmpll.S, mpc55xx/misc/copy.S, mpc55xx/misc/flash.S:
Changed sections. API changes. Support MPC5674F.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc55xx/misc/flash_support.c: New file.
* Makefile.am: Reflect change above.
* mpc55xx/include/mpc55xx.h: Add definitions for the FLASH interface
and two memory protect interfaces. Add modifications to eliminate
warnings in some of the cache macros.
* mpc55xx/include/regs.h: Add some structure tag names for some
structures that I needed access to. Don't define the ALTCADR for the
MPC5554 - it is reserved and acess casues an exception. Hide the C99
designated initializers when compiling with C++. Add some support for
the EQADC.
* mpc55xx/include/esci.h, mpc55xx/include/watchdog.h: Add C++
protection.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1799/bsps
* new-exceptions/bspsupport/ppc_exc_async_normal.S: New file.
* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
new-exceptions/bspsupport/ppc_exc_prologue.c,
new-exceptions/bspsupport/vectors.h: Added support for SPE.
* configure.ac, preinstall.am, Makefile.am: Added support for qoriq
BSPs.
|
|
|
|
|
| |
* Makefile.am: Remove reference to non-existing file
new-exceptions/bspsupport/nest_irq_test.c.
|
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_alignment.c: New file.
* Makefile.am: Reflect change above.
* new-exceptions/bspsupport/vectors.h: Declare
ppc_exc_alignment_handler().
|
|
|
|
|
|
|
| |
* shared/src/cache_.h: Moved implementation from "cache.c" to here.
This avoids the function call overhead.
* shared/src/cache.c: Removed file.
* Makefile.am: Reflect changes above.
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, mpc83xx/include/mpc83xx.h,
mpc83xx/network/tsec.c, mpc83xx/network/tsec.h: Make it possible to
use the TSEC driver for other systems.
|
|
|
|
| |
* Makefile.am: Formatting.
|
| |
|
|
|
|
|
| |
* Makefile.am, mpc6xx/altivec: new directory implementing
support for AltiVec context saving/restoring.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
|
|
|
|
|
| |
updated haleakala BSP
added MPC55xx BSP
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Makefile.am, e500/, e500/mmu, e500/mmu/mmu.c,
e500/mmu/e500_mmu.h: added code for PPC E500
TLB manipulation.
|
|
|
|
|
| |
* Makefile.am: don't normally build-in test code
(ppc_exc_test.c).
|
|
|
|
|
|
|
| |
* Makefile.am, new-exceptions/bspsupport/README:
provide new irq_bspsupport.rel which was
split out of exc_bspsupport.rel to provide finer-grained
control over what BSPs want to use.
|
|
|
|
|
| |
* Makefile.am: build new-exceptions/bspsupport for
non-mpc5xx, new-exception CPUs.
|
|
|
|
|
| |
* Makefile.am: must not add e500_raw_exc_init.c to
xyz_SOURCES for mpc5xx
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, preinstall.am,
new-exceptions/e500_raw_exc_init.c: Started adding
support for e500 CPU. Most stuff is borrowed from mpc6xx.
|
|
|
|
|
| |
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
|
|
|
|
|
| |
* Makefile.am, configure.ac: Do not build networking drivers if
networking is disabled.
|
| |
|
| |
|
|
|
|
| |
many different versions of new exception handling code to shared sources.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* Makefile.am: Partially cleanup EXTRA_DIST.
|
|
|
|
| |
* Makefile.am: Unconditionally initialize include_libcpu_HEADERS.
|
| |
|
| |
|
| |
|