cvs commit: src/sys/platform/pc32/i386 mp_machdep.c swtch.s
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Apr 30 10:43:37 PDT 2007
dillon 2007/04/30 10:41:15 PDT
DragonFly src repository
Modified files:
sys/platform/pc32/i386 mp_machdep.c swtch.s
Log:
It is possible for spurious interrupt(s) to be posted to an AP cpu
while the cpu is being bootstrapped. Explicitly enable interrupts
while still in a critical section near the end of ap_init to allow
the cpu to issue the interrupt vector(s), then clear the software
interrupt pending fields in the globaldata structure.
This stops the single report to the console of a spurious interrupt
occuring during AP booting. This problem is unrelated to the multitude
of spurious interrupts that can be reported during device initialization.
Those will probably still occur.
Revision Changes Path
1.58 +15 -0 src/sys/platform/pc32/i386/mp_machdep.c
1.46 +4 -0 src/sys/platform/pc32/i386/swtch.s
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/mp_machdep.c.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/swtch.s.diff?r1=1.45&r2=1.46&f=u
More information about the Commits
mailing list