freebsd-skq/sys/arm
jhb 45c0759920 Adjust the order of operations in spinlock_enter() and spinlock_exit() to
work properly with single-stepping in a kernel debugger.  Specifically,
these routines have always disabled interrupts before increasing the nesting
count and restored the prior state of interrupts after decreasing the nesting
count to avoid problems with a nested interrupt not disabling interrupts
when acquiring a spin lock.  However, trap interrupts for single-stepping
can still occur even when interrupts are disabled.  Now the saved state of
interrupts is not saved in the thread until after interrupts have been
disabled and the nesting count has been increased.  Similarly, the saved
state from the thread cannot be read once the nesting count has been
decreased to zero.  To fix this, use temporary variables to store interrupt
state and shuffle it between the thread's MD area and the appropriate
registers.

In cooperation with:	bde
MFC after:     1 month
2010-11-05 13:42:58 +00:00
..
arm Adjust the order of operations in spinlock_enter() and spinlock_exit() to 2010-11-05 13:42:58 +00:00
at91 Remove a device_printf() accidentally left in r213894. 2010-10-15 15:16:36 +00:00
compile
conf Add the QILA9G20 config files. 2010-10-06 22:41:32 +00:00
econa Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
include Add basic cpu_sleep() support for Marvell SoCs. This drops my SheevaPlug's 2010-09-18 16:57:05 +00:00
mv Set of legacy mode SATA enchancements: 2010-10-18 11:30:13 +00:00
s3c2xx0 Allow external interrupts. 2010-07-24 23:41:09 +00:00
sa11x0 The NetBSD Foundation has granted permission to remove clauses 3 and 4. 2010-02-16 21:59:17 +00:00
xscale Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00