gaf
User
 Platinum Osdever
| Posts: 153 |  | Karma: 10
|
Re: NMI's - 2005/11/13 08:57
Hello, a NMI is triggered when a severe hardware error occured (eg parity error) and is not meant to be delayed due to its high importance. You therefore normally wouldn't want to mask it. The only exception that I can think of is when entering pmode as at that time the CPU may not yet have loaded the new IDT and thus doesn't know how to deliver exception 2 which is raised when an NMI occures. The system would then triple-fault but you should ask yourself whether this is really that bad if the system's memory already failed before your operating system has even finished loading. Note that there's also an article/dicussion about this topic in the osfaq.
regards, gaf
|