freebsd-nq/sys/arm/arm
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
..
autoconf.c
bcopy_page.S
bcopyinout_xscale.S
bcopyinout.S
blockio.S
bootconfig.c
bus_space_asm_generic.S
bus_space_generic.c
busdma_machdep.c Fix ARM cache handling yet more. 2010-03-11 21:16:54 +00:00
copystr.S
cpufunc_asm_arm7tdmi.S
cpufunc_asm_arm8.S
cpufunc_asm_arm9.S
cpufunc_asm_arm10.S
cpufunc_asm_arm11.S
cpufunc_asm_armv4.S
cpufunc_asm_armv5_ec.S Minor style fixes and better comments. 2009-04-16 11:21:52 +00:00
cpufunc_asm_armv5.S
cpufunc_asm_fa526.S Add support for FA626TE. 2010-05-04 10:14:05 +00:00
cpufunc_asm_ixp12x0.S
cpufunc_asm_sa1.S
cpufunc_asm_sa11x0.S
cpufunc_asm_sheeva.S Add basic cpu_sleep() support for Marvell SoCs. This drops my SheevaPlug's 2010-09-18 16:57:05 +00:00
cpufunc_asm_xscale_c3.S
cpufunc_asm_xscale.S
cpufunc_asm.S
cpufunc.c Add basic cpu_sleep() support for Marvell SoCs. This drops my SheevaPlug's 2010-09-18 16:57:05 +00:00
db_disasm.c
db_interface.c
db_trace.c When backtracing self, start with the current frame (i.e. the 2010-01-29 16:14:35 +00:00
disassem.c
dump_machdep.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
elf_machdep.c Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +00:00
elf_trampoline.c Try to be a little smart at guessing where _start is located in flash, instead 2010-11-01 21:04:23 +00:00
exception.S
fiq_subr.S
fiq.c
fusu.S
gdb_machdep.c Fix gdb_cpu_getreg() to actually match GDB's register 2009-11-05 06:31:50 +00:00
genassym.c To prevent various race conditions in the RAS code, store and restore the 2009-02-12 23:23:30 +00:00
identcpu.c The FA526 belongs to the ARM9TDMI family 2010-05-12 05:50:56 +00:00
in_cksum_arm.S
in_cksum.c
inckern.S
intr.c Pass the previously returned IRQ back to arm_get_next_irq() so that 2009-06-09 18:18:41 +00:00
irq_dispatch.S
locore.S Disable interrupts to allow booting on firmware (e.g. U-Boot) that 2009-06-09 17:21:47 +00:00
machdep.c Adjust the order of operations in spinlock_enter() and spinlock_exit() to 2010-11-05 13:42:58 +00:00
mem.c Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
minidump_machdep.c Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
nexus.c bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
pmap.c In pmap_remove_all(), do not decrease pm_stats.wired_count if the mapping was 2010-09-12 20:46:32 +00:00
setcpsr.S
setstack.s
stack_machdep.c
support.S The NetBSD Foundation has granted permission to remove clauses 3 and 4. 2010-02-16 21:59:17 +00:00
swtch.S Oops. ARM_RAS_END is ARM_TP_ADDRESS + 8, not 4. 2009-02-13 16:00:19 +00:00
sys_machdep.c
trap.c Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +00:00
uio_machdep.c
undefined.c KDB needs <machine/db_machdep.h>, so move it under #ifdef KDB. 2009-08-23 23:37:53 +00:00
vectors.S
vm_machdep.c Fix ARM cache handling yet more. 2010-03-11 21:16:54 +00:00