[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	brad_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/03/10 14:21:09

Modified files:
	sys/arch/amd64/amd64: ipi.c lapic.c 

Log message:
- Wrap IPI sending in splclock(), since an interrupt at
IPL_CLOCK or lower may cause IPIs.
- Make broadcast IPIs go through x86_ipi() as well, so that
they wait for the APIC to be ready too.
- Introduce a function, i82489_icr_wait, which waits for
LAPIC_DLSTAT_BUSY cleared, and use it where appropriate.
- Panic if lapic's busy too long and DIAGNOSTIC.

>From NetBSD

Tested on a few amd64 MP systems.



Visit your host, monkey.org