freebsd-nq/sys/arm
Andrew Turner d8e3f572e2 When entering exception handlers we may not have an aligned stack. This is
because an exception may happen at any time. The stack alignment rules on
ARM EABI state the only place the stack must be 8-byte aligned is on a
function boundary.

If an exception happens while a function is setting up or tearing down it's
stack frame it may not be correctly aligned. There is also no requirement
for it to be when the function is a leaf node.

The fix is to align the stack after we have stored a backup of the old stack
pointer, but before we have stored anything in the trapframe. Along with
this we need to adjust the size of the trapframe by 4 bytes to ensure the
stack below it is also correctly aligned.
2013-08-05 19:06:28 +00:00
..
allwinner Fix undefined behaviour in several gpio_pin_setflags() routines (under 2013-04-13 21:21:13 +00:00
arm When entering exception handlers we may not have an aligned stack. This is 2013-08-05 19:06:28 +00:00
at91 Fix regression issue after r248910. 2013-04-07 13:03:57 +00:00
broadcom/bcm2835 Move the Raspberry Pi low level options out of the kernel config and into 2013-07-15 07:01:30 +00:00
conf Back out r253779 & r253786. 2013-07-31 17:21:18 +00:00
econa Eliminate a redundant #include: machine/pmap.h is already included 2013-03-01 19:02:41 +00:00
freescale/imx Tweak the imx debug console code so that it works with multiple SoCs. 2013-08-03 13:31:10 +00:00
include When entering exception handlers we may not have an aligned stack. This is 2013-08-05 19:06:28 +00:00
lpc MFcalloutng: 2013-02-28 13:46:03 +00:00
mv Fix the passing of time on Armada XP. 2013-06-04 09:33:03 +00:00
s3c2xx0 Fix low-level uart drivers that set their fifo sizes in the softc too late. 2013-04-01 00:44:20 +00:00
sa11x0 Fix low-level uart drivers that set their fifo sizes in the softc too late. 2013-04-01 00:44:20 +00:00
samsung/exynos Import basic support for Samsung Exynos 5 support. 2013-06-29 23:39:05 +00:00
tegra Merge the FDT versions of initarm. 2012-11-03 22:39:07 +00:00
ti Initialisation routines for the mailbox, spinlock and PRU-ICSS clocks. 2013-07-31 05:52:03 +00:00
versatile - Fix IMAPx registers values calculation 2013-06-29 23:51:17 +00:00
xilinx Bring copyright changes with the agreement of Thomas Skibo. 2013-04-28 07:00:36 +00:00
xscale - Correct mispellings of the word occurrence 2013-04-17 11:40:10 +00:00