freebsd-dev/sys/mips
John Baldwin 0108cce0a4 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
..
adm5120 bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
alchemy bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
atheros Converted the remainder of the NIC drivers to use the mii_attach() 2010-10-15 15:00:30 +00:00
cavium Don't attach the PCI bus driver if the board we're being run on has PCIe. The 2010-11-03 23:29:52 +00:00
compile
conf o) Make it possible to attach a PHY directly to an octe device rather than 2010-10-13 09:17:44 +00:00
idt Converted the remainder of the NIC drivers to use the mii_attach() 2010-10-15 15:00:30 +00:00
include Enforce that 'pmap_kenter()' is only used to establish cacheable mappings. 2010-09-22 02:26:07 +00:00
malta Fix MALTA64 build. 2010-04-19 09:03:34 +00:00
mips Adjust the order of operations in spinlock_enter() and spinlock_exit() to 2010-11-05 13:42:58 +00:00
rmi Network driver updates 2010-10-20 09:50:11 +00:00
sentry5 - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
sibyte Enforce that 'pmap_kenter()' is only used to establish cacheable mappings. 2010-09-22 02:26:07 +00:00