Port-amd64 archive

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

Re: NMI not working as expected on Dell 2850



Christos Zoulas <christos%astron.com@localhost> writes:

> The trap routine looks fine, but what happens in the interrupt entry
> handler for NMI?

More than I understand.  :)

The bit under "IDTVEC(trap02)" in sys/arch/amd64/amd64/amd64_trap.S
seems to do stuff by hand that's generally done by macros, seemingly to
avoid doing some of the things that the macros do.  This includes the
use of CLI and STI, which is slightly suspicious-looking.  It also seems
to avoid going through the code path explicitly marked "All traps go
through here.", and one wonders why.  It could be that the NMI trap
handling has been accidentally left behind, of course, while the other
stuff has been updated.

-tih
-- 
Popularity is the hallmark of mediocrity.  --Niles Crane, "Frasier"


Home | Main Index | Thread Index | Old Index