freebsd-nq/sys/amd64
Doug White fdc9713bf7 Implement an alternate method to stop CPUs when entering DDB. Normally we use
a regular IPI vector, but this vector is blocked when interrupts are disabled.
With "options KDB_STOP_NMI" and debug.kdb.stop_cpus_with_nmi set, KDB will
send an NMI to each CPU instead. The code also has a context-stuffing
feature which helps ddb extract the state of processes running on the
stopped CPUs.

KDB_STOP_NMI is only useful with SMP and complains if SMP is not defined.
This feature only applies to i386 and amd64 at the moment, but could be
used on other architectures with the appropriate MD bits.

Submitted by:	ups
2005-04-30 20:01:00 +00:00
..
acpica MFi386: use the lapic timer for UP systems that are using the apic so that 2005-04-15 18:44:53 +00:00
amd64 Implement an alternate method to stop CPUs when entering DDB. Normally we use 2005-04-30 20:01:00 +00:00
compile
conf Implement an alternate method to stop CPUs when entering DDB. Normally we use 2005-04-30 20:01:00 +00:00
ia32 Use PCPU_LAZY_INC() for cnt.v_{intr,trap,syscalls} rather than atomic 2005-04-12 23:18:54 +00:00
include Implement an alternate method to stop CPUs when entering DDB. Normally we use 2005-04-30 20:01:00 +00:00
isa MFi386: sync rtc code - don't setup an interrupt handler for irq0 when 2005-04-15 18:46:53 +00:00
linux32 Fix a change in a debug printf I missed in an earlier commit. 2005-04-05 15:28:06 +00:00
pci MFi386: whitespace, copyright header, etc updates 2005-01-21 05:56:41 +00:00
Makefile