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
On Mar 8, 9:56am, tih%hamartun.priv.no@localhost (Tom Ivar Helbekkmo) wrote:
-- Subject: 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.
I think the NMI trap is not meant to return that's why. But that does
not mean that you cannot make it do that. Why don't you try it to treat
it like the other traps and see how it goes.
christos
Home |
Main Index |
Thread Index |
Old Index