freebsd-nq/sys/powerpc/aim
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
..
clock.c Update PowerPC event timer code to use new event timers infrastructure. 2010-09-11 04:45:51 +00:00
copyinout.c Fix two mistakes on 32-bit systems. The slbmte code in syscall() is 64-bit 2010-11-03 16:21:47 +00:00
interrupt.c Update PowerPC event timer code to use new event timers infrastructure. 2010-09-11 04:45:51 +00:00
locore32.S MFppc64: 2010-07-13 05:32:19 +00:00
locore64.S MFppc64: 2010-07-13 05:32:19 +00:00
locore.S MFppc64: 2010-07-13 05:32:19 +00:00
machdep.c Adjust the order of operations in spinlock_enter() and spinlock_exit() to 2010-11-05 13:42:58 +00:00
mmu_oea64.c Implement pmap_is_prefaultable(). 2010-11-01 02:22:48 +00:00
mmu_oea.c Implement pmap_is_prefaultable(). 2010-11-01 02:22:48 +00:00
mp_cpudep.c MFppc64: 2010-07-13 05:32:19 +00:00
nexus.c bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
ofw_machdep.c Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
ofwmagic.S The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:07:02 +00:00
slb.c Restructure the way the copyin/copyout segment is stored to prevent a 2010-10-30 23:07:30 +00:00
swtch32.S Clean up the user segment handling code a little more. Now that 2010-11-03 15:15:48 +00:00
swtch64.S Clean up the user segment handling code a little more. Now that 2010-11-03 15:15:48 +00:00
trap_subr32.S Restructure the way the copyin/copyout segment is stored to prevent a 2010-10-30 23:07:30 +00:00
trap_subr64.S Restructure the way the copyin/copyout segment is stored to prevent a 2010-10-30 23:07:30 +00:00
trap.c Fix two mistakes on 32-bit systems. The slbmte code in syscall() is 64-bit 2010-11-03 16:21:47 +00:00
uma_machdep.c Reduce KVA pressure on OEA64 systems running in bridge mode by mapping 2010-02-20 16:23:29 +00:00
vm_machdep.c Restructure the way the copyin/copyout segment is stored to prevent a 2010-10-30 23:07:30 +00:00