[U-Boot] [PATCH v2 0/3] arm: fix exception handling

Georges Savoundararadj savoundg at gmail.com
Sat Sep 27 21:48:08 CEST 2014


Hi,

This series fixes the exception handling on ARM.

First of all, it makes the symbols of the exception vectors relocatable.
Then, it ensures that the exception vectors are relocated. To do so, we
copy or move the exception vectors depending on the processor
capability.  Also, this series configures correctly the IRQ and the FIQ
stack pointers.

Regards,

Georges

Changes in v2:
- Relocate exception vectors also on processors which do not support
  security extensions
- Reword the commit messages

Georges Savoundararadj (3):
  arm: make .vectors section allocatable
  arm: relocate the exception vectors
  arm: interrupt_init: set sp in IRQ/FIQ modes

 arch/arm/cpu/armv7/start.S |  6 ------
 arch/arm/lib/interrupts.c  | 19 +++++++++++++++++++
 arch/arm/lib/relocate.S    | 30 ++++++++++++++++++++++++++++++
 arch/arm/lib/vectors.S     |  2 +-
 4 files changed, 50 insertions(+), 7 deletions(-)

-- 
2.1.0



More information about the U-Boot mailing list